@constructive-io/react 0.12.10 → 0.12.12

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.
@@ -1572,13 +1572,18 @@ export interface NotificationsModule {
1572
1572
  schemaId?: string | null;
1573
1573
  privateSchemaId?: string | null;
1574
1574
  notificationsTableId?: string | null;
1575
- eventsTableId?: string | null;
1575
+ readStateTableId?: string | null;
1576
1576
  preferencesTableId?: string | null;
1577
1577
  channelsTableId?: string | null;
1578
1578
  deliveryLogTableId?: string | null;
1579
1579
  ownerTableId?: string | null;
1580
1580
  userSettingsTableId?: string | null;
1581
1581
  organizationSettingsTableId?: string | null;
1582
+ hasChannels?: boolean | null;
1583
+ hasPreferences?: boolean | null;
1584
+ hasSettingsExtension?: boolean | null;
1585
+ hasDigestMetadata?: boolean | null;
1586
+ hasSubscriptions?: boolean | null;
1582
1587
  }
1583
1588
  /** Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated. */
1584
1589
  export interface DatabaseProvisionModule {
@@ -2798,12 +2803,12 @@ export interface NotificationsModuleRelations {
2798
2803
  channelsTableByChannelsTableId?: Table | null;
2799
2804
  database?: Database | null;
2800
2805
  deliveryLogTableByDeliveryLogTableId?: Table | null;
2801
- eventsTableByEventsTableId?: Table | null;
2802
2806
  notificationsTableByNotificationsTableId?: Table | null;
2803
2807
  organizationSettingsTableByOrganizationSettingsTableId?: Table | null;
2804
2808
  ownerTable?: Table | null;
2805
2809
  preferencesTableByPreferencesTableId?: Table | null;
2806
2810
  privateSchema?: Schema | null;
2811
+ readStateTableByReadStateTableId?: Table | null;
2807
2812
  schema?: Schema | null;
2808
2813
  userSettingsTableByUserSettingsTableId?: Table | null;
2809
2814
  }
@@ -5439,13 +5444,18 @@ export type NotificationsModuleSelect = {
5439
5444
  schemaId?: boolean;
5440
5445
  privateSchemaId?: boolean;
5441
5446
  notificationsTableId?: boolean;
5442
- eventsTableId?: boolean;
5447
+ readStateTableId?: boolean;
5443
5448
  preferencesTableId?: boolean;
5444
5449
  channelsTableId?: boolean;
5445
5450
  deliveryLogTableId?: boolean;
5446
5451
  ownerTableId?: boolean;
5447
5452
  userSettingsTableId?: boolean;
5448
5453
  organizationSettingsTableId?: boolean;
5454
+ hasChannels?: boolean;
5455
+ hasPreferences?: boolean;
5456
+ hasSettingsExtension?: boolean;
5457
+ hasDigestMetadata?: boolean;
5458
+ hasSubscriptions?: boolean;
5449
5459
  channelsTableByChannelsTableId?: {
5450
5460
  select: TableSelect;
5451
5461
  };
@@ -5455,9 +5465,6 @@ export type NotificationsModuleSelect = {
5455
5465
  deliveryLogTableByDeliveryLogTableId?: {
5456
5466
  select: TableSelect;
5457
5467
  };
5458
- eventsTableByEventsTableId?: {
5459
- select: TableSelect;
5460
- };
5461
5468
  notificationsTableByNotificationsTableId?: {
5462
5469
  select: TableSelect;
5463
5470
  };
@@ -5473,6 +5480,9 @@ export type NotificationsModuleSelect = {
5473
5480
  privateSchema?: {
5474
5481
  select: SchemaSelect;
5475
5482
  };
5483
+ readStateTableByReadStateTableId?: {
5484
+ select: TableSelect;
5485
+ };
5476
5486
  schema?: {
5477
5487
  select: SchemaSelect;
5478
5488
  };
@@ -9600,8 +9610,8 @@ export interface NotificationsModuleFilter {
9600
9610
  privateSchemaId?: UUIDFilter;
9601
9611
  /** Filter by the object’s `notificationsTableId` field. */
9602
9612
  notificationsTableId?: UUIDFilter;
9603
- /** Filter by the object’s `eventsTableId` field. */
9604
- eventsTableId?: UUIDFilter;
9613
+ /** Filter by the object’s `readStateTableId` field. */
9614
+ readStateTableId?: UUIDFilter;
9605
9615
  /** Filter by the object’s `preferencesTableId` field. */
9606
9616
  preferencesTableId?: UUIDFilter;
9607
9617
  /** Filter by the object’s `channelsTableId` field. */
@@ -9614,6 +9624,16 @@ export interface NotificationsModuleFilter {
9614
9624
  userSettingsTableId?: UUIDFilter;
9615
9625
  /** Filter by the object’s `organizationSettingsTableId` field. */
9616
9626
  organizationSettingsTableId?: UUIDFilter;
9627
+ /** Filter by the object’s `hasChannels` field. */
9628
+ hasChannels?: BooleanFilter;
9629
+ /** Filter by the object’s `hasPreferences` field. */
9630
+ hasPreferences?: BooleanFilter;
9631
+ /** Filter by the object’s `hasSettingsExtension` field. */
9632
+ hasSettingsExtension?: BooleanFilter;
9633
+ /** Filter by the object’s `hasDigestMetadata` field. */
9634
+ hasDigestMetadata?: BooleanFilter;
9635
+ /** Filter by the object’s `hasSubscriptions` field. */
9636
+ hasSubscriptions?: BooleanFilter;
9617
9637
  /** Checks for all expressions in this list. */
9618
9638
  and?: NotificationsModuleFilter[];
9619
9639
  /** Checks for any expressions in this list. */
@@ -9622,12 +9642,14 @@ export interface NotificationsModuleFilter {
9622
9642
  not?: NotificationsModuleFilter;
9623
9643
  /** Filter by the object’s `channelsTableByChannelsTableId` relation. */
9624
9644
  channelsTableByChannelsTableId?: TableFilter;
9645
+ /** A related `channelsTableByChannelsTableId` exists. */
9646
+ channelsTableByChannelsTableIdExists?: boolean;
9625
9647
  /** Filter by the object’s `database` relation. */
9626
9648
  database?: DatabaseFilter;
9627
9649
  /** Filter by the object’s `deliveryLogTableByDeliveryLogTableId` relation. */
9628
9650
  deliveryLogTableByDeliveryLogTableId?: TableFilter;
9629
- /** Filter by the object’s `eventsTableByEventsTableId` relation. */
9630
- eventsTableByEventsTableId?: TableFilter;
9651
+ /** A related `deliveryLogTableByDeliveryLogTableId` exists. */
9652
+ deliveryLogTableByDeliveryLogTableIdExists?: boolean;
9631
9653
  /** Filter by the object’s `notificationsTableByNotificationsTableId` relation. */
9632
9654
  notificationsTableByNotificationsTableId?: TableFilter;
9633
9655
  /** Filter by the object’s `organizationSettingsTableByOrganizationSettingsTableId` relation. */
@@ -9638,8 +9660,12 @@ export interface NotificationsModuleFilter {
9638
9660
  ownerTable?: TableFilter;
9639
9661
  /** Filter by the object’s `preferencesTableByPreferencesTableId` relation. */
9640
9662
  preferencesTableByPreferencesTableId?: TableFilter;
9663
+ /** A related `preferencesTableByPreferencesTableId` exists. */
9664
+ preferencesTableByPreferencesTableIdExists?: boolean;
9641
9665
  /** Filter by the object’s `privateSchema` relation. */
9642
9666
  privateSchema?: SchemaFilter;
9667
+ /** Filter by the object’s `readStateTableByReadStateTableId` relation. */
9668
+ readStateTableByReadStateTableId?: TableFilter;
9643
9669
  /** Filter by the object’s `schema` relation. */
9644
9670
  schema?: SchemaFilter;
9645
9671
  /** Filter by the object’s `userSettingsTableByUserSettingsTableId` relation. */
@@ -11314,7 +11340,7 @@ export type StorageModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_
11314
11340
  export type EntityTypeProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PARENT_ENTITY_ASC' | 'PARENT_ENTITY_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'IS_VISIBLE_ASC' | 'IS_VISIBLE_DESC' | 'HAS_LIMITS_ASC' | 'HAS_LIMITS_DESC' | 'HAS_PROFILES_ASC' | 'HAS_PROFILES_DESC' | 'HAS_LEVELS_ASC' | 'HAS_LEVELS_DESC' | 'HAS_STORAGE_ASC' | 'HAS_STORAGE_DESC' | 'STORAGE_CONFIG_ASC' | 'STORAGE_CONFIG_DESC' | 'SKIP_ENTITY_POLICIES_ASC' | 'SKIP_ENTITY_POLICIES_DESC' | 'TABLE_PROVISION_ASC' | 'TABLE_PROVISION_DESC' | 'OUT_MEMBERSHIP_TYPE_ASC' | 'OUT_MEMBERSHIP_TYPE_DESC' | 'OUT_ENTITY_TABLE_ID_ASC' | 'OUT_ENTITY_TABLE_ID_DESC' | 'OUT_ENTITY_TABLE_NAME_ASC' | 'OUT_ENTITY_TABLE_NAME_DESC' | 'OUT_INSTALLED_MODULES_ASC' | 'OUT_INSTALLED_MODULES_DESC' | 'OUT_STORAGE_MODULE_ID_ASC' | 'OUT_STORAGE_MODULE_ID_DESC' | 'OUT_BUCKETS_TABLE_ID_ASC' | 'OUT_BUCKETS_TABLE_ID_DESC' | 'OUT_FILES_TABLE_ID_ASC' | 'OUT_FILES_TABLE_ID_DESC';
11315
11341
  export type WebauthnCredentialsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
11316
11342
  export type WebauthnAuthModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'CREDENTIALS_TABLE_ID_ASC' | 'CREDENTIALS_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'SESSION_SECRETS_TABLE_ID_ASC' | 'SESSION_SECRETS_TABLE_ID_DESC' | 'AUTH_SETTINGS_TABLE_ID_ASC' | 'AUTH_SETTINGS_TABLE_ID_DESC' | 'RP_ID_ASC' | 'RP_ID_DESC' | 'RP_NAME_ASC' | 'RP_NAME_DESC' | 'ORIGIN_ALLOWLIST_ASC' | 'ORIGIN_ALLOWLIST_DESC' | 'ATTESTATION_TYPE_ASC' | 'ATTESTATION_TYPE_DESC' | 'REQUIRE_USER_VERIFICATION_ASC' | 'REQUIRE_USER_VERIFICATION_DESC' | 'RESIDENT_KEY_ASC' | 'RESIDENT_KEY_DESC' | 'CHALLENGE_EXPIRY_ASC' | 'CHALLENGE_EXPIRY_DESC';
11317
- export type NotificationsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'NOTIFICATIONS_TABLE_ID_ASC' | 'NOTIFICATIONS_TABLE_ID_DESC' | 'EVENTS_TABLE_ID_ASC' | 'EVENTS_TABLE_ID_DESC' | 'PREFERENCES_TABLE_ID_ASC' | 'PREFERENCES_TABLE_ID_DESC' | 'CHANNELS_TABLE_ID_ASC' | 'CHANNELS_TABLE_ID_DESC' | 'DELIVERY_LOG_TABLE_ID_ASC' | 'DELIVERY_LOG_TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'USER_SETTINGS_TABLE_ID_ASC' | 'USER_SETTINGS_TABLE_ID_DESC' | 'ORGANIZATION_SETTINGS_TABLE_ID_ASC' | 'ORGANIZATION_SETTINGS_TABLE_ID_DESC';
11343
+ export type NotificationsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'NOTIFICATIONS_TABLE_ID_ASC' | 'NOTIFICATIONS_TABLE_ID_DESC' | 'READ_STATE_TABLE_ID_ASC' | 'READ_STATE_TABLE_ID_DESC' | 'PREFERENCES_TABLE_ID_ASC' | 'PREFERENCES_TABLE_ID_DESC' | 'CHANNELS_TABLE_ID_ASC' | 'CHANNELS_TABLE_ID_DESC' | 'DELIVERY_LOG_TABLE_ID_ASC' | 'DELIVERY_LOG_TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'USER_SETTINGS_TABLE_ID_ASC' | 'USER_SETTINGS_TABLE_ID_DESC' | 'ORGANIZATION_SETTINGS_TABLE_ID_ASC' | 'ORGANIZATION_SETTINGS_TABLE_ID_DESC' | 'HAS_CHANNELS_ASC' | 'HAS_CHANNELS_DESC' | 'HAS_PREFERENCES_ASC' | 'HAS_PREFERENCES_DESC' | 'HAS_SETTINGS_EXTENSION_ASC' | 'HAS_SETTINGS_EXTENSION_DESC' | 'HAS_DIGEST_METADATA_ASC' | 'HAS_DIGEST_METADATA_DESC' | 'HAS_SUBSCRIPTIONS_ASC' | 'HAS_SUBSCRIPTIONS_DESC';
11318
11344
  export type DatabaseProvisionModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_NAME_ASC' | 'DATABASE_NAME_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SUBDOMAIN_ASC' | 'SUBDOMAIN_DESC' | 'DOMAIN_ASC' | 'DOMAIN_DESC' | 'MODULES_ASC' | 'MODULES_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC' | 'BOOTSTRAP_USER_ASC' | 'BOOTSTRAP_USER_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'ERROR_MESSAGE_ASC' | 'ERROR_MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC';
11319
11345
  export type AppAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
11320
11346
  export type AppOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
@@ -13849,13 +13875,18 @@ export interface CreateNotificationsModuleInput {
13849
13875
  schemaId?: string;
13850
13876
  privateSchemaId?: string;
13851
13877
  notificationsTableId?: string;
13852
- eventsTableId?: string;
13878
+ readStateTableId?: string;
13853
13879
  preferencesTableId?: string;
13854
13880
  channelsTableId?: string;
13855
13881
  deliveryLogTableId?: string;
13856
13882
  ownerTableId?: string;
13857
13883
  userSettingsTableId?: string;
13858
13884
  organizationSettingsTableId?: string;
13885
+ hasChannels?: boolean;
13886
+ hasPreferences?: boolean;
13887
+ hasSettingsExtension?: boolean;
13888
+ hasDigestMetadata?: boolean;
13889
+ hasSubscriptions?: boolean;
13859
13890
  };
13860
13891
  }
13861
13892
  export interface NotificationsModulePatch {
@@ -13863,13 +13894,18 @@ export interface NotificationsModulePatch {
13863
13894
  schemaId?: string | null;
13864
13895
  privateSchemaId?: string | null;
13865
13896
  notificationsTableId?: string | null;
13866
- eventsTableId?: string | null;
13897
+ readStateTableId?: string | null;
13867
13898
  preferencesTableId?: string | null;
13868
13899
  channelsTableId?: string | null;
13869
13900
  deliveryLogTableId?: string | null;
13870
13901
  ownerTableId?: string | null;
13871
13902
  userSettingsTableId?: string | null;
13872
13903
  organizationSettingsTableId?: string | null;
13904
+ hasChannels?: boolean | null;
13905
+ hasPreferences?: boolean | null;
13906
+ hasSettingsExtension?: boolean | null;
13907
+ hasDigestMetadata?: boolean | null;
13908
+ hasSubscriptions?: boolean | null;
13873
13909
  }
13874
13910
  export interface UpdateNotificationsModuleInput {
13875
13911
  clientMutationId?: string;
@@ -20073,8 +20109,8 @@ export interface NotificationsModuleFilter {
20073
20109
  privateSchemaId?: UUIDFilter;
20074
20110
  /** Filter by the object’s `notificationsTableId` field. */
20075
20111
  notificationsTableId?: UUIDFilter;
20076
- /** Filter by the object’s `eventsTableId` field. */
20077
- eventsTableId?: UUIDFilter;
20112
+ /** Filter by the object’s `readStateTableId` field. */
20113
+ readStateTableId?: UUIDFilter;
20078
20114
  /** Filter by the object’s `preferencesTableId` field. */
20079
20115
  preferencesTableId?: UUIDFilter;
20080
20116
  /** Filter by the object’s `channelsTableId` field. */
@@ -20087,6 +20123,16 @@ export interface NotificationsModuleFilter {
20087
20123
  userSettingsTableId?: UUIDFilter;
20088
20124
  /** Filter by the object’s `organizationSettingsTableId` field. */
20089
20125
  organizationSettingsTableId?: UUIDFilter;
20126
+ /** Filter by the object’s `hasChannels` field. */
20127
+ hasChannels?: BooleanFilter;
20128
+ /** Filter by the object’s `hasPreferences` field. */
20129
+ hasPreferences?: BooleanFilter;
20130
+ /** Filter by the object’s `hasSettingsExtension` field. */
20131
+ hasSettingsExtension?: BooleanFilter;
20132
+ /** Filter by the object’s `hasDigestMetadata` field. */
20133
+ hasDigestMetadata?: BooleanFilter;
20134
+ /** Filter by the object’s `hasSubscriptions` field. */
20135
+ hasSubscriptions?: BooleanFilter;
20090
20136
  /** Checks for all expressions in this list. */
20091
20137
  and?: NotificationsModuleFilter[];
20092
20138
  /** Checks for any expressions in this list. */
@@ -20095,12 +20141,14 @@ export interface NotificationsModuleFilter {
20095
20141
  not?: NotificationsModuleFilter;
20096
20142
  /** Filter by the object’s `channelsTableByChannelsTableId` relation. */
20097
20143
  channelsTableByChannelsTableId?: TableFilter;
20144
+ /** A related `channelsTableByChannelsTableId` exists. */
20145
+ channelsTableByChannelsTableIdExists?: boolean;
20098
20146
  /** Filter by the object’s `database` relation. */
20099
20147
  database?: DatabaseFilter;
20100
20148
  /** Filter by the object’s `deliveryLogTableByDeliveryLogTableId` relation. */
20101
20149
  deliveryLogTableByDeliveryLogTableId?: TableFilter;
20102
- /** Filter by the object’s `eventsTableByEventsTableId` relation. */
20103
- eventsTableByEventsTableId?: TableFilter;
20150
+ /** A related `deliveryLogTableByDeliveryLogTableId` exists. */
20151
+ deliveryLogTableByDeliveryLogTableIdExists?: boolean;
20104
20152
  /** Filter by the object’s `notificationsTableByNotificationsTableId` relation. */
20105
20153
  notificationsTableByNotificationsTableId?: TableFilter;
20106
20154
  /** Filter by the object’s `organizationSettingsTableByOrganizationSettingsTableId` relation. */
@@ -20111,8 +20159,12 @@ export interface NotificationsModuleFilter {
20111
20159
  ownerTable?: TableFilter;
20112
20160
  /** Filter by the object’s `preferencesTableByPreferencesTableId` relation. */
20113
20161
  preferencesTableByPreferencesTableId?: TableFilter;
20162
+ /** A related `preferencesTableByPreferencesTableId` exists. */
20163
+ preferencesTableByPreferencesTableIdExists?: boolean;
20114
20164
  /** Filter by the object’s `privateSchema` relation. */
20115
20165
  privateSchema?: SchemaFilter;
20166
+ /** Filter by the object’s `readStateTableByReadStateTableId` relation. */
20167
+ readStateTableByReadStateTableId?: TableFilter;
20116
20168
  /** Filter by the object’s `schema` relation. */
20117
20169
  schema?: SchemaFilter;
20118
20170
  /** Filter by the object’s `userSettingsTableByUserSettingsTableId` relation. */
@@ -50,7 +50,7 @@ exports.buildCustomDocument = buildCustomDocument;
50
50
  * @generated by @constructive-io/graphql-codegen
51
51
  * DO NOT EDIT - changes will be overwritten
52
52
  */
53
- const graphql_web_1 = require("@0no-co/graphql.web");
53
+ const runtime_1 = require("@constructive-io/graphql-query/runtime");
54
54
  const t = __importStar(require("gql-ast"));
55
55
  const client_1 = require("./client");
56
56
  class QueryBuilder {
@@ -221,7 +221,7 @@ function buildFindManyDocument(operationName, queryField, select, args, filterTy
221
221
  }),
222
222
  ],
223
223
  });
224
- return { document: (0, graphql_web_1.print)(document), variables };
224
+ return { document: (0, runtime_1.print)(document), variables };
225
225
  }
226
226
  function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, connectionFieldsMap) {
227
227
  const selections = select
@@ -262,7 +262,7 @@ function buildFindFirstDocument(operationName, queryField, select, args, filterT
262
262
  }),
263
263
  ],
264
264
  });
265
- return { document: (0, graphql_web_1.print)(document), variables };
265
+ return { document: (0, runtime_1.print)(document), variables };
266
266
  }
267
267
  function buildCreateDocument(operationName, mutationField, entityField, select, data, inputTypeName, connectionFieldsMap) {
268
268
  const selections = select
@@ -342,7 +342,7 @@ function buildFindOneDocument(operationName, queryField, id, select, idArgName,
342
342
  const variableDefinitions = [
343
343
  t.variableDefinition({
344
344
  variable: t.variable({ name: idArgName }),
345
- type: (0, graphql_web_1.parseType)(idTypeName),
345
+ type: (0, runtime_1.parseType)(idTypeName),
346
346
  }),
347
347
  ];
348
348
  const queryArgs = [
@@ -370,7 +370,7 @@ function buildFindOneDocument(operationName, queryField, id, select, idArgName,
370
370
  ],
371
371
  });
372
372
  return {
373
- document: (0, graphql_web_1.print)(document),
373
+ document: (0, runtime_1.print)(document),
374
374
  variables: { [idArgName]: id },
375
375
  };
376
376
  }
@@ -445,7 +445,7 @@ function buildCustomDocument(operationType, operationName, fieldName, select, ar
445
445
  : [];
446
446
  const variableDefs = variableDefinitions.map((definition) => t.variableDefinition({
447
447
  variable: t.variable({ name: definition.name }),
448
- type: (0, graphql_web_1.parseType)(definition.type),
448
+ type: (0, runtime_1.parseType)(definition.type),
449
449
  }));
450
450
  const fieldArgs = variableDefinitions.map((definition) => t.argument({
451
451
  name: definition.name,
@@ -473,7 +473,7 @@ function buildCustomDocument(operationType, operationName, fieldName, select, ar
473
473
  ],
474
474
  });
475
475
  return {
476
- document: (0, graphql_web_1.print)(document),
476
+ document: (0, runtime_1.print)(document),
477
477
  variables: (args ?? {}),
478
478
  };
479
479
  }
@@ -551,7 +551,7 @@ function buildInputMutationDocument(config) {
551
551
  variableDefinitions: [
552
552
  t.variableDefinition({
553
553
  variable: t.variable({ name: 'input' }),
554
- type: (0, graphql_web_1.parseType)(config.inputTypeName + '!'),
554
+ type: (0, runtime_1.parseType)(config.inputTypeName + '!'),
555
555
  }),
556
556
  ],
557
557
  selectionSet: t.selectionSet({
@@ -573,14 +573,14 @@ function buildInputMutationDocument(config) {
573
573
  }),
574
574
  ],
575
575
  });
576
- return (0, graphql_web_1.print)(document);
576
+ return (0, runtime_1.print)(document);
577
577
  }
578
578
  function addVariable(spec, definitions, args, variables) {
579
579
  if (spec.value === undefined || !spec.typeName)
580
580
  return;
581
581
  definitions.push(t.variableDefinition({
582
582
  variable: t.variable({ name: spec.varName }),
583
- type: (0, graphql_web_1.parseType)(spec.typeName),
583
+ type: (0, runtime_1.parseType)(spec.typeName),
584
584
  }));
585
585
  args.push(t.argument({
586
586
  name: spec.argName ?? spec.varName,
@@ -138,7 +138,7 @@ export type WebauthnCredentialsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | '
138
138
  /** Methods to use when ordering `WebauthnAuthModule`. */
139
139
  export type WebauthnAuthModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'CREDENTIALS_TABLE_ID_ASC' | 'CREDENTIALS_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'SESSION_SECRETS_TABLE_ID_ASC' | 'SESSION_SECRETS_TABLE_ID_DESC' | 'AUTH_SETTINGS_TABLE_ID_ASC' | 'AUTH_SETTINGS_TABLE_ID_DESC' | 'RP_ID_ASC' | 'RP_ID_DESC' | 'RP_NAME_ASC' | 'RP_NAME_DESC' | 'ORIGIN_ALLOWLIST_ASC' | 'ORIGIN_ALLOWLIST_DESC' | 'ATTESTATION_TYPE_ASC' | 'ATTESTATION_TYPE_DESC' | 'REQUIRE_USER_VERIFICATION_ASC' | 'REQUIRE_USER_VERIFICATION_DESC' | 'RESIDENT_KEY_ASC' | 'RESIDENT_KEY_DESC' | 'CHALLENGE_EXPIRY_ASC' | 'CHALLENGE_EXPIRY_DESC';
140
140
  /** Methods to use when ordering `NotificationsModule`. */
141
- export type NotificationsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'NOTIFICATIONS_TABLE_ID_ASC' | 'NOTIFICATIONS_TABLE_ID_DESC' | 'EVENTS_TABLE_ID_ASC' | 'EVENTS_TABLE_ID_DESC' | 'PREFERENCES_TABLE_ID_ASC' | 'PREFERENCES_TABLE_ID_DESC' | 'CHANNELS_TABLE_ID_ASC' | 'CHANNELS_TABLE_ID_DESC' | 'DELIVERY_LOG_TABLE_ID_ASC' | 'DELIVERY_LOG_TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'USER_SETTINGS_TABLE_ID_ASC' | 'USER_SETTINGS_TABLE_ID_DESC' | 'ORGANIZATION_SETTINGS_TABLE_ID_ASC' | 'ORGANIZATION_SETTINGS_TABLE_ID_DESC';
141
+ export type NotificationsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'NOTIFICATIONS_TABLE_ID_ASC' | 'NOTIFICATIONS_TABLE_ID_DESC' | 'READ_STATE_TABLE_ID_ASC' | 'READ_STATE_TABLE_ID_DESC' | 'PREFERENCES_TABLE_ID_ASC' | 'PREFERENCES_TABLE_ID_DESC' | 'CHANNELS_TABLE_ID_ASC' | 'CHANNELS_TABLE_ID_DESC' | 'DELIVERY_LOG_TABLE_ID_ASC' | 'DELIVERY_LOG_TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'USER_SETTINGS_TABLE_ID_ASC' | 'USER_SETTINGS_TABLE_ID_DESC' | 'ORGANIZATION_SETTINGS_TABLE_ID_ASC' | 'ORGANIZATION_SETTINGS_TABLE_ID_DESC' | 'HAS_CHANNELS_ASC' | 'HAS_CHANNELS_DESC' | 'HAS_PREFERENCES_ASC' | 'HAS_PREFERENCES_DESC' | 'HAS_SETTINGS_EXTENSION_ASC' | 'HAS_SETTINGS_EXTENSION_DESC' | 'HAS_DIGEST_METADATA_ASC' | 'HAS_DIGEST_METADATA_DESC' | 'HAS_SUBSCRIPTIONS_ASC' | 'HAS_SUBSCRIPTIONS_DESC';
142
142
  /** Methods to use when ordering `DatabaseProvisionModule`. */
143
143
  export type DatabaseProvisionModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_NAME_ASC' | 'DATABASE_NAME_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SUBDOMAIN_ASC' | 'SUBDOMAIN_DESC' | 'DOMAIN_ASC' | 'DOMAIN_DESC' | 'MODULES_ASC' | 'MODULES_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC' | 'BOOTSTRAP_USER_ASC' | 'BOOTSTRAP_USER_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'ERROR_MESSAGE_ASC' | 'ERROR_MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC';
144
144
  /** Methods to use when ordering `Database`. */
@@ -6393,8 +6393,8 @@ export interface NotificationsModuleFilter {
6393
6393
  privateSchemaId?: UUIDFilter;
6394
6394
  /** Filter by the object’s `notificationsTableId` field. */
6395
6395
  notificationsTableId?: UUIDFilter;
6396
- /** Filter by the object’s `eventsTableId` field. */
6397
- eventsTableId?: UUIDFilter;
6396
+ /** Filter by the object’s `readStateTableId` field. */
6397
+ readStateTableId?: UUIDFilter;
6398
6398
  /** Filter by the object’s `preferencesTableId` field. */
6399
6399
  preferencesTableId?: UUIDFilter;
6400
6400
  /** Filter by the object’s `channelsTableId` field. */
@@ -6407,6 +6407,16 @@ export interface NotificationsModuleFilter {
6407
6407
  userSettingsTableId?: UUIDFilter;
6408
6408
  /** Filter by the object’s `organizationSettingsTableId` field. */
6409
6409
  organizationSettingsTableId?: UUIDFilter;
6410
+ /** Filter by the object’s `hasChannels` field. */
6411
+ hasChannels?: BooleanFilter;
6412
+ /** Filter by the object’s `hasPreferences` field. */
6413
+ hasPreferences?: BooleanFilter;
6414
+ /** Filter by the object’s `hasSettingsExtension` field. */
6415
+ hasSettingsExtension?: BooleanFilter;
6416
+ /** Filter by the object’s `hasDigestMetadata` field. */
6417
+ hasDigestMetadata?: BooleanFilter;
6418
+ /** Filter by the object’s `hasSubscriptions` field. */
6419
+ hasSubscriptions?: BooleanFilter;
6410
6420
  /** Checks for all expressions in this list. */
6411
6421
  and?: NotificationsModuleFilter[];
6412
6422
  /** Checks for any expressions in this list. */
@@ -6415,12 +6425,14 @@ export interface NotificationsModuleFilter {
6415
6425
  not?: NotificationsModuleFilter;
6416
6426
  /** Filter by the object’s `channelsTableByChannelsTableId` relation. */
6417
6427
  channelsTableByChannelsTableId?: TableFilter;
6428
+ /** A related `channelsTableByChannelsTableId` exists. */
6429
+ channelsTableByChannelsTableIdExists?: boolean;
6418
6430
  /** Filter by the object’s `database` relation. */
6419
6431
  database?: DatabaseFilter;
6420
6432
  /** Filter by the object’s `deliveryLogTableByDeliveryLogTableId` relation. */
6421
6433
  deliveryLogTableByDeliveryLogTableId?: TableFilter;
6422
- /** Filter by the object’s `eventsTableByEventsTableId` relation. */
6423
- eventsTableByEventsTableId?: TableFilter;
6434
+ /** A related `deliveryLogTableByDeliveryLogTableId` exists. */
6435
+ deliveryLogTableByDeliveryLogTableIdExists?: boolean;
6424
6436
  /** Filter by the object’s `notificationsTableByNotificationsTableId` relation. */
6425
6437
  notificationsTableByNotificationsTableId?: TableFilter;
6426
6438
  /** Filter by the object’s `organizationSettingsTableByOrganizationSettingsTableId` relation. */
@@ -6431,8 +6443,12 @@ export interface NotificationsModuleFilter {
6431
6443
  ownerTable?: TableFilter;
6432
6444
  /** Filter by the object’s `preferencesTableByPreferencesTableId` relation. */
6433
6445
  preferencesTableByPreferencesTableId?: TableFilter;
6446
+ /** A related `preferencesTableByPreferencesTableId` exists. */
6447
+ preferencesTableByPreferencesTableIdExists?: boolean;
6434
6448
  /** Filter by the object’s `privateSchema` relation. */
6435
6449
  privateSchema?: SchemaFilter;
6450
+ /** Filter by the object’s `readStateTableByReadStateTableId` relation. */
6451
+ readStateTableByReadStateTableId?: TableFilter;
6436
6452
  /** Filter by the object’s `schema` relation. */
6437
6453
  schema?: SchemaFilter;
6438
6454
  /** Filter by the object’s `userSettingsTableByUserSettingsTableId` relation. */
@@ -8416,26 +8432,6 @@ export interface DenormalizedTableFieldInput {
8416
8432
  funcName?: string;
8417
8433
  funcOrder?: number;
8418
8434
  }
8419
- export interface CreateNotificationsModuleInput {
8420
- clientMutationId?: string;
8421
- /** The `NotificationsModule` to be created by this mutation. */
8422
- notificationsModule: NotificationsModuleInput;
8423
- }
8424
- /** An input for mutations affecting `NotificationsModule` */
8425
- export interface NotificationsModuleInput {
8426
- id?: string;
8427
- databaseId: string;
8428
- schemaId?: string;
8429
- privateSchemaId?: string;
8430
- notificationsTableId?: string;
8431
- eventsTableId?: string;
8432
- preferencesTableId?: string;
8433
- channelsTableId?: string;
8434
- deliveryLogTableId?: string;
8435
- ownerTableId?: string;
8436
- userSettingsTableId?: string;
8437
- organizationSettingsTableId?: string;
8438
- }
8439
8435
  export interface CreateEmailInput {
8440
8436
  clientMutationId?: string;
8441
8437
  /** The `Email` to be created by this mutation. */
@@ -8948,6 +8944,31 @@ export interface PolicyInput {
8948
8944
  createdAt?: string;
8949
8945
  updatedAt?: string;
8950
8946
  }
8947
+ export interface CreateNotificationsModuleInput {
8948
+ clientMutationId?: string;
8949
+ /** The `NotificationsModule` to be created by this mutation. */
8950
+ notificationsModule: NotificationsModuleInput;
8951
+ }
8952
+ /** An input for mutations affecting `NotificationsModule` */
8953
+ export interface NotificationsModuleInput {
8954
+ id?: string;
8955
+ databaseId: string;
8956
+ schemaId?: string;
8957
+ privateSchemaId?: string;
8958
+ notificationsTableId?: string;
8959
+ readStateTableId?: string;
8960
+ preferencesTableId?: string;
8961
+ channelsTableId?: string;
8962
+ deliveryLogTableId?: string;
8963
+ ownerTableId?: string;
8964
+ userSettingsTableId?: string;
8965
+ organizationSettingsTableId?: string;
8966
+ hasChannels?: boolean;
8967
+ hasPreferences?: boolean;
8968
+ hasSettingsExtension?: boolean;
8969
+ hasDigestMetadata?: boolean;
8970
+ hasSubscriptions?: boolean;
8971
+ }
8951
8972
  export interface CreatePermissionsModuleInput {
8952
8973
  clientMutationId?: string;
8953
8974
  /** The `PermissionsModule` to be created by this mutation. */
@@ -11133,27 +11154,6 @@ export interface DenormalizedTableFieldPatch {
11133
11154
  funcName?: string;
11134
11155
  funcOrder?: number;
11135
11156
  }
11136
- export interface UpdateNotificationsModuleInput {
11137
- clientMutationId?: string;
11138
- id: string;
11139
- /** An object where the defined keys will be set on the `NotificationsModule` being updated. */
11140
- notificationsModulePatch: NotificationsModulePatch;
11141
- }
11142
- /** Represents an update to a `NotificationsModule`. Fields that are set will be updated. */
11143
- export interface NotificationsModulePatch {
11144
- id?: string;
11145
- databaseId?: string;
11146
- schemaId?: string;
11147
- privateSchemaId?: string;
11148
- notificationsTableId?: string;
11149
- eventsTableId?: string;
11150
- preferencesTableId?: string;
11151
- channelsTableId?: string;
11152
- deliveryLogTableId?: string;
11153
- ownerTableId?: string;
11154
- userSettingsTableId?: string;
11155
- organizationSettingsTableId?: string;
11156
- }
11157
11157
  export interface UpdateEmailInput {
11158
11158
  clientMutationId?: string;
11159
11159
  id: string;
@@ -11661,6 +11661,32 @@ export interface PolicyPatch {
11661
11661
  createdAt?: string;
11662
11662
  updatedAt?: string;
11663
11663
  }
11664
+ export interface UpdateNotificationsModuleInput {
11665
+ clientMutationId?: string;
11666
+ id: string;
11667
+ /** An object where the defined keys will be set on the `NotificationsModule` being updated. */
11668
+ notificationsModulePatch: NotificationsModulePatch;
11669
+ }
11670
+ /** Represents an update to a `NotificationsModule`. Fields that are set will be updated. */
11671
+ export interface NotificationsModulePatch {
11672
+ id?: string;
11673
+ databaseId?: string;
11674
+ schemaId?: string;
11675
+ privateSchemaId?: string;
11676
+ notificationsTableId?: string;
11677
+ readStateTableId?: string;
11678
+ preferencesTableId?: string;
11679
+ channelsTableId?: string;
11680
+ deliveryLogTableId?: string;
11681
+ ownerTableId?: string;
11682
+ userSettingsTableId?: string;
11683
+ organizationSettingsTableId?: string;
11684
+ hasChannels?: boolean;
11685
+ hasPreferences?: boolean;
11686
+ hasSettingsExtension?: boolean;
11687
+ hasDigestMetadata?: boolean;
11688
+ hasSubscriptions?: boolean;
11689
+ }
11664
11690
  export interface UpdatePermissionsModuleInput {
11665
11691
  clientMutationId?: string;
11666
11692
  id: string;
@@ -12892,10 +12918,6 @@ export interface DeleteDenormalizedTableFieldInput {
12892
12918
  clientMutationId?: string;
12893
12919
  id: string;
12894
12920
  }
12895
- export interface DeleteNotificationsModuleInput {
12896
- clientMutationId?: string;
12897
- id: string;
12898
- }
12899
12921
  export interface DeleteEmailInput {
12900
12922
  clientMutationId?: string;
12901
12923
  id: string;
@@ -12979,6 +13001,10 @@ export interface DeletePolicyInput {
12979
13001
  clientMutationId?: string;
12980
13002
  id: string;
12981
13003
  }
13004
+ export interface DeleteNotificationsModuleInput {
13005
+ clientMutationId?: string;
13006
+ id: string;
13007
+ }
12982
13008
  export interface DeletePermissionsModuleInput {
12983
13009
  clientMutationId?: string;
12984
13010
  id: string;
@@ -13627,13 +13653,6 @@ export interface DenormalizedTableFieldConnection {
13627
13653
  pageInfo: PageInfo;
13628
13654
  totalCount: number;
13629
13655
  }
13630
- /** A connection to a list of `NotificationsModule` values. */
13631
- export interface NotificationsModuleConnection {
13632
- nodes: NotificationsModule[];
13633
- edges: NotificationsModuleEdge[];
13634
- pageInfo: PageInfo;
13635
- totalCount: number;
13636
- }
13637
13656
  /** A connection to a list of `Email` values. */
13638
13657
  export interface EmailConnection {
13639
13658
  nodes: Email[];
@@ -13788,6 +13807,13 @@ export interface PolicyConnection {
13788
13807
  pageInfo: PageInfo;
13789
13808
  totalCount: number;
13790
13809
  }
13810
+ /** A connection to a list of `NotificationsModule` values. */
13811
+ export interface NotificationsModuleConnection {
13812
+ nodes: NotificationsModule[];
13813
+ edges: NotificationsModuleEdge[];
13814
+ pageInfo: PageInfo;
13815
+ totalCount: number;
13816
+ }
13791
13817
  /** A connection to a list of `PermissionsModule` values. */
13792
13818
  export interface PermissionsModuleConnection {
13793
13819
  nodes: PermissionsModule[];
@@ -14555,12 +14581,6 @@ export interface CreateDenormalizedTableFieldPayload {
14555
14581
  denormalizedTableField?: DenormalizedTableField | null;
14556
14582
  denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null;
14557
14583
  }
14558
- export interface CreateNotificationsModulePayload {
14559
- clientMutationId?: string | null;
14560
- /** The `NotificationsModule` that was created by this mutation. */
14561
- notificationsModule?: NotificationsModule | null;
14562
- notificationsModuleEdge?: NotificationsModuleEdge | null;
14563
- }
14564
14584
  export interface CreateEmailPayload {
14565
14585
  clientMutationId?: string | null;
14566
14586
  /** The `Email` that was created by this mutation. */
@@ -14691,6 +14711,12 @@ export interface CreatePolicyPayload {
14691
14711
  policy?: Policy | null;
14692
14712
  policyEdge?: PolicyEdge | null;
14693
14713
  }
14714
+ export interface CreateNotificationsModulePayload {
14715
+ clientMutationId?: string | null;
14716
+ /** The `NotificationsModule` that was created by this mutation. */
14717
+ notificationsModule?: NotificationsModule | null;
14718
+ notificationsModuleEdge?: NotificationsModuleEdge | null;
14719
+ }
14694
14720
  export interface CreatePermissionsModulePayload {
14695
14721
  clientMutationId?: string | null;
14696
14722
  /** The `PermissionsModule` that was created by this mutation. */
@@ -15237,12 +15263,6 @@ export interface UpdateDenormalizedTableFieldPayload {
15237
15263
  denormalizedTableField?: DenormalizedTableField | null;
15238
15264
  denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null;
15239
15265
  }
15240
- export interface UpdateNotificationsModulePayload {
15241
- clientMutationId?: string | null;
15242
- /** The `NotificationsModule` that was updated by this mutation. */
15243
- notificationsModule?: NotificationsModule | null;
15244
- notificationsModuleEdge?: NotificationsModuleEdge | null;
15245
- }
15246
15266
  export interface UpdateEmailPayload {
15247
15267
  clientMutationId?: string | null;
15248
15268
  /** The `Email` that was updated by this mutation. */
@@ -15363,6 +15383,12 @@ export interface UpdatePolicyPayload {
15363
15383
  policy?: Policy | null;
15364
15384
  policyEdge?: PolicyEdge | null;
15365
15385
  }
15386
+ export interface UpdateNotificationsModulePayload {
15387
+ clientMutationId?: string | null;
15388
+ /** The `NotificationsModule` that was updated by this mutation. */
15389
+ notificationsModule?: NotificationsModule | null;
15390
+ notificationsModuleEdge?: NotificationsModuleEdge | null;
15391
+ }
15366
15392
  export interface UpdatePermissionsModulePayload {
15367
15393
  clientMutationId?: string | null;
15368
15394
  /** The `PermissionsModule` that was updated by this mutation. */
@@ -15909,12 +15935,6 @@ export interface DeleteDenormalizedTableFieldPayload {
15909
15935
  denormalizedTableField?: DenormalizedTableField | null;
15910
15936
  denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null;
15911
15937
  }
15912
- export interface DeleteNotificationsModulePayload {
15913
- clientMutationId?: string | null;
15914
- /** The `NotificationsModule` that was deleted by this mutation. */
15915
- notificationsModule?: NotificationsModule | null;
15916
- notificationsModuleEdge?: NotificationsModuleEdge | null;
15917
- }
15918
15938
  export interface DeleteEmailPayload {
15919
15939
  clientMutationId?: string | null;
15920
15940
  /** The `Email` that was deleted by this mutation. */
@@ -16035,6 +16055,12 @@ export interface DeletePolicyPayload {
16035
16055
  policy?: Policy | null;
16036
16056
  policyEdge?: PolicyEdge | null;
16037
16057
  }
16058
+ export interface DeleteNotificationsModulePayload {
16059
+ clientMutationId?: string | null;
16060
+ /** The `NotificationsModule` that was deleted by this mutation. */
16061
+ notificationsModule?: NotificationsModule | null;
16062
+ notificationsModuleEdge?: NotificationsModuleEdge | null;
16063
+ }
16038
16064
  export interface DeletePermissionsModulePayload {
16039
16065
  clientMutationId?: string | null;
16040
16066
  /** The `PermissionsModule` that was deleted by this mutation. */
@@ -16662,12 +16688,6 @@ export interface DenormalizedTableFieldEdge {
16662
16688
  /** The `DenormalizedTableField` at the end of the edge. */
16663
16689
  node?: DenormalizedTableField | null;
16664
16690
  }
16665
- /** A `NotificationsModule` edge in the connection. */
16666
- export interface NotificationsModuleEdge {
16667
- cursor?: string | null;
16668
- /** The `NotificationsModule` at the end of the edge. */
16669
- node?: NotificationsModule | null;
16670
- }
16671
16691
  /** A `Email` edge in the connection. */
16672
16692
  export interface EmailEdge {
16673
16693
  cursor?: string | null;
@@ -16800,6 +16820,12 @@ export interface PolicyEdge {
16800
16820
  /** The `Policy` at the end of the edge. */
16801
16821
  node?: Policy | null;
16802
16822
  }
16823
+ /** A `NotificationsModule` edge in the connection. */
16824
+ export interface NotificationsModuleEdge {
16825
+ cursor?: string | null;
16826
+ /** The `NotificationsModule` at the end of the edge. */
16827
+ node?: NotificationsModule | null;
16828
+ }
16803
16829
  /** A `PermissionsModule` edge in the connection. */
16804
16830
  export interface PermissionsModuleEdge {
16805
16831
  cursor?: string | null;