graphlit-client 1.0.20250428008 → 1.0.20250502001

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
@@ -1,5 +1,5 @@
1
1
  import { ApolloClient, NormalizedCacheObject } from '@apollo/client/core';
2
- import * as Types from './generated/graphql-types';
2
+ import * as Types from './generated/graphql-types.js';
3
3
  declare class Graphlit {
4
4
  client: ApolloClient<NormalizedCacheObject> | undefined;
5
5
  token: string | undefined;
@@ -282,4 +282,4 @@ declare class Graphlit {
282
282
  private queryAndCheckError;
283
283
  }
284
284
  export { Graphlit };
285
- export * as Types from './generated/graphql-types';
285
+ export * as Types from './generated/graphql-types.js';
package/dist/client.js CHANGED
@@ -45,7 +45,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
45
45
  exports.Types = exports.Graphlit = void 0;
46
46
  const jwt = __importStar(require("jsonwebtoken"));
47
47
  const core_1 = require("@apollo/client/core");
48
- const Documents = __importStar(require("./generated/graphql-documents"));
48
+ const Documents = __importStar(require("./generated/graphql-documents.js"));
49
49
  const dotenv = __importStar(require("dotenv"));
50
50
  // Define the Graphlit class
51
51
  class Graphlit {
@@ -1540,4 +1540,4 @@ class Graphlit {
1540
1540
  }
1541
1541
  }
1542
1542
  exports.Graphlit = Graphlit;
1543
- exports.Types = __importStar(require("./generated/graphql-types"));
1543
+ exports.Types = __importStar(require("./generated/graphql-types.js"));
@@ -196,6 +196,10 @@ exports.GetAlert = (0, graphql_tag_1.default) `
196
196
  }
197
197
  openAIImage {
198
198
  model
199
+ count
200
+ seed {
201
+ id
202
+ }
199
203
  }
200
204
  }
201
205
  summarySpecification {
@@ -334,6 +338,10 @@ exports.QueryAlerts = (0, graphql_tag_1.default) `
334
338
  }
335
339
  openAIImage {
336
340
  model
341
+ count
342
+ seed {
343
+ id
344
+ }
337
345
  }
338
346
  }
339
347
  summarySpecification {
@@ -1512,7 +1520,7 @@ exports.PublishContents = (0, graphql_tag_1.default) `
1512
1520
  publishSpecification: $publishSpecification
1513
1521
  workflow: $workflow
1514
1522
  ) {
1515
- content {
1523
+ contents {
1516
1524
  id
1517
1525
  name
1518
1526
  state
@@ -9189,13 +9189,21 @@ export declare enum OpenAiImageModels {
9189
9189
  /** Represents the OpenAI Image publishing properties. */
9190
9190
  export type OpenAiImagePublishingProperties = {
9191
9191
  __typename?: 'OpenAIImagePublishingProperties';
9192
+ /** The number of images to generate, optional. Defaults to 1. */
9193
+ count?: Maybe<Scalars['Int']['output']>;
9192
9194
  /** The OpenAI Image model. */
9193
9195
  model?: Maybe<OpenAiImageModels>;
9196
+ /** The seed image reference to use when generating image(s). */
9197
+ seed?: Maybe<EntityReference>;
9194
9198
  };
9195
9199
  /** Represents the OpenAI Image publishing properties. */
9196
9200
  export type OpenAiImagePublishingPropertiesInput = {
9201
+ /** The number of images to generate, optional. Defaults to 1. */
9202
+ count?: InputMaybe<Scalars['Int']['input']>;
9197
9203
  /** The OpenAI Image model. */
9198
9204
  model?: InputMaybe<OpenAiImageModels>;
9205
+ /** The seed image reference to use when generating image(s). */
9206
+ seed?: InputMaybe<EntityReferenceInput>;
9199
9207
  };
9200
9208
  /** Represents OpenAI model properties. */
9201
9209
  export type OpenAiModelProperties = {
@@ -10823,8 +10831,13 @@ export type PromptSummarization = {
10823
10831
  /** Represents a publish contents result. */
10824
10832
  export type PublishContents = {
10825
10833
  __typename?: 'PublishContents';
10826
- /** The published content. */
10834
+ /**
10835
+ * The published content.
10836
+ * @deprecated Use Contents field instead.
10837
+ */
10827
10838
  content?: Maybe<Content>;
10839
+ /** The published contents. */
10840
+ contents?: Maybe<Array<Maybe<Content>>>;
10828
10841
  /** The publishing details for debugging purposes. */
10829
10842
  details?: Maybe<PublishingDetails>;
10830
10843
  };
@@ -13949,6 +13962,11 @@ export type GetAlertQuery = {
13949
13962
  openAIImage?: {
13950
13963
  __typename?: 'OpenAIImagePublishingProperties';
13951
13964
  model?: OpenAiImageModels | null;
13965
+ count?: number | null;
13966
+ seed?: {
13967
+ __typename?: 'EntityReference';
13968
+ id: string;
13969
+ } | null;
13952
13970
  } | null;
13953
13971
  };
13954
13972
  summarySpecification?: {
@@ -14127,6 +14145,11 @@ export type QueryAlertsQuery = {
14127
14145
  openAIImage?: {
14128
14146
  __typename?: 'OpenAIImagePublishingProperties';
14129
14147
  model?: OpenAiImageModels | null;
14148
+ count?: number | null;
14149
+ seed?: {
14150
+ __typename?: 'EntityReference';
14151
+ id: string;
14152
+ } | null;
14130
14153
  } | null;
14131
14154
  };
14132
14155
  summarySpecification?: {
@@ -15495,7 +15518,7 @@ export type PublishContentsMutation = {
15495
15518
  __typename?: 'Mutation';
15496
15519
  publishContents?: {
15497
15520
  __typename?: 'PublishContents';
15498
- content?: {
15521
+ contents?: Array<{
15499
15522
  __typename?: 'Content';
15500
15523
  id: string;
15501
15524
  name: string;
@@ -15597,7 +15620,7 @@ export type PublishContentsMutation = {
15597
15620
  isEncrypted?: boolean | null;
15598
15621
  hasDigitalSignature?: boolean | null;
15599
15622
  } | null;
15600
- } | null;
15623
+ } | null> | null;
15601
15624
  details?: {
15602
15625
  __typename?: 'PublishingDetails';
15603
15626
  summaries?: Array<string> | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250428008",
3
+ "version": "1.0.20250502001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",