@breign/client 1.0.150 → 1.0.151

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.
@@ -21,6 +21,12 @@ export interface AnonymizeResponseUio {
21
21
  * @memberof AnonymizeResponseUio
22
22
  */
23
23
  anonymizedPrompt?: string;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof AnonymizeResponseUio
28
+ */
29
+ blockedEntityTypes?: Array<string>;
24
30
  }
25
31
  /**
26
32
  * Check if a given object implements the AnonymizeResponseUio interface.
@@ -33,6 +33,7 @@ function AnonymizeResponseUioFromJSONTyped(json, ignoreDiscriminator) {
33
33
  }
34
34
  return {
35
35
  'anonymizedPrompt': json['anonymizedPrompt'] == null ? undefined : json['anonymizedPrompt'],
36
+ 'blockedEntityTypes': json['blockedEntityTypes'] == null ? undefined : json['blockedEntityTypes'],
36
37
  };
37
38
  }
38
39
  function AnonymizeResponseUioToJSON(json) {
@@ -44,5 +45,6 @@ function AnonymizeResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
44
45
  }
45
46
  return {
46
47
  'anonymizedPrompt': value['anonymizedPrompt'],
48
+ 'blockedEntityTypes': value['blockedEntityTypes'],
47
49
  };
48
50
  }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const EntityModeUio: {
17
+ readonly Blocked: "BLOCKED";
18
+ readonly Ignored: "IGNORED";
19
+ readonly Anonymized: "ANONYMIZED";
20
+ };
21
+ export type EntityModeUio = typeof EntityModeUio[keyof typeof EntityModeUio];
22
+ export declare function instanceOfEntityModeUio(value: any): boolean;
23
+ export declare function EntityModeUioFromJSON(json: any): EntityModeUio;
24
+ export declare function EntityModeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): EntityModeUio;
25
+ export declare function EntityModeUioToJSON(value?: EntityModeUio | null): any;
26
+ export declare function EntityModeUioToJSONTyped(value: any, ignoreDiscriminator: boolean): EntityModeUio;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.EntityModeUio = void 0;
17
+ exports.instanceOfEntityModeUio = instanceOfEntityModeUio;
18
+ exports.EntityModeUioFromJSON = EntityModeUioFromJSON;
19
+ exports.EntityModeUioFromJSONTyped = EntityModeUioFromJSONTyped;
20
+ exports.EntityModeUioToJSON = EntityModeUioToJSON;
21
+ exports.EntityModeUioToJSONTyped = EntityModeUioToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.EntityModeUio = {
27
+ Blocked: 'BLOCKED',
28
+ Ignored: 'IGNORED',
29
+ Anonymized: 'ANONYMIZED'
30
+ };
31
+ function instanceOfEntityModeUio(value) {
32
+ for (const key in exports.EntityModeUio) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.EntityModeUio, key)) {
34
+ if (exports.EntityModeUio[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function EntityModeUioFromJSON(json) {
42
+ return EntityModeUioFromJSONTyped(json, false);
43
+ }
44
+ function EntityModeUioFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function EntityModeUioToJSON(value) {
48
+ return value;
49
+ }
50
+ function EntityModeUioToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
@@ -0,0 +1,75 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { EntityModeUio } from './EntityModeUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface EntityTypeRuleUio
17
+ */
18
+ export interface EntityTypeRuleUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof EntityTypeRuleUio
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof EntityTypeRuleUio
29
+ */
30
+ entityType: string;
31
+ /**
32
+ *
33
+ * @type {boolean}
34
+ * @memberof EntityTypeRuleUio
35
+ */
36
+ isDefault: boolean;
37
+ /**
38
+ *
39
+ * @type {EntityModeUio}
40
+ * @memberof EntityTypeRuleUio
41
+ */
42
+ mode: EntityModeUio;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof EntityTypeRuleUio
47
+ */
48
+ label?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof EntityTypeRuleUio
53
+ */
54
+ expression?: string;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof EntityTypeRuleUio
59
+ */
60
+ score?: number;
61
+ /**
62
+ *
63
+ * @type {Array<string>}
64
+ * @memberof EntityTypeRuleUio
65
+ */
66
+ context?: Array<string>;
67
+ }
68
+ /**
69
+ * Check if a given object implements the EntityTypeRuleUio interface.
70
+ */
71
+ export declare function instanceOfEntityTypeRuleUio(value: object): value is EntityTypeRuleUio;
72
+ export declare function EntityTypeRuleUioFromJSON(json: any): EntityTypeRuleUio;
73
+ export declare function EntityTypeRuleUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): EntityTypeRuleUio;
74
+ export declare function EntityTypeRuleUioToJSON(json: any): EntityTypeRuleUio;
75
+ export declare function EntityTypeRuleUioToJSONTyped(value?: EntityTypeRuleUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfEntityTypeRuleUio = instanceOfEntityTypeRuleUio;
17
+ exports.EntityTypeRuleUioFromJSON = EntityTypeRuleUioFromJSON;
18
+ exports.EntityTypeRuleUioFromJSONTyped = EntityTypeRuleUioFromJSONTyped;
19
+ exports.EntityTypeRuleUioToJSON = EntityTypeRuleUioToJSON;
20
+ exports.EntityTypeRuleUioToJSONTyped = EntityTypeRuleUioToJSONTyped;
21
+ const EntityModeUio_1 = require("./EntityModeUio");
22
+ /**
23
+ * Check if a given object implements the EntityTypeRuleUio interface.
24
+ */
25
+ function instanceOfEntityTypeRuleUio(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('entityType' in value) || value['entityType'] === undefined)
29
+ return false;
30
+ if (!('isDefault' in value) || value['isDefault'] === undefined)
31
+ return false;
32
+ if (!('mode' in value) || value['mode'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function EntityTypeRuleUioFromJSON(json) {
37
+ return EntityTypeRuleUioFromJSONTyped(json, false);
38
+ }
39
+ function EntityTypeRuleUioFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'id': json['id'],
45
+ 'entityType': json['entityType'],
46
+ 'isDefault': json['isDefault'],
47
+ 'mode': (0, EntityModeUio_1.EntityModeUioFromJSON)(json['mode']),
48
+ 'label': json['label'] == null ? undefined : json['label'],
49
+ 'expression': json['expression'] == null ? undefined : json['expression'],
50
+ 'score': json['score'] == null ? undefined : json['score'],
51
+ 'context': json['context'] == null ? undefined : json['context'],
52
+ };
53
+ }
54
+ function EntityTypeRuleUioToJSON(json) {
55
+ return EntityTypeRuleUioToJSONTyped(json, false);
56
+ }
57
+ function EntityTypeRuleUioToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'id': value['id'],
63
+ 'entityType': value['entityType'],
64
+ 'isDefault': value['isDefault'],
65
+ 'mode': (0, EntityModeUio_1.EntityModeUioToJSON)(value['mode']),
66
+ 'label': value['label'],
67
+ 'expression': value['expression'],
68
+ 'score': value['score'],
69
+ 'context': value['context'],
70
+ };
71
+ }
@@ -11,8 +11,8 @@
11
11
  */
12
12
  import type { GuardianRoleUio } from './GuardianRoleUio';
13
13
  import type { GuardianEngineUio } from './GuardianEngineUio';
14
- import type { RegexPatternUio } from './RegexPatternUio';
15
14
  import type { GuardianTypeUio } from './GuardianTypeUio';
15
+ import type { EntityTypeRuleUio } from './EntityTypeRuleUio';
16
16
  import type { GuardianPositionUio } from './GuardianPositionUio';
17
17
  /**
18
18
  *
@@ -78,10 +78,10 @@ export interface GuardianPutRequestUio {
78
78
  excludedAgents?: Array<any>;
79
79
  /**
80
80
  *
81
- * @type {Array<RegexPatternUio>}
81
+ * @type {Array<EntityTypeRuleUio>}
82
82
  * @memberof GuardianPutRequestUio
83
83
  */
84
- regexPatterns?: Array<RegexPatternUio>;
84
+ entityTypeRules?: Array<EntityTypeRuleUio>;
85
85
  /**
86
86
  *
87
87
  * @type {boolean}
@@ -20,8 +20,8 @@ exports.GuardianPutRequestUioToJSON = GuardianPutRequestUioToJSON;
20
20
  exports.GuardianPutRequestUioToJSONTyped = GuardianPutRequestUioToJSONTyped;
21
21
  const GuardianRoleUio_1 = require("./GuardianRoleUio");
22
22
  const GuardianEngineUio_1 = require("./GuardianEngineUio");
23
- const RegexPatternUio_1 = require("./RegexPatternUio");
24
23
  const GuardianTypeUio_1 = require("./GuardianTypeUio");
24
+ const EntityTypeRuleUio_1 = require("./EntityTypeRuleUio");
25
25
  const GuardianPositionUio_1 = require("./GuardianPositionUio");
26
26
  /**
27
27
  * Check if a given object implements the GuardianPutRequestUio interface.
@@ -46,7 +46,7 @@ function GuardianPutRequestUioFromJSONTyped(json, ignoreDiscriminator) {
46
46
  'position': json['position'] == null ? undefined : (json['position'].map(GuardianPositionUio_1.GuardianPositionUioFromJSON)),
47
47
  'engine': json['engine'] == null ? undefined : (0, GuardianEngineUio_1.GuardianEngineUioFromJSON)(json['engine']),
48
48
  'excludedAgents': json['excludedAgents'] == null ? undefined : json['excludedAgents'],
49
- 'regexPatterns': json['regexPatterns'] == null ? undefined : (json['regexPatterns'].map(RegexPatternUio_1.RegexPatternUioFromJSON)),
49
+ 'entityTypeRules': json['entityTypeRules'] == null ? undefined : (json['entityTypeRules'].map(EntityTypeRuleUio_1.EntityTypeRuleUioFromJSON)),
50
50
  'useFaker': json['useFaker'] == null ? undefined : json['useFaker'],
51
51
  };
52
52
  }
@@ -67,7 +67,7 @@ function GuardianPutRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
67
67
  'position': value['position'] == null ? undefined : (value['position'].map(GuardianPositionUio_1.GuardianPositionUioToJSON)),
68
68
  'engine': (0, GuardianEngineUio_1.GuardianEngineUioToJSON)(value['engine']),
69
69
  'excludedAgents': value['excludedAgents'],
70
- 'regexPatterns': value['regexPatterns'] == null ? undefined : (value['regexPatterns'].map(RegexPatternUio_1.RegexPatternUioToJSON)),
70
+ 'entityTypeRules': value['entityTypeRules'] == null ? undefined : (value['entityTypeRules'].map(EntityTypeRuleUio_1.EntityTypeRuleUioToJSON)),
71
71
  'useFaker': value['useFaker'],
72
72
  };
73
73
  }
@@ -11,8 +11,8 @@
11
11
  */
12
12
  import type { GuardianRoleUio } from './GuardianRoleUio';
13
13
  import type { GuardianEngineUio } from './GuardianEngineUio';
14
- import type { RegexPatternUio } from './RegexPatternUio';
15
14
  import type { GuardianTypeUio } from './GuardianTypeUio';
15
+ import type { EntityTypeRuleUio } from './EntityTypeRuleUio';
16
16
  import type { GuardianPositionUio } from './GuardianPositionUio';
17
17
  /**
18
18
  *
@@ -120,10 +120,10 @@ export interface GuardianUio {
120
120
  useFaker?: boolean;
121
121
  /**
122
122
  *
123
- * @type {Array<RegexPatternUio>}
123
+ * @type {Array<EntityTypeRuleUio>}
124
124
  * @memberof GuardianUio
125
125
  */
126
- regexPatterns?: Array<RegexPatternUio>;
126
+ entityTypeRules?: Array<EntityTypeRuleUio>;
127
127
  }
128
128
  /**
129
129
  * Check if a given object implements the GuardianUio interface.
@@ -20,8 +20,8 @@ exports.GuardianUioToJSON = GuardianUioToJSON;
20
20
  exports.GuardianUioToJSONTyped = GuardianUioToJSONTyped;
21
21
  const GuardianRoleUio_1 = require("./GuardianRoleUio");
22
22
  const GuardianEngineUio_1 = require("./GuardianEngineUio");
23
- const RegexPatternUio_1 = require("./RegexPatternUio");
24
23
  const GuardianTypeUio_1 = require("./GuardianTypeUio");
24
+ const EntityTypeRuleUio_1 = require("./EntityTypeRuleUio");
25
25
  const GuardianPositionUio_1 = require("./GuardianPositionUio");
26
26
  /**
27
27
  * Check if a given object implements the GuardianUio interface.
@@ -65,7 +65,7 @@ function GuardianUioFromJSONTyped(json, ignoreDiscriminator) {
65
65
  'thresholds': json['thresholds'] == null ? undefined : json['thresholds'],
66
66
  'excludedAgents': json['excludedAgents'] == null ? undefined : json['excludedAgents'],
67
67
  'useFaker': json['useFaker'] == null ? undefined : json['useFaker'],
68
- 'regexPatterns': json['regexPatterns'] == null ? undefined : (json['regexPatterns'].map(RegexPatternUio_1.RegexPatternUioFromJSON)),
68
+ 'entityTypeRules': json['entityTypeRules'] == null ? undefined : (json['entityTypeRules'].map(EntityTypeRuleUio_1.EntityTypeRuleUioFromJSON)),
69
69
  };
70
70
  }
71
71
  function GuardianUioToJSON(json) {
@@ -92,6 +92,6 @@ function GuardianUioToJSONTyped(value, ignoreDiscriminator = false) {
92
92
  'thresholds': value['thresholds'],
93
93
  'excludedAgents': value['excludedAgents'],
94
94
  'useFaker': value['useFaker'],
95
- 'regexPatterns': value['regexPatterns'] == null ? undefined : (value['regexPatterns'].map(RegexPatternUio_1.RegexPatternUioToJSON)),
95
+ 'entityTypeRules': value['entityTypeRules'] == null ? undefined : (value['entityTypeRules'].map(EntityTypeRuleUio_1.EntityTypeRuleUioToJSON)),
96
96
  };
97
97
  }
@@ -205,6 +205,8 @@ export * from './EmbeddingProviderModelsInnerUio';
205
205
  export * from './EmbeddingProviderUio';
206
206
  export * from './EngineOptionsUio';
207
207
  export * from './EngineUio';
208
+ export * from './EntityModeUio';
209
+ export * from './EntityTypeRuleUio';
208
210
  export * from './EphemeralInstanceUio';
209
211
  export * from './EphemeralInstancesMetricsResponseUio';
210
212
  export * from './EphemeralInstancesTimeSeriesPointUio';
@@ -352,7 +354,6 @@ export * from './ProviderCreateRequestUio';
352
354
  export * from './ProviderTypeUio';
353
355
  export * from './ProviderUio';
354
356
  export * from './ProviderValiationRequestUio';
355
- export * from './RegexPatternUio';
356
357
  export * from './RevealTokenRequestUio';
357
358
  export * from './RevealTokenResponseUio';
358
359
  export * from './RoleCreateRequestUio';
@@ -223,6 +223,8 @@ __exportStar(require("./EmbeddingProviderModelsInnerUio"), exports);
223
223
  __exportStar(require("./EmbeddingProviderUio"), exports);
224
224
  __exportStar(require("./EngineOptionsUio"), exports);
225
225
  __exportStar(require("./EngineUio"), exports);
226
+ __exportStar(require("./EntityModeUio"), exports);
227
+ __exportStar(require("./EntityTypeRuleUio"), exports);
226
228
  __exportStar(require("./EphemeralInstanceUio"), exports);
227
229
  __exportStar(require("./EphemeralInstancesMetricsResponseUio"), exports);
228
230
  __exportStar(require("./EphemeralInstancesTimeSeriesPointUio"), exports);
@@ -370,7 +372,6 @@ __exportStar(require("./ProviderCreateRequestUio"), exports);
370
372
  __exportStar(require("./ProviderTypeUio"), exports);
371
373
  __exportStar(require("./ProviderUio"), exports);
372
374
  __exportStar(require("./ProviderValiationRequestUio"), exports);
373
- __exportStar(require("./RegexPatternUio"), exports);
374
375
  __exportStar(require("./RevealTokenRequestUio"), exports);
375
376
  __exportStar(require("./RevealTokenResponseUio"), exports);
376
377
  __exportStar(require("./RoleCreateRequestUio"), exports);
package/dist/openapi.json CHANGED
@@ -19922,9 +19922,9 @@
19922
19922
  "useFaker" : {
19923
19923
  "type" : "boolean"
19924
19924
  },
19925
- "regexPatterns" : {
19925
+ "entityTypeRules" : {
19926
19926
  "items" : {
19927
- "$ref" : "#/components/schemas/RegexPattern"
19927
+ "$ref" : "#/components/schemas/EntityTypeRule"
19928
19928
  },
19929
19929
  "type" : "array"
19930
19930
  }
@@ -19932,25 +19932,37 @@
19932
19932
  "required" : [ "createdAt", "engine", "id", "organisationId", "role", "type" ],
19933
19933
  "type" : "object"
19934
19934
  },
19935
- "RegexPattern" : {
19935
+ "EntityTypeRule" : {
19936
19936
  "properties" : {
19937
19937
  "id" : {
19938
19938
  "type" : "string"
19939
19939
  },
19940
- "name" : {
19940
+ "entityType" : {
19941
19941
  "type" : "string"
19942
19942
  },
19943
- "expression" : {
19943
+ "isDefault" : {
19944
+ "type" : "boolean"
19945
+ },
19946
+ "mode" : {
19947
+ "$ref" : "#/components/schemas/EntityMode"
19948
+ },
19949
+ "label" : {
19944
19950
  "type" : "string"
19945
19951
  },
19946
- "entityType" : {
19952
+ "expression" : {
19947
19953
  "type" : "string"
19948
19954
  },
19949
- "enabled" : {
19950
- "type" : "boolean"
19955
+ "score" : {
19956
+ "type" : "number"
19957
+ },
19958
+ "context" : {
19959
+ "items" : {
19960
+ "type" : "string"
19961
+ },
19962
+ "type" : "array"
19951
19963
  }
19952
19964
  },
19953
- "required" : [ "enabled", "entityType", "expression", "id", "name" ],
19965
+ "required" : [ "entityType", "id", "isDefault", "mode" ],
19954
19966
  "type" : "object"
19955
19967
  },
19956
19968
  "GuardianCreateRequest" : {
@@ -20025,9 +20037,9 @@
20025
20037
  "items" : { },
20026
20038
  "type" : "array"
20027
20039
  },
20028
- "regexPatterns" : {
20040
+ "entityTypeRules" : {
20029
20041
  "items" : {
20030
- "$ref" : "#/components/schemas/RegexPattern"
20042
+ "$ref" : "#/components/schemas/EntityTypeRule"
20031
20043
  },
20032
20044
  "type" : "array"
20033
20045
  },
@@ -20050,6 +20062,12 @@
20050
20062
  "properties" : {
20051
20063
  "anonymizedPrompt" : {
20052
20064
  "type" : "string"
20065
+ },
20066
+ "blockedEntityTypes" : {
20067
+ "items" : {
20068
+ "type" : "string"
20069
+ },
20070
+ "type" : "array"
20053
20071
  }
20054
20072
  },
20055
20073
  "type" : "object"
@@ -23551,6 +23569,10 @@
23551
23569
  "enum" : [ "entry", "exit" ],
23552
23570
  "type" : "string"
23553
23571
  },
23572
+ "EntityMode" : {
23573
+ "enum" : [ "BLOCKED", "IGNORED", "ANONYMIZED" ],
23574
+ "type" : "string"
23575
+ },
23554
23576
  "EngineOptions" : {
23555
23577
  "additionalProperties" : false,
23556
23578
  "description" : "Advanced engine options for an organization.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.150",
3
+ "version": "1.0.151",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",
@@ -1,56 +0,0 @@
1
- /**
2
- * brain-client
3
- * Api ands models for brain-app and brain-app
4
- *
5
- * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface RegexPatternUio
16
- */
17
- export interface RegexPatternUio {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof RegexPatternUio
22
- */
23
- id: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof RegexPatternUio
28
- */
29
- name: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof RegexPatternUio
34
- */
35
- expression: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof RegexPatternUio
40
- */
41
- entityType: string;
42
- /**
43
- *
44
- * @type {boolean}
45
- * @memberof RegexPatternUio
46
- */
47
- enabled: boolean;
48
- }
49
- /**
50
- * Check if a given object implements the RegexPatternUio interface.
51
- */
52
- export declare function instanceOfRegexPatternUio(value: object): value is RegexPatternUio;
53
- export declare function RegexPatternUioFromJSON(json: any): RegexPatternUio;
54
- export declare function RegexPatternUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegexPatternUio;
55
- export declare function RegexPatternUioToJSON(json: any): RegexPatternUio;
56
- export declare function RegexPatternUioToJSONTyped(value?: RegexPatternUio | null, ignoreDiscriminator?: boolean): any;
@@ -1,66 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * brain-client
6
- * Api ands models for brain-app and brain-app
7
- *
8
- * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfRegexPatternUio = instanceOfRegexPatternUio;
17
- exports.RegexPatternUioFromJSON = RegexPatternUioFromJSON;
18
- exports.RegexPatternUioFromJSONTyped = RegexPatternUioFromJSONTyped;
19
- exports.RegexPatternUioToJSON = RegexPatternUioToJSON;
20
- exports.RegexPatternUioToJSONTyped = RegexPatternUioToJSONTyped;
21
- /**
22
- * Check if a given object implements the RegexPatternUio interface.
23
- */
24
- function instanceOfRegexPatternUio(value) {
25
- if (!('id' in value) || value['id'] === undefined)
26
- return false;
27
- if (!('name' in value) || value['name'] === undefined)
28
- return false;
29
- if (!('expression' in value) || value['expression'] === undefined)
30
- return false;
31
- if (!('entityType' in value) || value['entityType'] === undefined)
32
- return false;
33
- if (!('enabled' in value) || value['enabled'] === undefined)
34
- return false;
35
- return true;
36
- }
37
- function RegexPatternUioFromJSON(json) {
38
- return RegexPatternUioFromJSONTyped(json, false);
39
- }
40
- function RegexPatternUioFromJSONTyped(json, ignoreDiscriminator) {
41
- if (json == null) {
42
- return json;
43
- }
44
- return {
45
- 'id': json['id'],
46
- 'name': json['name'],
47
- 'expression': json['expression'],
48
- 'entityType': json['entityType'],
49
- 'enabled': json['enabled'],
50
- };
51
- }
52
- function RegexPatternUioToJSON(json) {
53
- return RegexPatternUioToJSONTyped(json, false);
54
- }
55
- function RegexPatternUioToJSONTyped(value, ignoreDiscriminator = false) {
56
- if (value == null) {
57
- return value;
58
- }
59
- return {
60
- 'id': value['id'],
61
- 'name': value['name'],
62
- 'expression': value['expression'],
63
- 'entityType': value['entityType'],
64
- 'enabled': value['enabled'],
65
- };
66
- }