@proteos/sdk 0.49.0 → 0.50.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/src/index.ts CHANGED
@@ -64,8 +64,8 @@ export type {
64
64
  ListPromptsOptions,
65
65
  ListSessionsOptions,
66
66
  ListSkillsOptions,
67
- ListToolsOptions,
68
67
  ListToolsetsOptions,
68
+ ListToolsOptions,
69
69
  McpBinding,
70
70
  McpConnectionState,
71
71
  McpConnectionStatus,
@@ -78,9 +78,11 @@ export type {
78
78
  ModelRequestEndPayload,
79
79
  ModelRequestStartPayload,
80
80
  ModelUsage,
81
+ PlatformBinding,
81
82
  Prompt,
82
83
  PromptService,
83
84
  PromptVersion,
85
+ QueryBinding,
84
86
  ReasoningPayload,
85
87
  ResultBlock,
86
88
  Session,
@@ -99,18 +101,16 @@ export type {
99
101
  StartMcpOAuthResponse,
100
102
  StopReason,
101
103
  TextBlock,
102
- PlatformBinding,
103
- QueryBinding,
104
104
  Tool,
105
105
  ToolBinding,
106
106
  ToolConfirmationPayload,
107
107
  ToolKind,
108
108
  ToolResultPayload,
109
+ ToolService,
109
110
  Toolset,
110
111
  ToolsetKind,
111
112
  ToolsetService,
112
113
  ToolsetToolSummary,
113
- ToolService,
114
114
  ToolUsePayload,
115
115
  Turn,
116
116
  UpdateAgentRequest,
@@ -157,6 +157,10 @@ export type {
157
157
  Role,
158
158
  RoleEntityPermission,
159
159
  RoleService,
160
+ // Share types (instance-level access)
161
+ SharePermission,
162
+ ShareRow,
163
+ ShareService,
160
164
  Team,
161
165
  TeamMember,
162
166
  TeamService,
@@ -165,10 +169,6 @@ export type {
165
169
  UpdateRoleRequest,
166
170
  UpdateTeamRequest,
167
171
  UpdateUserRequest,
168
- // Share types (instance-level access)
169
- SharePermission,
170
- ShareRow,
171
- ShareService,
172
172
  // User types
173
173
  User,
174
174
  // User role assignment types
@@ -185,9 +185,9 @@ export {
185
185
  OrganizationSchema,
186
186
  PLATFORM_ENTITIES,
187
187
  PLATFORM_ENTITY_SLUGS,
188
- SCOPED_PLATFORM_ENTITY_SLUGS,
189
188
  RoleEntityPermissionSchema,
190
189
  RoleSchema,
190
+ SCOPED_PLATFORM_ENTITY_SLUGS,
191
191
  shareRouteFor,
192
192
  UserRoleAssignmentSchema,
193
193
  UserSchema,
@@ -222,6 +222,7 @@ export type {
222
222
  AgentListenerService,
223
223
  AgentListenerTriggerType,
224
224
  AllFilterConfig,
225
+ ApplySendingLimitPresetRequest,
225
226
  AttachContactAddressRequest,
226
227
  Attachment,
227
228
  AutomatedFilterConfig,
@@ -230,6 +231,14 @@ export type {
230
231
  CallStatus,
231
232
  CallTokenResponse,
232
233
  Channel,
234
+ ChannelAction,
235
+ ChannelActionCapability,
236
+ ChannelActionParams,
237
+ ChannelActionResponse,
238
+ ChannelActionService,
239
+ ChannelActionStatus,
240
+ ChannelActionTargetKind,
241
+ ChannelActionType,
233
242
  Connection,
234
243
  ConnectionCredentials,
235
244
  ConnectionScope,
@@ -275,16 +284,22 @@ export type {
275
284
  CreateConversationFilterRequest,
276
285
  CreateConversationTypeRequest,
277
286
  CreateGlossaryTermRequest,
287
+ CreateSendingRuleRequest,
278
288
  CreateToneProfileSetupRequest,
279
289
  DispatchMeetingBotRequest,
280
290
  DomainFilterConfig,
281
291
  ErasureRequestStatus,
282
292
  FilterMatchOn,
293
+ FrequencyCapRuleConfig,
283
294
  GlossaryTerm,
284
295
  GlossaryTermService,
296
+ InmailParams,
285
297
  InstallConnectionResponse,
286
298
  InternalConversationsFilterConfig,
299
+ InvitationParams,
300
+ LimitRuleConfig,
287
301
  ListAgentListenersQuery,
302
+ ListChannelActionsQuery,
288
303
  ListConnectionsQuery,
289
304
  ListContactAddressesQuery,
290
305
  ListContactGroupsQuery,
@@ -301,6 +316,8 @@ export type {
301
316
  // PageIterator-based ListResult used by the other modules.
302
317
  ListResponse,
303
318
  ListRoomsQuery,
319
+ ListSendingLimitPresetsQuery,
320
+ ListSendingRulesQuery,
304
321
  ListToneProfileSetupsQuery,
305
322
  ListToneProfilesQuery,
306
323
  MeetingService,
@@ -314,15 +331,16 @@ export type {
314
331
  MessageStatus,
315
332
  MintCallTokenRequest,
316
333
  MistranscribedTerm,
317
- PhoneNumber,
318
- PhoneNumberRouting,
319
- PhoneNumberStatus,
320
- RoutingTarget,
321
334
  MistranscribedTermService,
322
335
  MistranscribedTermStatus,
323
336
  MistranscriptionSuggestionSource,
337
+ PerformChannelActionRequest,
324
338
  PermissionEventSource,
325
339
  PermissionEventType,
340
+ PhoneNumber,
341
+ PhoneNumberRouting,
342
+ PhoneNumberStatus,
343
+ ProfileVisitParams,
326
344
  Reaction,
327
345
  ReactionCapability,
328
346
  ReactionOption,
@@ -331,8 +349,18 @@ export type {
331
349
  RecipientRole,
332
350
  RecordPermissionEventRequest,
333
351
  ResolveToneProfileQuery,
352
+ RespondChannelActionRequest,
334
353
  RoleBasedFilterConfig,
335
354
  Room,
355
+ RoutingTarget,
356
+ SendEligibility,
357
+ SendEligibilityRequest,
358
+ SendingLimitPreset,
359
+ SendingPeriod,
360
+ SendingRule,
361
+ SendingRuleConfig,
362
+ SendingRuleService,
363
+ SendingRuleType,
336
364
  SendMessageRequest,
337
365
  SendRecipient,
338
366
  SyncConnectionRequest,
@@ -357,8 +385,12 @@ export type {
357
385
  UpdateDraftRequest,
358
386
  UpdateGlossaryTermRequest,
359
387
  UpdatePhoneNumberRequest,
388
+ UpdateSendingRuleRequest,
360
389
  VoiceService,
361
390
  VoiceTranscriptionStream,
391
+ Weekday,
392
+ WindowDay,
393
+ WindowRuleConfig,
362
394
  } from './conversation/index.js'
363
395
  // Conversation client (conversation-service)
364
396
  export { ConversationClient } from './conversation/index.js'
@@ -507,7 +539,6 @@ export type {
507
539
  // Array/enum attribute metas (config_schema renderers narrow on these)
508
540
  ArrayAttributeMeta,
509
541
  Attribute,
510
- CurrentUserDefault,
511
542
  // Attribute-level access restrictions (read/write allow-lists of role + team slugs)
512
543
  AttributeAccessRule,
513
544
  AttributeRestrictions,
@@ -530,6 +561,7 @@ export type {
530
561
  CurrencyAttributeMeta,
531
562
  CurrencySymbolSide,
532
563
  CurrencyValue,
564
+ CurrentUserDefault,
533
565
  DeployModuleRequest,
534
566
  // DesignReference types
535
567
  DesignReference,
@@ -606,9 +638,11 @@ export type {
606
638
  export {
607
639
  AppSchema,
608
640
  AttributeSchema,
641
+ acceptsCurrentUserDefault,
609
642
  allCurrencyCodes,
610
643
  ColumnSchema,
611
644
  ComponentSchema,
645
+ CURRENT_USER_DEFAULT,
612
646
  CurrencyAttributeMetaSchema,
613
647
  currencyLabel,
614
648
  currencySymbol,
@@ -620,10 +654,8 @@ export {
620
654
  FilterGroupSchema,
621
655
  formatAmount,
622
656
  formatMoney,
623
- isPlatformAttributeName,
624
- CURRENT_USER_DEFAULT,
625
- acceptsCurrentUserDefault,
626
657
  isCurrentUserDefault,
658
+ isPlatformAttributeName,
627
659
  ListSchema,
628
660
  ListViewSchema,
629
661
  localeNumberSeparators,
@@ -630,6 +630,8 @@ export interface ExecutionTriggerContext {
630
630
  export interface ExecutionError {
631
631
  code: string
632
632
  message: string
633
+ /** Machine-readable payload of the node error (a held send's earliest_allowed_at / rule_id, http_status …). */
634
+ details?: Record<string, unknown>
633
635
  /** Marks business failures the user can fix, vs infrastructure faults. */
634
636
  is_user_error?: boolean
635
637
  }