graphlit-client 1.0.20251007002 → 1.0.20251015001
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
|
@@ -119,6 +119,7 @@ declare class Graphlit {
|
|
|
119
119
|
searchWeb(text: string, service?: Types.SearchServiceTypes, limit?: number, correlationId?: string): Promise<Types.SearchWebQuery>;
|
|
120
120
|
createAlert(alert: Types.AlertInput, correlationId?: string): Promise<Types.CreateAlertMutation>;
|
|
121
121
|
updateAlert(alert: Types.AlertUpdateInput): Promise<Types.UpdateAlertMutation>;
|
|
122
|
+
upsertAlert(alert: Types.AlertInput): Promise<Types.UpsertAlertMutation>;
|
|
122
123
|
deleteAlert(id: string): Promise<Types.DeleteAlertMutation>;
|
|
123
124
|
deleteAlerts(ids: string[], isSynchronous?: boolean): Promise<Types.DeleteAlertsMutation>;
|
|
124
125
|
deleteAllAlerts(filter?: Types.AlertFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllAlertsMutation>;
|
package/dist/client.js
CHANGED
|
@@ -471,6 +471,9 @@ class Graphlit {
|
|
|
471
471
|
async updateAlert(alert) {
|
|
472
472
|
return this.mutateAndCheckError(Documents.UpdateAlert, { alert: alert });
|
|
473
473
|
}
|
|
474
|
+
async upsertAlert(alert) {
|
|
475
|
+
return this.mutateAndCheckError(Documents.UpsertAlert, { alert: alert });
|
|
476
|
+
}
|
|
474
477
|
async deleteAlert(id) {
|
|
475
478
|
return this.mutateAndCheckError(Documents.DeleteAlert, { id: id });
|
|
476
479
|
}
|
|
@@ -8,6 +8,7 @@ export declare const EnableAlert: import("graphql").DocumentNode;
|
|
|
8
8
|
export declare const GetAlert: import("graphql").DocumentNode;
|
|
9
9
|
export declare const QueryAlerts: import("graphql").DocumentNode;
|
|
10
10
|
export declare const UpdateAlert: import("graphql").DocumentNode;
|
|
11
|
+
export declare const UpsertAlert: import("graphql").DocumentNode;
|
|
11
12
|
export declare const CountCategories: import("graphql").DocumentNode;
|
|
12
13
|
export declare const CreateCategory: import("graphql").DocumentNode;
|
|
13
14
|
export declare const DeleteAllCategories: import("graphql").DocumentNode;
|
|
@@ -426,6 +426,16 @@ export const UpdateAlert = gql `
|
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
`;
|
|
429
|
+
export const UpsertAlert = gql `
|
|
430
|
+
mutation UpsertAlert($alert: AlertInput!) {
|
|
431
|
+
upsertAlert(alert: $alert) {
|
|
432
|
+
id
|
|
433
|
+
name
|
|
434
|
+
state
|
|
435
|
+
type
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
`;
|
|
429
439
|
export const CountCategories = gql `
|
|
430
440
|
query CountCategories($filter: CategoryFilter, $correlationId: String) {
|
|
431
441
|
countCategories(filter: $filter, correlationId: $correlationId) {
|
|
@@ -379,11 +379,11 @@ export declare enum AnthropicModels {
|
|
|
379
379
|
Claude_3_5Haiku = "CLAUDE_3_5_HAIKU",
|
|
380
380
|
/** Claude 3.5 Haiku (10-22-2024 version) */
|
|
381
381
|
Claude_3_5Haiku_20241022 = "CLAUDE_3_5_HAIKU_20241022",
|
|
382
|
-
/** Claude
|
|
382
|
+
/** @deprecated Use Claude 4.5 Sonnet instead. */
|
|
383
383
|
Claude_3_5Sonnet = "CLAUDE_3_5_SONNET",
|
|
384
|
-
/** @deprecated Use Claude 4.
|
|
384
|
+
/** @deprecated Use Claude 4.5 Sonnet instead. */
|
|
385
385
|
Claude_3_5Sonnet_20240620 = "CLAUDE_3_5_SONNET_20240620",
|
|
386
|
-
/** Claude
|
|
386
|
+
/** @deprecated Use Claude 4.5 Sonnet instead. */
|
|
387
387
|
Claude_3_5Sonnet_20241022 = "CLAUDE_3_5_SONNET_20241022",
|
|
388
388
|
/** Claude 3.7 Sonnet (Latest) */
|
|
389
389
|
Claude_3_7Sonnet = "CLAUDE_3_7_SONNET",
|
|
@@ -405,6 +405,10 @@ export declare enum AnthropicModels {
|
|
|
405
405
|
Claude_4_1Opus = "CLAUDE_4_1_OPUS",
|
|
406
406
|
/** Claude 4.1 Opus (08-05-2025 version) */
|
|
407
407
|
Claude_4_1Opus_20250805 = "CLAUDE_4_1_OPUS_20250805",
|
|
408
|
+
/** Claude 4.5 Haiku (Latest) */
|
|
409
|
+
Claude_4_5Haiku = "CLAUDE_4_5_HAIKU",
|
|
410
|
+
/** Claude 4.5 Haiku (10-01-2025 version) */
|
|
411
|
+
Claude_4_5Haiku_20251001 = "CLAUDE_4_5_HAIKU_20251001",
|
|
408
412
|
/** Claude 4.5 Sonnet (Latest) */
|
|
409
413
|
Claude_4_5Sonnet = "CLAUDE_4_5_SONNET",
|
|
410
414
|
/** Claude 4.5 Sonnet (09-29-2025 version) */
|
|
@@ -2423,7 +2427,7 @@ export type ContentPublishingConnectorUpdateInput = {
|
|
|
2423
2427
|
/** The specific properties for ElevenLabs Audio publishing. */
|
|
2424
2428
|
elevenLabs?: InputMaybe<ElevenLabsPublishingPropertiesInput>;
|
|
2425
2429
|
/** The content publishing format, i.e. MP3, Markdown. */
|
|
2426
|
-
format
|
|
2430
|
+
format: ContentPublishingFormats;
|
|
2427
2431
|
/** The specific properties for Google Image publishing. */
|
|
2428
2432
|
googleImage?: InputMaybe<GoogleImagePublishingPropertiesInput>;
|
|
2429
2433
|
/** The specific properties for OpenAI Image publishing. */
|
|
@@ -2431,7 +2435,7 @@ export type ContentPublishingConnectorUpdateInput = {
|
|
|
2431
2435
|
/** The specific properties for OpenAI Video publishing. */
|
|
2432
2436
|
openAIVideo?: InputMaybe<OpenAiVideoPublishingPropertiesInput>;
|
|
2433
2437
|
/** The content publishing service type. */
|
|
2434
|
-
type
|
|
2438
|
+
type: ContentPublishingServiceTypes;
|
|
2435
2439
|
};
|
|
2436
2440
|
export declare enum ContentPublishingFormats {
|
|
2437
2441
|
/** HTML */
|
|
@@ -5976,6 +5980,8 @@ export type IntegrationConnectorUpdateInput = {
|
|
|
5976
5980
|
email?: InputMaybe<EmailIntegrationPropertiesInput>;
|
|
5977
5981
|
/** MCP integration properties. */
|
|
5978
5982
|
mcp?: InputMaybe<McpIntegrationPropertiesInput>;
|
|
5983
|
+
/** Integration service type. */
|
|
5984
|
+
serviceType: IntegrationServiceTypes;
|
|
5979
5985
|
/** Slack integration properties. */
|
|
5980
5986
|
slack?: InputMaybe<SlackIntegrationPropertiesInput>;
|
|
5981
5987
|
/** Twitter integration properties. */
|
|
@@ -9253,6 +9259,8 @@ export type Mutation = {
|
|
|
9253
9259
|
updateView?: Maybe<View>;
|
|
9254
9260
|
/** Updates an existing content workflow. */
|
|
9255
9261
|
updateWorkflow?: Maybe<Workflow>;
|
|
9262
|
+
/** Upserts a alert. */
|
|
9263
|
+
upsertAlert?: Maybe<Alert>;
|
|
9256
9264
|
/** Upserts a category. */
|
|
9257
9265
|
upsertCategory?: Maybe<Category>;
|
|
9258
9266
|
/** Upserts a label. */
|
|
@@ -10146,6 +10154,9 @@ export type MutationUpdateViewArgs = {
|
|
|
10146
10154
|
export type MutationUpdateWorkflowArgs = {
|
|
10147
10155
|
workflow: WorkflowUpdateInput;
|
|
10148
10156
|
};
|
|
10157
|
+
export type MutationUpsertAlertArgs = {
|
|
10158
|
+
alert: AlertInput;
|
|
10159
|
+
};
|
|
10149
10160
|
export type MutationUpsertCategoryArgs = {
|
|
10150
10161
|
category: CategoryInput;
|
|
10151
10162
|
};
|
|
@@ -16138,6 +16149,19 @@ export type UpdateAlertMutation = {
|
|
|
16138
16149
|
type: AlertTypes;
|
|
16139
16150
|
} | null;
|
|
16140
16151
|
};
|
|
16152
|
+
export type UpsertAlertMutationVariables = Exact<{
|
|
16153
|
+
alert: AlertInput;
|
|
16154
|
+
}>;
|
|
16155
|
+
export type UpsertAlertMutation = {
|
|
16156
|
+
__typename?: 'Mutation';
|
|
16157
|
+
upsertAlert?: {
|
|
16158
|
+
__typename?: 'Alert';
|
|
16159
|
+
id: string;
|
|
16160
|
+
name: string;
|
|
16161
|
+
state: EntityState;
|
|
16162
|
+
type: AlertTypes;
|
|
16163
|
+
} | null;
|
|
16164
|
+
};
|
|
16141
16165
|
export type CountCategoriesQueryVariables = Exact<{
|
|
16142
16166
|
filter?: InputMaybe<CategoryFilter>;
|
|
16143
16167
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -17,11 +17,11 @@ export var AnthropicModels;
|
|
|
17
17
|
AnthropicModels["Claude_3_5Haiku"] = "CLAUDE_3_5_HAIKU";
|
|
18
18
|
/** Claude 3.5 Haiku (10-22-2024 version) */
|
|
19
19
|
AnthropicModels["Claude_3_5Haiku_20241022"] = "CLAUDE_3_5_HAIKU_20241022";
|
|
20
|
-
/** Claude
|
|
20
|
+
/** @deprecated Use Claude 4.5 Sonnet instead. */
|
|
21
21
|
AnthropicModels["Claude_3_5Sonnet"] = "CLAUDE_3_5_SONNET";
|
|
22
|
-
/** @deprecated Use Claude 4.
|
|
22
|
+
/** @deprecated Use Claude 4.5 Sonnet instead. */
|
|
23
23
|
AnthropicModels["Claude_3_5Sonnet_20240620"] = "CLAUDE_3_5_SONNET_20240620";
|
|
24
|
-
/** Claude
|
|
24
|
+
/** @deprecated Use Claude 4.5 Sonnet instead. */
|
|
25
25
|
AnthropicModels["Claude_3_5Sonnet_20241022"] = "CLAUDE_3_5_SONNET_20241022";
|
|
26
26
|
/** Claude 3.7 Sonnet (Latest) */
|
|
27
27
|
AnthropicModels["Claude_3_7Sonnet"] = "CLAUDE_3_7_SONNET";
|
|
@@ -43,6 +43,10 @@ export var AnthropicModels;
|
|
|
43
43
|
AnthropicModels["Claude_4_1Opus"] = "CLAUDE_4_1_OPUS";
|
|
44
44
|
/** Claude 4.1 Opus (08-05-2025 version) */
|
|
45
45
|
AnthropicModels["Claude_4_1Opus_20250805"] = "CLAUDE_4_1_OPUS_20250805";
|
|
46
|
+
/** Claude 4.5 Haiku (Latest) */
|
|
47
|
+
AnthropicModels["Claude_4_5Haiku"] = "CLAUDE_4_5_HAIKU";
|
|
48
|
+
/** Claude 4.5 Haiku (10-01-2025 version) */
|
|
49
|
+
AnthropicModels["Claude_4_5Haiku_20251001"] = "CLAUDE_4_5_HAIKU_20251001";
|
|
46
50
|
/** Claude 4.5 Sonnet (Latest) */
|
|
47
51
|
AnthropicModels["Claude_4_5Sonnet"] = "CLAUDE_4_5_SONNET";
|
|
48
52
|
/** Claude 4.5 Sonnet (09-29-2025 version) */
|