@gravity-rail/sdk 4.0.0 → 6.0.0

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.
Files changed (51) hide show
  1. package/README.md +4 -2
  2. package/dist/account-CSJJbLIj.d.cts +459 -0
  3. package/dist/account-CSJJbLIj.d.ts +459 -0
  4. package/dist/{path-CUY-Iw70.d.ts → agent_standing_job-CqKpMoHO.d.cts} +1068 -140
  5. package/dist/{path-B3b3_El9.d.cts → agent_standing_job-yehTe972.d.ts} +1068 -140
  6. package/dist/{chat-interaction-DXgKjFqZ.d.cts → chat-interaction-BtUtVszg.d.ts} +13512 -9340
  7. package/dist/{chat-interaction-a7U-tHfQ.d.ts → chat-interaction-CAfwlYvv.d.cts} +13512 -9340
  8. package/dist/{chunk-WHRIIBJ4.js → chunk-L4XC6KDG.js} +1773 -475
  9. package/dist/chunk-L4XC6KDG.js.map +1 -0
  10. package/dist/{chunk-D5VNVTUQ.js → chunk-P2MSMMMJ.js} +120 -2
  11. package/dist/chunk-P2MSMMMJ.js.map +1 -0
  12. package/dist/{chunk-ZLF3N3ZD.js → chunk-P2X5TOYY.js} +31 -5
  13. package/dist/chunk-P2X5TOYY.js.map +1 -0
  14. package/dist/helpers.cjs.map +1 -1
  15. package/dist/helpers.d.cts +3 -2
  16. package/dist/helpers.d.ts +3 -2
  17. package/dist/helpers.js +1 -1
  18. package/dist/index.cjs +1961 -917
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +87 -249
  21. package/dist/index.d.ts +87 -249
  22. package/dist/index.js +171 -458
  23. package/dist/index.js.map +1 -1
  24. package/dist/internal.cjs +1928 -448
  25. package/dist/internal.cjs.map +1 -1
  26. package/dist/internal.d.cts +2428 -263
  27. package/dist/internal.d.ts +2428 -263
  28. package/dist/internal.js +146 -27
  29. package/dist/internal.js.map +1 -1
  30. package/dist/{member-import-VOLKR5dY.d.ts → member-import-C5nnoGvW.d.ts} +1 -1
  31. package/dist/{member-import-BHtOru8g.d.cts → member-import-DhaNVT7s.d.cts} +1 -1
  32. package/dist/realtime.cjs +250 -3
  33. package/dist/realtime.cjs.map +1 -1
  34. package/dist/realtime.d.cts +87 -4
  35. package/dist/realtime.d.ts +87 -4
  36. package/dist/realtime.js +245 -3
  37. package/dist/realtime.js.map +1 -1
  38. package/dist/schemas.cjs +154 -19
  39. package/dist/schemas.cjs.map +1 -1
  40. package/dist/schemas.d.cts +624 -72
  41. package/dist/schemas.d.ts +624 -72
  42. package/dist/schemas.js +72 -21
  43. package/dist/schemas.js.map +1 -1
  44. package/dist/{tasks-CgptqCsN.d.cts → tasks-A12E_RLa.d.cts} +2243 -1979
  45. package/dist/{tasks-CgptqCsN.d.ts → tasks-DrmyOlRh.d.ts} +2243 -1979
  46. package/dist/{types-BXaWYGHj.d.cts → types-Bv6GtLZ2.d.cts} +25 -2
  47. package/dist/{types-BXaWYGHj.d.ts → types-Bv6GtLZ2.d.ts} +25 -2
  48. package/package.json +4 -4
  49. package/dist/chunk-D5VNVTUQ.js.map +0 -1
  50. package/dist/chunk-WHRIIBJ4.js.map +0 -1
  51. package/dist/chunk-ZLF3N3ZD.js.map +0 -1
package/dist/internal.js CHANGED
@@ -2,8 +2,6 @@ import {
2
2
  AGENT_NOTE_ORIGINS,
3
3
  AIModelsApi,
4
4
  AbilitiesApi,
5
- AbilityConfigIssueCode,
6
- AbilityConfigIssueSeverity,
7
5
  AbilityTypeSlugs,
8
6
  AccessGrantResourceType,
9
7
  AccessGrantStatus,
@@ -40,8 +38,6 @@ import {
40
38
  CapturedEffectKind,
41
39
  ChannelMessageDirection,
42
40
  ChannelMessageSource,
43
- ChannelMessagesUnavailableReason,
44
- ChatMuteReason,
45
41
  ChatsApi,
46
42
  ConfluenceApi,
47
43
  ConnectionSyncApi,
@@ -61,6 +57,10 @@ import {
61
57
  DEFAULT_VOICE_INFERENCE_MODEL,
62
58
  DataTypesApi,
63
59
  DeclaredDataUse,
60
+ DefaultCardConvergenceAction,
61
+ DefaultCardConvergenceClassification,
62
+ DefaultCardConvergenceOutcome,
63
+ DefaultCardConvergenceStep,
64
64
  DigestSlotRole,
65
65
  DiscordBotsApi,
66
66
  DriverMode,
@@ -98,6 +98,7 @@ import {
98
98
  InvitationStatus,
99
99
  JobPosition,
100
100
  JourneysApi,
101
+ LinkFailureCode,
101
102
  MASKED_SECRET_SENTINEL,
102
103
  MAX_EMAIL_SEND_RECIPIENTS,
103
104
  MEMBER_ENTITLEMENT_STATUSES,
@@ -118,16 +119,21 @@ import {
118
119
  ModelType,
119
120
  MondayIntegrationApi,
120
121
  NO_ASSISTANT_PARTICIPANT_CHAT_TYPES,
122
+ NotificationMarkerAction,
121
123
  NotificationRulesApi,
122
124
  OAuthApi,
123
125
  OAuthConnectionsApi,
124
126
  OIDCAdminConfigViewProviderType,
125
127
  ORG_ONLY_RESOURCES,
128
+ OpenItemKind,
126
129
  OperatorApi,
127
130
  OrgApi,
131
+ OrgApiKeyLimitUnconfirmedError,
128
132
  OrgFeature,
133
+ OrgWebhookScopeUnconfirmedError,
129
134
  OrganizationBillingApi,
130
135
  OrganizationClassification,
136
+ OverdueInvoicePayment,
131
137
  PERMISSION_ADMIN,
132
138
  PERMISSION_CREATE,
133
139
  PERMISSION_DELETE,
@@ -141,6 +147,11 @@ import {
141
147
  PIDS_DISPOSITIONS,
142
148
  PIDS_SOURCES,
143
149
  POSITIVE_RATING_THRESHOLD,
150
+ PROPOSED_MESSAGE_BODY_MAX_LENGTH,
151
+ PROPOSED_MESSAGE_SETTLED_TOOL_NAME,
152
+ PROPOSED_MESSAGE_SETTLEMENT_STATUSES,
153
+ PROPOSED_MESSAGE_SUBJECT_MAX_LENGTH,
154
+ PROPOSED_MESSAGE_TOOL_NAMES,
144
155
  PersonasApi,
145
156
  PhoneNumbersApi,
146
157
  PhoneRunRefusal,
@@ -151,8 +162,6 @@ import {
151
162
  QUERY_VALUELESS_OPS,
152
163
  QualificationsApi,
153
164
  REALTIME_MODEL_CUSTOM,
154
- REALTIME_MODEL_GEMINI,
155
- REALTIME_MODEL_GEMINI_VERTEX,
156
165
  REALTIME_MODEL_OPENAI,
157
166
  REALTIME_MODEL_OPENAI_2,
158
167
  REALTIME_MODEL_OPENAI_MINI,
@@ -199,6 +208,7 @@ import {
199
208
  SubscriptionsApi,
200
209
  SupervisorsApi,
201
210
  SupportRequestsApi,
211
+ SyncErrorCode,
202
212
  TERMINAL_TASK_STATES,
203
213
  TTS_MODEL_AWS_POLLY_GENERATIVE,
204
214
  TTS_MODEL_AWS_POLLY_NEURAL,
@@ -226,7 +236,6 @@ import {
226
236
  VoiceIntegrityUseCase,
227
237
  WIDGET_SLUGS,
228
238
  WorkflowNotesApi,
229
- WorkflowRoutingMode,
230
239
  WorkflowsApi,
231
240
  WorkspaceFeature,
232
241
  WorkspaceInvitationsApi,
@@ -309,16 +318,21 @@ import {
309
318
  isIdentifiedMemberContactConflict,
310
319
  isMemberContactConflict,
311
320
  isPositiveRating,
321
+ isProposedMessageSettlementStatus,
312
322
  isRegistryInitialized,
313
323
  isSMSDeliveryFailureStatus,
314
324
  parseExperimentStatCount,
325
+ parseProposedMessage,
315
326
  pathDraftFromStorage,
316
327
  pathDraftToStorage,
317
328
  requiresAssistantParticipant,
318
329
  usesBuiltinAssistant,
319
330
  validateFeatureDependencies
320
- } from "./chunk-WHRIIBJ4.js";
331
+ } from "./chunk-L4XC6KDG.js";
321
332
  import {
333
+ AbilityConfigIssueCode,
334
+ AbilityConfigIssueSeverity,
335
+ AiDisclosure,
322
336
  AttendeeResponseStatus,
323
337
  AttendeeStatus,
324
338
  CalendarEventStatus,
@@ -326,30 +340,23 @@ import {
326
340
  CalendarScheduleAvailabilityType,
327
341
  CalendarScheduleRecurrence,
328
342
  CalendarSource,
343
+ ChannelMessagesUnavailableReason,
344
+ ChatMuteReason,
329
345
  DataCategory,
330
346
  DataFieldType,
331
347
  DataRecordRetirementResponseReason,
332
348
  DataSensitivity,
333
349
  DataTypeRecordScope,
334
- IndexStatus
335
- } from "./chunk-D5VNVTUQ.js";
350
+ IndexStatus,
351
+ ResponseLength
352
+ } from "./chunk-P2MSMMMJ.js";
336
353
  import {
337
354
  ApiError,
338
355
  BaseApiClient,
339
356
  ChatInteractionController,
340
357
  getCookieValue,
341
358
  parseOrgAuthChallenge
342
- } from "./chunk-ZLF3N3ZD.js";
343
-
344
- // src/types/generated/addon.ts
345
- var AddonMutationResponseScope = {
346
- organization: "organization",
347
- workspace: "workspace"
348
- };
349
- var OrganizationAddonResponseScope = {
350
- organization: "organization",
351
- workspace: "workspace"
352
- };
359
+ } from "./chunk-P2X5TOYY.js";
353
360
 
354
361
  // src/types/generated/session.ts
355
362
  var SessionKind = {
@@ -377,6 +384,8 @@ var CustomerActivityClassifierLabel = {
377
384
  repetitive_loop: "repetitive_loop",
378
385
  manager_no_response: "manager_no_response",
379
386
  manager_incomplete_task: "manager_incomplete_task",
387
+ stalled_progress: "stalled_progress",
388
+ step_limit_reached: "step_limit_reached",
380
389
  docs_or_skill_gap: "docs_or_skill_gap",
381
390
  discovery_thrash: "discovery_thrash",
382
391
  manager_language_mismatch: "manager_language_mismatch"
@@ -427,7 +436,8 @@ var PhiPolicySource = {
427
436
  customer_attestation: "customer_attestation",
428
437
  contract_review: "contract_review",
429
438
  staff_review: "staff_review",
430
- legacy_inventory: "legacy_inventory"
439
+ legacy_inventory: "legacy_inventory",
440
+ platform_default: "platform_default"
431
441
  };
432
442
  var PhiPostureTransitionResponseTargetType = {
433
443
  organization: "organization",
@@ -463,6 +473,74 @@ var PhiPostureReasonCode = {
463
473
  invalid_state: "invalid_state"
464
474
  };
465
475
 
476
+ // src/types/generated/v3_file.ts
477
+ var FileAccess = {
478
+ PRIVATE: "PRIVATE",
479
+ WORKSPACE: "WORKSPACE",
480
+ PUBLIC: "PUBLIC",
481
+ ORGANIZATION: "ORGANIZATION",
482
+ AUDIENCE: "AUDIENCE"
483
+ };
484
+ var FileAuthorKind = {
485
+ MEMBER: "MEMBER",
486
+ AGENT: "AGENT"
487
+ };
488
+ var FileKind = {
489
+ FILE: "FILE",
490
+ MEMORY: "MEMORY",
491
+ SKILL: "SKILL"
492
+ };
493
+ var FileOrder = {
494
+ NAME: "NAME",
495
+ NAME_DESC: "NAME_DESC",
496
+ CREATE_TIME: "CREATE_TIME",
497
+ CREATE_TIME_DESC: "CREATE_TIME_DESC",
498
+ UPDATE_TIME: "UPDATE_TIME",
499
+ UPDATE_TIME_DESC: "UPDATE_TIME_DESC"
500
+ };
501
+ var FileSkillWarning = {
502
+ INVISIBLE_UNICODE: "INVISIBLE_UNICODE",
503
+ PROMPT_INJECTION_SIGNALS: "PROMPT_INJECTION_SIGNALS"
504
+ };
505
+ var FileState = {
506
+ ACTIVE: "ACTIVE",
507
+ ARCHIVED: "ARCHIVED"
508
+ };
509
+ var FileView = {
510
+ BASIC: "BASIC",
511
+ FULL: "FULL"
512
+ };
513
+
514
+ // src/types/generated/v3_folder.ts
515
+ var FolderIndexState = {
516
+ NOT_INDEXED: "NOT_INDEXED",
517
+ INDEXING: "INDEXING",
518
+ INDEXED: "INDEXED"
519
+ };
520
+ var FolderRoot = {
521
+ WORKSPACE: "WORKSPACE",
522
+ HOME: "HOME",
523
+ MEMORY: "MEMORY",
524
+ SITE: "SITE",
525
+ WORKFLOW: "WORKFLOW"
526
+ };
527
+ var FolderView = {
528
+ BASIC: "BASIC",
529
+ FULL: "FULL"
530
+ };
531
+
532
+ // src/types/generated/v3_grant.ts
533
+ var GrantMode = {
534
+ READ: "READ",
535
+ WRITE: "WRITE"
536
+ };
537
+
538
+ // src/types/generated/v3_upload.ts
539
+ var UploadState = {
540
+ PENDING: "PENDING",
541
+ RECEIVED: "RECEIVED"
542
+ };
543
+
466
544
  // src/types/generated/metric_record_definition.ts
467
545
  var RecordMetricDefinitionAggregation = {
468
546
  count: "count",
@@ -505,6 +583,18 @@ var MetricUnit = {
505
583
  custom: "custom"
506
584
  };
507
585
 
586
+ // src/types/generated/enrollment_inquiry.ts
587
+ var CosanEnrollmentInquiryResponseOutcome = {
588
+ captured: "captured",
589
+ identity_verified: "identity_verified"
590
+ };
591
+
592
+ // src/types/generated/support_request_participant.ts
593
+ var SupportRequestParticipantRole = {
594
+ recipient: "recipient",
595
+ cc: "cc"
596
+ };
597
+
508
598
  // src/types/generated/pilot_program.ts
509
599
  var PilotRelationshipType = {
510
600
  direct_pilot: "direct_pilot",
@@ -536,10 +626,10 @@ export {
536
626
  ActivityOpenItemOrder,
537
627
  ActivityOutcome,
538
628
  ActivityWindowBasis,
539
- AddonMutationResponseScope,
540
629
  AgentTasksApi,
541
630
  AgentsApi,
542
631
  AiConnectorPolicy,
632
+ AiDisclosure,
543
633
  ApiError,
544
634
  ApiKeysApi,
545
635
  AppConnectionsApi,
@@ -577,6 +667,7 @@ export {
577
667
  ConfluenceApi,
578
668
  ConnectionSyncApi,
579
669
  ConsentMethod,
670
+ CosanEnrollmentInquiryResponseOutcome,
580
671
  CreateMemberContactPointRequestContactType,
581
672
  CreateMemberContactPointRequestPurpose,
582
673
  CreateMemberContactPointRequestSharing,
@@ -604,6 +695,10 @@ export {
604
695
  DataTypeRecordScope,
605
696
  DataTypesApi,
606
697
  DeclaredDataUse,
698
+ DefaultCardConvergenceAction,
699
+ DefaultCardConvergenceClassification,
700
+ DefaultCardConvergenceOutcome,
701
+ DefaultCardConvergenceStep,
607
702
  DigestSlotRole,
608
703
  DiscordBotsApi,
609
704
  DriverMode,
@@ -669,17 +764,21 @@ export {
669
764
  ModelType,
670
765
  MondayIntegrationApi,
671
766
  NO_ASSISTANT_PARTICIPANT_CHAT_TYPES,
767
+ NotificationMarkerAction,
672
768
  NotificationRulesApi,
673
769
  OAuthApi,
674
770
  OAuthConnectionsApi,
675
771
  OIDCAdminConfigViewProviderType,
676
772
  ORG_ONLY_RESOURCES,
773
+ OpenItemKind,
677
774
  OperatorApi,
678
775
  OrgApi,
776
+ OrgApiKeyLimitUnconfirmedError,
679
777
  OrgFeature,
680
- OrganizationAddonResponseScope,
778
+ OrgWebhookScopeUnconfirmedError,
681
779
  OrganizationBillingApi,
682
780
  OrganizationClassification,
781
+ OverdueInvoicePayment,
683
782
  PERMISSION_ADMIN,
684
783
  PERMISSION_CREATE,
685
784
  PERMISSION_DELETE,
@@ -693,6 +792,11 @@ export {
693
792
  PIDS_DISPOSITIONS,
694
793
  PIDS_SOURCES,
695
794
  POSITIVE_RATING_THRESHOLD,
795
+ PROPOSED_MESSAGE_BODY_MAX_LENGTH,
796
+ PROPOSED_MESSAGE_SETTLED_TOOL_NAME,
797
+ PROPOSED_MESSAGE_SETTLEMENT_STATUSES,
798
+ PROPOSED_MESSAGE_SUBJECT_MAX_LENGTH,
799
+ PROPOSED_MESSAGE_TOOL_NAMES,
696
800
  PersonasApi,
697
801
  PhiDataPolicy,
698
802
  PhiPolicyReason,
@@ -711,8 +815,6 @@ export {
711
815
  QUERY_VALUELESS_OPS,
712
816
  QualificationsApi,
713
817
  REALTIME_MODEL_CUSTOM,
714
- REALTIME_MODEL_GEMINI,
715
- REALTIME_MODEL_GEMINI_VERTEX,
716
818
  REALTIME_MODEL_OPENAI,
717
819
  REALTIME_MODEL_OPENAI_2,
718
820
  REALTIME_MODEL_OPENAI_MINI,
@@ -727,6 +829,7 @@ export {
727
829
  ReportsApi,
728
830
  ResellersApi,
729
831
  Resource,
832
+ ResponseLength,
730
833
  RevisionHistorySegment,
731
834
  RoutingActionType,
732
835
  RoutingAudience,
@@ -760,7 +863,10 @@ export {
760
863
  SnippetsApi,
761
864
  SubscriptionsApi,
762
865
  SupervisorsApi,
866
+ SupportRequestParticipantRole,
763
867
  SupportRequestsApi,
868
+ SyncErrorCode,
869
+ LinkFailureCode as SyncFailureCode,
764
870
  TERMINAL_TASK_STATES,
765
871
  TTS_MODEL_AWS_POLLY_GENERATIVE,
766
872
  TTS_MODEL_AWS_POLLY_NEURAL,
@@ -784,11 +890,22 @@ export {
784
890
  UpdateMemberContactPointRequestContactType,
785
891
  UpdateMemberContactPointRequestPurpose,
786
892
  UpdateMemberContactPointRequestSharing,
893
+ FileAccess as V3FileAccess,
894
+ FileAuthorKind as V3FileAuthorKind,
895
+ FileKind as V3FileKind,
896
+ FileOrder as V3FileOrder,
897
+ FileSkillWarning as V3FileSkillWarning,
898
+ FileState as V3FileState,
899
+ FileView as V3FileView,
900
+ FolderIndexState as V3FolderIndexState,
901
+ FolderRoot as V3FolderRoot,
902
+ FolderView as V3FolderView,
903
+ GrantMode as V3GrantMode,
904
+ UploadState as V3UploadState,
787
905
  VoiceApi,
788
906
  VoiceIntegrityUseCase,
789
907
  WIDGET_SLUGS,
790
908
  WorkflowNotesApi,
791
- WorkflowRoutingMode,
792
909
  WorkflowsApi,
793
910
  WorkspaceFeature,
794
911
  WorkspaceInvitationsApi,
@@ -872,10 +989,12 @@ export {
872
989
  isIdentifiedMemberContactConflict,
873
990
  isMemberContactConflict,
874
991
  isPositiveRating,
992
+ isProposedMessageSettlementStatus,
875
993
  isRegistryInitialized,
876
994
  isSMSDeliveryFailureStatus,
877
995
  parseExperimentStatCount,
878
996
  parseOrgAuthChallenge,
997
+ parseProposedMessage,
879
998
  pathDraftFromStorage,
880
999
  pathDraftToStorage,
881
1000
  requiresAssistantParticipant,