@eide/foir-cli 0.1.26 → 0.1.27

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.
@@ -42,7 +42,6 @@ export type Scalars = {
42
42
  input: number;
43
43
  output: number;
44
44
  };
45
- /** The `BigInt` scalar type represents non-fractional signed whole numeric values. */
46
45
  BigInt: {
47
46
  input: any;
48
47
  output: any;
@@ -1489,10 +1488,7 @@ export type FieldDefinition = {
1489
1488
  type: Scalars['String']['output'];
1490
1489
  validation?: Maybe<Array<ValidationRule>>;
1491
1490
  };
1492
- /**
1493
- * Input type for field definitions
1494
- * Shared across data models and enrichment schemas
1495
- */
1491
+ /** Field definition for a model */
1496
1492
  export type FieldDefinitionInput = {
1497
1493
  config?: InputMaybe<Scalars['JSON']['input']>;
1498
1494
  defaultValue?: InputMaybe<Scalars['JSON']['input']>;
@@ -1849,7 +1845,8 @@ export type InstallExtensionCredentials = {
1849
1845
  webhookSecret: Scalars['String']['output'];
1850
1846
  };
1851
1847
  export type InstallExtensionCustomerProfileSchemaInput = {
1852
- fields: Scalars['JSON']['input'];
1848
+ /** Array of field definitions for customer profile */
1849
+ fields: Array<FieldDefinitionInput>;
1853
1850
  publicFields?: InputMaybe<Array<Scalars['String']['input']>>;
1854
1851
  };
1855
1852
  /** Full extension provisioning input — one manifest, full setup. */
@@ -1872,9 +1869,10 @@ export type InstallExtensionInput = {
1872
1869
  };
1873
1870
  export type InstallExtensionModelInput = {
1874
1871
  category?: InputMaybe<Scalars['String']['input']>;
1875
- config?: InputMaybe<Scalars['JSON']['input']>;
1872
+ config?: InputMaybe<ModelConfigInput>;
1876
1873
  description?: InputMaybe<Scalars['String']['input']>;
1877
- fields?: InputMaybe<Scalars['JSON']['input']>;
1874
+ /** Array of field definitions (must be an array, not an object!) */
1875
+ fields: Array<FieldDefinitionInput>;
1878
1876
  hooks?: InputMaybe<Scalars['JSON']['input']>;
1879
1877
  icon?: InputMaybe<Scalars['String']['input']>;
1880
1878
  key: Scalars['String']['input'];
@@ -1887,7 +1885,7 @@ export type InstallExtensionOperationInput = {
1887
1885
  endpoint: Scalars['String']['input'];
1888
1886
  key: Scalars['String']['input'];
1889
1887
  name: Scalars['String']['input'];
1890
- retryPolicy?: InputMaybe<Scalars['JSON']['input']>;
1888
+ retryPolicy?: InputMaybe<RetryPolicyInput>;
1891
1889
  timeoutMs?: InputMaybe<Scalars['Int']['input']>;
1892
1890
  touchPoints?: InputMaybe<Array<Scalars['String']['input']>>;
1893
1891
  };
@@ -2097,6 +2095,14 @@ export type Model = {
2097
2095
  updatedAt: Scalars['DateTime']['output'];
2098
2096
  updatedBy?: Maybe<Scalars['String']['output']>;
2099
2097
  };
2098
+ /** Model configuration options */
2099
+ export type ModelConfigInput = {
2100
+ customerScoped?: InputMaybe<Scalars['Boolean']['input']>;
2101
+ publishing?: InputMaybe<Scalars['Boolean']['input']>;
2102
+ sharing?: InputMaybe<SharingConfigInput>;
2103
+ variants?: InputMaybe<Scalars['Boolean']['input']>;
2104
+ versioning?: InputMaybe<Scalars['Boolean']['input']>;
2105
+ };
2100
2106
  export type ModelList = {
2101
2107
  items: Array<Model>;
2102
2108
  total: Scalars['Int']['output'];
@@ -4997,6 +5003,12 @@ export type RetryJobResult = {
4997
5003
  job?: Maybe<Job>;
4998
5004
  success: Scalars['Boolean']['output'];
4999
5005
  };
5006
+ /** Retry policy for operations */
5007
+ export type RetryPolicyInput = {
5008
+ backoffMs: Scalars['Int']['input'];
5009
+ backoffMultiplier: Scalars['Float']['input'];
5010
+ maxRetries: Scalars['Int']['input'];
5011
+ };
5000
5012
  export type RollbackItemPreview = {
5001
5013
  action: Scalars['String']['output'];
5002
5014
  currentVersionNumber: Scalars['Int']['output'];
@@ -5328,6 +5340,11 @@ export type Share = {
5328
5340
  export type SharePermission = 'ADMIN' | 'EDIT' | 'VIEW';
5329
5341
  export type ShareResourceType = 'FILE' | 'RECORD';
5330
5342
  export type ShareStatus = 'ACCEPTED' | 'DECLINED' | 'PENDING';
5343
+ /** Sharing configuration */
5344
+ export type SharingConfigInput = {
5345
+ enabled: Scalars['Boolean']['input'];
5346
+ requireAcceptance?: InputMaybe<Scalars['Boolean']['input']>;
5347
+ };
5331
5348
  export type SignupProject = {
5332
5349
  id: Scalars['ID']['output'];
5333
5350
  name: Scalars['String']['output'];