Skip to content

Commit a2bf752

Browse files
committed
fix(tables): update generated reference contracts
1 parent 41fb3f6 commit a2bf752

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

@@ -2060,7 +2099,16 @@ export type CreateTableBody = {
20602099
columns: Array<{
20612100
id?: string
20622101
name: string
2063-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
2102+
type:
2103+
| 'string'
2104+
| 'number'
2105+
| 'currency'
2106+
| 'boolean'
2107+
| 'date'
2108+
| 'ttl'
2109+
| 'json'
2110+
| 'select'
2111+
| 'reference'
20642112
required?: boolean
20652113
unique?: boolean
20662114
options?: Array<{
@@ -2069,6 +2117,7 @@ export type CreateTableBody = {
20692117
}>
20702118
multiple?: boolean
20712119
currencyCode?: string
2120+
referenceTableId?: string
20722121
}>
20732122
}
20742123
folderPath?: CreateTableBodyRef0
@@ -2092,7 +2141,16 @@ type CreateTableResponseRef1 = {
20922141
columns: Array<{
20932142
id?: string
20942143
name: string
2095-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
2144+
type:
2145+
| 'string'
2146+
| 'number'
2147+
| 'currency'
2148+
| 'boolean'
2149+
| 'date'
2150+
| 'ttl'
2151+
| 'json'
2152+
| 'select'
2153+
| 'reference'
20962154
required: boolean
20972155
unique: boolean
20982156
workflowGroupId?: string
@@ -2102,6 +2160,7 @@ type CreateTableResponseRef1 = {
21022160
}>
21032161
multiple?: boolean
21042162
currencyCode?: string
2163+
referenceTableId?: string
21052164
}>
21062165
}
21072166
rowCount: number
@@ -3062,7 +3121,16 @@ type DeleteTableColumnResponseRef0 = {
30623121
columns: Array<{
30633122
id?: string
30643123
name: string
3065-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
3124+
type:
3125+
| 'string'
3126+
| 'number'
3127+
| 'currency'
3128+
| 'boolean'
3129+
| 'date'
3130+
| 'ttl'
3131+
| 'json'
3132+
| 'select'
3133+
| 'reference'
30663134
required: boolean
30673135
unique: boolean
30683136
workflowGroupId?: string
@@ -3072,6 +3140,7 @@ type DeleteTableColumnResponseRef0 = {
30723140
}>
30733141
multiple?: boolean
30743142
currencyCode?: string
3143+
referenceTableId?: string
30753144
}>
30763145
}
30773146

@@ -3323,7 +3392,16 @@ type DeleteWorkflowGroupResponseRef0 = {
33233392
columns: Array<{
33243393
id?: string
33253394
name: string
3326-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
3395+
type:
3396+
| 'string'
3397+
| 'number'
3398+
| 'currency'
3399+
| 'boolean'
3400+
| 'date'
3401+
| 'ttl'
3402+
| 'json'
3403+
| 'select'
3404+
| 'reference'
33273405
required: boolean
33283406
unique: boolean
33293407
workflowGroupId?: string
@@ -3333,6 +3411,7 @@ type DeleteWorkflowGroupResponseRef0 = {
33333411
}>
33343412
multiple?: boolean
33353413
currencyCode?: string
3414+
referenceTableId?: string
33363415
}>
33373416
}
33383417

@@ -4841,7 +4920,16 @@ type GetTableResponseRef1 = {
48414920
columns: Array<{
48424921
id?: string
48434922
name: string
4844-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
4923+
type:
4924+
| 'string'
4925+
| 'number'
4926+
| 'currency'
4927+
| 'boolean'
4928+
| 'date'
4929+
| 'ttl'
4930+
| 'json'
4931+
| 'select'
4932+
| 'reference'
48454933
required: boolean
48464934
unique: boolean
48474935
workflowGroupId?: string
@@ -4851,6 +4939,7 @@ type GetTableResponseRef1 = {
48514939
}>
48524940
multiple?: boolean
48534941
currencyCode?: string
4942+
referenceTableId?: string
48544943
}>
48554944
}
48564945
rowCount: number
@@ -7017,7 +7106,16 @@ type ListTablesResponseRef0 = {
70177106
columns: Array<{
70187107
id?: string
70197108
name: string
7020-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
7109+
type:
7110+
| 'string'
7111+
| 'number'
7112+
| 'currency'
7113+
| 'boolean'
7114+
| 'date'
7115+
| 'ttl'
7116+
| 'json'
7117+
| 'select'
7118+
| 'reference'
70217119
required: boolean
70227120
unique: boolean
70237121
workflowGroupId?: string
@@ -7027,6 +7125,7 @@ type ListTablesResponseRef0 = {
70277125
}>
70287126
multiple?: boolean
70297127
currencyCode?: string
7128+
referenceTableId?: string
70307129
}>
70317130
}
70327131
rowCount: number
@@ -9010,7 +9109,16 @@ type RestoreTableResponseRef1 = {
90109109
columns: Array<{
90119110
id?: string
90129111
name: string
9013-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
9112+
type:
9113+
| 'string'
9114+
| 'number'
9115+
| 'currency'
9116+
| 'boolean'
9117+
| 'date'
9118+
| 'ttl'
9119+
| 'json'
9120+
| 'select'
9121+
| 'reference'
90149122
required: boolean
90159123
unique: boolean
90169124
workflowGroupId?: string
@@ -9020,6 +9128,7 @@ type RestoreTableResponseRef1 = {
90209128
}>
90219129
multiple?: boolean
90229130
currencyCode?: string
9131+
referenceTableId?: string
90239132
}>
90249133
}
90259134
rowCount: number
@@ -10323,7 +10432,16 @@ type UpdateTableResponseRef1 = {
1032310432
columns: Array<{
1032410433
id?: string
1032510434
name: string
10326-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
10435+
type:
10436+
| 'string'
10437+
| 'number'
10438+
| 'currency'
10439+
| 'boolean'
10440+
| 'date'
10441+
| 'ttl'
10442+
| 'json'
10443+
| 'select'
10444+
| 'reference'
1032710445
required: boolean
1032810446
unique: boolean
1032910447
workflowGroupId?: string
@@ -10333,6 +10451,7 @@ type UpdateTableResponseRef1 = {
1033310451
}>
1033410452
multiple?: boolean
1033510453
currencyCode?: string
10454+
referenceTableId?: string
1033610455
}>
1033710456
}
1033810457
rowCount: number
@@ -10365,7 +10484,16 @@ export type UpdateTableColumnBody = {
1036510484
columnName: string
1036610485
updates: {
1036710486
name?: string
10368-
type?: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
10487+
type?:
10488+
| 'string'
10489+
| 'number'
10490+
| 'currency'
10491+
| 'boolean'
10492+
| 'date'
10493+
| 'ttl'
10494+
| 'json'
10495+
| 'select'
10496+
| 'reference'
1036910497
required?: boolean
1037010498
unique?: boolean
1037110499
options?: Array<{
@@ -10374,14 +10502,24 @@ export type UpdateTableColumnBody = {
1037410502
}>
1037510503
multiple?: boolean
1037610504
currencyCode?: string
10505+
referenceTableId?: string
1037710506
}
1037810507
}
1037910508

1038010509
type UpdateTableColumnResponseRef0 = {
1038110510
columns: Array<{
1038210511
id?: string
1038310512
name: string
10384-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
10513+
type:
10514+
| 'string'
10515+
| 'number'
10516+
| 'currency'
10517+
| 'boolean'
10518+
| 'date'
10519+
| 'ttl'
10520+
| 'json'
10521+
| 'select'
10522+
| 'reference'
1038510523
required: boolean
1038610524
unique: boolean
1038710525
workflowGroupId?: string
@@ -10391,6 +10529,7 @@ type UpdateTableColumnResponseRef0 = {
1039110529
}>
1039210530
multiple?: boolean
1039310531
currencyCode?: string
10532+
referenceTableId?: string
1039410533
}>
1039510534
}
1039610535

@@ -10644,7 +10783,16 @@ export type UpdateWorkflowGroupBody = {
1064410783
}>
1064510784
newOutputColumns?: Array<{
1064610785
name: string
10647-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
10786+
type:
10787+
| 'string'
10788+
| 'number'
10789+
| 'currency'
10790+
| 'boolean'
10791+
| 'date'
10792+
| 'ttl'
10793+
| 'json'
10794+
| 'select'
10795+
| 'reference'
1064810796
required?: boolean
1064910797
unique?: boolean
1065010798
}>
@@ -10690,7 +10838,16 @@ type UpdateWorkflowGroupResponseRef1 = {
1069010838
columns: Array<{
1069110839
id?: string
1069210840
name: string
10693-
type: 'string' | 'number' | 'currency' | 'boolean' | 'date' | 'ttl' | 'json' | 'select'
10841+
type:
10842+
| 'string'
10843+
| 'number'
10844+
| 'currency'
10845+
| 'boolean'
10846+
| 'date'
10847+
| 'ttl'
10848+
| 'json'
10849+
| 'select'
10850+
| 'reference'
1069410851
required: boolean
1069510852
unique: boolean
1069610853
workflowGroupId?: string
@@ -10700,6 +10857,7 @@ type UpdateWorkflowGroupResponseRef1 = {
1070010857
}>
1070110858
multiple?: boolean
1070210859
currencyCode?: string
10860+
referenceTableId?: string
1070310861
}>
1070410862
}
1070510863

0 commit comments

Comments
 (0)