graphlit-client 1.0.20250904001 → 1.0.20250904003

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.
@@ -212,6 +212,12 @@ export const GetAlert = gql `
212
212
  publishSpecification {
213
213
  id
214
214
  }
215
+ schedulePolicy {
216
+ recurrenceType
217
+ repeatInterval
218
+ cron
219
+ timeZoneId
220
+ }
215
221
  lastAlertDate
216
222
  }
217
223
  }
@@ -369,6 +375,12 @@ export const QueryAlerts = gql `
369
375
  publishSpecification {
370
376
  id
371
377
  }
378
+ schedulePolicy {
379
+ recurrenceType
380
+ repeatInterval
381
+ cron
382
+ timeZoneId
383
+ }
372
384
  lastAlertDate
373
385
  }
374
386
  }
@@ -205,6 +205,8 @@ export type AlertSchedulePolicy = {
205
205
  __typename?: 'AlertSchedulePolicy';
206
206
  /** If absolute time, the datetime value. */
207
207
  absoluteTime?: Maybe<Scalars['DateTime']['output']>;
208
+ /** 6-field NCRONTAB expression (with seconds), e.g. '0 *\/5 * * * *'. If set, this takes precedence for scheduling. */
209
+ cron?: Maybe<Scalars['String']['output']>;
208
210
  /** The delay between recurrences of the alert. */
209
211
  delay?: Maybe<Scalars['TimeSpan']['output']>;
210
212
  /** The alert recurrence type. */
@@ -217,11 +219,15 @@ export type AlertSchedulePolicy = {
217
219
  repeatUntilTime?: Maybe<Scalars['DateTime']['output']>;
218
220
  /** The type of time interval. */
219
221
  timeType?: Maybe<PolicyTimeTypes>;
222
+ /** Time zone for interpreting Cron. Accepts IANA ('America/Los_Angeles') or Windows ('Pacific Standard Time') format. If null, Cron is interpreted as UTC. */
223
+ timeZoneId?: Maybe<Scalars['String']['output']>;
220
224
  };
221
225
  /** Represents an alert scheduling policy. */
222
226
  export type AlertSchedulePolicyInput = {
223
227
  /** If absolute time, the datetime value. */
224
228
  absoluteTime?: InputMaybe<Scalars['DateTime']['input']>;
229
+ /** 6-field NCRONTAB expression (with seconds), e.g. '0 *\/5 * * * *'. If set, this takes precedence for scheduling. */
230
+ cron?: InputMaybe<Scalars['String']['input']>;
225
231
  /** The delay between recurrences of the alert. */
226
232
  delay?: InputMaybe<Scalars['TimeSpan']['input']>;
227
233
  /** The alert recurrence type. */
@@ -234,6 +240,8 @@ export type AlertSchedulePolicyInput = {
234
240
  repeatUntilTime?: InputMaybe<Scalars['DateTime']['input']>;
235
241
  /** The type of time interval. */
236
242
  timeType?: InputMaybe<PolicyTimeTypes>;
243
+ /** Time zone for interpreting Cron. Accepts IANA ('America/Los_Angeles') or Windows ('Pacific Standard Time') format. If null, Cron is interpreted as UTC. */
244
+ timeZoneId?: InputMaybe<Scalars['String']['input']>;
237
245
  };
238
246
  /** Alert type */
239
247
  export declare enum AlertTypes {
@@ -15492,6 +15500,13 @@ export type GetAlertQuery = {
15492
15500
  __typename?: 'EntityReference';
15493
15501
  id: string;
15494
15502
  } | null;
15503
+ schedulePolicy?: {
15504
+ __typename?: 'AlertSchedulePolicy';
15505
+ recurrenceType?: TimedPolicyRecurrenceTypes | null;
15506
+ repeatInterval?: any | null;
15507
+ cron?: string | null;
15508
+ timeZoneId?: string | null;
15509
+ } | null;
15495
15510
  } | null;
15496
15511
  };
15497
15512
  export type QueryAlertsQueryVariables = Exact<{
@@ -15694,6 +15709,13 @@ export type QueryAlertsQuery = {
15694
15709
  __typename?: 'EntityReference';
15695
15710
  id: string;
15696
15711
  } | null;
15712
+ schedulePolicy?: {
15713
+ __typename?: 'AlertSchedulePolicy';
15714
+ recurrenceType?: TimedPolicyRecurrenceTypes | null;
15715
+ repeatInterval?: any | null;
15716
+ cron?: string | null;
15717
+ timeZoneId?: string | null;
15718
+ } | null;
15697
15719
  }> | null;
15698
15720
  } | null;
15699
15721
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250904001",
3
+ "version": "1.0.20250904003",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",