@constructive-io/sdk 0.23.3 → 0.24.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 (160) hide show
  1. package/admin/orm/index.d.ts +31 -33
  2. package/admin/orm/index.js +32 -33
  3. package/admin/orm/input-types.d.ts +2090 -2039
  4. package/admin/orm/input-types.js +4 -4
  5. package/admin/orm/models/appLimitEvent.d.ts +26 -2
  6. package/admin/orm/models/appLimitEvent.js +45 -0
  7. package/admin/orm/models/index.d.ts +15 -16
  8. package/admin/orm/models/index.js +31 -33
  9. package/admin/orm/models/orgLimitEvent.d.ts +26 -2
  10. package/admin/orm/models/orgLimitEvent.js +45 -0
  11. package/auth/orm/index.d.ts +8 -8
  12. package/auth/orm/index.js +4 -3
  13. package/auth/orm/input-types.d.ts +94 -94
  14. package/auth/orm/input-types.js +1 -1
  15. package/auth/orm/models/auditLogAuth.d.ts +54 -0
  16. package/{public/orm/models/agentMessage.js → auth/orm/models/auditLogAuth.js} +27 -27
  17. package/auth/orm/models/index.d.ts +1 -1
  18. package/auth/orm/models/index.js +3 -3
  19. package/auth/orm/mutation/index.d.ts +9 -9
  20. package/auth/orm/mutation/index.js +12 -12
  21. package/esm/admin/orm/index.d.ts +31 -33
  22. package/esm/admin/orm/index.js +31 -33
  23. package/esm/admin/orm/input-types.d.ts +2090 -2039
  24. package/esm/admin/orm/input-types.js +4 -4
  25. package/esm/admin/orm/models/appLimitEvent.d.ts +26 -2
  26. package/esm/admin/orm/models/appLimitEvent.js +46 -1
  27. package/esm/admin/orm/models/index.d.ts +15 -16
  28. package/esm/admin/orm/models/index.js +15 -16
  29. package/esm/admin/orm/models/orgLimitEvent.d.ts +26 -2
  30. package/esm/admin/orm/models/orgLimitEvent.js +46 -1
  31. package/esm/auth/orm/index.d.ts +8 -8
  32. package/esm/auth/orm/index.js +3 -3
  33. package/esm/auth/orm/input-types.d.ts +94 -94
  34. package/esm/auth/orm/input-types.js +1 -1
  35. package/esm/auth/orm/models/auditLogAuth.d.ts +54 -0
  36. package/esm/{public/orm/models/auditLog.js → auth/orm/models/auditLogAuth.js} +25 -25
  37. package/esm/auth/orm/models/index.d.ts +1 -1
  38. package/esm/auth/orm/models/index.js +1 -1
  39. package/esm/auth/orm/mutation/index.d.ts +9 -9
  40. package/esm/auth/orm/mutation/index.js +12 -12
  41. package/esm/objects/orm/index.d.ts +1 -1
  42. package/esm/objects/orm/index.js +1 -1
  43. package/esm/public/orm/index.d.ts +102 -153
  44. package/esm/public/orm/index.js +59 -55
  45. package/esm/public/orm/input-types.d.ts +6255 -3877
  46. package/esm/public/orm/input-types.js +24 -15
  47. package/esm/public/orm/models/agentModule.d.ts +54 -0
  48. package/esm/public/orm/models/{agentThread.js → agentModule.js} +25 -25
  49. package/esm/public/orm/models/appLimitEvent.d.ts +26 -2
  50. package/esm/public/orm/models/appLimitEvent.js +46 -1
  51. package/esm/public/orm/models/auditLogAuth.d.ts +54 -0
  52. package/esm/{auth/orm/models/auditLog.js → public/orm/models/auditLogAuth.js} +25 -25
  53. package/esm/public/orm/models/computeLogModule.d.ts +54 -0
  54. package/esm/public/orm/models/{commit.js → computeLogModule.js} +25 -25
  55. package/esm/public/orm/models/configSecretsOrgModule.d.ts +54 -0
  56. package/esm/public/orm/models/{encryptedSecretsModule.js → configSecretsOrgModule.js} +25 -25
  57. package/esm/public/orm/models/configSecretsUserModule.d.ts +54 -0
  58. package/esm/public/orm/models/configSecretsUserModule.js +100 -0
  59. package/esm/public/orm/models/dbUsageModule.d.ts +54 -0
  60. package/esm/{admin/orm/models/usageSnapshot.js → public/orm/models/dbUsageModule.js} +25 -25
  61. package/esm/public/orm/models/functionModule.d.ts +54 -0
  62. package/esm/public/orm/models/{agentMessage.js → functionModule.js} +25 -25
  63. package/esm/public/orm/models/graphModule.d.ts +54 -0
  64. package/esm/public/orm/models/{agentTask.js → graphModule.js} +25 -25
  65. package/esm/public/orm/models/index.d.ts +29 -27
  66. package/esm/public/orm/models/index.js +29 -27
  67. package/esm/public/orm/models/inferenceLogModule.d.ts +54 -0
  68. package/esm/public/orm/models/inferenceLogModule.js +100 -0
  69. package/esm/public/orm/models/merkleStoreModule.d.ts +54 -0
  70. package/esm/public/orm/models/merkleStoreModule.js +100 -0
  71. package/esm/public/orm/models/namespaceModule.d.ts +54 -0
  72. package/esm/public/orm/models/namespaceModule.js +100 -0
  73. package/esm/public/orm/models/orgLimitEvent.d.ts +26 -2
  74. package/esm/public/orm/models/orgLimitEvent.js +46 -1
  75. package/esm/public/orm/models/storageLogModule.d.ts +54 -0
  76. package/esm/public/orm/models/{store.js → storageLogModule.js} +25 -25
  77. package/esm/public/orm/models/transferLogModule.d.ts +54 -0
  78. package/esm/public/orm/models/transferLogModule.js +100 -0
  79. package/esm/public/orm/mutation/index.d.ts +69 -133
  80. package/esm/public/orm/mutation/index.js +78 -174
  81. package/esm/public/orm/query/index.d.ts +22 -71
  82. package/esm/public/orm/query/index.js +36 -124
  83. package/objects/orm/index.d.ts +1 -1
  84. package/objects/orm/index.js +2 -1
  85. package/package.json +6 -6
  86. package/public/orm/index.d.ts +102 -153
  87. package/public/orm/index.js +60 -55
  88. package/public/orm/input-types.d.ts +6255 -3877
  89. package/public/orm/input-types.js +24 -15
  90. package/public/orm/models/agentModule.d.ts +54 -0
  91. package/public/orm/models/{agentThread.js → agentModule.js} +27 -27
  92. package/public/orm/models/appLimitEvent.d.ts +26 -2
  93. package/public/orm/models/appLimitEvent.js +45 -0
  94. package/public/orm/models/auditLogAuth.d.ts +54 -0
  95. package/public/orm/models/{usageSnapshot.js → auditLogAuth.js} +27 -27
  96. package/public/orm/models/computeLogModule.d.ts +54 -0
  97. package/public/orm/models/computeLogModule.js +104 -0
  98. package/public/orm/models/configSecretsOrgModule.d.ts +54 -0
  99. package/public/orm/models/{encryptedSecretsModule.js → configSecretsOrgModule.js} +27 -27
  100. package/public/orm/models/configSecretsUserModule.d.ts +54 -0
  101. package/public/orm/models/{ref.js → configSecretsUserModule.js} +27 -27
  102. package/public/orm/models/dbUsageModule.d.ts +54 -0
  103. package/{admin/orm/models/usageSnapshot.js → public/orm/models/dbUsageModule.js} +27 -27
  104. package/public/orm/models/functionModule.d.ts +54 -0
  105. package/{auth/orm/models/auditLog.js → public/orm/models/functionModule.js} +27 -27
  106. package/public/orm/models/graphModule.d.ts +54 -0
  107. package/public/orm/models/{agentTask.js → graphModule.js} +27 -27
  108. package/public/orm/models/index.d.ts +29 -27
  109. package/public/orm/models/index.js +61 -57
  110. package/public/orm/models/inferenceLogModule.d.ts +54 -0
  111. package/public/orm/models/inferenceLogModule.js +104 -0
  112. package/public/orm/models/merkleStoreModule.d.ts +54 -0
  113. package/public/orm/models/merkleStoreModule.js +104 -0
  114. package/public/orm/models/namespaceModule.d.ts +54 -0
  115. package/public/orm/models/namespaceModule.js +104 -0
  116. package/public/orm/models/orgLimitEvent.d.ts +26 -2
  117. package/public/orm/models/orgLimitEvent.js +45 -0
  118. package/public/orm/models/storageLogModule.d.ts +54 -0
  119. package/public/orm/models/storageLogModule.js +104 -0
  120. package/public/orm/models/transferLogModule.d.ts +54 -0
  121. package/public/orm/models/transferLogModule.js +104 -0
  122. package/public/orm/mutation/index.d.ts +69 -133
  123. package/public/orm/mutation/index.js +78 -174
  124. package/public/orm/query/index.d.ts +22 -71
  125. package/public/orm/query/index.js +36 -124
  126. package/admin/orm/models/usageSnapshot.d.ts +0 -54
  127. package/auth/orm/models/auditLog.d.ts +0 -54
  128. package/esm/admin/orm/models/usageSnapshot.d.ts +0 -54
  129. package/esm/auth/orm/models/auditLog.d.ts +0 -54
  130. package/esm/public/orm/models/agentMessage.d.ts +0 -54
  131. package/esm/public/orm/models/agentTask.d.ts +0 -54
  132. package/esm/public/orm/models/agentThread.d.ts +0 -54
  133. package/esm/public/orm/models/auditLog.d.ts +0 -54
  134. package/esm/public/orm/models/commit.d.ts +0 -54
  135. package/esm/public/orm/models/encryptedSecretsModule.d.ts +0 -54
  136. package/esm/public/orm/models/getAllRecord.d.ts +0 -30
  137. package/esm/public/orm/models/getAllRecord.js +0 -55
  138. package/esm/public/orm/models/object.d.ts +0 -54
  139. package/esm/public/orm/models/object.js +0 -90
  140. package/esm/public/orm/models/ref.d.ts +0 -54
  141. package/esm/public/orm/models/ref.js +0 -100
  142. package/esm/public/orm/models/store.d.ts +0 -54
  143. package/esm/public/orm/models/usageSnapshot.d.ts +0 -54
  144. package/esm/public/orm/models/usageSnapshot.js +0 -100
  145. package/public/orm/models/agentMessage.d.ts +0 -54
  146. package/public/orm/models/agentTask.d.ts +0 -54
  147. package/public/orm/models/agentThread.d.ts +0 -54
  148. package/public/orm/models/auditLog.d.ts +0 -54
  149. package/public/orm/models/auditLog.js +0 -104
  150. package/public/orm/models/commit.d.ts +0 -54
  151. package/public/orm/models/commit.js +0 -104
  152. package/public/orm/models/encryptedSecretsModule.d.ts +0 -54
  153. package/public/orm/models/getAllRecord.d.ts +0 -30
  154. package/public/orm/models/getAllRecord.js +0 -59
  155. package/public/orm/models/object.d.ts +0 -54
  156. package/public/orm/models/object.js +0 -94
  157. package/public/orm/models/ref.d.ts +0 -54
  158. package/public/orm/models/store.d.ts +0 -54
  159. package/public/orm/models/store.js +0 -104
  160. package/public/orm/models/usageSnapshot.d.ts +0 -54
@@ -62,23 +62,19 @@ function createQueryOperations(client) {
62
62
  },
63
63
  ], input_types_1.connectionFieldsMap, undefined),
64
64
  }),
65
- revParse: (args, options) => new query_builder_1.QueryBuilder({
65
+ applyRegistryDefaults: (args, options) => new query_builder_1.QueryBuilder({
66
66
  client,
67
67
  operation: 'query',
68
- operationName: 'RevParse',
69
- fieldName: 'revParse',
70
- ...(0, query_builder_1.buildCustomDocument)('query', 'RevParse', 'revParse', options?.select, args, [
68
+ operationName: 'ApplyRegistryDefaults',
69
+ fieldName: 'applyRegistryDefaults',
70
+ ...(0, query_builder_1.buildCustomDocument)('query', 'ApplyRegistryDefaults', 'applyRegistryDefaults', options?.select, args, [
71
71
  {
72
- name: 'dbId',
73
- type: 'UUID',
74
- },
75
- {
76
- name: 'storeId',
77
- type: 'UUID',
72
+ name: 'nodeType',
73
+ type: 'String',
78
74
  },
79
75
  {
80
- name: 'refname',
81
- type: 'String',
76
+ name: 'data',
77
+ type: 'JSON',
82
78
  },
83
79
  ], input_types_1.connectionFieldsMap, undefined),
84
80
  }),
@@ -102,6 +98,34 @@ function createQueryOperations(client) {
102
98
  },
103
99
  ], input_types_1.connectionFieldsMap, undefined),
104
100
  }),
101
+ resolveBlueprintTable: (args, options) => new query_builder_1.QueryBuilder({
102
+ client,
103
+ operation: 'query',
104
+ operationName: 'ResolveBlueprintTable',
105
+ fieldName: 'resolveBlueprintTable',
106
+ ...(0, query_builder_1.buildCustomDocument)('query', 'ResolveBlueprintTable', 'resolveBlueprintTable', options?.select, args, [
107
+ {
108
+ name: 'databaseId',
109
+ type: 'UUID',
110
+ },
111
+ {
112
+ name: 'tableName',
113
+ type: 'String',
114
+ },
115
+ {
116
+ name: 'schemaName',
117
+ type: 'String',
118
+ },
119
+ {
120
+ name: 'tableMap',
121
+ type: 'JSON',
122
+ },
123
+ {
124
+ name: 'defaultSchemaId',
125
+ type: 'UUID',
126
+ },
127
+ ], input_types_1.connectionFieldsMap, undefined),
128
+ }),
105
129
  orgIsManagerOf: (args, options) => new query_builder_1.QueryBuilder({
106
130
  client,
107
131
  operation: 'query',
@@ -150,34 +174,6 @@ function createQueryOperations(client) {
150
174
  },
151
175
  ], input_types_1.connectionFieldsMap, undefined),
152
176
  }),
153
- resolveBlueprintTable: (args, options) => new query_builder_1.QueryBuilder({
154
- client,
155
- operation: 'query',
156
- operationName: 'ResolveBlueprintTable',
157
- fieldName: 'resolveBlueprintTable',
158
- ...(0, query_builder_1.buildCustomDocument)('query', 'ResolveBlueprintTable', 'resolveBlueprintTable', options?.select, args, [
159
- {
160
- name: 'databaseId',
161
- type: 'UUID',
162
- },
163
- {
164
- name: 'tableName',
165
- type: 'String',
166
- },
167
- {
168
- name: 'schemaName',
169
- type: 'String',
170
- },
171
- {
172
- name: 'tableMap',
173
- type: 'JSON',
174
- },
175
- {
176
- name: 'defaultSchemaId',
177
- type: 'UUID',
178
- },
179
- ], input_types_1.connectionFieldsMap, undefined),
180
- }),
181
177
  appPermissionsGetMaskByNames: (args, options) => new query_builder_1.QueryBuilder({
182
178
  client,
183
179
  operation: 'query',
@@ -250,90 +246,6 @@ function createQueryOperations(client) {
250
246
  },
251
247
  ], input_types_1.connectionFieldsMap, undefined),
252
248
  }),
253
- getAllObjectsFromRoot: (args, options) => new query_builder_1.QueryBuilder({
254
- client,
255
- operation: 'query',
256
- operationName: 'GetAllObjectsFromRoot',
257
- fieldName: 'getAllObjectsFromRoot',
258
- ...(0, query_builder_1.buildCustomDocument)('query', 'GetAllObjectsFromRoot', 'getAllObjectsFromRoot', options?.select, args, [
259
- {
260
- name: 'databaseId',
261
- type: 'UUID',
262
- },
263
- {
264
- name: 'id',
265
- type: 'UUID',
266
- },
267
- {
268
- name: 'first',
269
- type: 'Int',
270
- },
271
- {
272
- name: 'offset',
273
- type: 'Int',
274
- },
275
- {
276
- name: 'after',
277
- type: 'Cursor',
278
- },
279
- ], input_types_1.connectionFieldsMap, undefined),
280
- }),
281
- getPathObjectsFromRoot: (args, options) => new query_builder_1.QueryBuilder({
282
- client,
283
- operation: 'query',
284
- operationName: 'GetPathObjectsFromRoot',
285
- fieldName: 'getPathObjectsFromRoot',
286
- ...(0, query_builder_1.buildCustomDocument)('query', 'GetPathObjectsFromRoot', 'getPathObjectsFromRoot', options?.select, args, [
287
- {
288
- name: 'databaseId',
289
- type: 'UUID',
290
- },
291
- {
292
- name: 'id',
293
- type: 'UUID',
294
- },
295
- {
296
- name: 'path',
297
- type: '[String]',
298
- },
299
- {
300
- name: 'first',
301
- type: 'Int',
302
- },
303
- {
304
- name: 'offset',
305
- type: 'Int',
306
- },
307
- {
308
- name: 'after',
309
- type: 'Cursor',
310
- },
311
- ], input_types_1.connectionFieldsMap, undefined),
312
- }),
313
- getObjectAtPath: (args, options) => new query_builder_1.QueryBuilder({
314
- client,
315
- operation: 'query',
316
- operationName: 'GetObjectAtPath',
317
- fieldName: 'getObjectAtPath',
318
- ...(0, query_builder_1.buildCustomDocument)('query', 'GetObjectAtPath', 'getObjectAtPath', options.select, args, [
319
- {
320
- name: 'dbId',
321
- type: 'UUID',
322
- },
323
- {
324
- name: 'storeId',
325
- type: 'UUID',
326
- },
327
- {
328
- name: 'path',
329
- type: '[String]',
330
- },
331
- {
332
- name: 'refname',
333
- type: 'String',
334
- },
335
- ], input_types_1.connectionFieldsMap, 'Object'),
336
- }),
337
249
  currentUser: (options) => new query_builder_1.QueryBuilder({
338
250
  client,
339
251
  operation: 'query',
@@ -1,54 +0,0 @@
1
- /**
2
- * UsageSnapshot model for ORM client
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import { OrmClient } from '../client';
7
- import { QueryBuilder } from '../query-builder';
8
- import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
- import type { UsageSnapshotWithRelations, UsageSnapshotSelect, UsageSnapshotFilter, UsageSnapshotOrderBy, CreateUsageSnapshotInput, UsageSnapshotPatch } from '../input-types';
10
- export declare class UsageSnapshotModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends UsageSnapshotSelect>(args: FindManyArgs<S, UsageSnapshotFilter, UsageSnapshotOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
16
- usageSnapshots: ConnectionResult<InferSelectResult<UsageSnapshotWithRelations, S>>;
17
- }>;
18
- findFirst<S extends UsageSnapshotSelect>(args: FindFirstArgs<S, UsageSnapshotFilter, UsageSnapshotOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
21
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S> | null;
22
- }>;
23
- findOne<S extends UsageSnapshotSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
27
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S> | null;
28
- }>;
29
- create<S extends UsageSnapshotSelect>(args: CreateArgs<S, CreateUsageSnapshotInput['usageSnapshot']> & {
30
- select: S;
31
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
32
- createUsageSnapshot: {
33
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends UsageSnapshotSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, UsageSnapshotPatch> & {
39
- select: S;
40
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
41
- updateUsageSnapshot: {
42
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends UsageSnapshotSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
50
- deleteUsageSnapshot: {
51
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S>;
52
- };
53
- }>;
54
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * AuditLog model for ORM client
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import { OrmClient } from '../client';
7
- import { QueryBuilder } from '../query-builder';
8
- import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
- import type { AuditLogWithRelations, AuditLogSelect, AuditLogFilter, AuditLogOrderBy, CreateAuditLogInput, AuditLogPatch } from '../input-types';
10
- export declare class AuditLogModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends AuditLogSelect>(args: FindManyArgs<S, AuditLogFilter, AuditLogOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
16
- auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
17
- }>;
18
- findFirst<S extends AuditLogSelect>(args: FindFirstArgs<S, AuditLogFilter, AuditLogOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
21
- auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
22
- }>;
23
- findOne<S extends AuditLogSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
27
- auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
28
- }>;
29
- create<S extends AuditLogSelect>(args: CreateArgs<S, CreateAuditLogInput['auditLog']> & {
30
- select: S;
31
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
32
- createAuditLog: {
33
- auditLog: InferSelectResult<AuditLogWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends AuditLogSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, AuditLogPatch> & {
39
- select: S;
40
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
41
- updateAuditLog: {
42
- auditLog: InferSelectResult<AuditLogWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends AuditLogSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
50
- deleteAuditLog: {
51
- auditLog: InferSelectResult<AuditLogWithRelations, S>;
52
- };
53
- }>;
54
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * UsageSnapshot model for ORM client
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import { OrmClient } from '../client';
7
- import { QueryBuilder } from '../query-builder';
8
- import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
- import type { UsageSnapshotWithRelations, UsageSnapshotSelect, UsageSnapshotFilter, UsageSnapshotOrderBy, CreateUsageSnapshotInput, UsageSnapshotPatch } from '../input-types';
10
- export declare class UsageSnapshotModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends UsageSnapshotSelect>(args: FindManyArgs<S, UsageSnapshotFilter, UsageSnapshotOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
16
- usageSnapshots: ConnectionResult<InferSelectResult<UsageSnapshotWithRelations, S>>;
17
- }>;
18
- findFirst<S extends UsageSnapshotSelect>(args: FindFirstArgs<S, UsageSnapshotFilter, UsageSnapshotOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
21
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S> | null;
22
- }>;
23
- findOne<S extends UsageSnapshotSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
27
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S> | null;
28
- }>;
29
- create<S extends UsageSnapshotSelect>(args: CreateArgs<S, CreateUsageSnapshotInput['usageSnapshot']> & {
30
- select: S;
31
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
32
- createUsageSnapshot: {
33
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends UsageSnapshotSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, UsageSnapshotPatch> & {
39
- select: S;
40
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
41
- updateUsageSnapshot: {
42
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends UsageSnapshotSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
50
- deleteUsageSnapshot: {
51
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S>;
52
- };
53
- }>;
54
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * AuditLog model for ORM client
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import { OrmClient } from '../client';
7
- import { QueryBuilder } from '../query-builder';
8
- import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
- import type { AuditLogWithRelations, AuditLogSelect, AuditLogFilter, AuditLogOrderBy, CreateAuditLogInput, AuditLogPatch } from '../input-types';
10
- export declare class AuditLogModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends AuditLogSelect>(args: FindManyArgs<S, AuditLogFilter, AuditLogOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
16
- auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
17
- }>;
18
- findFirst<S extends AuditLogSelect>(args: FindFirstArgs<S, AuditLogFilter, AuditLogOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
21
- auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
22
- }>;
23
- findOne<S extends AuditLogSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
27
- auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
28
- }>;
29
- create<S extends AuditLogSelect>(args: CreateArgs<S, CreateAuditLogInput['auditLog']> & {
30
- select: S;
31
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
32
- createAuditLog: {
33
- auditLog: InferSelectResult<AuditLogWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends AuditLogSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, AuditLogPatch> & {
39
- select: S;
40
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
41
- updateAuditLog: {
42
- auditLog: InferSelectResult<AuditLogWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends AuditLogSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
50
- deleteAuditLog: {
51
- auditLog: InferSelectResult<AuditLogWithRelations, S>;
52
- };
53
- }>;
54
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * AgentMessage model for ORM client
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import { OrmClient } from '../client';
7
- import { QueryBuilder } from '../query-builder';
8
- import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
- import type { AgentMessageWithRelations, AgentMessageSelect, AgentMessageFilter, AgentMessageOrderBy, CreateAgentMessageInput, AgentMessagePatch } from '../input-types';
10
- export declare class AgentMessageModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends AgentMessageSelect>(args: FindManyArgs<S, AgentMessageFilter, AgentMessageOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, AgentMessageSelect>): QueryBuilder<{
16
- agentMessages: ConnectionResult<InferSelectResult<AgentMessageWithRelations, S>>;
17
- }>;
18
- findFirst<S extends AgentMessageSelect>(args: FindFirstArgs<S, AgentMessageFilter, AgentMessageOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, AgentMessageSelect>): QueryBuilder<{
21
- agentMessage: InferSelectResult<AgentMessageWithRelations, S> | null;
22
- }>;
23
- findOne<S extends AgentMessageSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, AgentMessageSelect>): QueryBuilder<{
27
- agentMessage: InferSelectResult<AgentMessageWithRelations, S> | null;
28
- }>;
29
- create<S extends AgentMessageSelect>(args: CreateArgs<S, CreateAgentMessageInput['agentMessage']> & {
30
- select: S;
31
- } & StrictSelect<S, AgentMessageSelect>): QueryBuilder<{
32
- createAgentMessage: {
33
- agentMessage: InferSelectResult<AgentMessageWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends AgentMessageSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, AgentMessagePatch> & {
39
- select: S;
40
- } & StrictSelect<S, AgentMessageSelect>): QueryBuilder<{
41
- updateAgentMessage: {
42
- agentMessage: InferSelectResult<AgentMessageWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends AgentMessageSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, AgentMessageSelect>): QueryBuilder<{
50
- deleteAgentMessage: {
51
- agentMessage: InferSelectResult<AgentMessageWithRelations, S>;
52
- };
53
- }>;
54
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * AgentTask model for ORM client
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import { OrmClient } from '../client';
7
- import { QueryBuilder } from '../query-builder';
8
- import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
- import type { AgentTaskWithRelations, AgentTaskSelect, AgentTaskFilter, AgentTaskOrderBy, CreateAgentTaskInput, AgentTaskPatch } from '../input-types';
10
- export declare class AgentTaskModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends AgentTaskSelect>(args: FindManyArgs<S, AgentTaskFilter, AgentTaskOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
16
- agentTasks: ConnectionResult<InferSelectResult<AgentTaskWithRelations, S>>;
17
- }>;
18
- findFirst<S extends AgentTaskSelect>(args: FindFirstArgs<S, AgentTaskFilter, AgentTaskOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
21
- agentTask: InferSelectResult<AgentTaskWithRelations, S> | null;
22
- }>;
23
- findOne<S extends AgentTaskSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
27
- agentTask: InferSelectResult<AgentTaskWithRelations, S> | null;
28
- }>;
29
- create<S extends AgentTaskSelect>(args: CreateArgs<S, CreateAgentTaskInput['agentTask']> & {
30
- select: S;
31
- } & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
32
- createAgentTask: {
33
- agentTask: InferSelectResult<AgentTaskWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends AgentTaskSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, AgentTaskPatch> & {
39
- select: S;
40
- } & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
41
- updateAgentTask: {
42
- agentTask: InferSelectResult<AgentTaskWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends AgentTaskSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
50
- deleteAgentTask: {
51
- agentTask: InferSelectResult<AgentTaskWithRelations, S>;
52
- };
53
- }>;
54
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * AgentThread model for ORM client
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import { OrmClient } from '../client';
7
- import { QueryBuilder } from '../query-builder';
8
- import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
- import type { AgentThreadWithRelations, AgentThreadSelect, AgentThreadFilter, AgentThreadOrderBy, CreateAgentThreadInput, AgentThreadPatch } from '../input-types';
10
- export declare class AgentThreadModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends AgentThreadSelect>(args: FindManyArgs<S, AgentThreadFilter, AgentThreadOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
16
- agentThreads: ConnectionResult<InferSelectResult<AgentThreadWithRelations, S>>;
17
- }>;
18
- findFirst<S extends AgentThreadSelect>(args: FindFirstArgs<S, AgentThreadFilter, AgentThreadOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
21
- agentThread: InferSelectResult<AgentThreadWithRelations, S> | null;
22
- }>;
23
- findOne<S extends AgentThreadSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
27
- agentThread: InferSelectResult<AgentThreadWithRelations, S> | null;
28
- }>;
29
- create<S extends AgentThreadSelect>(args: CreateArgs<S, CreateAgentThreadInput['agentThread']> & {
30
- select: S;
31
- } & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
32
- createAgentThread: {
33
- agentThread: InferSelectResult<AgentThreadWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends AgentThreadSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, AgentThreadPatch> & {
39
- select: S;
40
- } & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
41
- updateAgentThread: {
42
- agentThread: InferSelectResult<AgentThreadWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends AgentThreadSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
50
- deleteAgentThread: {
51
- agentThread: InferSelectResult<AgentThreadWithRelations, S>;
52
- };
53
- }>;
54
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * AuditLog model for ORM client
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import { OrmClient } from '../client';
7
- import { QueryBuilder } from '../query-builder';
8
- import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
- import type { AuditLogWithRelations, AuditLogSelect, AuditLogFilter, AuditLogOrderBy, CreateAuditLogInput, AuditLogPatch } from '../input-types';
10
- export declare class AuditLogModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends AuditLogSelect>(args: FindManyArgs<S, AuditLogFilter, AuditLogOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
16
- auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
17
- }>;
18
- findFirst<S extends AuditLogSelect>(args: FindFirstArgs<S, AuditLogFilter, AuditLogOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
21
- auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
22
- }>;
23
- findOne<S extends AuditLogSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
27
- auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
28
- }>;
29
- create<S extends AuditLogSelect>(args: CreateArgs<S, CreateAuditLogInput['auditLog']> & {
30
- select: S;
31
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
32
- createAuditLog: {
33
- auditLog: InferSelectResult<AuditLogWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends AuditLogSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, AuditLogPatch> & {
39
- select: S;
40
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
41
- updateAuditLog: {
42
- auditLog: InferSelectResult<AuditLogWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends AuditLogSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
50
- deleteAuditLog: {
51
- auditLog: InferSelectResult<AuditLogWithRelations, S>;
52
- };
53
- }>;
54
- }