@lssm/lib.contracts 0.0.0-canary-20251217083314 → 0.0.0-canary-20251220002821

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 (91) hide show
  1. package/LICENSE +21 -0
  2. package/dist/app-config/contracts.d.ts +50 -50
  3. package/dist/app-config/contracts.js +54 -56
  4. package/dist/app-config/events.d.ts +27 -27
  5. package/dist/app-config/events.js +31 -33
  6. package/dist/app-config/lifecycle-contracts.d.ts +80 -80
  7. package/dist/app-config/lifecycle-contracts.js +66 -68
  8. package/dist/client/react/form-render.d.ts +6 -6
  9. package/dist/client/react/form-render.js +15 -15
  10. package/dist/contracts-adapter-hydration.js +2 -2
  11. package/dist/data-views/query-generator.d.ts +2 -2
  12. package/dist/data-views/query-generator.js +1 -1
  13. package/dist/data-views/runtime.d.ts +2 -2
  14. package/dist/data-views/runtime.js +2 -2
  15. package/dist/docs/index.js +0 -6
  16. package/dist/docs/meta.docs.js +3 -0
  17. package/dist/docs/tech-contracts.docs.js +3 -0
  18. package/dist/forms.d.ts +4 -4
  19. package/dist/forms.js +3 -2
  20. package/dist/index.js +2 -3
  21. package/dist/integrations/contracts.d.ts +105 -104
  22. package/dist/integrations/contracts.js +63 -65
  23. package/dist/integrations/openbanking/contracts/accounts.d.ts +69 -68
  24. package/dist/integrations/openbanking/contracts/accounts.js +29 -31
  25. package/dist/integrations/openbanking/contracts/balances.d.ts +37 -36
  26. package/dist/integrations/openbanking/contracts/balances.js +16 -18
  27. package/dist/integrations/openbanking/contracts/transactions.d.ts +51 -50
  28. package/dist/integrations/openbanking/contracts/transactions.js +30 -32
  29. package/dist/integrations/openbanking/guards.js +1 -0
  30. package/dist/integrations/openbanking/models.d.ts +55 -55
  31. package/dist/integrations/openbanking/models.js +58 -60
  32. package/dist/integrations/providers/impls/gmail-inbound.js +1 -1
  33. package/dist/integrations/providers/impls/gmail-outbound.js +4 -4
  34. package/dist/integrations/providers/impls/mistral-llm.d.ts +1 -1
  35. package/dist/integrations/providers/impls/mistral-llm.js +1 -1
  36. package/dist/integrations/providers/impls/powens-openbanking.d.ts +1 -1
  37. package/dist/integrations/providers/impls/provider-factory.js +4 -1
  38. package/dist/integrations/providers/impls/qdrant-vector.js +2 -2
  39. package/dist/integrations/runtime.d.ts +1 -1
  40. package/dist/integrations/runtime.js +1 -1
  41. package/dist/integrations/secrets/manager.js +1 -1
  42. package/dist/jobs/handlers/gmail-sync-handler.d.ts +1 -1
  43. package/dist/jsonschema.d.ts +3 -3
  44. package/dist/knowledge/contracts.d.ts +69 -68
  45. package/dist/knowledge/contracts.js +42 -44
  46. package/dist/markdown.d.ts +1 -1
  47. package/dist/markdown.js +1 -1
  48. package/dist/onboarding-base.d.ts +29 -29
  49. package/dist/onboarding-base.js +20 -22
  50. package/dist/ownership.d.ts +4 -6
  51. package/dist/ownership.js +4 -5
  52. package/dist/presentations.d.ts +3 -3
  53. package/dist/presentations.v2.js +5 -2
  54. package/dist/promptRegistry.d.ts +2 -2
  55. package/dist/registry.d.ts +1 -1
  56. package/dist/registry.js +1 -0
  57. package/dist/resources.js +4 -1
  58. package/dist/schema/dist/index.js +4683 -6
  59. package/dist/schema-to-markdown.d.ts +1 -1
  60. package/dist/schema-to-markdown.js +1 -1
  61. package/dist/server/graphql-pothos.js +0 -1
  62. package/dist/server/rest-elysia.d.ts +1 -1
  63. package/dist/server/rest-express.js +0 -3
  64. package/dist/server/rest-generic.d.ts +1 -1
  65. package/dist/server/rest-generic.js +0 -1
  66. package/dist/server/rest-next-mcp.js +1 -1
  67. package/dist/server/rest-next-pages.js +0 -3
  68. package/dist/workflow/adapters/db-adapter.d.ts +19 -7
  69. package/dist/workflow/adapters/db-adapter.js +3 -3
  70. package/dist/workflow/expression.js +3 -2
  71. package/dist/workflow/validation.js +1 -0
  72. package/package.json +19 -18
  73. package/dist/docs/PUBLISHING.docblock.d.ts +0 -6
  74. package/dist/docs/PUBLISHING.docblock.js +0 -17
  75. package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.d.ts +0 -6
  76. package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -17
  77. package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.d.ts +0 -6
  78. package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -17
  79. package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.d.ts +0 -6
  80. package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -17
  81. package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.d.ts +0 -6
  82. package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -17
  83. package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.d.ts +0 -6
  84. package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -17
  85. package/dist/schema/dist/EnumType.js +0 -2
  86. package/dist/schema/dist/FieldType.js +0 -49
  87. package/dist/schema/dist/ScalarTypeEnum.js +0 -236
  88. package/dist/schema/dist/SchemaModel.js +0 -39
  89. package/dist/schema/dist/entity/defineEntity.js +0 -1
  90. package/dist/schema/dist/entity/index.js +0 -2
  91. package/dist/schema/dist/entity/types.js +0 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Chaman Ventures, SASU
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,38 +1,38 @@
1
1
  import { ContractSpec } from "../spec.js";
2
2
  import { SpecRegistry } from "../registry.js";
3
- import * as _lssm_lib_schema43 from "@lssm/lib.schema";
3
+ import * as _lssm_lib_schema97 from "@lssm/lib.schema";
4
4
  import { SchemaModel } from "@lssm/lib.schema";
5
5
 
6
6
  //#region src/app-config/contracts.d.ts
7
7
  declare const UpdateTenantBrandingCommand: ContractSpec<SchemaModel<{
8
8
  tenantId: {
9
- type: _lssm_lib_schema43.FieldType<string, string>;
9
+ type: _lssm_lib_schema97.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  appId: {
13
- type: _lssm_lib_schema43.FieldType<string, string>;
13
+ type: _lssm_lib_schema97.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  environment: {
17
- type: _lssm_lib_schema43.FieldType<string, string>;
17
+ type: _lssm_lib_schema97.FieldType<string, string>;
18
18
  isOptional: true;
19
19
  };
20
20
  appName: {
21
- type: _lssm_lib_schema43.FieldType<Record<string, unknown>, Record<string, unknown>>;
21
+ type: _lssm_lib_schema97.FieldType<Record<string, unknown>, Record<string, unknown>>;
22
22
  isOptional: true;
23
23
  };
24
24
  assets: {
25
25
  type: SchemaModel<{
26
26
  type: {
27
- type: _lssm_lib_schema43.FieldType<string, string>;
27
+ type: _lssm_lib_schema97.FieldType<string, string>;
28
28
  isOptional: false;
29
29
  };
30
30
  url: {
31
- type: _lssm_lib_schema43.FieldType<string, string>;
31
+ type: _lssm_lib_schema97.FieldType<string, string>;
32
32
  isOptional: false;
33
33
  };
34
34
  mimeType: {
35
- type: _lssm_lib_schema43.FieldType<string, string>;
35
+ type: _lssm_lib_schema97.FieldType<string, string>;
36
36
  isOptional: true;
37
37
  };
38
38
  }>;
@@ -40,92 +40,92 @@ declare const UpdateTenantBrandingCommand: ContractSpec<SchemaModel<{
40
40
  isArray: true;
41
41
  };
42
42
  colors: {
43
- type: _lssm_lib_schema43.FieldType<Record<string, unknown>, Record<string, unknown>>;
43
+ type: _lssm_lib_schema97.FieldType<Record<string, unknown>, Record<string, unknown>>;
44
44
  isOptional: true;
45
45
  };
46
46
  customDomain: {
47
- type: _lssm_lib_schema43.FieldType<string, string>;
47
+ type: _lssm_lib_schema97.FieldType<string, string>;
48
48
  isOptional: true;
49
49
  };
50
50
  subdomain: {
51
- type: _lssm_lib_schema43.FieldType<string, string>;
51
+ type: _lssm_lib_schema97.FieldType<string, string>;
52
52
  isOptional: true;
53
53
  };
54
54
  }>, SchemaModel<{
55
55
  success: {
56
- type: _lssm_lib_schema43.FieldType<boolean, boolean>;
56
+ type: _lssm_lib_schema97.FieldType<boolean, boolean>;
57
57
  isOptional: false;
58
58
  };
59
59
  updatedAt: {
60
- type: _lssm_lib_schema43.FieldType<Date, string>;
60
+ type: _lssm_lib_schema97.FieldType<Date, string>;
61
61
  isOptional: false;
62
62
  };
63
63
  }>, undefined>;
64
64
  declare const VerifyCustomDomainCommand: ContractSpec<SchemaModel<{
65
65
  tenantId: {
66
- type: _lssm_lib_schema43.FieldType<string, string>;
66
+ type: _lssm_lib_schema97.FieldType<string, string>;
67
67
  isOptional: false;
68
68
  };
69
69
  appId: {
70
- type: _lssm_lib_schema43.FieldType<string, string>;
70
+ type: _lssm_lib_schema97.FieldType<string, string>;
71
71
  isOptional: false;
72
72
  };
73
73
  domain: {
74
- type: _lssm_lib_schema43.FieldType<string, string>;
74
+ type: _lssm_lib_schema97.FieldType<string, string>;
75
75
  isOptional: false;
76
76
  };
77
77
  }>, SchemaModel<{
78
78
  status: {
79
- type: _lssm_lib_schema43.FieldType<string, string>;
79
+ type: _lssm_lib_schema97.FieldType<string, string>;
80
80
  isOptional: false;
81
81
  };
82
82
  message: {
83
- type: _lssm_lib_schema43.FieldType<string, string>;
83
+ type: _lssm_lib_schema97.FieldType<string, string>;
84
84
  isOptional: true;
85
85
  };
86
86
  }>, undefined>;
87
87
  declare const UpdateBlueprintTranslationCatalogCommand: ContractSpec<SchemaModel<{
88
88
  blueprintName: {
89
- type: _lssm_lib_schema43.FieldType<string, string>;
89
+ type: _lssm_lib_schema97.FieldType<string, string>;
90
90
  isOptional: false;
91
91
  };
92
92
  blueprintVersion: {
93
- type: _lssm_lib_schema43.FieldType<number, number>;
93
+ type: _lssm_lib_schema97.FieldType<number, number>;
94
94
  isOptional: false;
95
95
  };
96
96
  catalogName: {
97
- type: _lssm_lib_schema43.FieldType<string, string>;
97
+ type: _lssm_lib_schema97.FieldType<string, string>;
98
98
  isOptional: false;
99
99
  };
100
100
  catalogVersion: {
101
- type: _lssm_lib_schema43.FieldType<number, number>;
101
+ type: _lssm_lib_schema97.FieldType<number, number>;
102
102
  isOptional: false;
103
103
  };
104
104
  defaultLocale: {
105
- type: _lssm_lib_schema43.FieldType<string, string>;
105
+ type: _lssm_lib_schema97.FieldType<string, string>;
106
106
  isOptional: false;
107
107
  };
108
108
  supportedLocales: {
109
- type: _lssm_lib_schema43.FieldType<string, string>;
109
+ type: _lssm_lib_schema97.FieldType<string, string>;
110
110
  isOptional: false;
111
111
  isArray: true;
112
112
  };
113
113
  entries: {
114
114
  type: SchemaModel<{
115
115
  key: {
116
- type: _lssm_lib_schema43.FieldType<string, string>;
116
+ type: _lssm_lib_schema97.FieldType<string, string>;
117
117
  isOptional: false;
118
118
  };
119
119
  locale: {
120
- type: _lssm_lib_schema43.FieldType<string, string>;
120
+ type: _lssm_lib_schema97.FieldType<string, string>;
121
121
  isOptional: false;
122
122
  };
123
123
  value: {
124
- type: _lssm_lib_schema43.FieldType<string, string>;
124
+ type: _lssm_lib_schema97.FieldType<string, string>;
125
125
  isOptional: false;
126
126
  };
127
127
  context: {
128
- type: _lssm_lib_schema43.FieldType<string, string>;
128
+ type: _lssm_lib_schema97.FieldType<string, string>;
129
129
  isOptional: true;
130
130
  };
131
131
  }>;
@@ -134,39 +134,39 @@ declare const UpdateBlueprintTranslationCatalogCommand: ContractSpec<SchemaModel
134
134
  };
135
135
  }>, SchemaModel<{
136
136
  success: {
137
- type: _lssm_lib_schema43.FieldType<boolean, boolean>;
137
+ type: _lssm_lib_schema97.FieldType<boolean, boolean>;
138
138
  isOptional: false;
139
139
  };
140
140
  updatedAt: {
141
- type: _lssm_lib_schema43.FieldType<Date, string>;
141
+ type: _lssm_lib_schema97.FieldType<Date, string>;
142
142
  isOptional: false;
143
143
  };
144
144
  }>, undefined>;
145
145
  declare const UpdateTenantTranslationOverridesCommand: ContractSpec<SchemaModel<{
146
146
  tenantId: {
147
- type: _lssm_lib_schema43.FieldType<string, string>;
147
+ type: _lssm_lib_schema97.FieldType<string, string>;
148
148
  isOptional: false;
149
149
  };
150
150
  appId: {
151
- type: _lssm_lib_schema43.FieldType<string, string>;
151
+ type: _lssm_lib_schema97.FieldType<string, string>;
152
152
  isOptional: false;
153
153
  };
154
154
  entries: {
155
155
  type: SchemaModel<{
156
156
  key: {
157
- type: _lssm_lib_schema43.FieldType<string, string>;
157
+ type: _lssm_lib_schema97.FieldType<string, string>;
158
158
  isOptional: false;
159
159
  };
160
160
  locale: {
161
- type: _lssm_lib_schema43.FieldType<string, string>;
161
+ type: _lssm_lib_schema97.FieldType<string, string>;
162
162
  isOptional: false;
163
163
  };
164
164
  value: {
165
- type: _lssm_lib_schema43.FieldType<string, string>;
165
+ type: _lssm_lib_schema97.FieldType<string, string>;
166
166
  isOptional: false;
167
167
  };
168
168
  context: {
169
- type: _lssm_lib_schema43.FieldType<string, string>;
169
+ type: _lssm_lib_schema97.FieldType<string, string>;
170
170
  isOptional: true;
171
171
  };
172
172
  }>;
@@ -174,67 +174,67 @@ declare const UpdateTenantTranslationOverridesCommand: ContractSpec<SchemaModel<
174
174
  isArray: true;
175
175
  };
176
176
  defaultLocale: {
177
- type: _lssm_lib_schema43.FieldType<string, string>;
177
+ type: _lssm_lib_schema97.FieldType<string, string>;
178
178
  isOptional: true;
179
179
  };
180
180
  enabledLocales: {
181
- type: _lssm_lib_schema43.FieldType<string, string>;
181
+ type: _lssm_lib_schema97.FieldType<string, string>;
182
182
  isOptional: true;
183
183
  isArray: true;
184
184
  };
185
185
  }>, SchemaModel<{
186
186
  success: {
187
- type: _lssm_lib_schema43.FieldType<boolean, boolean>;
187
+ type: _lssm_lib_schema97.FieldType<boolean, boolean>;
188
188
  isOptional: false;
189
189
  };
190
190
  updatedAt: {
191
- type: _lssm_lib_schema43.FieldType<Date, string>;
191
+ type: _lssm_lib_schema97.FieldType<Date, string>;
192
192
  isOptional: false;
193
193
  };
194
194
  }>, undefined>;
195
195
  declare const GetResolvedBrandingQuery: ContractSpec<SchemaModel<{
196
196
  tenantId: {
197
- type: _lssm_lib_schema43.FieldType<string, string>;
197
+ type: _lssm_lib_schema97.FieldType<string, string>;
198
198
  isOptional: false;
199
199
  };
200
200
  appId: {
201
- type: _lssm_lib_schema43.FieldType<string, string>;
201
+ type: _lssm_lib_schema97.FieldType<string, string>;
202
202
  isOptional: false;
203
203
  };
204
204
  environment: {
205
- type: _lssm_lib_schema43.FieldType<string, string>;
205
+ type: _lssm_lib_schema97.FieldType<string, string>;
206
206
  isOptional: true;
207
207
  };
208
208
  }>, SchemaModel<{
209
209
  branding: {
210
- type: _lssm_lib_schema43.FieldType<Record<string, unknown>, Record<string, unknown>>;
210
+ type: _lssm_lib_schema97.FieldType<Record<string, unknown>, Record<string, unknown>>;
211
211
  isOptional: false;
212
212
  };
213
213
  }>, undefined>;
214
214
  declare const ResolveMessageQuery: ContractSpec<SchemaModel<{
215
215
  tenantId: {
216
- type: _lssm_lib_schema43.FieldType<string, string>;
216
+ type: _lssm_lib_schema97.FieldType<string, string>;
217
217
  isOptional: false;
218
218
  };
219
219
  appId: {
220
- type: _lssm_lib_schema43.FieldType<string, string>;
220
+ type: _lssm_lib_schema97.FieldType<string, string>;
221
221
  isOptional: false;
222
222
  };
223
223
  locale: {
224
- type: _lssm_lib_schema43.FieldType<string, string>;
224
+ type: _lssm_lib_schema97.FieldType<string, string>;
225
225
  isOptional: false;
226
226
  };
227
227
  key: {
228
- type: _lssm_lib_schema43.FieldType<string, string>;
228
+ type: _lssm_lib_schema97.FieldType<string, string>;
229
229
  isOptional: false;
230
230
  };
231
231
  }>, SchemaModel<{
232
232
  value: {
233
- type: _lssm_lib_schema43.FieldType<string, string>;
233
+ type: _lssm_lib_schema97.FieldType<string, string>;
234
234
  isOptional: true;
235
235
  };
236
236
  source: {
237
- type: _lssm_lib_schema43.FieldType<string, string>;
237
+ type: _lssm_lib_schema97.FieldType<string, string>;
238
238
  isOptional: true;
239
239
  };
240
240
  }>, undefined>;
@@ -1,44 +1,42 @@
1
- import { ScalarTypeEnum } from "../schema/dist/ScalarTypeEnum.js";
2
- import { SchemaModel } from "../schema/dist/SchemaModel.js";
3
- import "../schema/dist/index.js";
1
+ import { E5, x8 } from "../schema/dist/index.js";
4
2
  import { defineCommand, defineQuery } from "../spec.js";
5
3
  import { OwnersEnum, StabilityEnum, TagsEnum } from "../ownership.js";
6
4
 
7
5
  //#region src/app-config/contracts.ts
8
- const BrandingAssetInput = new SchemaModel({
6
+ const BrandingAssetInput = new x8({
9
7
  name: "BrandingAssetInput",
10
8
  fields: {
11
9
  type: {
12
- type: ScalarTypeEnum.String_unsecure(),
10
+ type: E5.String_unsecure(),
13
11
  isOptional: false
14
12
  },
15
13
  url: {
16
- type: ScalarTypeEnum.URL(),
14
+ type: E5.URL(),
17
15
  isOptional: false
18
16
  },
19
17
  mimeType: {
20
- type: ScalarTypeEnum.String_unsecure(),
18
+ type: E5.String_unsecure(),
21
19
  isOptional: true
22
20
  }
23
21
  }
24
22
  });
25
- const UpdateTenantBrandingInput = new SchemaModel({
23
+ const UpdateTenantBrandingInput = new x8({
26
24
  name: "UpdateTenantBrandingInput",
27
25
  fields: {
28
26
  tenantId: {
29
- type: ScalarTypeEnum.ID(),
27
+ type: E5.ID(),
30
28
  isOptional: false
31
29
  },
32
30
  appId: {
33
- type: ScalarTypeEnum.ID(),
31
+ type: E5.ID(),
34
32
  isOptional: false
35
33
  },
36
34
  environment: {
37
- type: ScalarTypeEnum.String_unsecure(),
35
+ type: E5.String_unsecure(),
38
36
  isOptional: true
39
37
  },
40
38
  appName: {
41
- type: ScalarTypeEnum.JSONObject(),
39
+ type: E5.JSONObject(),
42
40
  isOptional: true
43
41
  },
44
42
  assets: {
@@ -47,108 +45,108 @@ const UpdateTenantBrandingInput = new SchemaModel({
47
45
  isArray: true
48
46
  },
49
47
  colors: {
50
- type: ScalarTypeEnum.JSONObject(),
48
+ type: E5.JSONObject(),
51
49
  isOptional: true
52
50
  },
53
51
  customDomain: {
54
- type: ScalarTypeEnum.String_unsecure(),
52
+ type: E5.String_unsecure(),
55
53
  isOptional: true
56
54
  },
57
55
  subdomain: {
58
- type: ScalarTypeEnum.String_unsecure(),
56
+ type: E5.String_unsecure(),
59
57
  isOptional: true
60
58
  }
61
59
  }
62
60
  });
63
- const UpdateTenantBrandingOutput = new SchemaModel({
61
+ const UpdateTenantBrandingOutput = new x8({
64
62
  name: "UpdateTenantBrandingOutput",
65
63
  fields: {
66
64
  success: {
67
- type: ScalarTypeEnum.Boolean(),
65
+ type: E5.Boolean(),
68
66
  isOptional: false
69
67
  },
70
68
  updatedAt: {
71
- type: ScalarTypeEnum.DateTime(),
69
+ type: E5.DateTime(),
72
70
  isOptional: false
73
71
  }
74
72
  }
75
73
  });
76
- const VerifyCustomDomainInput = new SchemaModel({
74
+ const VerifyCustomDomainInput = new x8({
77
75
  name: "VerifyCustomDomainInput",
78
76
  fields: {
79
77
  tenantId: {
80
- type: ScalarTypeEnum.ID(),
78
+ type: E5.ID(),
81
79
  isOptional: false
82
80
  },
83
81
  appId: {
84
- type: ScalarTypeEnum.ID(),
82
+ type: E5.ID(),
85
83
  isOptional: false
86
84
  },
87
85
  domain: {
88
- type: ScalarTypeEnum.String_unsecure(),
86
+ type: E5.String_unsecure(),
89
87
  isOptional: false
90
88
  }
91
89
  }
92
90
  });
93
- const VerifyCustomDomainOutput = new SchemaModel({
91
+ const VerifyCustomDomainOutput = new x8({
94
92
  name: "VerifyCustomDomainOutput",
95
93
  fields: {
96
94
  status: {
97
- type: ScalarTypeEnum.String_unsecure(),
95
+ type: E5.String_unsecure(),
98
96
  isOptional: false
99
97
  },
100
98
  message: {
101
- type: ScalarTypeEnum.String_unsecure(),
99
+ type: E5.String_unsecure(),
102
100
  isOptional: true
103
101
  }
104
102
  }
105
103
  });
106
- const TranslationEntryInput = new SchemaModel({
104
+ const TranslationEntryInput = new x8({
107
105
  name: "TranslationEntryInput",
108
106
  fields: {
109
107
  key: {
110
- type: ScalarTypeEnum.String_unsecure(),
108
+ type: E5.String_unsecure(),
111
109
  isOptional: false
112
110
  },
113
111
  locale: {
114
- type: ScalarTypeEnum.String_unsecure(),
112
+ type: E5.String_unsecure(),
115
113
  isOptional: false
116
114
  },
117
115
  value: {
118
- type: ScalarTypeEnum.String_unsecure(),
116
+ type: E5.String_unsecure(),
119
117
  isOptional: false
120
118
  },
121
119
  context: {
122
- type: ScalarTypeEnum.String_unsecure(),
120
+ type: E5.String_unsecure(),
123
121
  isOptional: true
124
122
  }
125
123
  }
126
124
  });
127
- const UpdateBlueprintTranslationInput = new SchemaModel({
125
+ const UpdateBlueprintTranslationInput = new x8({
128
126
  name: "UpdateBlueprintTranslationInput",
129
127
  fields: {
130
128
  blueprintName: {
131
- type: ScalarTypeEnum.String_unsecure(),
129
+ type: E5.String_unsecure(),
132
130
  isOptional: false
133
131
  },
134
132
  blueprintVersion: {
135
- type: ScalarTypeEnum.Int_unsecure(),
133
+ type: E5.Int_unsecure(),
136
134
  isOptional: false
137
135
  },
138
136
  catalogName: {
139
- type: ScalarTypeEnum.String_unsecure(),
137
+ type: E5.String_unsecure(),
140
138
  isOptional: false
141
139
  },
142
140
  catalogVersion: {
143
- type: ScalarTypeEnum.Int_unsecure(),
141
+ type: E5.Int_unsecure(),
144
142
  isOptional: false
145
143
  },
146
144
  defaultLocale: {
147
- type: ScalarTypeEnum.String_unsecure(),
145
+ type: E5.String_unsecure(),
148
146
  isOptional: false
149
147
  },
150
148
  supportedLocales: {
151
- type: ScalarTypeEnum.String_unsecure(),
149
+ type: E5.String_unsecure(),
152
150
  isOptional: false,
153
151
  isArray: true
154
152
  },
@@ -159,15 +157,15 @@ const UpdateBlueprintTranslationInput = new SchemaModel({
159
157
  }
160
158
  }
161
159
  });
162
- const UpdateTenantTranslationInput = new SchemaModel({
160
+ const UpdateTenantTranslationInput = new x8({
163
161
  name: "UpdateTenantTranslationInput",
164
162
  fields: {
165
163
  tenantId: {
166
- type: ScalarTypeEnum.ID(),
164
+ type: E5.ID(),
167
165
  isOptional: false
168
166
  },
169
167
  appId: {
170
- type: ScalarTypeEnum.ID(),
168
+ type: E5.ID(),
171
169
  isOptional: false
172
170
  },
173
171
  entries: {
@@ -176,46 +174,46 @@ const UpdateTenantTranslationInput = new SchemaModel({
176
174
  isArray: true
177
175
  },
178
176
  defaultLocale: {
179
- type: ScalarTypeEnum.String_unsecure(),
177
+ type: E5.String_unsecure(),
180
178
  isOptional: true
181
179
  },
182
180
  enabledLocales: {
183
- type: ScalarTypeEnum.String_unsecure(),
181
+ type: E5.String_unsecure(),
184
182
  isOptional: true,
185
183
  isArray: true
186
184
  }
187
185
  }
188
186
  });
189
- const MessageResolutionInput = new SchemaModel({
187
+ const MessageResolutionInput = new x8({
190
188
  name: "MessageResolutionInput",
191
189
  fields: {
192
190
  tenantId: {
193
- type: ScalarTypeEnum.ID(),
191
+ type: E5.ID(),
194
192
  isOptional: false
195
193
  },
196
194
  appId: {
197
- type: ScalarTypeEnum.ID(),
195
+ type: E5.ID(),
198
196
  isOptional: false
199
197
  },
200
198
  locale: {
201
- type: ScalarTypeEnum.String_unsecure(),
199
+ type: E5.String_unsecure(),
202
200
  isOptional: false
203
201
  },
204
202
  key: {
205
- type: ScalarTypeEnum.String_unsecure(),
203
+ type: E5.String_unsecure(),
206
204
  isOptional: false
207
205
  }
208
206
  }
209
207
  });
210
- const MessageResolutionOutput = new SchemaModel({
208
+ const MessageResolutionOutput = new x8({
211
209
  name: "MessageResolutionOutput",
212
210
  fields: {
213
211
  value: {
214
- type: ScalarTypeEnum.String_unsecure(),
212
+ type: E5.String_unsecure(),
215
213
  isOptional: true
216
214
  },
217
215
  source: {
218
- type: ScalarTypeEnum.String_unsecure(),
216
+ type: E5.String_unsecure(),
219
217
  isOptional: true
220
218
  }
221
219
  }
@@ -324,27 +322,27 @@ const GetResolvedBrandingQuery = defineQuery({
324
322
  context: "Used by runtime surfaces to fetch brand assets prior to rendering tenant-specific experiences."
325
323
  },
326
324
  io: {
327
- input: new SchemaModel({
325
+ input: new x8({
328
326
  name: "GetResolvedBrandingInput",
329
327
  fields: {
330
328
  tenantId: {
331
- type: ScalarTypeEnum.ID(),
329
+ type: E5.ID(),
332
330
  isOptional: false
333
331
  },
334
332
  appId: {
335
- type: ScalarTypeEnum.ID(),
333
+ type: E5.ID(),
336
334
  isOptional: false
337
335
  },
338
336
  environment: {
339
- type: ScalarTypeEnum.String_unsecure(),
337
+ type: E5.String_unsecure(),
340
338
  isOptional: true
341
339
  }
342
340
  }
343
341
  }),
344
- output: new SchemaModel({
342
+ output: new x8({
345
343
  name: "GetResolvedBrandingOutput",
346
344
  fields: { branding: {
347
- type: ScalarTypeEnum.JSONObject(),
345
+ type: E5.JSONObject(),
348
346
  isOptional: false
349
347
  } }
350
348
  })