@eide/foir-cli 0.1.34 → 0.1.35

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.
@@ -204,7 +204,7 @@ export type AdminUserAccess = {
204
204
  tenant: Tenant;
205
205
  };
206
206
  export type AdminUserList = {
207
- adminUsers: Array<AdminUser>;
207
+ items: Array<AdminUser>;
208
208
  total: Scalars['Int']['output'];
209
209
  };
210
210
  export type AdminUserStatus = 'ACTIVE' | 'DELETED' | 'PENDING' | 'SUSPENDED';
@@ -280,7 +280,7 @@ export type ApiKey = {
280
280
  usageCount: Scalars['Int']['output'];
281
281
  };
282
282
  export type ApiKeyList = {
283
- apiKeys: Array<ApiKey>;
283
+ items: Array<ApiKey>;
284
284
  total: Scalars['Int']['output'];
285
285
  };
286
286
  export type ApiKeyType = 'PUBLIC' | 'SECRET';
@@ -924,7 +924,7 @@ export type CustomerExperimentAssignment = {
924
924
  variantKey?: Maybe<Scalars['String']['output']>;
925
925
  };
926
926
  export type CustomerList = {
927
- customers: Array<Customer>;
927
+ items: Array<Customer>;
928
928
  total: Scalars['Int']['output'];
929
929
  };
930
930
  /** Customer login response (public API — uses JWT tokens, not sessions) */
@@ -1656,7 +1656,7 @@ export type FileTransformedUrlArgs = {
1656
1656
  };
1657
1657
  /** Result from listing files */
1658
1658
  export type FileList = {
1659
- files: Array<File>;
1659
+ items: Array<File>;
1660
1660
  total: Scalars['Int']['output'];
1661
1661
  };
1662
1662
  /** Source of the file */
@@ -1959,7 +1959,7 @@ export type Invitation = {
1959
1959
  };
1960
1960
  /** Paginated list of invitations */
1961
1961
  export type InvitationList = {
1962
- invitations: Array<Invitation>;
1962
+ items: Array<Invitation>;
1963
1963
  total: Scalars['Int']['output'];
1964
1964
  };
1965
1965
  /** Invitation status */
@@ -1999,7 +1999,7 @@ export type Job = {
1999
1999
  /** Paginated list of jobs */
2000
2000
  export type JobList = {
2001
2001
  /** The job items */
2002
- jobs: Array<Job>;
2002
+ items: Array<Job>;
2003
2003
  /** Total number of jobs matching the filter */
2004
2004
  total: Scalars['Int']['output'];
2005
2005
  };
@@ -2137,6 +2137,7 @@ export type ModelVersion = {
2137
2137
  };
2138
2138
  export type ModelVersionList = {
2139
2139
  items: Array<ModelVersion>;
2140
+ total: Scalars['Int']['output'];
2140
2141
  };
2141
2142
  /** User with logins from multiple IPs */
2142
2143
  export type MultiIpLogin = {
@@ -3653,7 +3654,7 @@ export type ProjectInfo = {
3653
3654
  tenantId: Scalars['ID']['output'];
3654
3655
  };
3655
3656
  export type ProjectList = {
3656
- projects: Array<Project>;
3657
+ items: Array<Project>;
3657
3658
  total: Scalars['Int']['output'];
3658
3659
  };
3659
3660
  /** Complete project schemas for code generation */
@@ -4879,9 +4880,11 @@ export type RecordSearchResult = {
4879
4880
  };
4880
4881
  export type RecordVariantList = {
4881
4882
  items: Array<Record>;
4883
+ total: Scalars['Int']['output'];
4882
4884
  };
4883
4885
  export type RecordVersionList = {
4884
4886
  items: Array<Record>;
4887
+ total: Scalars['Int']['output'];
4885
4888
  };
4886
4889
  /**
4887
4890
  * Entity reference value with preview caching
@@ -5525,7 +5528,7 @@ export type TenantBillingStatus = {
5525
5528
  };
5526
5529
  /** Paginated tenant billing status result */
5527
5530
  export type TenantBillingStatusResult = {
5528
- tenants: Array<TenantBillingStatus>;
5531
+ items: Array<TenantBillingStatus>;
5529
5532
  total: Scalars['Int']['output'];
5530
5533
  };
5531
5534
  export type TenantFeature = {
@@ -5543,7 +5546,7 @@ export type TenantInfo = {
5543
5546
  name: Scalars['String']['output'];
5544
5547
  };
5545
5548
  export type TenantList = {
5546
- tenants: Array<Tenant>;
5549
+ items: Array<Tenant>;
5547
5550
  total: Scalars['Int']['output'];
5548
5551
  };
5549
5552
  /** Tenant lifecycle status states */
@@ -5992,208 +5995,6 @@ export type WriteEmbeddingsResult = {
5992
5995
  errors: Array<EmbeddingWriteError>;
5993
5996
  written: Scalars['Int']['output'];
5994
5997
  };
5995
- export type ListApiKeysQueryVariables = Exact<{
5996
- includeInactive?: InputMaybe<Scalars['Boolean']['input']>;
5997
- search?: InputMaybe<Scalars['String']['input']>;
5998
- limit?: InputMaybe<Scalars['Int']['input']>;
5999
- offset?: InputMaybe<Scalars['Int']['input']>;
6000
- }>;
6001
- export type ListApiKeysQuery = {
6002
- listApiKeys: {
6003
- total: number;
6004
- apiKeys: Array<{
6005
- id: string;
6006
- name: string;
6007
- keyPrefix: string;
6008
- keyType: ApiKeyType;
6009
- isActive: boolean;
6010
- lastUsedAt?: string | null;
6011
- usageCount: number;
6012
- expiresAt?: string | null;
6013
- scopes?: Array<string> | null;
6014
- createdAt: string;
6015
- revokedAt?: string | null;
6016
- rotatedAt?: string | null;
6017
- }>;
6018
- };
6019
- };
6020
- export type GetApiKeyQueryVariables = Exact<{
6021
- id: Scalars['ID']['input'];
6022
- }>;
6023
- export type GetApiKeyQuery = {
6024
- getApiKey?: {
6025
- id: string;
6026
- name: string;
6027
- keyPrefix: string;
6028
- keyType: ApiKeyType;
6029
- isActive: boolean;
6030
- lastUsedAt?: string | null;
6031
- lastUsedIp?: string | null;
6032
- usageCount: number;
6033
- expiresAt?: string | null;
6034
- scopes?: Array<string> | null;
6035
- allowedModels?: Array<string> | null;
6036
- allowedFileTypes?: Array<FileType> | null;
6037
- metadata?: unknown | null;
6038
- createdBy: string;
6039
- createdAt: string;
6040
- updatedAt: string;
6041
- revokedAt?: string | null;
6042
- rotatedAt?: string | null;
6043
- } | null;
6044
- };
6045
- export type CreateApiKeyMutationVariables = Exact<{
6046
- input: CreateApiKeyInput;
6047
- }>;
6048
- export type CreateApiKeyMutation = {
6049
- createApiKey: {
6050
- plainKey: string;
6051
- warning: string;
6052
- apiKey: {
6053
- id: string;
6054
- name: string;
6055
- keyPrefix: string;
6056
- isActive: boolean;
6057
- scopes?: Array<string> | null;
6058
- createdAt: string;
6059
- };
6060
- };
6061
- };
6062
- export type RotateApiKeyMutationVariables = Exact<{
6063
- id: Scalars['ID']['input'];
6064
- }>;
6065
- export type RotateApiKeyMutation = {
6066
- rotateApiKey: {
6067
- plainKey: string;
6068
- warning: string;
6069
- apiKey: {
6070
- id: string;
6071
- name: string;
6072
- keyPrefix: string;
6073
- rotatedAt?: string | null;
6074
- };
6075
- };
6076
- };
6077
- export type RevokeApiKeyMutationVariables = Exact<{
6078
- id: Scalars['ID']['input'];
6079
- }>;
6080
- export type RevokeApiKeyMutation = {
6081
- revokeApiKey: {
6082
- id: string;
6083
- name: string;
6084
- isActive: boolean;
6085
- revokedAt?: string | null;
6086
- };
6087
- };
6088
- export type ListAuthProvidersQueryVariables = Exact<{
6089
- enabledOnly?: InputMaybe<Scalars['Boolean']['input']>;
6090
- }>;
6091
- export type ListAuthProvidersQuery = {
6092
- customerAuthProviders: Array<{
6093
- id: string;
6094
- key: string;
6095
- name: string;
6096
- type: AuthProviderType;
6097
- enabled: boolean;
6098
- isDefault: boolean;
6099
- priority: number;
6100
- createdAt: string;
6101
- updatedAt: string;
6102
- }>;
6103
- };
6104
- export type GetAuthProviderQueryVariables = Exact<{
6105
- id: Scalars['ID']['input'];
6106
- }>;
6107
- export type GetAuthProviderQuery = {
6108
- customerAuthProvider?: {
6109
- id: string;
6110
- key: string;
6111
- name: string;
6112
- type: AuthProviderType;
6113
- configDisplay?: unknown | null;
6114
- enabled: boolean;
6115
- isDefault: boolean;
6116
- priority: number;
6117
- verifyExternalCustomer: boolean;
6118
- captureMetadata: boolean;
6119
- createdAt: string;
6120
- updatedAt: string;
6121
- createdBy?: string | null;
6122
- updatedBy?: string | null;
6123
- } | null;
6124
- };
6125
- export type CreateAuthProviderMutationVariables = Exact<{
6126
- input: CreateAuthProviderInput;
6127
- }>;
6128
- export type CreateAuthProviderMutation = {
6129
- createCustomerAuthProvider: {
6130
- id: string;
6131
- key: string;
6132
- name: string;
6133
- type: AuthProviderType;
6134
- enabled: boolean;
6135
- isDefault: boolean;
6136
- priority: number;
6137
- createdAt: string;
6138
- };
6139
- };
6140
- export type UpdateAuthProviderMutationVariables = Exact<{
6141
- id: Scalars['ID']['input'];
6142
- input: UpdateAuthProviderInput;
6143
- }>;
6144
- export type UpdateAuthProviderMutation = {
6145
- updateCustomerAuthProvider: {
6146
- id: string;
6147
- key: string;
6148
- name: string;
6149
- type: AuthProviderType;
6150
- enabled: boolean;
6151
- isDefault: boolean;
6152
- priority: number;
6153
- updatedAt: string;
6154
- };
6155
- };
6156
- export type DeleteAuthProviderMutationVariables = Exact<{
6157
- id: Scalars['ID']['input'];
6158
- }>;
6159
- export type DeleteAuthProviderMutation = {
6160
- deleteCustomerAuthProvider: boolean;
6161
- };
6162
- export type GetCustomerAuthConfigQueryVariables = Exact<{
6163
- [key: string]: never;
6164
- }>;
6165
- export type GetCustomerAuthConfigQuery = {
6166
- customerAuthConfig: {
6167
- signingKey: string;
6168
- algorithm: string;
6169
- issuer: string;
6170
- audience: string;
6171
- keyRotatedAt?: string | null;
6172
- claims: {
6173
- customerId: string;
6174
- email: string;
6175
- userType: string;
6176
- tenantId: string;
6177
- projectId: string;
6178
- role?: string | null;
6179
- };
6180
- };
6181
- };
6182
- export type VerifyCustomerTokenQueryVariables = Exact<{
6183
- token: Scalars['String']['input'];
6184
- }>;
6185
- export type VerifyCustomerTokenQuery = {
6186
- verifyCustomerToken: {
6187
- valid: boolean;
6188
- customerId?: string | null;
6189
- email?: string | null;
6190
- tenantId?: string | null;
6191
- projectId?: string | null;
6192
- roles?: Array<string> | null;
6193
- expiresAt?: string | null;
6194
- error?: string | null;
6195
- };
6196
- };
6197
5998
  export type GetCustomerProfileSchemaQueryVariables = Exact<{
6198
5999
  [key: string]: never;
6199
6000
  }>;
@@ -6204,2127 +6005,70 @@ export type GetCustomerProfileSchemaQuery = {
6204
6005
  version: number;
6205
6006
  createdAt: string;
6206
6007
  updatedAt: string;
6207
- updatedBy?: string | null;
6208
6008
  fields: Array<{
6209
- id: string;
6210
6009
  key: string;
6211
- label: string;
6212
6010
  type: string;
6213
- required?: boolean | null;
6214
- helpText?: string | null;
6215
- placeholder?: string | null;
6216
- defaultValue?: unknown | null;
6217
- config?: unknown | null;
6218
- isTranslatable?: boolean | null;
6219
- validation?: Array<{
6220
- rule: unknown;
6221
- value?: unknown | null;
6222
- message?: string | null;
6223
- }> | null;
6224
- }>;
6225
- } | null;
6226
- };
6227
- export type UpdateCustomerProfileSchemaMutationVariables = Exact<{
6228
- fields: Array<FieldDefinitionInput> | FieldDefinitionInput;
6229
- publicFields?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
6230
- }>;
6231
- export type UpdateCustomerProfileSchemaMutation = {
6232
- updateCustomerProfileSchema: {
6233
- id: string;
6234
- publicFields: Array<string>;
6235
- version: number;
6236
- createdAt: string;
6237
- updatedAt: string;
6238
- fields: Array<{
6239
- id: string;
6240
- key: string;
6241
6011
  label: string;
6242
- type: string;
6243
6012
  required?: boolean | null;
6244
6013
  helpText?: string | null;
6245
- placeholder?: string | null;
6246
6014
  defaultValue?: unknown | null;
6247
6015
  config?: unknown | null;
6248
- isTranslatable?: boolean | null;
6249
6016
  validation?: Array<{
6250
6017
  rule: unknown;
6251
6018
  value?: unknown | null;
6252
6019
  message?: string | null;
6253
6020
  }> | null;
6254
6021
  }>;
6255
- };
6256
- };
6257
- export type GetCustomerProfileQueryVariables = Exact<{
6258
- customerId: Scalars['ID']['input'];
6259
- }>;
6260
- export type GetCustomerProfileQuery = {
6261
- customerProfile?: {
6262
- id: string;
6263
- customerId: string;
6264
- data: unknown;
6265
- schemaVersionNumber?: number | null;
6266
- createdAt: string;
6267
- updatedAt: string;
6268
- createdBy?: string | null;
6269
- updatedBy?: string | null;
6270
6022
  } | null;
6271
6023
  };
6272
- export type SetCustomerProfileMutationVariables = Exact<{
6273
- customerId: Scalars['ID']['input'];
6274
- data: Scalars['JSON']['input'];
6275
- }>;
6276
- export type SetCustomerProfileMutation = {
6277
- setCustomerProfile: {
6278
- id: string;
6279
- customerId: string;
6280
- data: unknown;
6281
- schemaVersionNumber?: number | null;
6282
- createdAt: string;
6283
- updatedAt: string;
6284
- };
6285
- };
6286
- export type ListCustomersQueryVariables = Exact<{
6287
- status?: InputMaybe<CustomerStatus>;
6024
+ export type ModelsForCodegenQueryVariables = Exact<{
6288
6025
  search?: InputMaybe<Scalars['String']['input']>;
6289
- filters?: InputMaybe<Array<FilterInput> | FilterInput>;
6290
6026
  limit?: InputMaybe<Scalars['Int']['input']>;
6291
6027
  offset?: InputMaybe<Scalars['Int']['input']>;
6292
6028
  }>;
6293
- export type ListCustomersQuery = {
6294
- customers: {
6029
+ export type ModelsForCodegenQuery = {
6030
+ models: {
6295
6031
  total: number;
6296
- customers: Array<{
6032
+ items: Array<{
6297
6033
  id: string;
6298
- email: string;
6299
- status: CustomerStatus;
6300
- lastLoginAt?: string | null;
6034
+ key: string;
6035
+ name: string;
6036
+ pluralName?: string | null;
6037
+ description?: string | null;
6038
+ category?: string | null;
6039
+ fields: unknown;
6040
+ config: unknown;
6041
+ hooks?: unknown | null;
6301
6042
  createdAt: string;
6302
6043
  updatedAt: string;
6303
6044
  }>;
6304
6045
  };
6305
6046
  };
6306
- export type GetCustomerQueryVariables = Exact<{
6307
- id: Scalars['ID']['input'];
6308
- }>;
6309
- export type GetCustomerQuery = {
6310
- customer?: {
6311
- id: string;
6312
- email: string;
6313
- status: CustomerStatus;
6314
- lastLoginAt?: string | null;
6315
- createdAt: string;
6316
- updatedAt: string;
6317
- } | null;
6318
- };
6319
- export type GetCustomerByEmailQueryVariables = Exact<{
6320
- email: Scalars['String']['input'];
6321
- }>;
6322
- export type GetCustomerByEmailQuery = {
6323
- customerByEmail?: {
6324
- id: string;
6325
- email: string;
6326
- status: CustomerStatus;
6327
- lastLoginAt?: string | null;
6328
- createdAt: string;
6329
- updatedAt: string;
6330
- } | null;
6331
- };
6332
- export type CreateCustomerMutationVariables = Exact<{
6333
- input: CreateCustomerInput;
6334
- }>;
6335
- export type CreateCustomerMutation = {
6336
- createCustomer: {
6337
- id: string;
6338
- email: string;
6339
- status: CustomerStatus;
6340
- createdAt: string;
6341
- };
6342
- };
6343
- export type DeleteCustomerMutationVariables = Exact<{
6344
- id: Scalars['ID']['input'];
6345
- }>;
6346
- export type DeleteCustomerMutation = {
6347
- deleteCustomer: {
6348
- success: boolean;
6349
- deletedAt: string;
6350
- };
6351
- };
6352
- export type WriteEmbeddingsMutationVariables = Exact<{
6353
- input: WriteEmbeddingsInput;
6354
- }>;
6355
- export type WriteEmbeddingsMutation = {
6356
- writeEmbeddings: {
6357
- written: number;
6358
- errors: Array<{
6359
- recordId: string;
6360
- error: string;
6361
- }>;
6362
- };
6363
- };
6364
- export type DeleteEmbeddingsMutationVariables = Exact<{
6365
- input: DeleteEmbeddingsInput;
6366
- }>;
6367
- export type DeleteEmbeddingsMutation = {
6368
- deleteEmbeddings: {
6369
- deleted: number;
6370
- };
6371
- };
6372
- export type SearchEmbeddingsQueryVariables = Exact<{
6373
- input: SearchEmbeddingsInput;
6374
- }>;
6375
- export type SearchEmbeddingsQuery = {
6376
- searchEmbeddings: Array<{
6377
- recordId: string;
6378
- modelKey: string;
6379
- naturalKey?: string | null;
6380
- key: string;
6381
- similarity: number;
6382
- metadata?: unknown | null;
6383
- }>;
6384
- };
6385
- export type EmbeddingsForRecordQueryVariables = Exact<{
6386
- recordId: Scalars['ID']['input'];
6387
- }>;
6388
- export type EmbeddingsForRecordQuery = {
6389
- embeddingsForRecord: Array<{
6390
- id: string;
6391
- key: string;
6392
- dimensions: number;
6393
- contentHash?: string | null;
6394
- metadata?: unknown | null;
6395
- createdAt: string;
6396
- updatedAt: string;
6397
- }>;
6398
- };
6399
- export type EmbeddingStatsQueryVariables = Exact<{
6400
- modelKey: Scalars['String']['input'];
6401
- }>;
6402
- export type EmbeddingStatsQuery = {
6403
- embeddingStats: {
6404
- totalEmbeddings: number;
6405
- recordsWithEmbeddings: number;
6406
- totalRecords: number;
6407
- keys: Array<{
6408
- key: string;
6409
- count: number;
6410
- }>;
6411
- dimensionBreakdown: Array<{
6412
- dimensions: number;
6413
- count: number;
6414
- }>;
6415
- };
6416
- };
6417
- export type FindSimilarRecordsQueryVariables = Exact<{
6418
- recordId: Scalars['ID']['input'];
6419
- key?: InputMaybe<Scalars['String']['input']>;
6420
- limit?: InputMaybe<Scalars['Int']['input']>;
6421
- }>;
6422
- export type FindSimilarRecordsQuery = {
6423
- findSimilarRecords: Array<{
6424
- recordId: string;
6425
- modelKey: string;
6426
- naturalKey?: string | null;
6427
- key: string;
6428
- similarity: number;
6429
- metadata?: unknown | null;
6430
- }>;
6431
- };
6432
- export type ListExperimentsQueryVariables = Exact<{
6433
- status?: InputMaybe<ExperimentStatus>;
6434
- isActive?: InputMaybe<Scalars['Boolean']['input']>;
6047
+ export type GlobalSearchQueryVariables = Exact<{
6048
+ query: Scalars['String']['input'];
6435
6049
  limit?: InputMaybe<Scalars['Int']['input']>;
6436
- offset?: InputMaybe<Scalars['Int']['input']>;
6437
- }>;
6438
- export type ListExperimentsQuery = {
6439
- experiments: Array<{
6440
- id: string;
6441
- key: string;
6442
- name: string;
6443
- description?: string | null;
6444
- status: ExperimentStatus;
6445
- controlPercent: number;
6446
- isActive: boolean;
6447
- startDate?: string | null;
6448
- endDate?: string | null;
6449
- createdAt: string;
6450
- updatedAt: string;
6451
- }>;
6452
- };
6453
- export type GetExperimentQueryVariables = Exact<{
6454
- id: Scalars['ID']['input'];
6050
+ modelKeys?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
6051
+ includeMedia?: InputMaybe<Scalars['Boolean']['input']>;
6455
6052
  }>;
6456
- export type GetExperimentQuery = {
6457
- experiment?: {
6458
- id: string;
6459
- key: string;
6460
- name: string;
6461
- description?: string | null;
6462
- status: ExperimentStatus;
6463
- targeting: unknown;
6464
- controlPercent: number;
6465
- variants: unknown;
6466
- assignmentPersistence: string;
6467
- mutuallyExclusive: boolean;
6468
- exclusionGroupKey?: string | null;
6469
- startDate?: string | null;
6470
- endDate?: string | null;
6471
- metrics?: unknown | null;
6472
- isActive: boolean;
6473
- createdAt: string;
6474
- updatedAt: string;
6475
- goals?: Array<{
6053
+ export type GlobalSearchQuery = {
6054
+ globalSearch: {
6055
+ records: Array<{
6476
6056
  id: string;
6477
- key: string;
6478
- name: string;
6479
- isPrimary: boolean;
6480
- }> | null;
6481
- funnel?: {
6482
- steps: Array<{
6483
- key: string;
6484
- name: string;
6485
- order: number;
6486
- }>;
6487
- } | null;
6488
- } | null;
6489
- };
6490
- export type GetExperimentByKeyQueryVariables = Exact<{
6491
- key: Scalars['String']['input'];
6492
- }>;
6493
- export type GetExperimentByKeyQuery = {
6494
- experimentByKey?: {
6495
- id: string;
6496
- key: string;
6497
- name: string;
6498
- description?: string | null;
6499
- status: ExperimentStatus;
6500
- targeting: unknown;
6501
- controlPercent: number;
6502
- variants: unknown;
6503
- assignmentPersistence: string;
6504
- mutuallyExclusive: boolean;
6505
- exclusionGroupKey?: string | null;
6506
- startDate?: string | null;
6507
- endDate?: string | null;
6508
- metrics?: unknown | null;
6509
- isActive: boolean;
6510
- createdAt: string;
6511
- updatedAt: string;
6512
- goals?: Array<{
6057
+ modelKey: string;
6058
+ title: string;
6059
+ naturalKey: string;
6060
+ subtitle?: string | null;
6061
+ updatedAt: string;
6062
+ }>;
6063
+ media: Array<{
6513
6064
  id: string;
6514
- key: string;
6515
- name: string;
6516
- isPrimary: boolean;
6517
- }> | null;
6518
- funnel?: {
6519
- steps: Array<{
6520
- key: string;
6521
- name: string;
6522
- order: number;
6523
- }>;
6524
- } | null;
6525
- } | null;
6526
- };
6527
- export type CreateExperimentMutationVariables = Exact<{
6528
- input: CreateExperimentInput;
6529
- }>;
6530
- export type CreateExperimentMutation = {
6531
- createExperiment: {
6532
- id: string;
6533
- key: string;
6534
- name: string;
6535
- status: ExperimentStatus;
6536
- isActive: boolean;
6537
- createdAt: string;
6538
- };
6539
- };
6540
- export type UpdateExperimentMutationVariables = Exact<{
6541
- id: Scalars['ID']['input'];
6542
- input: UpdateExperimentInput;
6543
- }>;
6544
- export type UpdateExperimentMutation = {
6545
- updateExperiment: {
6546
- id: string;
6547
- key: string;
6548
- name: string;
6549
- status: ExperimentStatus;
6550
- isActive: boolean;
6551
- updatedAt: string;
6065
+ fileName: string;
6066
+ altText?: string | null;
6067
+ fileUrl: string;
6068
+ }>;
6552
6069
  };
6553
6070
  };
6554
- export type DeleteExperimentMutationVariables = Exact<{
6555
- id: Scalars['ID']['input'];
6556
- }>;
6557
- export type DeleteExperimentMutation = {
6558
- deleteExperiment: boolean;
6559
- };
6560
- export type StartExperimentMutationVariables = Exact<{
6561
- experimentId: Scalars['ID']['input'];
6562
- }>;
6563
- export type StartExperimentMutation = {
6564
- startExperiment?: {
6565
- id: string;
6566
- key: string;
6567
- name: string;
6568
- status: ExperimentStatus;
6569
- } | null;
6570
- };
6571
- export type PauseExperimentMutationVariables = Exact<{
6572
- experimentId: Scalars['ID']['input'];
6573
- }>;
6574
- export type PauseExperimentMutation = {
6575
- pauseExperiment?: {
6576
- id: string;
6577
- key: string;
6578
- name: string;
6579
- status: ExperimentStatus;
6580
- } | null;
6581
- };
6582
- export type ResumeExperimentMutationVariables = Exact<{
6583
- experimentId: Scalars['ID']['input'];
6584
- }>;
6585
- export type ResumeExperimentMutation = {
6586
- resumeExperiment?: {
6587
- id: string;
6588
- key: string;
6589
- name: string;
6590
- status: ExperimentStatus;
6591
- } | null;
6592
- };
6593
- export type EndExperimentMutationVariables = Exact<{
6594
- experimentId: Scalars['ID']['input'];
6595
- }>;
6596
- export type EndExperimentMutation = {
6597
- endExperiment?: {
6598
- id: string;
6599
- key: string;
6600
- name: string;
6601
- status: ExperimentStatus;
6602
- } | null;
6603
- };
6604
- export type ExperimentStatsQueryVariables = Exact<{
6605
- experimentId: Scalars['ID']['input'];
6606
- }>;
6607
- export type ExperimentStatsQuery = {
6608
- experimentStats?: {
6609
- totalAssignments: number;
6610
- updatedAt: string;
6611
- variantAssignments: Array<{
6612
- variantKey?: string | null;
6613
- variantName: string;
6614
- count: number;
6615
- percentage: number;
6616
- }>;
6617
- } | null;
6618
- };
6619
- export type ListExtensionsQueryVariables = Exact<{
6620
- extensionType?: InputMaybe<Scalars['String']['input']>;
6621
- enabled?: InputMaybe<Scalars['Boolean']['input']>;
6622
- limit?: InputMaybe<Scalars['Int']['input']>;
6623
- offset?: InputMaybe<Scalars['Int']['input']>;
6624
- }>;
6625
- export type ListExtensionsQuery = {
6626
- extensions: Array<{
6627
- id: string;
6628
- key: string;
6629
- extensionType: string;
6630
- direction: string;
6631
- name: string;
6632
- description?: string | null;
6633
- enabled: boolean;
6634
- syncStatus: string;
6635
- createdAt: string;
6636
- updatedAt: string;
6637
- }>;
6638
- };
6639
- export type GetExtensionQueryVariables = Exact<{
6640
- id: Scalars['ID']['input'];
6641
- }>;
6642
- export type GetExtensionQuery = {
6643
- extension?: {
6644
- id: string;
6645
- key: string;
6646
- extensionType: string;
6647
- direction: string;
6648
- name: string;
6649
- description?: string | null;
6650
- connectionDomain?: string | null;
6651
- connectionId?: string | null;
6652
- enabled: boolean;
6653
- environment: string;
6654
- syncStatus: string;
6655
- syncMetadata?: unknown | null;
6656
- features?: unknown | null;
6657
- config?: unknown | null;
6658
- webhooks?: unknown | null;
6659
- createdAt: string;
6660
- updatedAt: string;
6661
- } | null;
6662
- };
6663
- export type GetExtensionByKeyQueryVariables = Exact<{
6664
- key: Scalars['String']['input'];
6665
- }>;
6666
- export type GetExtensionByKeyQuery = {
6667
- extensionByKey?: {
6668
- id: string;
6669
- key: string;
6670
- extensionType: string;
6671
- direction: string;
6672
- name: string;
6673
- description?: string | null;
6674
- connectionDomain?: string | null;
6675
- connectionId?: string | null;
6676
- enabled: boolean;
6677
- environment: string;
6678
- syncStatus: string;
6679
- syncMetadata?: unknown | null;
6680
- features?: unknown | null;
6681
- config?: unknown | null;
6682
- webhooks?: unknown | null;
6683
- createdAt: string;
6684
- updatedAt: string;
6685
- } | null;
6686
- };
6687
- export type RegisterExtensionMutationVariables = Exact<{
6688
- input: RegisterExtensionInput;
6689
- }>;
6690
- export type RegisterExtensionMutation = {
6691
- registerExtension: {
6692
- id: string;
6693
- key: string;
6694
- name: string;
6695
- extensionType: string;
6696
- enabled: boolean;
6697
- createdAt: string;
6698
- };
6699
- };
6700
- export type TriggerExtensionSyncMutationVariables = Exact<{
6701
- extensionId: Scalars['ID']['input'];
6702
- }>;
6703
- export type TriggerExtensionSyncMutation = {
6704
- triggerExtensionSync: {
6705
- success: boolean;
6706
- error?: string | null;
6707
- results?: unknown | null;
6708
- };
6709
- };
6710
- export type InstallExtensionMutationVariables = Exact<{
6711
- input: InstallExtensionInput;
6712
- }>;
6713
- export type InstallExtensionMutation = {
6714
- installExtension: {
6715
- extensionId: string;
6716
- extensionKey: string;
6717
- modelsCreated: number;
6718
- modelsUpdated: number;
6719
- operationsCreated: number;
6720
- operationsUpdated: number;
6721
- isUpdate: boolean;
6722
- credentials?: {
6723
- platformApiKey: string;
6724
- platformEditorKey: string;
6725
- webhookSecret: string;
6726
- } | null;
6727
- };
6728
- };
6729
- export type UnregisterExtensionMutationVariables = Exact<{
6730
- id: Scalars['ID']['input'];
6731
- }>;
6732
- export type UnregisterExtensionMutation = {
6733
- unregisterExtension: boolean;
6734
- };
6735
- export type ListFilesQueryVariables = Exact<{
6736
- folder?: InputMaybe<Scalars['String']['input']>;
6737
- mimeType?: InputMaybe<Scalars['String']['input']>;
6738
- status?: InputMaybe<FileStatus>;
6739
- search?: InputMaybe<Scalars['String']['input']>;
6740
- limit?: InputMaybe<Scalars['Int']['input']>;
6741
- offset?: InputMaybe<Scalars['Int']['input']>;
6742
- }>;
6743
- export type ListFilesQuery = {
6744
- files: {
6745
- total: number;
6746
- files: Array<{
6747
- id: string;
6748
- filename: string;
6749
- mimeType: string;
6750
- size: number;
6751
- folder?: string | null;
6752
- url: string;
6753
- status: FileStatus;
6754
- tags: Array<string>;
6755
- createdAt: string;
6756
- updatedAt: string;
6757
- }>;
6758
- };
6759
- };
6760
- export type GetFileQueryVariables = Exact<{
6761
- id: Scalars['ID']['input'];
6762
- }>;
6763
- export type GetFileQuery = {
6764
- file?: {
6765
- id: string;
6766
- filename: string;
6767
- mimeType: string;
6768
- size: number;
6769
- folder?: string | null;
6770
- url: string;
6771
- storageKey: string;
6772
- status: FileStatus;
6773
- tags: Array<string>;
6774
- metadata?: unknown | null;
6775
- altText?: string | null;
6776
- caption?: string | null;
6777
- description?: string | null;
6778
- createdAt: string;
6779
- updatedAt: string;
6780
- } | null;
6781
- };
6782
- export type FileStorageUsageQueryVariables = Exact<{
6783
- [key: string]: never;
6784
- }>;
6785
- export type FileStorageUsageQuery = {
6786
- fileStorageUsage: {
6787
- totalFiles: number;
6788
- totalBytes: number;
6789
- imageCount?: number | null;
6790
- imageBytes?: number | null;
6791
- videoCount?: number | null;
6792
- videoBytes?: number | null;
6793
- documentCount?: number | null;
6794
- documentBytes?: number | null;
6795
- };
6796
- };
6797
- export type UpdateFileMutationVariables = Exact<{
6798
- id: Scalars['ID']['input'];
6799
- filename?: InputMaybe<Scalars['String']['input']>;
6800
- folder?: InputMaybe<Scalars['String']['input']>;
6801
- tags?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
6802
- status?: InputMaybe<FileStatus>;
6803
- metadata?: InputMaybe<Scalars['JSON']['input']>;
6804
- }>;
6805
- export type UpdateFileMutation = {
6806
- updateFile: {
6807
- id: string;
6808
- filename: string;
6809
- folder?: string | null;
6810
- tags: Array<string>;
6811
- status: FileStatus;
6812
- updatedAt: string;
6813
- };
6814
- };
6815
- export type UpdateFileMetadataMutationVariables = Exact<{
6816
- id: Scalars['ID']['input'];
6817
- altText?: InputMaybe<Scalars['String']['input']>;
6818
- caption?: InputMaybe<Scalars['String']['input']>;
6819
- description?: InputMaybe<Scalars['String']['input']>;
6820
- }>;
6821
- export type UpdateFileMetadataMutation = {
6822
- updateFileMetadata: {
6823
- id: string;
6824
- altText?: string | null;
6825
- caption?: string | null;
6826
- description?: string | null;
6827
- updatedAt: string;
6828
- };
6829
- };
6830
- export type DeleteFileMutationVariables = Exact<{
6831
- id: Scalars['ID']['input'];
6832
- }>;
6833
- export type DeleteFileMutation = {
6834
- deleteFile: boolean;
6835
- };
6836
- export type ListHooksQueryVariables = Exact<{
6837
- event?: InputMaybe<HookEvent>;
6838
- isActive?: InputMaybe<Scalars['Boolean']['input']>;
6839
- limit?: InputMaybe<Scalars['Int']['input']>;
6840
- offset?: InputMaybe<Scalars['Int']['input']>;
6841
- }>;
6842
- export type ListHooksQuery = {
6843
- hooks: {
6844
- total: number;
6845
- items: Array<{
6846
- id: string;
6847
- key: string;
6848
- name: string;
6849
- event: HookEvent;
6850
- targetType: string;
6851
- operationKey?: string | null;
6852
- notificationConfig?: unknown | null;
6853
- isActive: boolean;
6854
- extensionId?: string | null;
6855
- updatedAt: string;
6856
- filter?: {
6857
- modelKey?: string | null;
6858
- customerSegmentKey?: string | null;
6859
- condition?: unknown | null;
6860
- } | null;
6861
- }>;
6862
- };
6863
- };
6864
- export type GetHookByKeyQueryVariables = Exact<{
6865
- key: Scalars['String']['input'];
6866
- }>;
6867
- export type GetHookByKeyQuery = {
6868
- hookByKey?: {
6869
- id: string;
6870
- key: string;
6871
- name: string;
6872
- description?: string | null;
6873
- event: HookEvent;
6874
- targetType: string;
6875
- operationKey?: string | null;
6876
- notificationConfig?: unknown | null;
6877
- isActive: boolean;
6878
- extensionId?: string | null;
6879
- createdAt: string;
6880
- updatedAt: string;
6881
- filter?: {
6882
- modelKey?: string | null;
6883
- customerSegmentKey?: string | null;
6884
- metadata?: unknown | null;
6885
- condition?: unknown | null;
6886
- } | null;
6887
- } | null;
6888
- };
6889
- export type CreateHookMutationVariables = Exact<{
6890
- input: CreateHookInput;
6891
- }>;
6892
- export type CreateHookMutation = {
6893
- createHook: {
6894
- id: string;
6895
- key: string;
6896
- name: string;
6897
- event: HookEvent;
6898
- targetType: string;
6899
- operationKey?: string | null;
6900
- notificationConfig?: unknown | null;
6901
- isActive: boolean;
6902
- createdAt: string;
6903
- };
6904
- };
6905
- export type UpdateHookMutationVariables = Exact<{
6906
- id: Scalars['ID']['input'];
6907
- input: UpdateHookInput;
6908
- }>;
6909
- export type UpdateHookMutation = {
6910
- updateHook: {
6911
- id: string;
6912
- key: string;
6913
- name: string;
6914
- event: HookEvent;
6915
- targetType: string;
6916
- operationKey?: string | null;
6917
- notificationConfig?: unknown | null;
6918
- isActive: boolean;
6919
- updatedAt: string;
6920
- };
6921
- };
6922
- export type DeleteHookMutationVariables = Exact<{
6923
- id: Scalars['ID']['input'];
6924
- }>;
6925
- export type DeleteHookMutation = {
6926
- deleteHook: boolean;
6927
- };
6928
- export type HookDeliveriesQueryVariables = Exact<{
6929
- hookId?: InputMaybe<Scalars['ID']['input']>;
6930
- event?: InputMaybe<HookEvent>;
6931
- status?: InputMaybe<HookDeliveryStatus>;
6932
- limit?: InputMaybe<Scalars['Int']['input']>;
6933
- offset?: InputMaybe<Scalars['Int']['input']>;
6934
- }>;
6935
- export type HookDeliveriesQuery = {
6936
- hookDeliveries: {
6937
- total: number;
6938
- items: Array<{
6939
- id: string;
6940
- hookId: string;
6941
- event: HookEvent;
6942
- status: HookDeliveryStatus;
6943
- error?: string | null;
6944
- attempts: number;
6945
- durationMs?: number | null;
6946
- deliveredAt: string;
6947
- createdAt: string;
6948
- }>;
6949
- };
6950
- };
6951
- export type RetryHookDeliveryMutationVariables = Exact<{
6952
- deliveryId: Scalars['ID']['input'];
6953
- }>;
6954
- export type RetryHookDeliveryMutation = {
6955
- retryHookDelivery: {
6956
- id: string;
6957
- hookId: string;
6958
- event: HookEvent;
6959
- status: HookDeliveryStatus;
6960
- attempts: number;
6961
- deliveredAt: string;
6962
- };
6963
- };
6964
- export type TestHookMutationVariables = Exact<{
6965
- hookId: Scalars['ID']['input'];
6966
- data?: InputMaybe<Scalars['JSON']['input']>;
6967
- }>;
6968
- export type TestHookMutation = {
6969
- testHook: {
6970
- id: string;
6971
- hookId: string;
6972
- event: HookEvent;
6973
- status: HookDeliveryStatus;
6974
- payload: unknown;
6975
- attempts: number;
6976
- deliveredAt: string;
6977
- };
6978
- };
6979
- export type ListLocalesQueryVariables = Exact<{
6980
- includeInactive?: InputMaybe<Scalars['Boolean']['input']>;
6981
- limit?: InputMaybe<Scalars['Int']['input']>;
6982
- offset?: InputMaybe<Scalars['Int']['input']>;
6983
- }>;
6984
- export type ListLocalesQuery = {
6985
- locales: Array<{
6986
- id: string;
6987
- locale: string;
6988
- displayName: string;
6989
- nativeName?: string | null;
6990
- isDefault: boolean;
6991
- isActive: boolean;
6992
- isRtl: boolean;
6993
- fallbackLocale?: string | null;
6994
- createdAt: string;
6995
- updatedAt: string;
6996
- }>;
6997
- };
6998
- export type GetLocaleQueryVariables = Exact<{
6999
- id: Scalars['ID']['input'];
7000
- }>;
7001
- export type GetLocaleQuery = {
7002
- locale?: {
7003
- id: string;
7004
- locale: string;
7005
- displayName: string;
7006
- nativeName?: string | null;
7007
- isDefault: boolean;
7008
- isActive: boolean;
7009
- isRtl: boolean;
7010
- fallbackLocale?: string | null;
7011
- createdAt: string;
7012
- updatedAt: string;
7013
- } | null;
7014
- };
7015
- export type GetLocaleByCodeQueryVariables = Exact<{
7016
- code: Scalars['String']['input'];
7017
- }>;
7018
- export type GetLocaleByCodeQuery = {
7019
- localeByCode?: {
7020
- id: string;
7021
- locale: string;
7022
- displayName: string;
7023
- nativeName?: string | null;
7024
- isDefault: boolean;
7025
- isActive: boolean;
7026
- isRtl: boolean;
7027
- fallbackLocale?: string | null;
7028
- createdAt: string;
7029
- updatedAt: string;
7030
- } | null;
7031
- };
7032
- export type GetDefaultLocaleQueryVariables = Exact<{
7033
- [key: string]: never;
7034
- }>;
7035
- export type GetDefaultLocaleQuery = {
7036
- defaultLocale?: {
7037
- id: string;
7038
- locale: string;
7039
- displayName: string;
7040
- nativeName?: string | null;
7041
- isDefault: boolean;
7042
- isActive: boolean;
7043
- isRtl: boolean;
7044
- createdAt: string;
7045
- } | null;
7046
- };
7047
- export type CreateLocaleMutationVariables = Exact<{
7048
- input: CreateLocaleInput;
7049
- }>;
7050
- export type CreateLocaleMutation = {
7051
- createLocale: {
7052
- id: string;
7053
- locale: string;
7054
- displayName: string;
7055
- isDefault: boolean;
7056
- isActive: boolean;
7057
- createdAt: string;
7058
- };
7059
- };
7060
- export type UpdateLocaleMutationVariables = Exact<{
7061
- id: Scalars['ID']['input'];
7062
- input: UpdateLocaleInput;
7063
- }>;
7064
- export type UpdateLocaleMutation = {
7065
- updateLocale: {
7066
- id: string;
7067
- locale: string;
7068
- displayName: string;
7069
- isDefault: boolean;
7070
- isActive: boolean;
7071
- updatedAt: string;
7072
- };
7073
- };
7074
- export type DeleteLocaleMutationVariables = Exact<{
7075
- id: Scalars['ID']['input'];
7076
- }>;
7077
- export type DeleteLocaleMutation = {
7078
- deleteLocale: boolean;
7079
- };
7080
- export type ModelsForCodegenQueryVariables = Exact<{
7081
- limit?: InputMaybe<Scalars['Int']['input']>;
7082
- }>;
7083
- export type ModelsForCodegenQuery = {
7084
- models: {
7085
- total: number;
7086
- items: Array<{
7087
- id: string;
7088
- key: string;
7089
- name: string;
7090
- pluralName?: string | null;
7091
- description?: string | null;
7092
- category?: string | null;
7093
- fields: unknown;
7094
- config: unknown;
7095
- hooks?: unknown | null;
7096
- }>;
7097
- };
7098
- };
7099
- export type GetModelByKeyQueryVariables = Exact<{
7100
- key: Scalars['String']['input'];
7101
- }>;
7102
- export type GetModelByKeyQuery = {
7103
- modelByKey?: {
7104
- id: string;
7105
- key: string;
7106
- name: string;
7107
- pluralName?: string | null;
7108
- description?: string | null;
7109
- category?: string | null;
7110
- icon?: string | null;
7111
- fields: unknown;
7112
- config: unknown;
7113
- hooks?: unknown | null;
7114
- displayField?: string | null;
7115
- extensionId?: string | null;
7116
- systemEntity: boolean;
7117
- deletable: boolean;
7118
- editable: boolean;
7119
- currentVersionId?: string | null;
7120
- publishedVersionNumber?: number | null;
7121
- createdAt: string;
7122
- updatedAt: string;
7123
- } | null;
7124
- };
7125
- export type ListModelsQueryVariables = Exact<{
7126
- search?: InputMaybe<Scalars['String']['input']>;
7127
- category?: InputMaybe<Scalars['String']['input']>;
7128
- limit?: InputMaybe<Scalars['Int']['input']>;
7129
- offset?: InputMaybe<Scalars['Int']['input']>;
7130
- }>;
7131
- export type ListModelsQuery = {
7132
- models: {
7133
- total: number;
7134
- items: Array<{
7135
- id: string;
7136
- key: string;
7137
- name: string;
7138
- category?: string | null;
7139
- config: unknown;
7140
- systemEntity: boolean;
7141
- createdAt: string;
7142
- updatedAt: string;
7143
- }>;
7144
- };
7145
- };
7146
- export type CreateModelMutationVariables = Exact<{
7147
- input: CreateModelInput;
7148
- }>;
7149
- export type CreateModelMutation = {
7150
- createModel: {
7151
- id: string;
7152
- key: string;
7153
- name: string;
7154
- fields: unknown;
7155
- config: unknown;
7156
- createdAt: string;
7157
- };
7158
- };
7159
- export type UpdateModelMutationVariables = Exact<{
7160
- input: UpdateModelInput;
7161
- }>;
7162
- export type UpdateModelMutation = {
7163
- updateModel: {
7164
- id: string;
7165
- key: string;
7166
- name: string;
7167
- fields: unknown;
7168
- config: unknown;
7169
- updatedAt: string;
7170
- };
7171
- };
7172
- export type DeleteModelMutationVariables = Exact<{
7173
- id: Scalars['ID']['input'];
7174
- }>;
7175
- export type DeleteModelMutation = {
7176
- deleteModel: boolean;
7177
- };
7178
- export type ModelVersionsQueryVariables = Exact<{
7179
- modelId: Scalars['ID']['input'];
7180
- limit?: InputMaybe<Scalars['Int']['input']>;
7181
- offset?: InputMaybe<Scalars['Int']['input']>;
7182
- }>;
7183
- export type ModelVersionsQuery = {
7184
- modelVersions: {
7185
- items: Array<{
7186
- id: string;
7187
- modelId: string;
7188
- versionNumber: number;
7189
- contentHash: string;
7190
- changeDescription?: string | null;
7191
- createdAt: string;
7192
- createdBy?: string | null;
7193
- }>;
7194
- };
7195
- };
7196
- export type ListNotesQueryVariables = Exact<{
7197
- entityType: Scalars['String']['input'];
7198
- entityId: Scalars['ID']['input'];
7199
- includeResolved?: InputMaybe<Scalars['Boolean']['input']>;
7200
- limit?: InputMaybe<Scalars['Int']['input']>;
7201
- offset?: InputMaybe<Scalars['Int']['input']>;
7202
- }>;
7203
- export type ListNotesQuery = {
7204
- notes: {
7205
- total: number;
7206
- items: Array<{
7207
- id: string;
7208
- content: unknown;
7209
- entityType: string;
7210
- entityId: string;
7211
- isResolved: boolean;
7212
- resolvedAt?: string | null;
7213
- createdAt: string;
7214
- author?: {
7215
- id: string;
7216
- email: string;
7217
- } | null;
7218
- resolvedBy?: {
7219
- id: string;
7220
- email: string;
7221
- } | null;
7222
- parentNote?: {
7223
- id: string;
7224
- } | null;
7225
- }>;
7226
- };
7227
- };
7228
- export type GetNoteQueryVariables = Exact<{
7229
- id: Scalars['ID']['input'];
7230
- }>;
7231
- export type GetNoteQuery = {
7232
- note?: {
7233
- id: string;
7234
- content: unknown;
7235
- entityType: string;
7236
- entityId: string;
7237
- isResolved: boolean;
7238
- resolvedAt?: string | null;
7239
- createdAt: string;
7240
- author?: {
7241
- id: string;
7242
- email: string;
7243
- } | null;
7244
- resolvedBy?: {
7245
- id: string;
7246
- email: string;
7247
- } | null;
7248
- parentNote?: {
7249
- id: string;
7250
- } | null;
7251
- mentions: Array<{
7252
- id: string;
7253
- status: MentionStatus;
7254
- mentionedUser: {
7255
- id: string;
7256
- email: string;
7257
- };
7258
- }>;
7259
- } | null;
7260
- };
7261
- export type CreateNoteMutationVariables = Exact<{
7262
- input: CreateNoteInput;
7263
- }>;
7264
- export type CreateNoteMutation = {
7265
- createNote: {
7266
- id: string;
7267
- content: unknown;
7268
- entityType: string;
7269
- entityId: string;
7270
- createdAt: string;
7271
- author?: {
7272
- id: string;
7273
- email: string;
7274
- } | null;
7275
- };
7276
- };
7277
- export type ResolveNoteMutationVariables = Exact<{
7278
- input: ResolveNoteInput;
7279
- }>;
7280
- export type ResolveNoteMutation = {
7281
- resolveNote: {
7282
- id: string;
7283
- isResolved: boolean;
7284
- resolvedAt?: string | null;
7285
- resolvedBy?: {
7286
- id: string;
7287
- email: string;
7288
- } | null;
7289
- };
7290
- };
7291
- export type DeleteNoteMutationVariables = Exact<{
7292
- noteId: Scalars['ID']['input'];
7293
- }>;
7294
- export type DeleteNoteMutation = {
7295
- deleteNote: boolean;
7296
- };
7297
- export type ListNotificationsQueryVariables = Exact<{
7298
- unreadOnly?: InputMaybe<Scalars['Boolean']['input']>;
7299
- limit?: InputMaybe<Scalars['Int']['input']>;
7300
- offset?: InputMaybe<Scalars['Int']['input']>;
7301
- }>;
7302
- export type ListNotificationsQuery = {
7303
- notifications: {
7304
- total: number;
7305
- unreadCount: number;
7306
- hasMore: boolean;
7307
- items: Array<{
7308
- id: string;
7309
- type: NotificationType;
7310
- title: string;
7311
- message?: string | null;
7312
- isRead: boolean;
7313
- actionUrl?: string | null;
7314
- createdAt: string;
7315
- }>;
7316
- };
7317
- };
7318
- export type MarkNotificationReadMutationVariables = Exact<{
7319
- id: Scalars['ID']['input'];
7320
- }>;
7321
- export type MarkNotificationReadMutation = {
7322
- markNotificationRead: {
7323
- id: string;
7324
- isRead: boolean;
7325
- readAt?: string | null;
7326
- };
7327
- };
7328
- export type MarkAllNotificationsReadMutationVariables = Exact<{
7329
- [key: string]: never;
7330
- }>;
7331
- export type MarkAllNotificationsReadMutation = {
7332
- markAllNotificationsRead: number;
7333
- };
7334
- export type ListOperationsQueryVariables = Exact<{
7335
- category?: InputMaybe<Scalars['String']['input']>;
7336
- isActive?: InputMaybe<Scalars['Boolean']['input']>;
7337
- search?: InputMaybe<Scalars['String']['input']>;
7338
- limit?: InputMaybe<Scalars['Int']['input']>;
7339
- offset?: InputMaybe<Scalars['Int']['input']>;
7340
- }>;
7341
- export type ListOperationsQuery = {
7342
- operations: {
7343
- total: number;
7344
- items: Array<{
7345
- id: string;
7346
- key: string;
7347
- name: string;
7348
- description?: string | null;
7349
- category?: string | null;
7350
- endpoint: string;
7351
- isActive: boolean;
7352
- createdAt: string;
7353
- updatedAt: string;
7354
- }>;
7355
- };
7356
- };
7357
- export type GetOperationQueryVariables = Exact<{
7358
- key: Scalars['String']['input'];
7359
- }>;
7360
- export type GetOperationQuery = {
7361
- operation?: {
7362
- id: string;
7363
- key: string;
7364
- name: string;
7365
- description?: string | null;
7366
- icon?: string | null;
7367
- category?: string | null;
7368
- endpoint: string;
7369
- endpointAuth?: unknown | null;
7370
- timeoutMs: number;
7371
- retryPolicy?: unknown | null;
7372
- models?: Array<string> | null;
7373
- inputSchema?: unknown | null;
7374
- outputSchema?: unknown | null;
7375
- ui?: unknown | null;
7376
- isActive: boolean;
7377
- allowedRoles: Array<string>;
7378
- createdAt: string;
7379
- updatedAt: string;
7380
- streamConfig?: {
7381
- chunkTimeoutMs: number;
7382
- maxDurationMs: number;
7383
- } | null;
7384
- circuitState?: {
7385
- endpoint: string;
7386
- state: CircuitBreakerState;
7387
- consecutiveFailures: number;
7388
- lastFailureTime?: string | null;
7389
- } | null;
7390
- } | null;
7391
- };
7392
- export type ExecuteOperationMutationVariables = Exact<{
7393
- input: ExecuteOperationInput;
7394
- }>;
7395
- export type ExecuteOperationMutation = {
7396
- executeOperation: {
7397
- success: boolean;
7398
- result?: unknown | null;
7399
- executionId: string;
7400
- durationMs?: number | null;
7401
- metadata?: unknown | null;
7402
- error?: {
7403
- code: string;
7404
- message: string;
7405
- } | null;
7406
- };
7407
- };
7408
- export type OperationExecutionStatsQueryVariables = Exact<{
7409
- operationKey: Scalars['String']['input'];
7410
- }>;
7411
- export type OperationExecutionStatsQuery = {
7412
- operationExecutionStats: {
7413
- totalExecutions: number;
7414
- successCount: number;
7415
- failureCount: number;
7416
- avgDurationMs?: number | null;
7417
- lastExecutedAt?: string | null;
7418
- };
7419
- };
7420
- export type DeadLetterOperationsQueryVariables = Exact<{
7421
- operationKey?: InputMaybe<Scalars['String']['input']>;
7422
- status?: InputMaybe<DeadLetterStatus>;
7423
- limit?: InputMaybe<Scalars['Int']['input']>;
7424
- offset?: InputMaybe<Scalars['Int']['input']>;
7425
- }>;
7426
- export type DeadLetterOperationsQuery = {
7427
- deadLetterOperations: {
7428
- total: number;
7429
- items: Array<{
7430
- id: string;
7431
- operationKey: string;
7432
- executionId?: string | null;
7433
- attempts: number;
7434
- lastError: string;
7435
- errorCode?: string | null;
7436
- status: DeadLetterStatus;
7437
- failedAt: string;
7438
- createdAt: string;
7439
- }>;
7440
- };
7441
- };
7442
- export type RetryDeadLetterMutationVariables = Exact<{
7443
- id: Scalars['ID']['input'];
7444
- }>;
7445
- export type RetryDeadLetterMutation = {
7446
- retryDeadLetterOperation: {
7447
- success: boolean;
7448
- result?: unknown | null;
7449
- executionId: string;
7450
- durationMs?: number | null;
7451
- error?: {
7452
- code: string;
7453
- message: string;
7454
- } | null;
7455
- };
7456
- };
7457
- export type DismissDeadLetterMutationVariables = Exact<{
7458
- id: Scalars['ID']['input'];
7459
- }>;
7460
- export type DismissDeadLetterMutation = {
7461
- dismissDeadLetterOperation: {
7462
- id: string;
7463
- status: DeadLetterStatus;
7464
- dismissedAt?: string | null;
7465
- };
7466
- };
7467
- export type CreateOperationMutationVariables = Exact<{
7468
- input: CreateOperationInput;
7469
- }>;
7470
- export type CreateOperationMutation = {
7471
- createOperation: {
7472
- id: string;
7473
- key: string;
7474
- name: string;
7475
- category?: string | null;
7476
- endpoint: string;
7477
- isActive: boolean;
7478
- createdAt: string;
7479
- };
7480
- };
7481
- export type UpdateOperationMutationVariables = Exact<{
7482
- key: Scalars['String']['input'];
7483
- input: UpdateOperationInput;
7484
- }>;
7485
- export type UpdateOperationMutation = {
7486
- updateOperation: {
7487
- id: string;
7488
- key: string;
7489
- name: string;
7490
- category?: string | null;
7491
- endpoint: string;
7492
- isActive: boolean;
7493
- updatedAt: string;
7494
- };
7495
- };
7496
- export type DeleteOperationMutationVariables = Exact<{
7497
- key: Scalars['String']['input'];
7498
- }>;
7499
- export type DeleteOperationMutation = {
7500
- deleteOperation: boolean;
7501
- };
7502
- export type GetRecordQueryVariables = Exact<{
7503
- id: Scalars['ID']['input'];
7504
- }>;
7505
- export type GetRecordQuery = {
7506
- record?: {
7507
- id: string;
7508
- modelKey: string;
7509
- naturalKey?: string | null;
7510
- data?: unknown | null;
7511
- metadata?: unknown | null;
7512
- publishedVersionNumber?: number | null;
7513
- publishedAt?: string | null;
7514
- versionNumber?: number | null;
7515
- changeDescription?: string | null;
7516
- createdAt: string;
7517
- updatedAt: string;
7518
- } | null;
7519
- };
7520
- export type GetRecordResolvedQueryVariables = Exact<{
7521
- id: Scalars['ID']['input'];
7522
- locale?: InputMaybe<Scalars['String']['input']>;
7523
- preview?: InputMaybe<Scalars['Boolean']['input']>;
7524
- }>;
7525
- export type GetRecordResolvedQuery = {
7526
- record?: {
7527
- id: string;
7528
- modelKey: string;
7529
- naturalKey?: string | null;
7530
- data?: unknown | null;
7531
- metadata?: unknown | null;
7532
- publishedVersionNumber?: number | null;
7533
- publishedAt?: string | null;
7534
- versionNumber?: number | null;
7535
- changeDescription?: string | null;
7536
- createdAt: string;
7537
- updatedAt: string;
7538
- resolved?: {
7539
- content: unknown;
7540
- record: {
7541
- id: string;
7542
- modelKey: string;
7543
- naturalKey?: string | null;
7544
- };
7545
- variant?: {
7546
- id: string;
7547
- variantKey: string;
7548
- } | null;
7549
- version?: {
7550
- id: string;
7551
- versionNumber: number;
7552
- } | null;
7553
- } | null;
7554
- } | null;
7555
- };
7556
- export type GetRecordByKeyQueryVariables = Exact<{
7557
- modelKey: Scalars['String']['input'];
7558
- naturalKey: Scalars['String']['input'];
7559
- }>;
7560
- export type GetRecordByKeyQuery = {
7561
- recordByKey?: {
7562
- id: string;
7563
- modelKey: string;
7564
- naturalKey?: string | null;
7565
- data?: unknown | null;
7566
- metadata?: unknown | null;
7567
- publishedVersionNumber?: number | null;
7568
- publishedAt?: string | null;
7569
- versionNumber?: number | null;
7570
- changeDescription?: string | null;
7571
- createdAt: string;
7572
- updatedAt: string;
7573
- } | null;
7574
- };
7575
- export type GetRecordByKeyResolvedQueryVariables = Exact<{
7576
- modelKey: Scalars['String']['input'];
7577
- naturalKey: Scalars['String']['input'];
7578
- locale?: InputMaybe<Scalars['String']['input']>;
7579
- preview?: InputMaybe<Scalars['Boolean']['input']>;
7580
- }>;
7581
- export type GetRecordByKeyResolvedQuery = {
7582
- recordByKey?: {
7583
- id: string;
7584
- modelKey: string;
7585
- naturalKey?: string | null;
7586
- data?: unknown | null;
7587
- metadata?: unknown | null;
7588
- publishedVersionNumber?: number | null;
7589
- publishedAt?: string | null;
7590
- versionNumber?: number | null;
7591
- changeDescription?: string | null;
7592
- createdAt: string;
7593
- updatedAt: string;
7594
- resolved?: {
7595
- content: unknown;
7596
- record: {
7597
- id: string;
7598
- modelKey: string;
7599
- naturalKey?: string | null;
7600
- };
7601
- variant?: {
7602
- id: string;
7603
- variantKey: string;
7604
- } | null;
7605
- version?: {
7606
- id: string;
7607
- versionNumber: number;
7608
- } | null;
7609
- } | null;
7610
- } | null;
7611
- };
7612
- export type ListRecordsQueryVariables = Exact<{
7613
- modelKey: Scalars['String']['input'];
7614
- limit?: InputMaybe<Scalars['Int']['input']>;
7615
- offset?: InputMaybe<Scalars['Int']['input']>;
7616
- filters?: InputMaybe<Array<FilterInput> | FilterInput>;
7617
- sort?: InputMaybe<SortInput>;
7618
- }>;
7619
- export type ListRecordsQuery = {
7620
- records: {
7621
- total: number;
7622
- items: Array<{
7623
- id: string;
7624
- modelKey: string;
7625
- naturalKey?: string | null;
7626
- versionNumber?: number | null;
7627
- createdAt: string;
7628
- updatedAt: string;
7629
- }>;
7630
- };
7631
- };
7632
- export type CreateRecordMutationVariables = Exact<{
7633
- input: CreateRecordInput;
7634
- }>;
7635
- export type CreateRecordMutation = {
7636
- createRecord: {
7637
- record: {
7638
- id: string;
7639
- modelKey: string;
7640
- naturalKey?: string | null;
7641
- data?: unknown | null;
7642
- metadata?: unknown | null;
7643
- createdAt: string;
7644
- };
7645
- };
7646
- };
7647
- export type UpdateRecordMutationVariables = Exact<{
7648
- input: UpdateRecordInput;
7649
- }>;
7650
- export type UpdateRecordMutation = {
7651
- updateRecord: {
7652
- matched: boolean;
7653
- record?: {
7654
- id: string;
7655
- modelKey: string;
7656
- naturalKey?: string | null;
7657
- data?: unknown | null;
7658
- metadata?: unknown | null;
7659
- updatedAt: string;
7660
- } | null;
7661
- };
7662
- };
7663
- export type DeleteRecordMutationVariables = Exact<{
7664
- id: Scalars['ID']['input'];
7665
- }>;
7666
- export type DeleteRecordMutation = {
7667
- deleteRecord: {
7668
- id: string;
7669
- modelKey: string;
7670
- naturalKey?: string | null;
7671
- };
7672
- };
7673
- export type PublishVersionMutationVariables = Exact<{
7674
- versionId: Scalars['ID']['input'];
7675
- }>;
7676
- export type PublishVersionMutation = {
7677
- publishVersion: boolean;
7678
- };
7679
- export type UnpublishRecordMutationVariables = Exact<{
7680
- id: Scalars['ID']['input'];
7681
- }>;
7682
- export type UnpublishRecordMutation = {
7683
- unpublishRecord: boolean;
7684
- };
7685
- export type DuplicateRecordMutationVariables = Exact<{
7686
- input: DuplicateRecordInput;
7687
- }>;
7688
- export type DuplicateRecordMutation = {
7689
- duplicateRecord: {
7690
- record: {
7691
- id: string;
7692
- modelKey: string;
7693
- naturalKey?: string | null;
7694
- };
7695
- variant?: {
7696
- id: string;
7697
- variantKey?: string | null;
7698
- } | null;
7699
- version?: {
7700
- id: string;
7701
- versionNumber?: number | null;
7702
- } | null;
7703
- };
7704
- };
7705
- export type CreateVersionMutationVariables = Exact<{
7706
- input: CreateVersionInput;
7707
- }>;
7708
- export type CreateVersionMutation = {
7709
- createVersion: {
7710
- id: string;
7711
- modelKey: string;
7712
- recordType: string;
7713
- parentId?: string | null;
7714
- data?: unknown | null;
7715
- metadata?: unknown | null;
7716
- versionNumber?: number | null;
7717
- contentHash?: string | null;
7718
- changeDescription?: string | null;
7719
- publishStatus?: string | null;
7720
- createdAt: string;
7721
- };
7722
- };
7723
- export type CreateVariantMutationVariables = Exact<{
7724
- input: CreateVariantInput;
7725
- }>;
7726
- export type CreateVariantMutation = {
7727
- createVariant: {
7728
- id: string;
7729
- modelKey: string;
7730
- recordType: string;
7731
- parentId?: string | null;
7732
- variantKey?: string | null;
7733
- variantName?: string | null;
7734
- isDefault?: boolean | null;
7735
- priority?: number | null;
7736
- createdAt: string;
7737
- };
7738
- };
7739
- export type RecordVersionsQueryVariables = Exact<{
7740
- parentId: Scalars['ID']['input'];
7741
- limit?: InputMaybe<Scalars['Int']['input']>;
7742
- offset?: InputMaybe<Scalars['Int']['input']>;
7743
- }>;
7744
- export type RecordVersionsQuery = {
7745
- recordVersions: {
7746
- items: Array<{
7747
- id: string;
7748
- versionNumber?: number | null;
7749
- data?: unknown | null;
7750
- changeDescription?: string | null;
7751
- createdAt: string;
7752
- }>;
7753
- };
7754
- };
7755
- export type RecordVariantsQueryVariables = Exact<{
7756
- recordId: Scalars['ID']['input'];
7757
- limit?: InputMaybe<Scalars['Int']['input']>;
7758
- offset?: InputMaybe<Scalars['Int']['input']>;
7759
- }>;
7760
- export type RecordVariantsQuery = {
7761
- recordVariants: {
7762
- items: Array<{
7763
- id: string;
7764
- variantKey?: string | null;
7765
- variantName?: string | null;
7766
- isDefault?: boolean | null;
7767
- priority?: number | null;
7768
- createdAt: string;
7769
- }>;
7770
- };
7771
- };
7772
- export type ListSchedulesQueryVariables = Exact<{
7773
- isActive?: InputMaybe<Scalars['Boolean']['input']>;
7774
- limit?: InputMaybe<Scalars['Int']['input']>;
7775
- offset?: InputMaybe<Scalars['Int']['input']>;
7776
- }>;
7777
- export type ListSchedulesQuery = {
7778
- schedules: {
7779
- total: number;
7780
- items: Array<{
7781
- id: string;
7782
- key: string;
7783
- name: string;
7784
- cron: string;
7785
- cronDescription?: string | null;
7786
- timezone: string;
7787
- isActive: boolean;
7788
- lastRunAt?: string | null;
7789
- lastRunStatus?: ScheduleRunStatus | null;
7790
- nextRunAt?: string | null;
7791
- runCount: number;
7792
- failureCount: number;
7793
- createdAt: string;
7794
- }>;
7795
- };
7796
- };
7797
- export type GetScheduleQueryVariables = Exact<{
7798
- key: Scalars['String']['input'];
7799
- }>;
7800
- export type GetScheduleQuery = {
7801
- schedule?: {
7802
- id: string;
7803
- key: string;
7804
- name: string;
7805
- description?: string | null;
7806
- cron: string;
7807
- cronDescription?: string | null;
7808
- timezone: string;
7809
- targetType: ScheduleTargetType;
7810
- targetConfig: unknown;
7811
- isActive: boolean;
7812
- pausedAt?: string | null;
7813
- lastRunAt?: string | null;
7814
- lastRunStatus?: ScheduleRunStatus | null;
7815
- lastRunError?: string | null;
7816
- nextRunAt?: string | null;
7817
- runCount: number;
7818
- failureCount: number;
7819
- consecutiveFailures: number;
7820
- createdAt: string;
7821
- updatedAt: string;
7822
- } | null;
7823
- };
7824
- export type CreateScheduleMutationVariables = Exact<{
7825
- input: CreateScheduleInput;
7826
- }>;
7827
- export type CreateScheduleMutation = {
7828
- createSchedule: {
7829
- id: string;
7830
- key: string;
7831
- name: string;
7832
- cron: string;
7833
- isActive: boolean;
7834
- createdAt: string;
7835
- };
7836
- };
7837
- export type UpdateScheduleMutationVariables = Exact<{
7838
- key: Scalars['String']['input'];
7839
- input: UpdateScheduleInput;
7840
- }>;
7841
- export type UpdateScheduleMutation = {
7842
- updateSchedule: {
7843
- id: string;
7844
- key: string;
7845
- name: string;
7846
- cron: string;
7847
- isActive: boolean;
7848
- updatedAt: string;
7849
- };
7850
- };
7851
- export type DeleteScheduleMutationVariables = Exact<{
7852
- key: Scalars['String']['input'];
7853
- }>;
7854
- export type DeleteScheduleMutation = {
7855
- deleteSchedule: boolean;
7856
- };
7857
- export type PauseScheduleMutationVariables = Exact<{
7858
- key: Scalars['String']['input'];
7859
- }>;
7860
- export type PauseScheduleMutation = {
7861
- pauseSchedule: {
7862
- id: string;
7863
- key: string;
7864
- isActive: boolean;
7865
- pausedAt?: string | null;
7866
- };
7867
- };
7868
- export type ResumeScheduleMutationVariables = Exact<{
7869
- key: Scalars['String']['input'];
7870
- }>;
7871
- export type ResumeScheduleMutation = {
7872
- resumeSchedule: {
7873
- id: string;
7874
- key: string;
7875
- isActive: boolean;
7876
- };
7877
- };
7878
- export type TriggerScheduleMutationVariables = Exact<{
7879
- key: Scalars['String']['input'];
7880
- }>;
7881
- export type TriggerScheduleMutation = {
7882
- triggerSchedule: {
7883
- success: boolean;
7884
- jobId?: string | null;
7885
- error?: string | null;
7886
- };
7887
- };
7888
- export type GlobalSearchQueryVariables = Exact<{
7889
- query: Scalars['String']['input'];
7890
- limit?: InputMaybe<Scalars['Int']['input']>;
7891
- modelKeys?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
7892
- includeMedia?: InputMaybe<Scalars['Boolean']['input']>;
7893
- }>;
7894
- export type GlobalSearchQuery = {
7895
- globalSearch: {
7896
- records: Array<{
7897
- id: string;
7898
- modelKey: string;
7899
- title: string;
7900
- naturalKey: string;
7901
- subtitle?: string | null;
7902
- modelName?: string | null;
7903
- updatedAt: string;
7904
- }>;
7905
- media: Array<{
7906
- id: string;
7907
- fileName: string;
7908
- altText?: string | null;
7909
- fileUrl: string;
7910
- }>;
7911
- };
7912
- };
7913
- export type ListSegmentsQueryVariables = Exact<{
7914
- isActive?: InputMaybe<Scalars['Boolean']['input']>;
7915
- limit?: InputMaybe<Scalars['Int']['input']>;
7916
- offset?: InputMaybe<Scalars['Int']['input']>;
7917
- }>;
7918
- export type ListSegmentsQuery = {
7919
- segments: Array<{
7920
- id: string;
7921
- key: string;
7922
- name: string;
7923
- description?: string | null;
7924
- evaluationMode: string;
7925
- memberCount?: number | null;
7926
- isActive: boolean;
7927
- createdAt: string;
7928
- updatedAt: string;
7929
- }>;
7930
- };
7931
- export type GetSegmentQueryVariables = Exact<{
7932
- id: Scalars['ID']['input'];
7933
- }>;
7934
- export type GetSegmentQuery = {
7935
- segment?: {
7936
- id: string;
7937
- key: string;
7938
- name: string;
7939
- description?: string | null;
7940
- rules: unknown;
7941
- evaluationMode: string;
7942
- manualMemberIds: unknown;
7943
- manualMemberMode: string;
7944
- memberCount?: number | null;
7945
- memberCountUpdatedAt?: string | null;
7946
- isActive: boolean;
7947
- createdAt: string;
7948
- updatedAt: string;
7949
- } | null;
7950
- };
7951
- export type GetSegmentByKeyQueryVariables = Exact<{
7952
- key: Scalars['String']['input'];
7953
- }>;
7954
- export type GetSegmentByKeyQuery = {
7955
- segmentByKey?: {
7956
- id: string;
7957
- key: string;
7958
- name: string;
7959
- description?: string | null;
7960
- rules: unknown;
7961
- evaluationMode: string;
7962
- manualMemberIds: unknown;
7963
- manualMemberMode: string;
7964
- memberCount?: number | null;
7965
- memberCountUpdatedAt?: string | null;
7966
- isActive: boolean;
7967
- createdAt: string;
7968
- updatedAt: string;
7969
- } | null;
7970
- };
7971
- export type CreateSegmentMutationVariables = Exact<{
7972
- input: CreateSegmentInput;
7973
- }>;
7974
- export type CreateSegmentMutation = {
7975
- createSegment: {
7976
- id: string;
7977
- key: string;
7978
- name: string;
7979
- isActive: boolean;
7980
- createdAt: string;
7981
- };
7982
- };
7983
- export type UpdateSegmentMutationVariables = Exact<{
7984
- id: Scalars['ID']['input'];
7985
- input: UpdateSegmentInput;
7986
- }>;
7987
- export type UpdateSegmentMutation = {
7988
- updateSegment: {
7989
- id: string;
7990
- key: string;
7991
- name: string;
7992
- isActive: boolean;
7993
- updatedAt: string;
7994
- };
7995
- };
7996
- export type DeleteSegmentMutationVariables = Exact<{
7997
- id: Scalars['ID']['input'];
7998
- }>;
7999
- export type DeleteSegmentMutation = {
8000
- deleteSegment: boolean;
8001
- };
8002
- export type PreviewSegmentRulesQueryVariables = Exact<{
8003
- rules: Scalars['JSON']['input'];
8004
- sampleSize?: InputMaybe<Scalars['Int']['input']>;
8005
- }>;
8006
- export type PreviewSegmentRulesQuery = {
8007
- previewSegmentRules: {
8008
- estimatedCount: number;
8009
- sampleCustomerIds: Array<string>;
8010
- sampleSize: number;
8011
- };
8012
- };
8013
- export type TestSegmentEvaluationQueryVariables = Exact<{
8014
- segmentId: Scalars['ID']['input'];
8015
- customerId: Scalars['ID']['input'];
8016
- }>;
8017
- export type TestSegmentEvaluationQuery = {
8018
- testSegmentEvaluation: {
8019
- matches: boolean;
8020
- segmentId: string;
8021
- customerId: string;
8022
- };
8023
- };
8024
- export type GetSessionContextQueryVariables = Exact<{
8025
- [key: string]: never;
8026
- }>;
8027
- export type GetSessionContextQuery = {
8028
- sessionContext: {
8029
- tenantId?: string | null;
8030
- projectId?: string | null;
8031
- availableTenants: Array<{
8032
- id: string;
8033
- name: string;
8034
- }>;
8035
- availableProjects: Array<{
8036
- id: string;
8037
- name: string;
8038
- tenantId: string;
8039
- }>;
8040
- };
8041
- };
8042
- export type AllSettingsQueryVariables = Exact<{
8043
- [key: string]: never;
8044
- }>;
8045
- export type AllSettingsQuery = {
8046
- allSettings: Array<{
8047
- id: string;
8048
- key: string;
8049
- value?: unknown | null;
8050
- category: string;
8051
- displayName?: string | null;
8052
- description?: string | null;
8053
- dataType: SettingDataType;
8054
- isPublic: boolean;
8055
- isEncrypted: boolean;
8056
- createdAt: string;
8057
- updatedAt: string;
8058
- }>;
8059
- };
8060
- export type SettingsByCategoryQueryVariables = Exact<{
8061
- category: Scalars['String']['input'];
8062
- }>;
8063
- export type SettingsByCategoryQuery = {
8064
- settingsByCategory: Array<{
8065
- id: string;
8066
- key: string;
8067
- value?: unknown | null;
8068
- category: string;
8069
- displayName?: string | null;
8070
- description?: string | null;
8071
- dataType: SettingDataType;
8072
- isPublic: boolean;
8073
- isEncrypted: boolean;
8074
- createdAt: string;
8075
- updatedAt: string;
8076
- }>;
8077
- };
8078
- export type GetSettingQueryVariables = Exact<{
8079
- key: Scalars['String']['input'];
8080
- }>;
8081
- export type GetSettingQuery = {
8082
- setting?: {
8083
- id: string;
8084
- key: string;
8085
- value?: unknown | null;
8086
- category: string;
8087
- displayName?: string | null;
8088
- description?: string | null;
8089
- dataType: SettingDataType;
8090
- isPublic: boolean;
8091
- isEncrypted: boolean;
8092
- createdAt: string;
8093
- updatedAt: string;
8094
- } | null;
8095
- };
8096
- export type SetSettingMutationVariables = Exact<{
8097
- input: SetSettingInput;
8098
- }>;
8099
- export type SetSettingMutation = {
8100
- setSetting: {
8101
- id: string;
8102
- key: string;
8103
- value?: unknown | null;
8104
- category: string;
8105
- dataType: SettingDataType;
8106
- updatedAt: string;
8107
- };
8108
- };
8109
- export type DeleteSettingMutationVariables = Exact<{
8110
- key: Scalars['String']['input'];
8111
- }>;
8112
- export type DeleteSettingMutation = {
8113
- deleteSetting: boolean;
8114
- };
8115
- export type ListVariantCatalogQueryVariables = Exact<{
8116
- isActive?: InputMaybe<Scalars['Boolean']['input']>;
8117
- limit?: InputMaybe<Scalars['Int']['input']>;
8118
- offset?: InputMaybe<Scalars['Int']['input']>;
8119
- }>;
8120
- export type ListVariantCatalogQuery = {
8121
- variantCatalog: Array<{
8122
- id: string;
8123
- key: string;
8124
- name: string;
8125
- description?: string | null;
8126
- isDefault: boolean;
8127
- isActive: boolean;
8128
- createdAt: string;
8129
- updatedAt: string;
8130
- }>;
8131
- };
8132
- export type GetVariantCatalogEntryQueryVariables = Exact<{
8133
- id: Scalars['ID']['input'];
8134
- }>;
8135
- export type GetVariantCatalogEntryQuery = {
8136
- variantCatalogEntry?: {
8137
- id: string;
8138
- key: string;
8139
- name: string;
8140
- description?: string | null;
8141
- isDefault: boolean;
8142
- isActive: boolean;
8143
- createdAt: string;
8144
- updatedAt: string;
8145
- } | null;
8146
- };
8147
- export type GetVariantCatalogEntryByKeyQueryVariables = Exact<{
8148
- key: Scalars['String']['input'];
8149
- }>;
8150
- export type GetVariantCatalogEntryByKeyQuery = {
8151
- variantCatalogEntryByKey?: {
8152
- id: string;
8153
- key: string;
8154
- name: string;
8155
- description?: string | null;
8156
- isDefault: boolean;
8157
- isActive: boolean;
8158
- createdAt: string;
8159
- updatedAt: string;
8160
- } | null;
8161
- };
8162
- export type CreateVariantCatalogEntryMutationVariables = Exact<{
8163
- input: CreateVariantCatalogInput;
8164
- }>;
8165
- export type CreateVariantCatalogEntryMutation = {
8166
- createVariantCatalogEntry: {
8167
- id: string;
8168
- key: string;
8169
- name: string;
8170
- isDefault: boolean;
8171
- isActive: boolean;
8172
- createdAt: string;
8173
- };
8174
- };
8175
- export type UpdateVariantCatalogEntryMutationVariables = Exact<{
8176
- id: Scalars['ID']['input'];
8177
- input: UpdateVariantCatalogInput;
8178
- }>;
8179
- export type UpdateVariantCatalogEntryMutation = {
8180
- updateVariantCatalogEntry: {
8181
- id: string;
8182
- key: string;
8183
- name: string;
8184
- isDefault: boolean;
8185
- isActive: boolean;
8186
- updatedAt: string;
8187
- };
8188
- };
8189
- export type DeleteVariantCatalogEntryMutationVariables = Exact<{
8190
- id: Scalars['ID']['input'];
8191
- }>;
8192
- export type DeleteVariantCatalogEntryMutation = {
8193
- deleteVariantCatalogEntry: boolean;
8194
- };
8195
- export declare const ListApiKeysDocument: DocumentNode<ListApiKeysQuery, ListApiKeysQueryVariables>;
8196
- export declare const GetApiKeyDocument: DocumentNode<GetApiKeyQuery, GetApiKeyQueryVariables>;
8197
- export declare const CreateApiKeyDocument: DocumentNode<CreateApiKeyMutation, CreateApiKeyMutationVariables>;
8198
- export declare const RotateApiKeyDocument: DocumentNode<RotateApiKeyMutation, RotateApiKeyMutationVariables>;
8199
- export declare const RevokeApiKeyDocument: DocumentNode<RevokeApiKeyMutation, RevokeApiKeyMutationVariables>;
8200
- export declare const ListAuthProvidersDocument: DocumentNode<ListAuthProvidersQuery, ListAuthProvidersQueryVariables>;
8201
- export declare const GetAuthProviderDocument: DocumentNode<GetAuthProviderQuery, GetAuthProviderQueryVariables>;
8202
- export declare const CreateAuthProviderDocument: DocumentNode<CreateAuthProviderMutation, CreateAuthProviderMutationVariables>;
8203
- export declare const UpdateAuthProviderDocument: DocumentNode<UpdateAuthProviderMutation, UpdateAuthProviderMutationVariables>;
8204
- export declare const DeleteAuthProviderDocument: DocumentNode<DeleteAuthProviderMutation, DeleteAuthProviderMutationVariables>;
8205
- export declare const GetCustomerAuthConfigDocument: DocumentNode<GetCustomerAuthConfigQuery, GetCustomerAuthConfigQueryVariables>;
8206
- export declare const VerifyCustomerTokenDocument: DocumentNode<VerifyCustomerTokenQuery, VerifyCustomerTokenQueryVariables>;
8207
6071
  export declare const GetCustomerProfileSchemaDocument: DocumentNode<GetCustomerProfileSchemaQuery, GetCustomerProfileSchemaQueryVariables>;
8208
- export declare const UpdateCustomerProfileSchemaDocument: DocumentNode<UpdateCustomerProfileSchemaMutation, UpdateCustomerProfileSchemaMutationVariables>;
8209
- export declare const GetCustomerProfileDocument: DocumentNode<GetCustomerProfileQuery, GetCustomerProfileQueryVariables>;
8210
- export declare const SetCustomerProfileDocument: DocumentNode<SetCustomerProfileMutation, SetCustomerProfileMutationVariables>;
8211
- export declare const ListCustomersDocument: DocumentNode<ListCustomersQuery, ListCustomersQueryVariables>;
8212
- export declare const GetCustomerDocument: DocumentNode<GetCustomerQuery, GetCustomerQueryVariables>;
8213
- export declare const GetCustomerByEmailDocument: DocumentNode<GetCustomerByEmailQuery, GetCustomerByEmailQueryVariables>;
8214
- export declare const CreateCustomerDocument: DocumentNode<CreateCustomerMutation, CreateCustomerMutationVariables>;
8215
- export declare const DeleteCustomerDocument: DocumentNode<DeleteCustomerMutation, DeleteCustomerMutationVariables>;
8216
- export declare const WriteEmbeddingsDocument: DocumentNode<WriteEmbeddingsMutation, WriteEmbeddingsMutationVariables>;
8217
- export declare const DeleteEmbeddingsDocument: DocumentNode<DeleteEmbeddingsMutation, DeleteEmbeddingsMutationVariables>;
8218
- export declare const SearchEmbeddingsDocument: DocumentNode<SearchEmbeddingsQuery, SearchEmbeddingsQueryVariables>;
8219
- export declare const EmbeddingsForRecordDocument: DocumentNode<EmbeddingsForRecordQuery, EmbeddingsForRecordQueryVariables>;
8220
- export declare const EmbeddingStatsDocument: DocumentNode<EmbeddingStatsQuery, EmbeddingStatsQueryVariables>;
8221
- export declare const FindSimilarRecordsDocument: DocumentNode<FindSimilarRecordsQuery, FindSimilarRecordsQueryVariables>;
8222
- export declare const ListExperimentsDocument: DocumentNode<ListExperimentsQuery, ListExperimentsQueryVariables>;
8223
- export declare const GetExperimentDocument: DocumentNode<GetExperimentQuery, GetExperimentQueryVariables>;
8224
- export declare const GetExperimentByKeyDocument: DocumentNode<GetExperimentByKeyQuery, GetExperimentByKeyQueryVariables>;
8225
- export declare const CreateExperimentDocument: DocumentNode<CreateExperimentMutation, CreateExperimentMutationVariables>;
8226
- export declare const UpdateExperimentDocument: DocumentNode<UpdateExperimentMutation, UpdateExperimentMutationVariables>;
8227
- export declare const DeleteExperimentDocument: DocumentNode<DeleteExperimentMutation, DeleteExperimentMutationVariables>;
8228
- export declare const StartExperimentDocument: DocumentNode<StartExperimentMutation, StartExperimentMutationVariables>;
8229
- export declare const PauseExperimentDocument: DocumentNode<PauseExperimentMutation, PauseExperimentMutationVariables>;
8230
- export declare const ResumeExperimentDocument: DocumentNode<ResumeExperimentMutation, ResumeExperimentMutationVariables>;
8231
- export declare const EndExperimentDocument: DocumentNode<EndExperimentMutation, EndExperimentMutationVariables>;
8232
- export declare const ExperimentStatsDocument: DocumentNode<ExperimentStatsQuery, ExperimentStatsQueryVariables>;
8233
- export declare const ListExtensionsDocument: DocumentNode<ListExtensionsQuery, ListExtensionsQueryVariables>;
8234
- export declare const GetExtensionDocument: DocumentNode<GetExtensionQuery, GetExtensionQueryVariables>;
8235
- export declare const GetExtensionByKeyDocument: DocumentNode<GetExtensionByKeyQuery, GetExtensionByKeyQueryVariables>;
8236
- export declare const RegisterExtensionDocument: DocumentNode<RegisterExtensionMutation, RegisterExtensionMutationVariables>;
8237
- export declare const TriggerExtensionSyncDocument: DocumentNode<TriggerExtensionSyncMutation, TriggerExtensionSyncMutationVariables>;
8238
- export declare const InstallExtensionDocument: DocumentNode<InstallExtensionMutation, InstallExtensionMutationVariables>;
8239
- export declare const UnregisterExtensionDocument: DocumentNode<UnregisterExtensionMutation, UnregisterExtensionMutationVariables>;
8240
- export declare const ListFilesDocument: DocumentNode<ListFilesQuery, ListFilesQueryVariables>;
8241
- export declare const GetFileDocument: DocumentNode<GetFileQuery, GetFileQueryVariables>;
8242
- export declare const FileStorageUsageDocument: DocumentNode<FileStorageUsageQuery, FileStorageUsageQueryVariables>;
8243
- export declare const UpdateFileDocument: DocumentNode<UpdateFileMutation, UpdateFileMutationVariables>;
8244
- export declare const UpdateFileMetadataDocument: DocumentNode<UpdateFileMetadataMutation, UpdateFileMetadataMutationVariables>;
8245
- export declare const DeleteFileDocument: DocumentNode<DeleteFileMutation, DeleteFileMutationVariables>;
8246
- export declare const ListHooksDocument: DocumentNode<ListHooksQuery, ListHooksQueryVariables>;
8247
- export declare const GetHookByKeyDocument: DocumentNode<GetHookByKeyQuery, GetHookByKeyQueryVariables>;
8248
- export declare const CreateHookDocument: DocumentNode<CreateHookMutation, CreateHookMutationVariables>;
8249
- export declare const UpdateHookDocument: DocumentNode<UpdateHookMutation, UpdateHookMutationVariables>;
8250
- export declare const DeleteHookDocument: DocumentNode<DeleteHookMutation, DeleteHookMutationVariables>;
8251
- export declare const HookDeliveriesDocument: DocumentNode<HookDeliveriesQuery, HookDeliveriesQueryVariables>;
8252
- export declare const RetryHookDeliveryDocument: DocumentNode<RetryHookDeliveryMutation, RetryHookDeliveryMutationVariables>;
8253
- export declare const TestHookDocument: DocumentNode<TestHookMutation, TestHookMutationVariables>;
8254
- export declare const ListLocalesDocument: DocumentNode<ListLocalesQuery, ListLocalesQueryVariables>;
8255
- export declare const GetLocaleDocument: DocumentNode<GetLocaleQuery, GetLocaleQueryVariables>;
8256
- export declare const GetLocaleByCodeDocument: DocumentNode<GetLocaleByCodeQuery, GetLocaleByCodeQueryVariables>;
8257
- export declare const GetDefaultLocaleDocument: DocumentNode<GetDefaultLocaleQuery, GetDefaultLocaleQueryVariables>;
8258
- export declare const CreateLocaleDocument: DocumentNode<CreateLocaleMutation, CreateLocaleMutationVariables>;
8259
- export declare const UpdateLocaleDocument: DocumentNode<UpdateLocaleMutation, UpdateLocaleMutationVariables>;
8260
- export declare const DeleteLocaleDocument: DocumentNode<DeleteLocaleMutation, DeleteLocaleMutationVariables>;
8261
6072
  export declare const ModelsForCodegenDocument: DocumentNode<ModelsForCodegenQuery, ModelsForCodegenQueryVariables>;
8262
- export declare const GetModelByKeyDocument: DocumentNode<GetModelByKeyQuery, GetModelByKeyQueryVariables>;
8263
- export declare const ListModelsDocument: DocumentNode<ListModelsQuery, ListModelsQueryVariables>;
8264
- export declare const CreateModelDocument: DocumentNode<CreateModelMutation, CreateModelMutationVariables>;
8265
- export declare const UpdateModelDocument: DocumentNode<UpdateModelMutation, UpdateModelMutationVariables>;
8266
- export declare const DeleteModelDocument: DocumentNode<DeleteModelMutation, DeleteModelMutationVariables>;
8267
- export declare const ModelVersionsDocument: DocumentNode<ModelVersionsQuery, ModelVersionsQueryVariables>;
8268
- export declare const ListNotesDocument: DocumentNode<ListNotesQuery, ListNotesQueryVariables>;
8269
- export declare const GetNoteDocument: DocumentNode<GetNoteQuery, GetNoteQueryVariables>;
8270
- export declare const CreateNoteDocument: DocumentNode<CreateNoteMutation, CreateNoteMutationVariables>;
8271
- export declare const ResolveNoteDocument: DocumentNode<ResolveNoteMutation, ResolveNoteMutationVariables>;
8272
- export declare const DeleteNoteDocument: DocumentNode<DeleteNoteMutation, DeleteNoteMutationVariables>;
8273
- export declare const ListNotificationsDocument: DocumentNode<ListNotificationsQuery, ListNotificationsQueryVariables>;
8274
- export declare const MarkNotificationReadDocument: DocumentNode<MarkNotificationReadMutation, MarkNotificationReadMutationVariables>;
8275
- export declare const MarkAllNotificationsReadDocument: DocumentNode<MarkAllNotificationsReadMutation, MarkAllNotificationsReadMutationVariables>;
8276
- export declare const ListOperationsDocument: DocumentNode<ListOperationsQuery, ListOperationsQueryVariables>;
8277
- export declare const GetOperationDocument: DocumentNode<GetOperationQuery, GetOperationQueryVariables>;
8278
- export declare const ExecuteOperationDocument: DocumentNode<ExecuteOperationMutation, ExecuteOperationMutationVariables>;
8279
- export declare const OperationExecutionStatsDocument: DocumentNode<OperationExecutionStatsQuery, OperationExecutionStatsQueryVariables>;
8280
- export declare const DeadLetterOperationsDocument: DocumentNode<DeadLetterOperationsQuery, DeadLetterOperationsQueryVariables>;
8281
- export declare const RetryDeadLetterDocument: DocumentNode<RetryDeadLetterMutation, RetryDeadLetterMutationVariables>;
8282
- export declare const DismissDeadLetterDocument: DocumentNode<DismissDeadLetterMutation, DismissDeadLetterMutationVariables>;
8283
- export declare const CreateOperationDocument: DocumentNode<CreateOperationMutation, CreateOperationMutationVariables>;
8284
- export declare const UpdateOperationDocument: DocumentNode<UpdateOperationMutation, UpdateOperationMutationVariables>;
8285
- export declare const DeleteOperationDocument: DocumentNode<DeleteOperationMutation, DeleteOperationMutationVariables>;
8286
- export declare const GetRecordDocument: DocumentNode<GetRecordQuery, GetRecordQueryVariables>;
8287
- export declare const GetRecordResolvedDocument: DocumentNode<GetRecordResolvedQuery, GetRecordResolvedQueryVariables>;
8288
- export declare const GetRecordByKeyDocument: DocumentNode<GetRecordByKeyQuery, GetRecordByKeyQueryVariables>;
8289
- export declare const GetRecordByKeyResolvedDocument: DocumentNode<GetRecordByKeyResolvedQuery, GetRecordByKeyResolvedQueryVariables>;
8290
- export declare const ListRecordsDocument: DocumentNode<ListRecordsQuery, ListRecordsQueryVariables>;
8291
- export declare const CreateRecordDocument: DocumentNode<CreateRecordMutation, CreateRecordMutationVariables>;
8292
- export declare const UpdateRecordDocument: DocumentNode<UpdateRecordMutation, UpdateRecordMutationVariables>;
8293
- export declare const DeleteRecordDocument: DocumentNode<DeleteRecordMutation, DeleteRecordMutationVariables>;
8294
- export declare const PublishVersionDocument: DocumentNode<PublishVersionMutation, PublishVersionMutationVariables>;
8295
- export declare const UnpublishRecordDocument: DocumentNode<UnpublishRecordMutation, UnpublishRecordMutationVariables>;
8296
- export declare const DuplicateRecordDocument: DocumentNode<DuplicateRecordMutation, DuplicateRecordMutationVariables>;
8297
- export declare const CreateVersionDocument: DocumentNode<CreateVersionMutation, CreateVersionMutationVariables>;
8298
- export declare const CreateVariantDocument: DocumentNode<CreateVariantMutation, CreateVariantMutationVariables>;
8299
- export declare const RecordVersionsDocument: DocumentNode<RecordVersionsQuery, RecordVersionsQueryVariables>;
8300
- export declare const RecordVariantsDocument: DocumentNode<RecordVariantsQuery, RecordVariantsQueryVariables>;
8301
- export declare const ListSchedulesDocument: DocumentNode<ListSchedulesQuery, ListSchedulesQueryVariables>;
8302
- export declare const GetScheduleDocument: DocumentNode<GetScheduleQuery, GetScheduleQueryVariables>;
8303
- export declare const CreateScheduleDocument: DocumentNode<CreateScheduleMutation, CreateScheduleMutationVariables>;
8304
- export declare const UpdateScheduleDocument: DocumentNode<UpdateScheduleMutation, UpdateScheduleMutationVariables>;
8305
- export declare const DeleteScheduleDocument: DocumentNode<DeleteScheduleMutation, DeleteScheduleMutationVariables>;
8306
- export declare const PauseScheduleDocument: DocumentNode<PauseScheduleMutation, PauseScheduleMutationVariables>;
8307
- export declare const ResumeScheduleDocument: DocumentNode<ResumeScheduleMutation, ResumeScheduleMutationVariables>;
8308
- export declare const TriggerScheduleDocument: DocumentNode<TriggerScheduleMutation, TriggerScheduleMutationVariables>;
8309
6073
  export declare const GlobalSearchDocument: DocumentNode<GlobalSearchQuery, GlobalSearchQueryVariables>;
8310
- export declare const ListSegmentsDocument: DocumentNode<ListSegmentsQuery, ListSegmentsQueryVariables>;
8311
- export declare const GetSegmentDocument: DocumentNode<GetSegmentQuery, GetSegmentQueryVariables>;
8312
- export declare const GetSegmentByKeyDocument: DocumentNode<GetSegmentByKeyQuery, GetSegmentByKeyQueryVariables>;
8313
- export declare const CreateSegmentDocument: DocumentNode<CreateSegmentMutation, CreateSegmentMutationVariables>;
8314
- export declare const UpdateSegmentDocument: DocumentNode<UpdateSegmentMutation, UpdateSegmentMutationVariables>;
8315
- export declare const DeleteSegmentDocument: DocumentNode<DeleteSegmentMutation, DeleteSegmentMutationVariables>;
8316
- export declare const PreviewSegmentRulesDocument: DocumentNode<PreviewSegmentRulesQuery, PreviewSegmentRulesQueryVariables>;
8317
- export declare const TestSegmentEvaluationDocument: DocumentNode<TestSegmentEvaluationQuery, TestSegmentEvaluationQueryVariables>;
8318
- export declare const GetSessionContextDocument: DocumentNode<GetSessionContextQuery, GetSessionContextQueryVariables>;
8319
- export declare const AllSettingsDocument: DocumentNode<AllSettingsQuery, AllSettingsQueryVariables>;
8320
- export declare const SettingsByCategoryDocument: DocumentNode<SettingsByCategoryQuery, SettingsByCategoryQueryVariables>;
8321
- export declare const GetSettingDocument: DocumentNode<GetSettingQuery, GetSettingQueryVariables>;
8322
- export declare const SetSettingDocument: DocumentNode<SetSettingMutation, SetSettingMutationVariables>;
8323
- export declare const DeleteSettingDocument: DocumentNode<DeleteSettingMutation, DeleteSettingMutationVariables>;
8324
- export declare const ListVariantCatalogDocument: DocumentNode<ListVariantCatalogQuery, ListVariantCatalogQueryVariables>;
8325
- export declare const GetVariantCatalogEntryDocument: DocumentNode<GetVariantCatalogEntryQuery, GetVariantCatalogEntryQueryVariables>;
8326
- export declare const GetVariantCatalogEntryByKeyDocument: DocumentNode<GetVariantCatalogEntryByKeyQuery, GetVariantCatalogEntryByKeyQueryVariables>;
8327
- export declare const CreateVariantCatalogEntryDocument: DocumentNode<CreateVariantCatalogEntryMutation, CreateVariantCatalogEntryMutationVariables>;
8328
- export declare const UpdateVariantCatalogEntryDocument: DocumentNode<UpdateVariantCatalogEntryMutation, UpdateVariantCatalogEntryMutationVariables>;
8329
- export declare const DeleteVariantCatalogEntryDocument: DocumentNode<DeleteVariantCatalogEntryMutation, DeleteVariantCatalogEntryMutationVariables>;
8330
6074
  //# sourceMappingURL=generated.d.ts.map