Skip to content

Commit d809f77

Browse files
committed
fix(tables): update generated reference contracts
1 parent 65e7cbd commit d809f77

1 file changed

Lines changed: 174 additions & 16 deletions

File tree

packages/sim-cli/src/generated/v2-api.ts

Lines changed: 174 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,16 @@ export type AddTableColumnBody = {
181181
column: {
182182
id?: string
183183
name: string
184-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
184+
type:
185+
| 'string'
186+
| 'number'
187+
| 'currency'
188+
| 'boolean'
189+
| 'date'
190+
| 'ttl'
191+
| 'json'
192+
| 'select'
193+
| 'reference'
185194
required?: boolean
186195
unique?: boolean
187196
options?: Array<{
@@ -190,6 +199,7 @@ export type AddTableColumnBody = {
190199
}>
191200
multiple?: boolean
192201
currencyCode?: string
202+
referenceTableId?: string
193203
position?: number
194204
}
195205
}
@@ -198,7 +208,16 @@ type AddTableColumnResponseRef0 = {
198208
columns: Array<{
199209
id?: string
200210
name: string
201-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
211+
type:
212+
| 'string'
213+
| 'number'
214+
| 'currency'
215+
| 'boolean'
216+
| 'date'
217+
| 'ttl'
218+
| 'json'
219+
| 'select'
220+
| 'reference'
202221
required: boolean
203222
unique: boolean
204223
workflowGroupId?: string
@@ -208,6 +227,7 @@ type AddTableColumnResponseRef0 = {
208227
}>
209228
multiple?: boolean
210229
currencyCode?: string
230+
referenceTableId?: string
211231
}>
212232
}
213233

@@ -248,7 +268,16 @@ export type AddWorkflowGroupBody = {
248268
}
249269
outputColumns: Array<{
250270
name: string
251-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
271+
type:
272+
| 'string'
273+
| 'number'
274+
| 'currency'
275+
| 'boolean'
276+
| 'date'
277+
| 'ttl'
278+
| 'json'
279+
| 'select'
280+
| 'reference'
252281
required?: boolean
253282
unique?: boolean
254283
}>
@@ -283,7 +312,16 @@ type AddWorkflowGroupResponseRef1 = {
283312
columns: Array<{
284313
id?: string
285314
name: string
286-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
315+
type:
316+
| 'string'
317+
| 'number'
318+
| 'currency'
319+
| 'boolean'
320+
| 'date'
321+
| 'ttl'
322+
| 'json'
323+
| 'select'
324+
| 'reference'
287325
required: boolean
288326
unique: boolean
289327
workflowGroupId?: string
@@ -293,6 +331,7 @@ type AddWorkflowGroupResponseRef1 = {
293331
}>
294332
multiple?: boolean
295333
currencyCode?: string
334+
referenceTableId?: string
296335
}>
297336
}
298337

@@ -1886,7 +1925,16 @@ export type CreateTableBody = {
18861925
columns: Array<{
18871926
id?: string
18881927
name: string
1889-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
1928+
type:
1929+
| 'string'
1930+
| 'number'
1931+
| 'currency'
1932+
| 'boolean'
1933+
| 'date'
1934+
| 'ttl'
1935+
| 'json'
1936+
| 'select'
1937+
| 'reference'
18901938
required?: boolean
18911939
unique?: boolean
18921940
options?: Array<{
@@ -1895,6 +1943,7 @@ export type CreateTableBody = {
18951943
}>
18961944
multiple?: boolean
18971945
currencyCode?: string
1946+
referenceTableId?: string
18981947
}>
18991948
}
19001949
folderPath?: CreateTableBodyRef0
@@ -1918,7 +1967,16 @@ type CreateTableResponseRef1 = {
19181967
columns: Array<{
19191968
id?: string
19201969
name: string
1921-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
1970+
type:
1971+
| 'string'
1972+
| 'number'
1973+
| 'currency'
1974+
| 'boolean'
1975+
| 'date'
1976+
| 'ttl'
1977+
| 'json'
1978+
| 'select'
1979+
| 'reference'
19221980
required: boolean
19231981
unique: boolean
19241982
workflowGroupId?: string
@@ -1928,6 +1986,7 @@ type CreateTableResponseRef1 = {
19281986
}>
19291987
multiple?: boolean
19301988
currencyCode?: string
1989+
referenceTableId?: string
19311990
}>
19321991
}
19331992
rowCount: number
@@ -2870,7 +2929,16 @@ type DeleteTableColumnResponseRef0 = {
28702929
columns: Array<{
28712930
id?: string
28722931
name: string
2873-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
2932+
type:
2933+
| 'string'
2934+
| 'number'
2935+
| 'currency'
2936+
| 'boolean'
2937+
| 'date'
2938+
| 'ttl'
2939+
| 'json'
2940+
| 'select'
2941+
| 'reference'
28742942
required: boolean
28752943
unique: boolean
28762944
workflowGroupId?: string
@@ -2880,6 +2948,7 @@ type DeleteTableColumnResponseRef0 = {
28802948
}>
28812949
multiple?: boolean
28822950
currencyCode?: string
2951+
referenceTableId?: string
28832952
}>
28842953
}
28852954

@@ -3131,7 +3200,16 @@ type DeleteWorkflowGroupResponseRef0 = {
31313200
columns: Array<{
31323201
id?: string
31333202
name: string
3134-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
3203+
type:
3204+
| 'string'
3205+
| 'number'
3206+
| 'currency'
3207+
| 'boolean'
3208+
| 'date'
3209+
| 'ttl'
3210+
| 'json'
3211+
| 'select'
3212+
| 'reference'
31353213
required: boolean
31363214
unique: boolean
31373215
workflowGroupId?: string
@@ -3141,6 +3219,7 @@ type DeleteWorkflowGroupResponseRef0 = {
31413219
}>
31423220
multiple?: boolean
31433221
currencyCode?: string
3222+
referenceTableId?: string
31443223
}>
31453224
}
31463225

@@ -4312,7 +4391,16 @@ type GetTableResponseRef1 = {
43124391
columns: Array<{
43134392
id?: string
43144393
name: string
4315-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
4394+
type:
4395+
| 'string'
4396+
| 'number'
4397+
| 'currency'
4398+
| 'boolean'
4399+
| 'date'
4400+
| 'ttl'
4401+
| 'json'
4402+
| 'select'
4403+
| 'reference'
43164404
required: boolean
43174405
unique: boolean
43184406
workflowGroupId?: string
@@ -4322,6 +4410,7 @@ type GetTableResponseRef1 = {
43224410
}>
43234411
multiple?: boolean
43244412
currencyCode?: string
4413+
referenceTableId?: string
43254414
}>
43264415
}
43274416
rowCount: number
@@ -6072,7 +6161,16 @@ type ListTablesResponseRef0 = {
60726161
columns: Array<{
60736162
id?: string
60746163
name: string
6075-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
6164+
type:
6165+
| 'string'
6166+
| 'number'
6167+
| 'currency'
6168+
| 'boolean'
6169+
| 'date'
6170+
| 'ttl'
6171+
| 'json'
6172+
| 'select'
6173+
| 'reference'
60766174
required: boolean
60776175
unique: boolean
60786176
workflowGroupId?: string
@@ -6082,6 +6180,7 @@ type ListTablesResponseRef0 = {
60826180
}>
60836181
multiple?: boolean
60846182
currencyCode?: string
6183+
referenceTableId?: string
60856184
}>
60866185
}
60876186
rowCount: number
@@ -7278,7 +7377,16 @@ type RestoreTableResponseRef1 = {
72787377
columns: Array<{
72797378
id?: string
72807379
name: string
7281-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
7380+
type:
7381+
| 'string'
7382+
| 'number'
7383+
| 'currency'
7384+
| 'boolean'
7385+
| 'date'
7386+
| 'ttl'
7387+
| 'json'
7388+
| 'select'
7389+
| 'reference'
72827390
required: boolean
72837391
unique: boolean
72847392
workflowGroupId?: string
@@ -7288,6 +7396,7 @@ type RestoreTableResponseRef1 = {
72887396
}>
72897397
multiple?: boolean
72907398
currencyCode?: string
7399+
referenceTableId?: string
72917400
}>
72927401
}
72937402
rowCount: number
@@ -8418,7 +8527,16 @@ type UpdateTableResponseRef1 = {
84188527
columns: Array<{
84198528
id?: string
84208529
name: string
8421-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
8530+
type:
8531+
| 'string'
8532+
| 'number'
8533+
| 'currency'
8534+
| 'boolean'
8535+
| 'date'
8536+
| 'ttl'
8537+
| 'json'
8538+
| 'select'
8539+
| 'reference'
84228540
required: boolean
84238541
unique: boolean
84248542
workflowGroupId?: string
@@ -8428,6 +8546,7 @@ type UpdateTableResponseRef1 = {
84288546
}>
84298547
multiple?: boolean
84308548
currencyCode?: string
8549+
referenceTableId?: string
84318550
}>
84328551
}
84338552
rowCount: number
@@ -8460,7 +8579,16 @@ export type UpdateTableColumnBody = {
84608579
columnName: string
84618580
updates: {
84628581
name?: string
8463-
type?: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
8582+
type?:
8583+
| 'string'
8584+
| 'number'
8585+
| 'currency'
8586+
| 'boolean'
8587+
| 'date'
8588+
| 'ttl'
8589+
| 'json'
8590+
| 'select'
8591+
| 'reference'
84648592
required?: boolean
84658593
unique?: boolean
84668594
options?: Array<{
@@ -8469,14 +8597,24 @@ export type UpdateTableColumnBody = {
84698597
}>
84708598
multiple?: boolean
84718599
currencyCode?: string
8600+
referenceTableId?: string
84728601
}
84738602
}
84748603

84758604
type UpdateTableColumnResponseRef0 = {
84768605
columns: Array<{
84778606
id?: string
84788607
name: string
8479-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
8608+
type:
8609+
| 'string'
8610+
| 'number'
8611+
| 'currency'
8612+
| 'boolean'
8613+
| 'date'
8614+
| 'ttl'
8615+
| 'json'
8616+
| 'select'
8617+
| 'reference'
84808618
required: boolean
84818619
unique: boolean
84828620
workflowGroupId?: string
@@ -8486,6 +8624,7 @@ type UpdateTableColumnResponseRef0 = {
84868624
}>
84878625
multiple?: boolean
84888626
currencyCode?: string
8627+
referenceTableId?: string
84898628
}>
84908629
}
84918630

@@ -8739,7 +8878,16 @@ export type UpdateWorkflowGroupBody = {
87398878
}>
87408879
newOutputColumns?: Array<{
87418880
name: string
8742-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
8881+
type:
8882+
| 'string'
8883+
| 'number'
8884+
| 'currency'
8885+
| 'boolean'
8886+
| 'date'
8887+
| 'ttl'
8888+
| 'json'
8889+
| 'select'
8890+
| 'reference'
87438891
required?: boolean
87448892
unique?: boolean
87458893
}>
@@ -8785,7 +8933,16 @@ type UpdateWorkflowGroupResponseRef1 = {
87858933
columns: Array<{
87868934
id?: string
87878935
name: string
8788-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
8936+
type:
8937+
| 'string'
8938+
| 'number'
8939+
| 'currency'
8940+
| 'boolean'
8941+
| 'date'
8942+
| 'ttl'
8943+
| 'json'
8944+
| 'select'
8945+
| 'reference'
87898946
required: boolean
87908947
unique: boolean
87918948
workflowGroupId?: string
@@ -8795,6 +8952,7 @@ type UpdateWorkflowGroupResponseRef1 = {
87958952
}>
87968953
multiple?: boolean
87978954
currencyCode?: string
8955+
referenceTableId?: string
87988956
}>
87998957
}
88008958

0 commit comments

Comments
 (0)