@open-wa/wa-automate-types-only 5.4.0 → 5.5.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/dist/index.cjs CHANGED
@@ -1,5 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  let _open_wa_schema = require("@open-wa/schema");
3
+ let _open_wa_schema_calling_media = require("@open-wa/schema/calling-media");
3
4
  Object.defineProperty(exports, "ActionEnum", {
4
5
  enumerable: true,
5
6
  get: function() {
@@ -12,6 +13,24 @@ Object.defineProperty(exports, "ActionType", {
12
13
  return _open_wa_schema.ActionType;
13
14
  }
14
15
  });
16
+ Object.defineProperty(exports, "DEFAULT_CAM", {
17
+ enumerable: true,
18
+ get: function() {
19
+ return _open_wa_schema_calling_media.DEFAULT_CAM;
20
+ }
21
+ });
22
+ Object.defineProperty(exports, "DEFAULT_MIC", {
23
+ enumerable: true,
24
+ get: function() {
25
+ return _open_wa_schema_calling_media.DEFAULT_MIC;
26
+ }
27
+ });
28
+ Object.defineProperty(exports, "DEFAULT_SPEAKER", {
29
+ enumerable: true,
30
+ get: function() {
31
+ return _open_wa_schema_calling_media.DEFAULT_SPEAKER;
32
+ }
33
+ });
15
34
  Object.defineProperty(exports, "FunctionalityEnum", {
16
35
  enumerable: true,
17
36
  get: function() {
@@ -72,3 +91,9 @@ Object.defineProperty(exports, "StateEnum", {
72
91
  return _open_wa_schema.StateEnum;
73
92
  }
74
93
  });
94
+ Object.defineProperty(exports, "normalizeCallMedia", {
95
+ enumerable: true,
96
+ get: function() {
97
+ return _open_wa_schema_calling_media.normalizeCallMedia;
98
+ }
99
+ });
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
- import { ActionEnum, ActionType, Base64, CapabilityDefinition, CapabilityMetadata, CapabilityStatus, CapabilityType, Chat, ChatId, ClientConfig, ClientFunctionMetadata, Config, Contact, ContactId, Content, DataURL, DeepPartialConfig, DevTools, EventDefinition, EventMetadata, EventStatus, FunctionalityEnum, FunctionalityScope, GroupChatId, GroupId, GroupMetadata, HttpMethod, HttpMethodEnum, Id, InferInput, InferOutput, LicenseEnum, LicenseTier, Message, MessageAck, MessageId, MessageTypes, MethodDefinition, NotificationLanguage, ParameterMetadata, PartialConfig, QRFormat, QueueOptions, SessionData, SimpleListener, StateEnum, StrictConfig, Viewport } from "@open-wa/schema";
1
+ import { ActionEnum, ActionType, AudioInput, AudioOutput, Base64, Call, CallActionResult, CallAudioObserver, CallCapabilities, CallIdentity, CallMediaOptions, CallSnapshot, CallingOptions, CapabilityDefinition, CapabilityMetadata, CapabilityStatus, CapabilityType, Chat, ChatId, ClientConfig, ClientFunctionMetadata, Config, Contact, ContactId, Content, DataURL, DeepPartialConfig, DevTools, EventDefinition, EventMetadata, EventStatus, FunctionalityEnum, FunctionalityScope, GroupChatId, GroupId, GroupMetadata, HttpMethod, HttpMethodEnum, Id, InferInput, InferOutput, LicenseEnum, LicenseTier, MediaDescriptor, Message, MessageAck, MessageId, MessageTypes, MethodDefinition, NotificationLanguage, ParameterMetadata, PartialConfig, QRFormat, QueueOptions, RawAudioFormat, SessionData, SimpleListener, StateEnum, StrictConfig, VideoInput, Viewport } from "@open-wa/schema";
2
2
  import { BaseClient, BaseNamespacedClient } from "@open-wa/schema/generated";
3
- export { ActionEnum, ActionType, type Base64, type BaseClient, type BaseNamespacedClient, type CapabilityDefinition, type CapabilityMetadata, type CapabilityStatus, type CapabilityType, type Chat, type ChatId, type ClientConfig, type ClientFunctionMetadata, type Config, type Contact, type ContactId, type Content, type DataURL, type DeepPartialConfig, type DevTools, type EventDefinition, type EventMetadata, type EventStatus, FunctionalityEnum, FunctionalityScope, type GroupChatId, type GroupId, type GroupMetadata, HttpMethod, HttpMethodEnum, type Id, type InferInput, type InferOutput, LicenseEnum, LicenseTier, type Message, type MessageAck, type MessageId, type MessageTypes, type MethodDefinition, NotificationLanguage, type ParameterMetadata, type PartialConfig, QRFormat, type QueueOptions, type SessionData, SimpleListener, StateEnum, type StrictConfig, type Viewport };
3
+ import { DEFAULT_CAM, DEFAULT_MIC, DEFAULT_SPEAKER, normalizeCallMedia } from "@open-wa/schema/calling-media";
4
+ export { ActionEnum, ActionType, type AudioInput, type AudioOutput, type Base64, type BaseClient, type BaseNamespacedClient, type Call, type CallActionResult, type CallAudioObserver, type CallCapabilities, type CallIdentity, type CallMediaOptions, type CallSnapshot, type CallingOptions, type CapabilityDefinition, type CapabilityMetadata, type CapabilityStatus, type CapabilityType, type Chat, type ChatId, type ClientConfig, type ClientFunctionMetadata, type Config, type Contact, type ContactId, type Content, DEFAULT_CAM, DEFAULT_MIC, DEFAULT_SPEAKER, type DataURL, type DeepPartialConfig, type DevTools, type EventDefinition, type EventMetadata, type EventStatus, FunctionalityEnum, FunctionalityScope, type GroupChatId, type GroupId, type GroupMetadata, HttpMethod, HttpMethodEnum, type Id, type InferInput, type InferOutput, LicenseEnum, LicenseTier, type MediaDescriptor, type Message, type MessageAck, type MessageId, type MessageTypes, type MethodDefinition, NotificationLanguage, type ParameterMetadata, type PartialConfig, QRFormat, type QueueOptions, type RawAudioFormat, type SessionData, SimpleListener, StateEnum, type StrictConfig, type VideoInput, type Viewport, normalizeCallMedia };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
- import { ActionEnum, ActionType, Base64, CapabilityDefinition, CapabilityMetadata, CapabilityStatus, CapabilityType, Chat, ChatId, ClientConfig, ClientFunctionMetadata, Config, Contact, ContactId, Content, DataURL, DeepPartialConfig, DevTools, EventDefinition, EventMetadata, EventStatus, FunctionalityEnum, FunctionalityScope, GroupChatId, GroupId, GroupMetadata, HttpMethod, HttpMethodEnum, Id, InferInput, InferOutput, LicenseEnum, LicenseTier, Message, MessageAck, MessageId, MessageTypes, MethodDefinition, NotificationLanguage, ParameterMetadata, PartialConfig, QRFormat, QueueOptions, SessionData, SimpleListener, StateEnum, StrictConfig, Viewport } from "@open-wa/schema";
1
+ import { ActionEnum, ActionType, AudioInput, AudioOutput, Base64, Call, CallActionResult, CallAudioObserver, CallCapabilities, CallIdentity, CallMediaOptions, CallSnapshot, CallingOptions, CapabilityDefinition, CapabilityMetadata, CapabilityStatus, CapabilityType, Chat, ChatId, ClientConfig, ClientFunctionMetadata, Config, Contact, ContactId, Content, DataURL, DeepPartialConfig, DevTools, EventDefinition, EventMetadata, EventStatus, FunctionalityEnum, FunctionalityScope, GroupChatId, GroupId, GroupMetadata, HttpMethod, HttpMethodEnum, Id, InferInput, InferOutput, LicenseEnum, LicenseTier, MediaDescriptor, Message, MessageAck, MessageId, MessageTypes, MethodDefinition, NotificationLanguage, ParameterMetadata, PartialConfig, QRFormat, QueueOptions, RawAudioFormat, SessionData, SimpleListener, StateEnum, StrictConfig, VideoInput, Viewport } from "@open-wa/schema";
2
+ import { DEFAULT_CAM, DEFAULT_MIC, DEFAULT_SPEAKER, normalizeCallMedia } from "@open-wa/schema/calling-media";
2
3
  import { BaseClient, BaseNamespacedClient } from "@open-wa/schema/generated";
3
- export { ActionEnum, ActionType, type Base64, type BaseClient, type BaseNamespacedClient, type CapabilityDefinition, type CapabilityMetadata, type CapabilityStatus, type CapabilityType, type Chat, type ChatId, type ClientConfig, type ClientFunctionMetadata, type Config, type Contact, type ContactId, type Content, type DataURL, type DeepPartialConfig, type DevTools, type EventDefinition, type EventMetadata, type EventStatus, FunctionalityEnum, FunctionalityScope, type GroupChatId, type GroupId, type GroupMetadata, HttpMethod, HttpMethodEnum, type Id, type InferInput, type InferOutput, LicenseEnum, LicenseTier, type Message, type MessageAck, type MessageId, type MessageTypes, type MethodDefinition, NotificationLanguage, type ParameterMetadata, type PartialConfig, QRFormat, type QueueOptions, type SessionData, SimpleListener, StateEnum, type StrictConfig, type Viewport };
4
+ export { ActionEnum, ActionType, type AudioInput, type AudioOutput, type Base64, type BaseClient, type BaseNamespacedClient, type Call, type CallActionResult, type CallAudioObserver, type CallCapabilities, type CallIdentity, type CallMediaOptions, type CallSnapshot, type CallingOptions, type CapabilityDefinition, type CapabilityMetadata, type CapabilityStatus, type CapabilityType, type Chat, type ChatId, type ClientConfig, type ClientFunctionMetadata, type Config, type Contact, type ContactId, type Content, DEFAULT_CAM, DEFAULT_MIC, DEFAULT_SPEAKER, type DataURL, type DeepPartialConfig, type DevTools, type EventDefinition, type EventMetadata, type EventStatus, FunctionalityEnum, FunctionalityScope, type GroupChatId, type GroupId, type GroupMetadata, HttpMethod, HttpMethodEnum, type Id, type InferInput, type InferOutput, LicenseEnum, LicenseTier, type MediaDescriptor, type Message, type MessageAck, type MessageId, type MessageTypes, type MethodDefinition, NotificationLanguage, type ParameterMetadata, type PartialConfig, QRFormat, type QueueOptions, type RawAudioFormat, type SessionData, SimpleListener, StateEnum, type StrictConfig, type VideoInput, type Viewport, normalizeCallMedia };
package/dist/index.mjs CHANGED
@@ -1,2 +1,3 @@
1
1
  import { ActionEnum, ActionType, FunctionalityEnum, FunctionalityScope, HttpMethod, HttpMethodEnum, LicenseEnum, LicenseTier, NotificationLanguage, QRFormat, SimpleListener, StateEnum } from "@open-wa/schema";
2
- export { ActionEnum, ActionType, FunctionalityEnum, FunctionalityScope, HttpMethod, HttpMethodEnum, LicenseEnum, LicenseTier, NotificationLanguage, QRFormat, SimpleListener, StateEnum };
2
+ import { DEFAULT_CAM, DEFAULT_MIC, DEFAULT_SPEAKER, normalizeCallMedia } from "@open-wa/schema/calling-media";
3
+ export { ActionEnum, ActionType, DEFAULT_CAM, DEFAULT_MIC, DEFAULT_SPEAKER, FunctionalityEnum, FunctionalityScope, HttpMethod, HttpMethodEnum, LicenseEnum, LicenseTier, NotificationLanguage, QRFormat, SimpleListener, StateEnum, normalizeCallMedia };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "5.4.0",
3
+ "version": "5.5.1",
4
4
  "description": "Lightweight type-only re-exports from @open-wa/schema — zero runtime dependencies",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "license": "SEE LICENSE IN LICENSE.md",
36
36
  "dependencies": {
37
- "@open-wa/schema": "5.4.0"
37
+ "@open-wa/schema": "5.5.1"
38
38
  },
39
39
  "devDependencies": {
40
40
  "typescript": "^7.0.2"