skedyul 0.2.67 → 0.2.69

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/.build-stamp CHANGED
@@ -1 +1 @@
1
- 1769569798781
1
+ 1769572224136
package/dist/config.d.ts CHANGED
@@ -131,6 +131,24 @@ export interface ChannelIdentifierField {
131
131
  handle: string;
132
132
  };
133
133
  }
134
+ export interface ChannelFieldPermissions {
135
+ read?: boolean;
136
+ write?: boolean;
137
+ }
138
+ export interface ChannelFieldDefinition {
139
+ handle: string;
140
+ label: string;
141
+ definition: {
142
+ handle: string;
143
+ };
144
+ identifier?: boolean;
145
+ required?: boolean;
146
+ defaultValue?: {
147
+ value: unknown;
148
+ };
149
+ visibility?: AppFieldVisibility;
150
+ permissions?: ChannelFieldPermissions;
151
+ }
134
152
  export interface ChannelDefinition {
135
153
  handle: string;
136
154
  name: string;
@@ -139,6 +157,8 @@ export interface ChannelDefinition {
139
157
  identifierField?: ChannelIdentifierField;
140
158
  /** @deprecated Use identifierField instead. Kept for backward compatibility. */
141
159
  identifierType?: string;
160
+ /** Field definitions for channel identifier + optional mappings */
161
+ fields?: ChannelFieldDefinition[];
142
162
  /** Capabilities keyed by standard type (messaging, voice, video) */
143
163
  capabilities: Partial<Record<ChannelCapabilityType, ChannelCapability>>;
144
164
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skedyul",
3
- "version": "0.2.67",
3
+ "version": "0.2.69",
4
4
  "description": "The Skedyul SDK for Node.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",