graphlit-client 1.0.20260422002 → 1.0.20260422004

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/client.d.ts CHANGED
@@ -1278,11 +1278,15 @@ declare class Graphlit {
1278
1278
  * @param connector - The publishing connector to use.
1279
1279
  * @param name - The name of the published conversation, optional.
1280
1280
  * @param workflow - The workflow to use, optional.
1281
+ * @param publishPrompt - The prompt for publishing, optional.
1282
+ * @param publishSpecification - The LLM specification for publishing, optional.
1283
+ * @param includeDetails - Whether to include details in publishing, optional.
1281
1284
  * @param isSynchronous - Whether this mutation is synchronous.
1285
+ * @param collections - The collections to add the published conversation to, optional.
1282
1286
  * @param correlationId - The tenant correlation identifier, optional.
1283
1287
  * @returns The published conversation.
1284
1288
  */
1285
- publishConversation(id: string, connector: Types.ContentPublishingConnectorInput, name?: string, workflow?: Types.EntityReferenceInput, isSynchronous?: boolean, correlationId?: string): Promise<Types.PublishConversationMutation>;
1289
+ publishConversation(id: string, connector: Types.ContentPublishingConnectorInput, name?: string, workflow?: Types.EntityReferenceInput, publishPrompt?: string, publishSpecification?: Types.EntityReferenceInput, includeDetails?: boolean, isSynchronous?: boolean, collections?: Types.EntityReferenceInput[], correlationId?: string): Promise<Types.PublishConversationMutation>;
1286
1290
  /**
1287
1291
  * Suggests follow-up prompts for a conversation.
1288
1292
  * @param id - The conversation ID.
package/dist/client.js CHANGED
@@ -2419,17 +2419,25 @@ class Graphlit {
2419
2419
  * @param connector - The publishing connector to use.
2420
2420
  * @param name - The name of the published conversation, optional.
2421
2421
  * @param workflow - The workflow to use, optional.
2422
+ * @param publishPrompt - The prompt for publishing, optional.
2423
+ * @param publishSpecification - The LLM specification for publishing, optional.
2424
+ * @param includeDetails - Whether to include details in publishing, optional.
2422
2425
  * @param isSynchronous - Whether this mutation is synchronous.
2426
+ * @param collections - The collections to add the published conversation to, optional.
2423
2427
  * @param correlationId - The tenant correlation identifier, optional.
2424
2428
  * @returns The published conversation.
2425
2429
  */
2426
- async publishConversation(id, connector, name, workflow, isSynchronous, correlationId) {
2430
+ async publishConversation(id, connector, name, workflow, publishPrompt, publishSpecification, includeDetails, isSynchronous, collections, correlationId) {
2427
2431
  return this.mutateAndCheckError(Documents.PublishConversation, {
2428
2432
  id: id,
2429
2433
  connector: connector,
2430
2434
  name: name,
2431
2435
  workflow: workflow,
2436
+ publishPrompt: publishPrompt,
2437
+ publishSpecification: publishSpecification,
2438
+ includeDetails: includeDetails,
2432
2439
  isSynchronous: isSynchronous,
2440
+ collections: collections,
2433
2441
  correlationId: correlationId,
2434
2442
  });
2435
2443
  }
@@ -6108,8 +6116,7 @@ class Graphlit {
6108
6116
  const toolCallNames = [];
6109
6117
  const errors = [];
6110
6118
  let totalToolCallCount = 0;
6111
- // Sidecar map for reasoning metadata
6112
- const reasoningByMessageIndex = new Map();
6119
+ const persistedIntermediateMessages = [];
6113
6120
  // Artifact collector for tool handlers
6114
6121
  const pendingArtifacts = [];
6115
6122
  const artifactCollector = {
@@ -6126,7 +6133,6 @@ class Graphlit {
6126
6133
  (OPENAI_RESPONSES_AUTO_ROUTING_ENABLED && useResponsesApi !== false)) &&
6127
6134
  serviceType === Types.ModelServiceTypes.OpenAi &&
6128
6135
  isOpenAIResponsesEligibleModel(specification);
6129
- const toolMessagesStartIndex = messages.length;
6130
6136
  let lastRoundReasoning;
6131
6137
  let openAIResponsesState;
6132
6138
  let openAIResponsesPendingToolMessages = [];
@@ -6540,9 +6546,9 @@ class Graphlit {
6540
6546
  if (roundReasoning.signature) {
6541
6547
  assistantMessage.thinkingSignature = roundReasoning.signature;
6542
6548
  }
6543
- reasoningByMessageIndex.set(messages.length, roundReasoning);
6544
6549
  }
6545
6550
  messages.push(assistantMessage);
6551
+ persistedIntermediateMessages.push(assistantMessage);
6546
6552
  // Track tool names for stuck detection
6547
6553
  for (const tc of roundToolCalls) {
6548
6554
  toolCallNames.push(tc.name);
@@ -6837,6 +6843,7 @@ class Graphlit {
6837
6843
  }
6838
6844
  }
6839
6845
  messages.push(executionResult.toolMessage);
6846
+ persistedIntermediateMessages.push(executionResult.toolMessage);
6840
6847
  if (executionResult.errorEntry) {
6841
6848
  errors.push(executionResult.errorEntry);
6842
6849
  }
@@ -6866,7 +6873,7 @@ class Graphlit {
6866
6873
  currentRound++;
6867
6874
  }
6868
6875
  // Build intermediate messages for completeConversation
6869
- const intermediateMessages = messages.slice(toolMessagesStartIndex);
6876
+ const intermediateMessages = persistedIntermediateMessages;
6870
6877
  const messageInputs = intermediateMessages.map((msg, idx) => {
6871
6878
  const input = {
6872
6879
  role: msg.role,
@@ -6890,12 +6897,10 @@ class Graphlit {
6890
6897
  firstStatusAt: tc.firstStatusAt,
6891
6898
  }));
6892
6899
  }
6893
- const absoluteIndex = toolMessagesStartIndex + idx;
6894
- const reasoning = reasoningByMessageIndex.get(absoluteIndex);
6895
- if (reasoning) {
6896
- input.thinkingContent = reasoning.content;
6897
- if (reasoning.signature) {
6898
- input.thinkingSignature = reasoning.signature;
6900
+ if (msg.thinkingContent) {
6901
+ input.thinkingContent = msg.thinkingContent;
6902
+ if (msg.thinkingSignature) {
6903
+ input.thinkingSignature = msg.thinkingSignature;
6899
6904
  }
6900
6905
  }
6901
6906
  return input;
@@ -7940,13 +7940,17 @@ export const PromptConversation = gql `
7940
7940
  }
7941
7941
  `;
7942
7942
  export const PublishConversation = gql `
7943
- mutation PublishConversation($id: ID!, $connector: ContentPublishingConnectorInput!, $name: String, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $correlationId: String) {
7943
+ mutation PublishConversation($id: ID!, $connector: ContentPublishingConnectorInput!, $name: String, $workflow: EntityReferenceInput, $publishPrompt: String, $publishSpecification: EntityReferenceInput, $includeDetails: Boolean, $isSynchronous: Boolean, $collections: [EntityReferenceInput!], $correlationId: String) {
7944
7944
  publishConversation(
7945
7945
  id: $id
7946
7946
  connector: $connector
7947
7947
  name: $name
7948
- isSynchronous: $isSynchronous
7949
7948
  workflow: $workflow
7949
+ publishPrompt: $publishPrompt
7950
+ publishSpecification: $publishSpecification
7951
+ includeDetails: $includeDetails
7952
+ isSynchronous: $isSynchronous
7953
+ collections: $collections
7950
7954
  correlationId: $correlationId
7951
7955
  ) {
7952
7956
  contents {
@@ -18027,90 +18031,6 @@ export const CreateReplica = gql `
18027
18031
  name
18028
18032
  state
18029
18033
  type
18030
- authentication {
18031
- type
18032
- token
18033
- apiKey
18034
- microsoft {
18035
- tenantId
18036
- clientId
18037
- clientSecret
18038
- }
18039
- google {
18040
- clientId
18041
- clientSecret
18042
- }
18043
- oauth {
18044
- provider
18045
- clientId
18046
- clientSecret
18047
- refreshToken
18048
- accessToken
18049
- redirectUri
18050
- metadata
18051
- }
18052
- arcade {
18053
- authorizationId
18054
- provider
18055
- metadata
18056
- }
18057
- }
18058
- integration {
18059
- type
18060
- uri
18061
- slack {
18062
- token
18063
- channel
18064
- }
18065
- email {
18066
- from
18067
- subject
18068
- to
18069
- }
18070
- twitter {
18071
- consumerKey
18072
- consumerSecret
18073
- accessTokenKey
18074
- accessTokenSecret
18075
- }
18076
- mcp {
18077
- token
18078
- type
18079
- }
18080
- }
18081
- channel {
18082
- type
18083
- slack {
18084
- botToken
18085
- signingSecret
18086
- appId
18087
- }
18088
- teams {
18089
- botId
18090
- botPassword
18091
- tenantId
18092
- }
18093
- discord {
18094
- botToken
18095
- applicationId
18096
- publicKey
18097
- }
18098
- telegram {
18099
- botToken
18100
- secretToken
18101
- botUsername
18102
- }
18103
- whatsApp {
18104
- accessToken
18105
- appSecret
18106
- phoneNumberId
18107
- verifyToken
18108
- }
18109
- googleChat {
18110
- credentials
18111
- projectId
18112
- }
18113
- }
18114
18034
  }
18115
18035
  markerSlug
18116
18036
  artifactTypes
@@ -18331,90 +18251,6 @@ export const GetReplica = gql `
18331
18251
  name
18332
18252
  state
18333
18253
  type
18334
- authentication {
18335
- type
18336
- token
18337
- apiKey
18338
- microsoft {
18339
- tenantId
18340
- clientId
18341
- clientSecret
18342
- }
18343
- google {
18344
- clientId
18345
- clientSecret
18346
- }
18347
- oauth {
18348
- provider
18349
- clientId
18350
- clientSecret
18351
- refreshToken
18352
- accessToken
18353
- redirectUri
18354
- metadata
18355
- }
18356
- arcade {
18357
- authorizationId
18358
- provider
18359
- metadata
18360
- }
18361
- }
18362
- integration {
18363
- type
18364
- uri
18365
- slack {
18366
- token
18367
- channel
18368
- }
18369
- email {
18370
- from
18371
- subject
18372
- to
18373
- }
18374
- twitter {
18375
- consumerKey
18376
- consumerSecret
18377
- accessTokenKey
18378
- accessTokenSecret
18379
- }
18380
- mcp {
18381
- token
18382
- type
18383
- }
18384
- }
18385
- channel {
18386
- type
18387
- slack {
18388
- botToken
18389
- signingSecret
18390
- appId
18391
- }
18392
- teams {
18393
- botId
18394
- botPassword
18395
- tenantId
18396
- }
18397
- discord {
18398
- botToken
18399
- applicationId
18400
- publicKey
18401
- }
18402
- telegram {
18403
- botToken
18404
- secretToken
18405
- botUsername
18406
- }
18407
- whatsApp {
18408
- accessToken
18409
- appSecret
18410
- phoneNumberId
18411
- verifyToken
18412
- }
18413
- googleChat {
18414
- credentials
18415
- projectId
18416
- }
18417
- }
18418
18254
  }
18419
18255
  markerSlug
18420
18256
  artifactTypes
@@ -18590,90 +18426,6 @@ export const QueryReplicas = gql `
18590
18426
  name
18591
18427
  state
18592
18428
  type
18593
- authentication {
18594
- type
18595
- token
18596
- apiKey
18597
- microsoft {
18598
- tenantId
18599
- clientId
18600
- clientSecret
18601
- }
18602
- google {
18603
- clientId
18604
- clientSecret
18605
- }
18606
- oauth {
18607
- provider
18608
- clientId
18609
- clientSecret
18610
- refreshToken
18611
- accessToken
18612
- redirectUri
18613
- metadata
18614
- }
18615
- arcade {
18616
- authorizationId
18617
- provider
18618
- metadata
18619
- }
18620
- }
18621
- integration {
18622
- type
18623
- uri
18624
- slack {
18625
- token
18626
- channel
18627
- }
18628
- email {
18629
- from
18630
- subject
18631
- to
18632
- }
18633
- twitter {
18634
- consumerKey
18635
- consumerSecret
18636
- accessTokenKey
18637
- accessTokenSecret
18638
- }
18639
- mcp {
18640
- token
18641
- type
18642
- }
18643
- }
18644
- channel {
18645
- type
18646
- slack {
18647
- botToken
18648
- signingSecret
18649
- appId
18650
- }
18651
- teams {
18652
- botId
18653
- botPassword
18654
- tenantId
18655
- }
18656
- discord {
18657
- botToken
18658
- applicationId
18659
- publicKey
18660
- }
18661
- telegram {
18662
- botToken
18663
- secretToken
18664
- botUsername
18665
- }
18666
- whatsApp {
18667
- accessToken
18668
- appSecret
18669
- phoneNumberId
18670
- verifyToken
18671
- }
18672
- googleChat {
18673
- credentials
18674
- projectId
18675
- }
18676
- }
18677
18429
  }
18678
18430
  markerSlug
18679
18431
  artifactTypes
@@ -18858,90 +18610,6 @@ export const UpdateReplica = gql `
18858
18610
  name
18859
18611
  state
18860
18612
  type
18861
- authentication {
18862
- type
18863
- token
18864
- apiKey
18865
- microsoft {
18866
- tenantId
18867
- clientId
18868
- clientSecret
18869
- }
18870
- google {
18871
- clientId
18872
- clientSecret
18873
- }
18874
- oauth {
18875
- provider
18876
- clientId
18877
- clientSecret
18878
- refreshToken
18879
- accessToken
18880
- redirectUri
18881
- metadata
18882
- }
18883
- arcade {
18884
- authorizationId
18885
- provider
18886
- metadata
18887
- }
18888
- }
18889
- integration {
18890
- type
18891
- uri
18892
- slack {
18893
- token
18894
- channel
18895
- }
18896
- email {
18897
- from
18898
- subject
18899
- to
18900
- }
18901
- twitter {
18902
- consumerKey
18903
- consumerSecret
18904
- accessTokenKey
18905
- accessTokenSecret
18906
- }
18907
- mcp {
18908
- token
18909
- type
18910
- }
18911
- }
18912
- channel {
18913
- type
18914
- slack {
18915
- botToken
18916
- signingSecret
18917
- appId
18918
- }
18919
- teams {
18920
- botId
18921
- botPassword
18922
- tenantId
18923
- }
18924
- discord {
18925
- botToken
18926
- applicationId
18927
- publicKey
18928
- }
18929
- telegram {
18930
- botToken
18931
- secretToken
18932
- botUsername
18933
- }
18934
- whatsApp {
18935
- accessToken
18936
- appSecret
18937
- phoneNumberId
18938
- verifyToken
18939
- }
18940
- googleChat {
18941
- credentials
18942
- projectId
18943
- }
18944
- }
18945
18613
  }
18946
18614
  markerSlug
18947
18615
  artifactTypes
@@ -19110,90 +18778,6 @@ export const UpsertReplica = gql `
19110
18778
  name
19111
18779
  state
19112
18780
  type
19113
- authentication {
19114
- type
19115
- token
19116
- apiKey
19117
- microsoft {
19118
- tenantId
19119
- clientId
19120
- clientSecret
19121
- }
19122
- google {
19123
- clientId
19124
- clientSecret
19125
- }
19126
- oauth {
19127
- provider
19128
- clientId
19129
- clientSecret
19130
- refreshToken
19131
- accessToken
19132
- redirectUri
19133
- metadata
19134
- }
19135
- arcade {
19136
- authorizationId
19137
- provider
19138
- metadata
19139
- }
19140
- }
19141
- integration {
19142
- type
19143
- uri
19144
- slack {
19145
- token
19146
- channel
19147
- }
19148
- email {
19149
- from
19150
- subject
19151
- to
19152
- }
19153
- twitter {
19154
- consumerKey
19155
- consumerSecret
19156
- accessTokenKey
19157
- accessTokenSecret
19158
- }
19159
- mcp {
19160
- token
19161
- type
19162
- }
19163
- }
19164
- channel {
19165
- type
19166
- slack {
19167
- botToken
19168
- signingSecret
19169
- appId
19170
- }
19171
- teams {
19172
- botId
19173
- botPassword
19174
- tenantId
19175
- }
19176
- discord {
19177
- botToken
19178
- applicationId
19179
- publicKey
19180
- }
19181
- telegram {
19182
- botToken
19183
- secretToken
19184
- botUsername
19185
- }
19186
- whatsApp {
19187
- accessToken
19188
- appSecret
19189
- phoneNumberId
19190
- verifyToken
19191
- }
19192
- googleChat {
19193
- credentials
19194
- projectId
19195
- }
19196
- }
19197
18781
  }
19198
18782
  markerSlug
19199
18783
  artifactTypes
@@ -35855,8 +35855,12 @@ export type PublishConversationMutationVariables = Exact<{
35855
35855
  id: Scalars['ID']['input'];
35856
35856
  connector: ContentPublishingConnectorInput;
35857
35857
  name?: InputMaybe<Scalars['String']['input']>;
35858
- isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
35859
35858
  workflow?: InputMaybe<EntityReferenceInput>;
35859
+ publishPrompt?: InputMaybe<Scalars['String']['input']>;
35860
+ publishSpecification?: InputMaybe<EntityReferenceInput>;
35861
+ includeDetails?: InputMaybe<Scalars['Boolean']['input']>;
35862
+ isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
35863
+ collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
35860
35864
  correlationId?: InputMaybe<Scalars['String']['input']>;
35861
35865
  }>;
35862
35866
  export type PublishConversationMutation = {
@@ -48035,107 +48039,6 @@ export type CreateReplicaMutation = {
48035
48039
  name: string;
48036
48040
  state: EntityState;
48037
48041
  type?: ConnectorTypes | null;
48038
- authentication?: {
48039
- __typename?: 'AuthenticationConnector';
48040
- type: AuthenticationServiceTypes;
48041
- token?: string | null;
48042
- apiKey?: string | null;
48043
- microsoft?: {
48044
- __typename?: 'MicrosoftAuthenticationProperties';
48045
- tenantId: string;
48046
- clientId: string;
48047
- clientSecret: string;
48048
- } | null;
48049
- google?: {
48050
- __typename?: 'GoogleAuthenticationProperties';
48051
- clientId: string;
48052
- clientSecret: string;
48053
- } | null;
48054
- oauth?: {
48055
- __typename?: 'OAuthAuthenticationProperties';
48056
- provider: OAuthProviders;
48057
- clientId: string;
48058
- clientSecret: string;
48059
- refreshToken?: string | null;
48060
- accessToken?: string | null;
48061
- redirectUri?: string | null;
48062
- metadata?: string | null;
48063
- } | null;
48064
- arcade?: {
48065
- __typename?: 'ArcadeAuthenticationProperties';
48066
- authorizationId: string;
48067
- provider: ArcadeProviders;
48068
- metadata?: string | null;
48069
- } | null;
48070
- } | null;
48071
- integration?: {
48072
- __typename?: 'IntegrationConnector';
48073
- type: IntegrationServiceTypes;
48074
- uri?: string | null;
48075
- slack?: {
48076
- __typename?: 'SlackIntegrationProperties';
48077
- token: string;
48078
- channel: string;
48079
- } | null;
48080
- email?: {
48081
- __typename?: 'EmailIntegrationProperties';
48082
- from: string;
48083
- subject: string;
48084
- to: Array<string>;
48085
- } | null;
48086
- twitter?: {
48087
- __typename?: 'TwitterIntegrationProperties';
48088
- consumerKey: string;
48089
- consumerSecret: string;
48090
- accessTokenKey: string;
48091
- accessTokenSecret: string;
48092
- } | null;
48093
- mcp?: {
48094
- __typename?: 'MCPIntegrationProperties';
48095
- token?: string | null;
48096
- type: McpServerTypes;
48097
- } | null;
48098
- } | null;
48099
- channel?: {
48100
- __typename?: 'ChannelConnector';
48101
- type: ChannelServiceTypes;
48102
- slack?: {
48103
- __typename?: 'SlackChannelProperties';
48104
- botToken: string;
48105
- signingSecret?: string | null;
48106
- appId?: string | null;
48107
- } | null;
48108
- teams?: {
48109
- __typename?: 'TeamsChannelProperties';
48110
- botId: string;
48111
- botPassword: string;
48112
- tenantId?: string | null;
48113
- } | null;
48114
- discord?: {
48115
- __typename?: 'DiscordChannelProperties';
48116
- botToken: string;
48117
- applicationId?: string | null;
48118
- publicKey?: string | null;
48119
- } | null;
48120
- telegram?: {
48121
- __typename?: 'TelegramChannelProperties';
48122
- botToken: string;
48123
- secretToken?: string | null;
48124
- botUsername?: string | null;
48125
- } | null;
48126
- whatsApp?: {
48127
- __typename?: 'WhatsAppChannelProperties';
48128
- accessToken: string;
48129
- appSecret?: string | null;
48130
- phoneNumberId: string;
48131
- verifyToken?: string | null;
48132
- } | null;
48133
- googleChat?: {
48134
- __typename?: 'GoogleChatChannelProperties';
48135
- credentials: string;
48136
- projectId?: string | null;
48137
- } | null;
48138
- } | null;
48139
48042
  };
48140
48043
  schedulePolicy?: {
48141
48044
  __typename?: 'ReplicaSchedulePolicy';
@@ -48414,107 +48317,6 @@ export type GetReplicaQuery = {
48414
48317
  name: string;
48415
48318
  state: EntityState;
48416
48319
  type?: ConnectorTypes | null;
48417
- authentication?: {
48418
- __typename?: 'AuthenticationConnector';
48419
- type: AuthenticationServiceTypes;
48420
- token?: string | null;
48421
- apiKey?: string | null;
48422
- microsoft?: {
48423
- __typename?: 'MicrosoftAuthenticationProperties';
48424
- tenantId: string;
48425
- clientId: string;
48426
- clientSecret: string;
48427
- } | null;
48428
- google?: {
48429
- __typename?: 'GoogleAuthenticationProperties';
48430
- clientId: string;
48431
- clientSecret: string;
48432
- } | null;
48433
- oauth?: {
48434
- __typename?: 'OAuthAuthenticationProperties';
48435
- provider: OAuthProviders;
48436
- clientId: string;
48437
- clientSecret: string;
48438
- refreshToken?: string | null;
48439
- accessToken?: string | null;
48440
- redirectUri?: string | null;
48441
- metadata?: string | null;
48442
- } | null;
48443
- arcade?: {
48444
- __typename?: 'ArcadeAuthenticationProperties';
48445
- authorizationId: string;
48446
- provider: ArcadeProviders;
48447
- metadata?: string | null;
48448
- } | null;
48449
- } | null;
48450
- integration?: {
48451
- __typename?: 'IntegrationConnector';
48452
- type: IntegrationServiceTypes;
48453
- uri?: string | null;
48454
- slack?: {
48455
- __typename?: 'SlackIntegrationProperties';
48456
- token: string;
48457
- channel: string;
48458
- } | null;
48459
- email?: {
48460
- __typename?: 'EmailIntegrationProperties';
48461
- from: string;
48462
- subject: string;
48463
- to: Array<string>;
48464
- } | null;
48465
- twitter?: {
48466
- __typename?: 'TwitterIntegrationProperties';
48467
- consumerKey: string;
48468
- consumerSecret: string;
48469
- accessTokenKey: string;
48470
- accessTokenSecret: string;
48471
- } | null;
48472
- mcp?: {
48473
- __typename?: 'MCPIntegrationProperties';
48474
- token?: string | null;
48475
- type: McpServerTypes;
48476
- } | null;
48477
- } | null;
48478
- channel?: {
48479
- __typename?: 'ChannelConnector';
48480
- type: ChannelServiceTypes;
48481
- slack?: {
48482
- __typename?: 'SlackChannelProperties';
48483
- botToken: string;
48484
- signingSecret?: string | null;
48485
- appId?: string | null;
48486
- } | null;
48487
- teams?: {
48488
- __typename?: 'TeamsChannelProperties';
48489
- botId: string;
48490
- botPassword: string;
48491
- tenantId?: string | null;
48492
- } | null;
48493
- discord?: {
48494
- __typename?: 'DiscordChannelProperties';
48495
- botToken: string;
48496
- applicationId?: string | null;
48497
- publicKey?: string | null;
48498
- } | null;
48499
- telegram?: {
48500
- __typename?: 'TelegramChannelProperties';
48501
- botToken: string;
48502
- secretToken?: string | null;
48503
- botUsername?: string | null;
48504
- } | null;
48505
- whatsApp?: {
48506
- __typename?: 'WhatsAppChannelProperties';
48507
- accessToken: string;
48508
- appSecret?: string | null;
48509
- phoneNumberId: string;
48510
- verifyToken?: string | null;
48511
- } | null;
48512
- googleChat?: {
48513
- __typename?: 'GoogleChatChannelProperties';
48514
- credentials: string;
48515
- projectId?: string | null;
48516
- } | null;
48517
- } | null;
48518
48320
  };
48519
48321
  schedulePolicy?: {
48520
48322
  __typename?: 'ReplicaSchedulePolicy';
@@ -48734,107 +48536,6 @@ export type QueryReplicasQuery = {
48734
48536
  name: string;
48735
48537
  state: EntityState;
48736
48538
  type?: ConnectorTypes | null;
48737
- authentication?: {
48738
- __typename?: 'AuthenticationConnector';
48739
- type: AuthenticationServiceTypes;
48740
- token?: string | null;
48741
- apiKey?: string | null;
48742
- microsoft?: {
48743
- __typename?: 'MicrosoftAuthenticationProperties';
48744
- tenantId: string;
48745
- clientId: string;
48746
- clientSecret: string;
48747
- } | null;
48748
- google?: {
48749
- __typename?: 'GoogleAuthenticationProperties';
48750
- clientId: string;
48751
- clientSecret: string;
48752
- } | null;
48753
- oauth?: {
48754
- __typename?: 'OAuthAuthenticationProperties';
48755
- provider: OAuthProviders;
48756
- clientId: string;
48757
- clientSecret: string;
48758
- refreshToken?: string | null;
48759
- accessToken?: string | null;
48760
- redirectUri?: string | null;
48761
- metadata?: string | null;
48762
- } | null;
48763
- arcade?: {
48764
- __typename?: 'ArcadeAuthenticationProperties';
48765
- authorizationId: string;
48766
- provider: ArcadeProviders;
48767
- metadata?: string | null;
48768
- } | null;
48769
- } | null;
48770
- integration?: {
48771
- __typename?: 'IntegrationConnector';
48772
- type: IntegrationServiceTypes;
48773
- uri?: string | null;
48774
- slack?: {
48775
- __typename?: 'SlackIntegrationProperties';
48776
- token: string;
48777
- channel: string;
48778
- } | null;
48779
- email?: {
48780
- __typename?: 'EmailIntegrationProperties';
48781
- from: string;
48782
- subject: string;
48783
- to: Array<string>;
48784
- } | null;
48785
- twitter?: {
48786
- __typename?: 'TwitterIntegrationProperties';
48787
- consumerKey: string;
48788
- consumerSecret: string;
48789
- accessTokenKey: string;
48790
- accessTokenSecret: string;
48791
- } | null;
48792
- mcp?: {
48793
- __typename?: 'MCPIntegrationProperties';
48794
- token?: string | null;
48795
- type: McpServerTypes;
48796
- } | null;
48797
- } | null;
48798
- channel?: {
48799
- __typename?: 'ChannelConnector';
48800
- type: ChannelServiceTypes;
48801
- slack?: {
48802
- __typename?: 'SlackChannelProperties';
48803
- botToken: string;
48804
- signingSecret?: string | null;
48805
- appId?: string | null;
48806
- } | null;
48807
- teams?: {
48808
- __typename?: 'TeamsChannelProperties';
48809
- botId: string;
48810
- botPassword: string;
48811
- tenantId?: string | null;
48812
- } | null;
48813
- discord?: {
48814
- __typename?: 'DiscordChannelProperties';
48815
- botToken: string;
48816
- applicationId?: string | null;
48817
- publicKey?: string | null;
48818
- } | null;
48819
- telegram?: {
48820
- __typename?: 'TelegramChannelProperties';
48821
- botToken: string;
48822
- secretToken?: string | null;
48823
- botUsername?: string | null;
48824
- } | null;
48825
- whatsApp?: {
48826
- __typename?: 'WhatsAppChannelProperties';
48827
- accessToken: string;
48828
- appSecret?: string | null;
48829
- phoneNumberId: string;
48830
- verifyToken?: string | null;
48831
- } | null;
48832
- googleChat?: {
48833
- __typename?: 'GoogleChatChannelProperties';
48834
- credentials: string;
48835
- projectId?: string | null;
48836
- } | null;
48837
- } | null;
48838
48539
  };
48839
48540
  schedulePolicy?: {
48840
48541
  __typename?: 'ReplicaSchedulePolicy';
@@ -49067,107 +48768,6 @@ export type UpdateReplicaMutation = {
49067
48768
  name: string;
49068
48769
  state: EntityState;
49069
48770
  type?: ConnectorTypes | null;
49070
- authentication?: {
49071
- __typename?: 'AuthenticationConnector';
49072
- type: AuthenticationServiceTypes;
49073
- token?: string | null;
49074
- apiKey?: string | null;
49075
- microsoft?: {
49076
- __typename?: 'MicrosoftAuthenticationProperties';
49077
- tenantId: string;
49078
- clientId: string;
49079
- clientSecret: string;
49080
- } | null;
49081
- google?: {
49082
- __typename?: 'GoogleAuthenticationProperties';
49083
- clientId: string;
49084
- clientSecret: string;
49085
- } | null;
49086
- oauth?: {
49087
- __typename?: 'OAuthAuthenticationProperties';
49088
- provider: OAuthProviders;
49089
- clientId: string;
49090
- clientSecret: string;
49091
- refreshToken?: string | null;
49092
- accessToken?: string | null;
49093
- redirectUri?: string | null;
49094
- metadata?: string | null;
49095
- } | null;
49096
- arcade?: {
49097
- __typename?: 'ArcadeAuthenticationProperties';
49098
- authorizationId: string;
49099
- provider: ArcadeProviders;
49100
- metadata?: string | null;
49101
- } | null;
49102
- } | null;
49103
- integration?: {
49104
- __typename?: 'IntegrationConnector';
49105
- type: IntegrationServiceTypes;
49106
- uri?: string | null;
49107
- slack?: {
49108
- __typename?: 'SlackIntegrationProperties';
49109
- token: string;
49110
- channel: string;
49111
- } | null;
49112
- email?: {
49113
- __typename?: 'EmailIntegrationProperties';
49114
- from: string;
49115
- subject: string;
49116
- to: Array<string>;
49117
- } | null;
49118
- twitter?: {
49119
- __typename?: 'TwitterIntegrationProperties';
49120
- consumerKey: string;
49121
- consumerSecret: string;
49122
- accessTokenKey: string;
49123
- accessTokenSecret: string;
49124
- } | null;
49125
- mcp?: {
49126
- __typename?: 'MCPIntegrationProperties';
49127
- token?: string | null;
49128
- type: McpServerTypes;
49129
- } | null;
49130
- } | null;
49131
- channel?: {
49132
- __typename?: 'ChannelConnector';
49133
- type: ChannelServiceTypes;
49134
- slack?: {
49135
- __typename?: 'SlackChannelProperties';
49136
- botToken: string;
49137
- signingSecret?: string | null;
49138
- appId?: string | null;
49139
- } | null;
49140
- teams?: {
49141
- __typename?: 'TeamsChannelProperties';
49142
- botId: string;
49143
- botPassword: string;
49144
- tenantId?: string | null;
49145
- } | null;
49146
- discord?: {
49147
- __typename?: 'DiscordChannelProperties';
49148
- botToken: string;
49149
- applicationId?: string | null;
49150
- publicKey?: string | null;
49151
- } | null;
49152
- telegram?: {
49153
- __typename?: 'TelegramChannelProperties';
49154
- botToken: string;
49155
- secretToken?: string | null;
49156
- botUsername?: string | null;
49157
- } | null;
49158
- whatsApp?: {
49159
- __typename?: 'WhatsAppChannelProperties';
49160
- accessToken: string;
49161
- appSecret?: string | null;
49162
- phoneNumberId: string;
49163
- verifyToken?: string | null;
49164
- } | null;
49165
- googleChat?: {
49166
- __typename?: 'GoogleChatChannelProperties';
49167
- credentials: string;
49168
- projectId?: string | null;
49169
- } | null;
49170
- } | null;
49171
48771
  };
49172
48772
  schedulePolicy?: {
49173
48773
  __typename?: 'ReplicaSchedulePolicy';
@@ -49377,107 +48977,6 @@ export type UpsertReplicaMutation = {
49377
48977
  name: string;
49378
48978
  state: EntityState;
49379
48979
  type?: ConnectorTypes | null;
49380
- authentication?: {
49381
- __typename?: 'AuthenticationConnector';
49382
- type: AuthenticationServiceTypes;
49383
- token?: string | null;
49384
- apiKey?: string | null;
49385
- microsoft?: {
49386
- __typename?: 'MicrosoftAuthenticationProperties';
49387
- tenantId: string;
49388
- clientId: string;
49389
- clientSecret: string;
49390
- } | null;
49391
- google?: {
49392
- __typename?: 'GoogleAuthenticationProperties';
49393
- clientId: string;
49394
- clientSecret: string;
49395
- } | null;
49396
- oauth?: {
49397
- __typename?: 'OAuthAuthenticationProperties';
49398
- provider: OAuthProviders;
49399
- clientId: string;
49400
- clientSecret: string;
49401
- refreshToken?: string | null;
49402
- accessToken?: string | null;
49403
- redirectUri?: string | null;
49404
- metadata?: string | null;
49405
- } | null;
49406
- arcade?: {
49407
- __typename?: 'ArcadeAuthenticationProperties';
49408
- authorizationId: string;
49409
- provider: ArcadeProviders;
49410
- metadata?: string | null;
49411
- } | null;
49412
- } | null;
49413
- integration?: {
49414
- __typename?: 'IntegrationConnector';
49415
- type: IntegrationServiceTypes;
49416
- uri?: string | null;
49417
- slack?: {
49418
- __typename?: 'SlackIntegrationProperties';
49419
- token: string;
49420
- channel: string;
49421
- } | null;
49422
- email?: {
49423
- __typename?: 'EmailIntegrationProperties';
49424
- from: string;
49425
- subject: string;
49426
- to: Array<string>;
49427
- } | null;
49428
- twitter?: {
49429
- __typename?: 'TwitterIntegrationProperties';
49430
- consumerKey: string;
49431
- consumerSecret: string;
49432
- accessTokenKey: string;
49433
- accessTokenSecret: string;
49434
- } | null;
49435
- mcp?: {
49436
- __typename?: 'MCPIntegrationProperties';
49437
- token?: string | null;
49438
- type: McpServerTypes;
49439
- } | null;
49440
- } | null;
49441
- channel?: {
49442
- __typename?: 'ChannelConnector';
49443
- type: ChannelServiceTypes;
49444
- slack?: {
49445
- __typename?: 'SlackChannelProperties';
49446
- botToken: string;
49447
- signingSecret?: string | null;
49448
- appId?: string | null;
49449
- } | null;
49450
- teams?: {
49451
- __typename?: 'TeamsChannelProperties';
49452
- botId: string;
49453
- botPassword: string;
49454
- tenantId?: string | null;
49455
- } | null;
49456
- discord?: {
49457
- __typename?: 'DiscordChannelProperties';
49458
- botToken: string;
49459
- applicationId?: string | null;
49460
- publicKey?: string | null;
49461
- } | null;
49462
- telegram?: {
49463
- __typename?: 'TelegramChannelProperties';
49464
- botToken: string;
49465
- secretToken?: string | null;
49466
- botUsername?: string | null;
49467
- } | null;
49468
- whatsApp?: {
49469
- __typename?: 'WhatsAppChannelProperties';
49470
- accessToken: string;
49471
- appSecret?: string | null;
49472
- phoneNumberId: string;
49473
- verifyToken?: string | null;
49474
- } | null;
49475
- googleChat?: {
49476
- __typename?: 'GoogleChatChannelProperties';
49477
- credentials: string;
49478
- projectId?: string | null;
49479
- } | null;
49480
- } | null;
49481
48980
  };
49482
48981
  schedulePolicy?: {
49483
48982
  __typename?: 'ReplicaSchedulePolicy';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20260422002",
3
+ "version": "1.0.20260422004",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",