@rulebricks/sdk 1.3.0 → 1.4.0

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.
Files changed (112) hide show
  1. package/README.md +3 -3
  2. package/api/errors/ForbiddenError.d.ts +1 -2
  3. package/api/resources/assets/resources/rules/client/Client.js +1 -6
  4. package/api/resources/index.d.ts +1 -2
  5. package/api/resources/index.js +2 -3
  6. package/api/resources/values/client/Client.d.ts +58 -4
  7. package/api/resources/values/client/Client.js +66 -5
  8. package/api/resources/values/client/requests/UpdateValuesRequest.d.ts +81 -4
  9. package/api/resources/values/client/requests/ValuesListRequest.d.ts +12 -1
  10. package/api/resources/values/index.d.ts +0 -1
  11. package/api/resources/values/index.js +0 -1
  12. package/api/types/DynamicValue.d.ts +12 -14
  13. package/api/types/index.d.ts +0 -6
  14. package/api/types/index.js +0 -6
  15. package/dist/api/errors/ForbiddenError.d.ts +1 -2
  16. package/dist/api/resources/assets/resources/rules/client/Client.js +1 -6
  17. package/dist/api/resources/index.d.ts +1 -2
  18. package/dist/api/resources/index.js +2 -3
  19. package/dist/api/resources/values/client/Client.d.ts +58 -4
  20. package/dist/api/resources/values/client/Client.js +66 -5
  21. package/dist/api/resources/values/client/requests/UpdateValuesRequest.d.ts +81 -4
  22. package/dist/api/resources/values/client/requests/ValuesListRequest.d.ts +12 -1
  23. package/dist/api/resources/values/index.d.ts +0 -1
  24. package/dist/api/resources/values/index.js +0 -1
  25. package/dist/api/types/DynamicValue.d.ts +12 -14
  26. package/dist/api/types/index.d.ts +0 -6
  27. package/dist/api/types/index.js +0 -6
  28. package/dist/serialization/resources/index.d.ts +1 -2
  29. package/dist/serialization/resources/index.js +2 -3
  30. package/dist/serialization/resources/values/client/requests/UpdateValuesRequest.d.ts +1 -2
  31. package/dist/serialization/resources/values/client/requests/UpdateValuesRequest.js +1 -2
  32. package/dist/serialization/resources/values/index.d.ts +0 -1
  33. package/dist/serialization/resources/values/index.js +0 -1
  34. package/dist/serialization/types/DynamicValue.d.ts +9 -17
  35. package/dist/serialization/types/DynamicValue.js +8 -14
  36. package/dist/serialization/types/index.d.ts +0 -6
  37. package/dist/serialization/types/index.js +0 -6
  38. package/package.json +1 -1
  39. package/serialization/resources/index.d.ts +1 -2
  40. package/serialization/resources/index.js +2 -3
  41. package/serialization/resources/values/client/requests/UpdateValuesRequest.d.ts +1 -2
  42. package/serialization/resources/values/client/requests/UpdateValuesRequest.js +1 -2
  43. package/serialization/resources/values/index.d.ts +0 -1
  44. package/serialization/resources/values/index.js +0 -1
  45. package/serialization/types/DynamicValue.d.ts +9 -17
  46. package/serialization/types/DynamicValue.js +8 -14
  47. package/serialization/types/index.d.ts +0 -6
  48. package/serialization/types/index.js +0 -6
  49. package/api/resources/values/types/UpdateValuesRequestValuesValue.d.ts +0 -4
  50. package/api/resources/values/types/UpdateValuesRequestValuesValue.js +0 -5
  51. package/api/resources/values/types/index.d.ts +0 -1
  52. package/api/resources/values/types/index.js +0 -17
  53. package/api/types/BooleanValue.d.ts +0 -8
  54. package/api/types/BooleanValue.js +0 -5
  55. package/api/types/DynamicValueBase.d.ts +0 -14
  56. package/api/types/DynamicValueBase.js +0 -5
  57. package/api/types/ListValue.d.ts +0 -8
  58. package/api/types/ListValue.js +0 -5
  59. package/api/types/ListValueValueItem.d.ts +0 -4
  60. package/api/types/ListValueValueItem.js +0 -5
  61. package/api/types/NumberValue.d.ts +0 -8
  62. package/api/types/NumberValue.js +0 -5
  63. package/api/types/StringValue.d.ts +0 -8
  64. package/api/types/StringValue.js +0 -5
  65. package/dist/api/resources/values/types/UpdateValuesRequestValuesValue.d.ts +0 -4
  66. package/dist/api/resources/values/types/UpdateValuesRequestValuesValue.js +0 -5
  67. package/dist/api/resources/values/types/index.d.ts +0 -1
  68. package/dist/api/resources/values/types/index.js +0 -17
  69. package/dist/api/types/BooleanValue.d.ts +0 -8
  70. package/dist/api/types/BooleanValue.js +0 -5
  71. package/dist/api/types/DynamicValueBase.d.ts +0 -14
  72. package/dist/api/types/DynamicValueBase.js +0 -5
  73. package/dist/api/types/ListValue.d.ts +0 -8
  74. package/dist/api/types/ListValue.js +0 -5
  75. package/dist/api/types/ListValueValueItem.d.ts +0 -4
  76. package/dist/api/types/ListValueValueItem.js +0 -5
  77. package/dist/api/types/NumberValue.d.ts +0 -8
  78. package/dist/api/types/NumberValue.js +0 -5
  79. package/dist/api/types/StringValue.d.ts +0 -8
  80. package/dist/api/types/StringValue.js +0 -5
  81. package/dist/serialization/resources/values/types/UpdateValuesRequestValuesValue.d.ts +0 -10
  82. package/dist/serialization/resources/values/types/UpdateValuesRequestValuesValue.js +0 -36
  83. package/dist/serialization/resources/values/types/index.d.ts +0 -1
  84. package/dist/serialization/resources/values/types/index.js +0 -17
  85. package/dist/serialization/types/BooleanValue.d.ts +0 -13
  86. package/dist/serialization/types/BooleanValue.js +0 -36
  87. package/dist/serialization/types/DynamicValueBase.d.ts +0 -16
  88. package/dist/serialization/types/DynamicValueBase.js +0 -37
  89. package/dist/serialization/types/ListValue.d.ts +0 -14
  90. package/dist/serialization/types/ListValue.js +0 -37
  91. package/dist/serialization/types/ListValueValueItem.d.ts +0 -10
  92. package/dist/serialization/types/ListValueValueItem.js +0 -37
  93. package/dist/serialization/types/NumberValue.d.ts +0 -13
  94. package/dist/serialization/types/NumberValue.js +0 -36
  95. package/dist/serialization/types/StringValue.d.ts +0 -13
  96. package/dist/serialization/types/StringValue.js +0 -36
  97. package/serialization/resources/values/types/UpdateValuesRequestValuesValue.d.ts +0 -10
  98. package/serialization/resources/values/types/UpdateValuesRequestValuesValue.js +0 -36
  99. package/serialization/resources/values/types/index.d.ts +0 -1
  100. package/serialization/resources/values/types/index.js +0 -17
  101. package/serialization/types/BooleanValue.d.ts +0 -13
  102. package/serialization/types/BooleanValue.js +0 -36
  103. package/serialization/types/DynamicValueBase.d.ts +0 -16
  104. package/serialization/types/DynamicValueBase.js +0 -37
  105. package/serialization/types/ListValue.d.ts +0 -14
  106. package/serialization/types/ListValue.js +0 -37
  107. package/serialization/types/ListValueValueItem.d.ts +0 -10
  108. package/serialization/types/ListValueValueItem.js +0 -37
  109. package/serialization/types/NumberValue.d.ts +0 -13
  110. package/serialization/types/NumberValue.js +0 -36
  111. package/serialization/types/StringValue.d.ts +0 -13
  112. package/serialization/types/StringValue.js +0 -36
@@ -45,12 +45,6 @@ __exportStar(require("./DecisionLogDecisionConditionsItemValue"), exports);
45
45
  __exportStar(require("./DecisionLogDecision"), exports);
46
46
  __exportStar(require("./DecisionLog"), exports);
47
47
  __exportStar(require("./UsageStatistics"), exports);
48
- __exportStar(require("./DynamicValueBase"), exports);
49
- __exportStar(require("./StringValue"), exports);
50
- __exportStar(require("./NumberValue"), exports);
51
- __exportStar(require("./BooleanValue"), exports);
52
- __exportStar(require("./ListValueValueItem"), exports);
53
- __exportStar(require("./ListValue"), exports);
54
48
  __exportStar(require("./DynamicValue"), exports);
55
49
  __exportStar(require("./DynamicValueListResponse"), exports);
56
50
  __exportStar(require("./RuleUsage"), exports);
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export declare type UpdateValuesRequestValuesValue = string | number | boolean | string[];
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from "./UpdateValuesRequestValuesValue";
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./UpdateValuesRequestValuesValue"), exports);
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rulebricks from "../index";
5
- export interface BooleanValue extends Rulebricks.DynamicValueBase {
6
- /** The boolean value */
7
- value?: boolean;
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rulebricks from "../index";
5
- export interface DynamicValueBase {
6
- /** Unique identifier for the dynamic value. */
7
- id?: string;
8
- /** Name of the dynamic value. */
9
- name?: string;
10
- /** Rules that use this dynamic value. */
11
- usages?: Rulebricks.RuleUsage[];
12
- /** Access groups assigned to this value. */
13
- accessGroups?: string[];
14
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rulebricks from "../index";
5
- export interface ListValue extends Rulebricks.DynamicValueBase {
6
- /** The list value */
7
- value?: Rulebricks.ListValueValueItem[];
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export declare type ListValueValueItem = string | number | boolean | Record<string, unknown> | unknown[];
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rulebricks from "../index";
5
- export interface NumberValue extends Rulebricks.DynamicValueBase {
6
- /** The numeric value */
7
- value?: number;
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rulebricks from "../index";
5
- export interface StringValue extends Rulebricks.DynamicValueBase {
6
- /** The string value */
7
- value?: string;
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export declare type UpdateValuesRequestValuesValue = string | number | boolean | string[];
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from "./UpdateValuesRequestValuesValue";
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./UpdateValuesRequestValuesValue"), exports);
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rulebricks from "../index";
5
- export interface BooleanValue extends Rulebricks.DynamicValueBase {
6
- /** The boolean value */
7
- value?: boolean;
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rulebricks from "../index";
5
- export interface DynamicValueBase {
6
- /** Unique identifier for the dynamic value. */
7
- id?: string;
8
- /** Name of the dynamic value. */
9
- name?: string;
10
- /** Rules that use this dynamic value. */
11
- usages?: Rulebricks.RuleUsage[];
12
- /** Access groups assigned to this value. */
13
- accessGroups?: string[];
14
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rulebricks from "../index";
5
- export interface ListValue extends Rulebricks.DynamicValueBase {
6
- /** The list value */
7
- value?: Rulebricks.ListValueValueItem[];
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export declare type ListValueValueItem = string | number | boolean | Record<string, unknown> | unknown[];
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rulebricks from "../index";
5
- export interface NumberValue extends Rulebricks.DynamicValueBase {
6
- /** The numeric value */
7
- value?: number;
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rulebricks from "../index";
5
- export interface StringValue extends Rulebricks.DynamicValueBase {
6
- /** The string value */
7
- value?: string;
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Rulebricks from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const UpdateValuesRequestValuesValue: core.serialization.Schema<serializers.UpdateValuesRequestValuesValue.Raw, Rulebricks.UpdateValuesRequestValuesValue>;
8
- export declare namespace UpdateValuesRequestValuesValue {
9
- type Raw = string | number | boolean | string[];
10
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.UpdateValuesRequestValuesValue = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.UpdateValuesRequestValuesValue = core.serialization.undiscriminatedUnion([
32
- core.serialization.string(),
33
- core.serialization.number(),
34
- core.serialization.boolean(),
35
- core.serialization.list(core.serialization.string()),
36
- ]);
@@ -1 +0,0 @@
1
- export * from "./UpdateValuesRequestValuesValue";
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./UpdateValuesRequestValuesValue"), exports);
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Rulebricks from "../../api/index";
6
- import * as core from "../../core";
7
- import { DynamicValueBase } from "./DynamicValueBase";
8
- export declare const BooleanValue: core.serialization.ObjectSchema<serializers.BooleanValue.Raw, Rulebricks.BooleanValue>;
9
- export declare namespace BooleanValue {
10
- interface Raw extends DynamicValueBase.Raw {
11
- value?: boolean | null;
12
- }
13
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.BooleanValue = void 0;
30
- const core = __importStar(require("../../core"));
31
- const DynamicValueBase_1 = require("./DynamicValueBase");
32
- exports.BooleanValue = core.serialization
33
- .object({
34
- value: core.serialization.boolean().optional(),
35
- })
36
- .extend(DynamicValueBase_1.DynamicValueBase);
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Rulebricks from "../../api/index";
6
- import * as core from "../../core";
7
- import { RuleUsage } from "./RuleUsage";
8
- export declare const DynamicValueBase: core.serialization.ObjectSchema<serializers.DynamicValueBase.Raw, Rulebricks.DynamicValueBase>;
9
- export declare namespace DynamicValueBase {
10
- interface Raw {
11
- id?: string | null;
12
- name?: string | null;
13
- usages?: RuleUsage.Raw[] | null;
14
- accessGroups?: string[] | null;
15
- }
16
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.DynamicValueBase = void 0;
30
- const core = __importStar(require("../../core"));
31
- const RuleUsage_1 = require("./RuleUsage");
32
- exports.DynamicValueBase = core.serialization.object({
33
- id: core.serialization.string().optional(),
34
- name: core.serialization.string().optional(),
35
- usages: core.serialization.list(RuleUsage_1.RuleUsage).optional(),
36
- accessGroups: core.serialization.list(core.serialization.string()).optional(),
37
- });
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Rulebricks from "../../api/index";
6
- import * as core from "../../core";
7
- import { ListValueValueItem } from "./ListValueValueItem";
8
- import { DynamicValueBase } from "./DynamicValueBase";
9
- export declare const ListValue: core.serialization.ObjectSchema<serializers.ListValue.Raw, Rulebricks.ListValue>;
10
- export declare namespace ListValue {
11
- interface Raw extends DynamicValueBase.Raw {
12
- value?: ListValueValueItem.Raw[] | null;
13
- }
14
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ListValue = void 0;
30
- const core = __importStar(require("../../core"));
31
- const ListValueValueItem_1 = require("./ListValueValueItem");
32
- const DynamicValueBase_1 = require("./DynamicValueBase");
33
- exports.ListValue = core.serialization
34
- .object({
35
- value: core.serialization.list(ListValueValueItem_1.ListValueValueItem).optional(),
36
- })
37
- .extend(DynamicValueBase_1.DynamicValueBase);
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Rulebricks from "../../api/index";
6
- import * as core from "../../core";
7
- export declare const ListValueValueItem: core.serialization.Schema<serializers.ListValueValueItem.Raw, Rulebricks.ListValueValueItem>;
8
- export declare namespace ListValueValueItem {
9
- type Raw = string | number | boolean | Record<string, unknown> | unknown[];
10
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ListValueValueItem = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.ListValueValueItem = core.serialization.undiscriminatedUnion([
32
- core.serialization.string(),
33
- core.serialization.number(),
34
- core.serialization.boolean(),
35
- core.serialization.record(core.serialization.string(), core.serialization.unknown()),
36
- core.serialization.list(core.serialization.unknown()),
37
- ]);
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Rulebricks from "../../api/index";
6
- import * as core from "../../core";
7
- import { DynamicValueBase } from "./DynamicValueBase";
8
- export declare const NumberValue: core.serialization.ObjectSchema<serializers.NumberValue.Raw, Rulebricks.NumberValue>;
9
- export declare namespace NumberValue {
10
- interface Raw extends DynamicValueBase.Raw {
11
- value?: number | null;
12
- }
13
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.NumberValue = void 0;
30
- const core = __importStar(require("../../core"));
31
- const DynamicValueBase_1 = require("./DynamicValueBase");
32
- exports.NumberValue = core.serialization
33
- .object({
34
- value: core.serialization.number().optional(),
35
- })
36
- .extend(DynamicValueBase_1.DynamicValueBase);
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Rulebricks from "../../api/index";
6
- import * as core from "../../core";
7
- import { DynamicValueBase } from "./DynamicValueBase";
8
- export declare const StringValue: core.serialization.ObjectSchema<serializers.StringValue.Raw, Rulebricks.StringValue>;
9
- export declare namespace StringValue {
10
- interface Raw extends DynamicValueBase.Raw {
11
- value?: string | null;
12
- }
13
- }