@open-mercato/core 0.6.1-develop.3291.1.6fad645fd0 → 0.6.1
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.
- package/.turbo/turbo-build.log +1 -1
- package/AGENTS.md +14 -0
- package/dist/modules/auth/backend/roles/[id]/edit/page.js +2 -1
- package/dist/modules/auth/backend/roles/[id]/edit/page.js.map +2 -2
- package/dist/modules/auth/backend/users/[id]/edit/page.js +2 -5
- package/dist/modules/auth/backend/users/[id]/edit/page.js.map +2 -2
- package/dist/modules/catalog/ai-agents.js +47 -5
- package/dist/modules/catalog/ai-agents.js.map +2 -2
- package/dist/modules/catalog/backend/catalog/categories/[id]/edit/page.js +2 -5
- package/dist/modules/catalog/backend/catalog/categories/[id]/edit/page.js.map +2 -2
- package/dist/modules/catalog/backend/catalog/products/MerchandisingAssistantSheet.js +4 -3
- package/dist/modules/catalog/backend/catalog/products/MerchandisingAssistantSheet.js.map +2 -2
- package/dist/modules/catalog/backend/catalog/products/[id]/page.js +2 -9
- package/dist/modules/catalog/backend/catalog/products/[id]/page.js.map +2 -2
- package/dist/modules/catalog/backend/catalog/products/[productId]/variants/[variantId]/page.js +2 -9
- package/dist/modules/catalog/backend/catalog/products/[productId]/variants/[variantId]/page.js.map +2 -2
- package/dist/modules/customers/ai-agents.js +174 -1
- package/dist/modules/customers/ai-agents.js.map +2 -2
- package/dist/modules/customers/ai-tools/deal-analyzer-pack.js +196 -0
- package/dist/modules/customers/ai-tools/deal-analyzer-pack.js.map +7 -0
- package/dist/modules/customers/ai-tools.js +3 -1
- package/dist/modules/customers/ai-tools.js.map +2 -2
- package/dist/modules/customers/backend/customers/companies/page.js +11 -1
- package/dist/modules/customers/backend/customers/companies/page.js.map +2 -2
- package/dist/modules/customers/backend/customers/deals/page.js +11 -1
- package/dist/modules/customers/backend/customers/deals/page.js.map +2 -2
- package/dist/modules/customers/backend/customers/people/page.js +11 -1
- package/dist/modules/customers/backend/customers/people/page.js.map +2 -2
- package/dist/modules/customers/commands/companies.js +37 -15
- package/dist/modules/customers/commands/companies.js.map +2 -2
- package/dist/modules/customers/components/detail/AiActionChips.js +2 -2
- package/dist/modules/customers/components/detail/AiActionChips.js.map +2 -2
- package/dist/modules/customers/components/detail/ChangelogTab.js +3 -9
- package/dist/modules/customers/components/detail/ChangelogTab.js.map +2 -2
- package/dist/modules/customers/components/detail/changelogValues.js +35 -0
- package/dist/modules/customers/components/detail/changelogValues.js.map +7 -0
- package/dist/modules/customers/components/detail/customFieldUtils.js +1 -1
- package/dist/modules/customers/components/detail/customFieldUtils.js.map +1 -1
- package/dist/modules/customers/components/formConfig.js +3 -2
- package/dist/modules/customers/components/formConfig.js.map +2 -2
- package/dist/modules/customers/widgets/injection/ai-assistant-trigger/widget.client.js +4 -9
- package/dist/modules/customers/widgets/injection/ai-assistant-trigger/widget.client.js.map +2 -2
- package/dist/modules/customers/widgets/injection/ai-deal-analyzer-trigger/widget.client.js +302 -0
- package/dist/modules/customers/widgets/injection/ai-deal-analyzer-trigger/widget.client.js.map +7 -0
- package/dist/modules/customers/widgets/injection/ai-deal-analyzer-trigger/widget.js +17 -0
- package/dist/modules/customers/widgets/injection/ai-deal-analyzer-trigger/widget.js.map +7 -0
- package/dist/modules/customers/widgets/injection/ai-deal-detail-trigger/widget.client.js +2 -2
- package/dist/modules/customers/widgets/injection/ai-deal-detail-trigger/widget.client.js.map +2 -2
- package/dist/modules/customers/widgets/injection-table.js +2 -2
- package/dist/modules/customers/widgets/injection-table.js.map +2 -2
- package/dist/modules/directory/backend/directory/organizations/[id]/edit/page.js +2 -5
- package/dist/modules/directory/backend/directory/organizations/[id]/edit/page.js.map +2 -2
- package/dist/modules/directory/backend/directory/tenants/[id]/edit/page.js +2 -5
- package/dist/modules/directory/backend/directory/tenants/[id]/edit/page.js.map +2 -2
- package/dist/modules/resources/backend/resources/resources/[id]/page.js +2 -5
- package/dist/modules/resources/backend/resources/resources/[id]/page.js.map +2 -2
- package/dist/modules/sales/backend/sales/channels/[channelId]/edit/page.js +2 -25
- package/dist/modules/sales/backend/sales/channels/[channelId]/edit/page.js.map +2 -2
- package/dist/modules/sales/components/channels/ChannelOfferForm.js +2 -43
- package/dist/modules/sales/components/channels/ChannelOfferForm.js.map +2 -2
- package/dist/modules/sales/components/documents/LineItemDialog.js +162 -42
- package/dist/modules/sales/components/documents/LineItemDialog.js.map +2 -2
- package/dist/modules/sales/components/documents/customFieldHelpers.js +4 -31
- package/dist/modules/sales/components/documents/customFieldHelpers.js.map +2 -2
- package/package.json +16 -8
- package/src/modules/auth/backend/roles/[id]/edit/page.tsx +2 -1
- package/src/modules/auth/backend/users/[id]/edit/page.tsx +2 -5
- package/src/modules/business_rules/migrations/.snapshot-open-mercato.json +746 -394
- package/src/modules/catalog/ai-agents.ts +62 -4
- package/src/modules/catalog/backend/catalog/categories/[id]/edit/page.tsx +2 -5
- package/src/modules/catalog/backend/catalog/products/MerchandisingAssistantSheet.tsx +4 -3
- package/src/modules/catalog/backend/catalog/products/[id]/page.tsx +2 -12
- package/src/modules/catalog/backend/catalog/products/[productId]/variants/[variantId]/page.tsx +2 -10
- package/src/modules/catalog/migrations/.snapshot-open-mercato.json +2519 -1307
- package/src/modules/customer_accounts/migrations/.snapshot-open-mercato.json +828 -834
- package/src/modules/customers/AGENTS.md +6 -1
- package/src/modules/customers/ai-agents.ts +213 -6
- package/src/modules/customers/ai-tools/deal-analyzer-pack.ts +286 -0
- package/src/modules/customers/ai-tools.ts +2 -0
- package/src/modules/customers/backend/customers/companies/page.tsx +10 -0
- package/src/modules/customers/backend/customers/deals/page.tsx +10 -0
- package/src/modules/customers/backend/customers/people/page.tsx +10 -0
- package/src/modules/customers/commands/companies.ts +38 -14
- package/src/modules/customers/components/detail/AiActionChips.tsx +2 -2
- package/src/modules/customers/components/detail/ChangelogTab.tsx +3 -10
- package/src/modules/customers/components/detail/changelogValues.ts +42 -0
- package/src/modules/customers/components/detail/customFieldUtils.ts +1 -1
- package/src/modules/customers/components/formConfig.tsx +3 -2
- package/src/modules/customers/i18n/de.json +7 -0
- package/src/modules/customers/i18n/en.json +7 -0
- package/src/modules/customers/i18n/es.json +7 -0
- package/src/modules/customers/i18n/pl.json +7 -0
- package/src/modules/customers/migrations/.snapshot-open-mercato.json +2313 -2336
- package/src/modules/customers/widgets/injection/ai-assistant-trigger/widget.client.tsx +4 -6
- package/src/modules/customers/widgets/injection/ai-deal-analyzer-trigger/widget.client.tsx +358 -0
- package/src/modules/customers/widgets/injection/ai-deal-analyzer-trigger/widget.ts +34 -0
- package/src/modules/customers/widgets/injection/ai-deal-detail-trigger/widget.client.tsx +2 -2
- package/src/modules/customers/widgets/injection-table.ts +12 -9
- package/src/modules/data_sync/migrations/.snapshot-open-mercato.json +554 -210
- package/src/modules/dictionaries/migrations/.snapshot-open-mercato.json +146 -146
- package/src/modules/directory/backend/directory/organizations/[id]/edit/page.tsx +2 -5
- package/src/modules/directory/backend/directory/tenants/[id]/edit/page.tsx +2 -5
- package/src/modules/directory/migrations/.snapshot-open-mercato.json +273 -140
- package/src/modules/feature_toggles/migrations/.snapshot-open-mercato.json +242 -137
- package/src/modules/integrations/migrations/.snapshot-open-mercato.json +498 -195
- package/src/modules/payment_gateways/migrations/.snapshot-open-mercato.json +158 -157
- package/src/modules/perspectives/migrations/.snapshot-open-mercato.json +274 -129
- package/src/modules/planner/migrations/.snapshot-open-mercato.json +327 -157
- package/src/modules/progress/AGENTS.md +72 -0
- package/src/modules/resources/backend/resources/resources/[id]/page.tsx +2 -5
- package/src/modules/resources/migrations/.snapshot-open-mercato.json +920 -470
- package/src/modules/sales/backend/sales/channels/[channelId]/edit/page.tsx +2 -27
- package/src/modules/sales/components/channels/ChannelOfferForm.tsx +2 -49
- package/src/modules/sales/components/documents/LineItemDialog.tsx +214 -78
- package/src/modules/sales/components/documents/customFieldHelpers.ts +4 -43
- package/src/modules/sales/i18n/de.json +3 -0
- package/src/modules/sales/i18n/en.json +3 -0
- package/src/modules/sales/i18n/es.json +3 -0
- package/src/modules/sales/i18n/pl.json +3 -0
- package/src/modules/sales/migrations/.snapshot-open-mercato.json +4740 -4778
- package/src/modules/shipping_carriers/migrations/.snapshot-open-mercato.json +340 -81
- package/src/modules/staff/migrations/.snapshot-open-mercato.json +1439 -729
|
@@ -1,28 +1,43 @@
|
|
|
1
1
|
{
|
|
2
|
+
"name": "public",
|
|
2
3
|
"namespaces": [
|
|
3
4
|
"public"
|
|
4
5
|
],
|
|
5
|
-
"name": "public",
|
|
6
6
|
"tables": [
|
|
7
7
|
{
|
|
8
|
+
"name": "sync_cursors",
|
|
9
|
+
"schema": "public",
|
|
8
10
|
"columns": {
|
|
9
|
-
"
|
|
10
|
-
"name": "
|
|
11
|
-
"type": "
|
|
11
|
+
"cursor": {
|
|
12
|
+
"name": "cursor",
|
|
13
|
+
"type": "text",
|
|
12
14
|
"unsigned": false,
|
|
13
15
|
"autoincrement": false,
|
|
14
16
|
"primary": false,
|
|
15
|
-
"nullable":
|
|
16
|
-
"
|
|
17
|
-
"
|
|
17
|
+
"nullable": true,
|
|
18
|
+
"unique": false,
|
|
19
|
+
"length": null,
|
|
20
|
+
"precision": null,
|
|
21
|
+
"scale": null,
|
|
22
|
+
"default": null,
|
|
23
|
+
"comment": null,
|
|
24
|
+
"enumItems": [],
|
|
25
|
+
"mappedType": "text"
|
|
18
26
|
},
|
|
19
|
-
"
|
|
20
|
-
"name": "
|
|
27
|
+
"direction": {
|
|
28
|
+
"name": "direction",
|
|
21
29
|
"type": "text",
|
|
22
30
|
"unsigned": false,
|
|
23
31
|
"autoincrement": false,
|
|
24
32
|
"primary": false,
|
|
25
33
|
"nullable": false,
|
|
34
|
+
"unique": false,
|
|
35
|
+
"length": null,
|
|
36
|
+
"precision": null,
|
|
37
|
+
"scale": null,
|
|
38
|
+
"default": null,
|
|
39
|
+
"comment": null,
|
|
40
|
+
"enumItems": [],
|
|
26
41
|
"mappedType": "text"
|
|
27
42
|
},
|
|
28
43
|
"entity_type": {
|
|
@@ -32,24 +47,45 @@
|
|
|
32
47
|
"autoincrement": false,
|
|
33
48
|
"primary": false,
|
|
34
49
|
"nullable": false,
|
|
50
|
+
"unique": false,
|
|
51
|
+
"length": null,
|
|
52
|
+
"precision": null,
|
|
53
|
+
"scale": null,
|
|
54
|
+
"default": null,
|
|
55
|
+
"comment": null,
|
|
56
|
+
"enumItems": [],
|
|
35
57
|
"mappedType": "text"
|
|
36
58
|
},
|
|
37
|
-
"
|
|
38
|
-
"name": "
|
|
39
|
-
"type": "
|
|
59
|
+
"id": {
|
|
60
|
+
"name": "id",
|
|
61
|
+
"type": "uuid",
|
|
40
62
|
"unsigned": false,
|
|
41
63
|
"autoincrement": false,
|
|
42
|
-
"primary":
|
|
64
|
+
"primary": true,
|
|
43
65
|
"nullable": false,
|
|
44
|
-
"
|
|
66
|
+
"unique": false,
|
|
67
|
+
"length": null,
|
|
68
|
+
"precision": null,
|
|
69
|
+
"scale": null,
|
|
70
|
+
"default": "gen_random_uuid()",
|
|
71
|
+
"comment": null,
|
|
72
|
+
"enumItems": [],
|
|
73
|
+
"mappedType": "uuid"
|
|
45
74
|
},
|
|
46
|
-
"
|
|
47
|
-
"name": "
|
|
75
|
+
"integration_id": {
|
|
76
|
+
"name": "integration_id",
|
|
48
77
|
"type": "text",
|
|
49
78
|
"unsigned": false,
|
|
50
79
|
"autoincrement": false,
|
|
51
80
|
"primary": false,
|
|
52
|
-
"nullable":
|
|
81
|
+
"nullable": false,
|
|
82
|
+
"unique": false,
|
|
83
|
+
"length": null,
|
|
84
|
+
"precision": null,
|
|
85
|
+
"scale": null,
|
|
86
|
+
"default": null,
|
|
87
|
+
"comment": null,
|
|
88
|
+
"enumItems": [],
|
|
53
89
|
"mappedType": "text"
|
|
54
90
|
},
|
|
55
91
|
"organization_id": {
|
|
@@ -59,6 +95,13 @@
|
|
|
59
95
|
"autoincrement": false,
|
|
60
96
|
"primary": false,
|
|
61
97
|
"nullable": false,
|
|
98
|
+
"unique": false,
|
|
99
|
+
"length": null,
|
|
100
|
+
"precision": null,
|
|
101
|
+
"scale": null,
|
|
102
|
+
"default": null,
|
|
103
|
+
"comment": null,
|
|
104
|
+
"enumItems": [],
|
|
62
105
|
"mappedType": "uuid"
|
|
63
106
|
},
|
|
64
107
|
"tenant_id": {
|
|
@@ -68,24 +111,34 @@
|
|
|
68
111
|
"autoincrement": false,
|
|
69
112
|
"primary": false,
|
|
70
113
|
"nullable": false,
|
|
114
|
+
"unique": false,
|
|
115
|
+
"length": null,
|
|
116
|
+
"precision": null,
|
|
117
|
+
"scale": null,
|
|
118
|
+
"default": null,
|
|
119
|
+
"comment": null,
|
|
120
|
+
"enumItems": [],
|
|
71
121
|
"mappedType": "uuid"
|
|
72
122
|
},
|
|
73
123
|
"updated_at": {
|
|
74
124
|
"name": "updated_at",
|
|
75
|
-
"type": "timestamptz",
|
|
125
|
+
"type": "timestamptz(6)",
|
|
76
126
|
"unsigned": false,
|
|
77
127
|
"autoincrement": false,
|
|
78
128
|
"primary": false,
|
|
79
129
|
"nullable": false,
|
|
130
|
+
"unique": false,
|
|
80
131
|
"length": 6,
|
|
132
|
+
"precision": null,
|
|
133
|
+
"scale": null,
|
|
134
|
+
"default": null,
|
|
135
|
+
"comment": null,
|
|
136
|
+
"enumItems": [],
|
|
81
137
|
"mappedType": "datetime"
|
|
82
138
|
}
|
|
83
139
|
},
|
|
84
|
-
"name": "sync_cursors",
|
|
85
|
-
"schema": "public",
|
|
86
140
|
"indexes": [
|
|
87
141
|
{
|
|
88
|
-
"keyName": "sync_cursors_integration_id_entity_type_direction__b4d87_index",
|
|
89
142
|
"columnNames": [
|
|
90
143
|
"integration_id",
|
|
91
144
|
"entity_type",
|
|
@@ -95,55 +148,91 @@
|
|
|
95
148
|
],
|
|
96
149
|
"composite": true,
|
|
97
150
|
"constraint": false,
|
|
151
|
+
"keyName": "sync_cursors_integration_id_entity_type_direction__255ea_index",
|
|
98
152
|
"primary": false,
|
|
99
|
-
"unique": false
|
|
100
|
-
"options": {
|
|
101
|
-
"unique": true
|
|
102
|
-
}
|
|
153
|
+
"unique": false
|
|
103
154
|
},
|
|
104
155
|
{
|
|
105
|
-
"keyName": "sync_cursors_pkey",
|
|
106
156
|
"columnNames": [
|
|
107
157
|
"id"
|
|
108
158
|
],
|
|
109
159
|
"composite": false,
|
|
110
160
|
"constraint": true,
|
|
161
|
+
"keyName": "sync_cursors_pkey",
|
|
111
162
|
"primary": true,
|
|
112
163
|
"unique": true
|
|
113
164
|
}
|
|
114
165
|
],
|
|
115
166
|
"checks": [],
|
|
116
167
|
"foreignKeys": {},
|
|
117
|
-
"
|
|
168
|
+
"comment": null
|
|
118
169
|
},
|
|
119
170
|
{
|
|
171
|
+
"name": "sync_mappings",
|
|
172
|
+
"schema": "public",
|
|
120
173
|
"columns": {
|
|
121
|
-
"
|
|
122
|
-
"name": "
|
|
123
|
-
"type": "
|
|
174
|
+
"created_at": {
|
|
175
|
+
"name": "created_at",
|
|
176
|
+
"type": "timestamptz(6)",
|
|
124
177
|
"unsigned": false,
|
|
125
178
|
"autoincrement": false,
|
|
126
179
|
"primary": false,
|
|
127
180
|
"nullable": false,
|
|
128
|
-
"
|
|
129
|
-
"
|
|
181
|
+
"unique": false,
|
|
182
|
+
"length": 6,
|
|
183
|
+
"precision": null,
|
|
184
|
+
"scale": null,
|
|
185
|
+
"default": null,
|
|
186
|
+
"comment": null,
|
|
187
|
+
"enumItems": [],
|
|
188
|
+
"mappedType": "datetime"
|
|
130
189
|
},
|
|
131
|
-
"
|
|
132
|
-
"name": "
|
|
190
|
+
"entity_type": {
|
|
191
|
+
"name": "entity_type",
|
|
133
192
|
"type": "text",
|
|
134
193
|
"unsigned": false,
|
|
135
194
|
"autoincrement": false,
|
|
136
195
|
"primary": false,
|
|
137
196
|
"nullable": false,
|
|
197
|
+
"unique": false,
|
|
198
|
+
"length": null,
|
|
199
|
+
"precision": null,
|
|
200
|
+
"scale": null,
|
|
201
|
+
"default": null,
|
|
202
|
+
"comment": null,
|
|
203
|
+
"enumItems": [],
|
|
138
204
|
"mappedType": "text"
|
|
139
205
|
},
|
|
140
|
-
"
|
|
141
|
-
"name": "
|
|
206
|
+
"id": {
|
|
207
|
+
"name": "id",
|
|
208
|
+
"type": "uuid",
|
|
209
|
+
"unsigned": false,
|
|
210
|
+
"autoincrement": false,
|
|
211
|
+
"primary": true,
|
|
212
|
+
"nullable": false,
|
|
213
|
+
"unique": false,
|
|
214
|
+
"length": null,
|
|
215
|
+
"precision": null,
|
|
216
|
+
"scale": null,
|
|
217
|
+
"default": "gen_random_uuid()",
|
|
218
|
+
"comment": null,
|
|
219
|
+
"enumItems": [],
|
|
220
|
+
"mappedType": "uuid"
|
|
221
|
+
},
|
|
222
|
+
"integration_id": {
|
|
223
|
+
"name": "integration_id",
|
|
142
224
|
"type": "text",
|
|
143
225
|
"unsigned": false,
|
|
144
226
|
"autoincrement": false,
|
|
145
227
|
"primary": false,
|
|
146
228
|
"nullable": false,
|
|
229
|
+
"unique": false,
|
|
230
|
+
"length": null,
|
|
231
|
+
"precision": null,
|
|
232
|
+
"scale": null,
|
|
233
|
+
"default": null,
|
|
234
|
+
"comment": null,
|
|
235
|
+
"enumItems": [],
|
|
147
236
|
"mappedType": "text"
|
|
148
237
|
},
|
|
149
238
|
"mapping": {
|
|
@@ -153,6 +242,13 @@
|
|
|
153
242
|
"autoincrement": false,
|
|
154
243
|
"primary": false,
|
|
155
244
|
"nullable": false,
|
|
245
|
+
"unique": false,
|
|
246
|
+
"length": null,
|
|
247
|
+
"precision": null,
|
|
248
|
+
"scale": null,
|
|
249
|
+
"default": null,
|
|
250
|
+
"comment": null,
|
|
251
|
+
"enumItems": [],
|
|
156
252
|
"mappedType": "json"
|
|
157
253
|
},
|
|
158
254
|
"organization_id": {
|
|
@@ -162,6 +258,13 @@
|
|
|
162
258
|
"autoincrement": false,
|
|
163
259
|
"primary": false,
|
|
164
260
|
"nullable": false,
|
|
261
|
+
"unique": false,
|
|
262
|
+
"length": null,
|
|
263
|
+
"precision": null,
|
|
264
|
+
"scale": null,
|
|
265
|
+
"default": null,
|
|
266
|
+
"comment": null,
|
|
267
|
+
"enumItems": [],
|
|
165
268
|
"mappedType": "uuid"
|
|
166
269
|
},
|
|
167
270
|
"tenant_id": {
|
|
@@ -171,34 +274,34 @@
|
|
|
171
274
|
"autoincrement": false,
|
|
172
275
|
"primary": false,
|
|
173
276
|
"nullable": false,
|
|
277
|
+
"unique": false,
|
|
278
|
+
"length": null,
|
|
279
|
+
"precision": null,
|
|
280
|
+
"scale": null,
|
|
281
|
+
"default": null,
|
|
282
|
+
"comment": null,
|
|
283
|
+
"enumItems": [],
|
|
174
284
|
"mappedType": "uuid"
|
|
175
285
|
},
|
|
176
|
-
"created_at": {
|
|
177
|
-
"name": "created_at",
|
|
178
|
-
"type": "timestamptz",
|
|
179
|
-
"unsigned": false,
|
|
180
|
-
"autoincrement": false,
|
|
181
|
-
"primary": false,
|
|
182
|
-
"nullable": false,
|
|
183
|
-
"length": 6,
|
|
184
|
-
"mappedType": "datetime"
|
|
185
|
-
},
|
|
186
286
|
"updated_at": {
|
|
187
287
|
"name": "updated_at",
|
|
188
|
-
"type": "timestamptz",
|
|
288
|
+
"type": "timestamptz(6)",
|
|
189
289
|
"unsigned": false,
|
|
190
290
|
"autoincrement": false,
|
|
191
291
|
"primary": false,
|
|
192
292
|
"nullable": false,
|
|
293
|
+
"unique": false,
|
|
193
294
|
"length": 6,
|
|
295
|
+
"precision": null,
|
|
296
|
+
"scale": null,
|
|
297
|
+
"default": null,
|
|
298
|
+
"comment": null,
|
|
299
|
+
"enumItems": [],
|
|
194
300
|
"mappedType": "datetime"
|
|
195
301
|
}
|
|
196
302
|
},
|
|
197
|
-
"name": "sync_mappings",
|
|
198
|
-
"schema": "public",
|
|
199
303
|
"indexes": [
|
|
200
304
|
{
|
|
201
|
-
"keyName": "sync_mappings_integration_id_entity_type_organizat_edee9_index",
|
|
202
305
|
"columnNames": [
|
|
203
306
|
"integration_id",
|
|
204
307
|
"entity_type",
|
|
@@ -207,142 +310,220 @@
|
|
|
207
310
|
],
|
|
208
311
|
"composite": true,
|
|
209
312
|
"constraint": false,
|
|
313
|
+
"keyName": "sync_mappings_integration_id_entity_type_organizat_7aa92_index",
|
|
210
314
|
"primary": false,
|
|
211
|
-
"unique": false
|
|
212
|
-
"options": {
|
|
213
|
-
"unique": true
|
|
214
|
-
}
|
|
315
|
+
"unique": false
|
|
215
316
|
},
|
|
216
317
|
{
|
|
217
|
-
"keyName": "sync_mappings_pkey",
|
|
218
318
|
"columnNames": [
|
|
219
319
|
"id"
|
|
220
320
|
],
|
|
221
321
|
"composite": false,
|
|
222
322
|
"constraint": true,
|
|
323
|
+
"keyName": "sync_mappings_pkey",
|
|
223
324
|
"primary": true,
|
|
224
325
|
"unique": true
|
|
225
326
|
}
|
|
226
327
|
],
|
|
227
328
|
"checks": [],
|
|
228
329
|
"foreignKeys": {},
|
|
229
|
-
"
|
|
330
|
+
"comment": null
|
|
230
331
|
},
|
|
231
332
|
{
|
|
333
|
+
"name": "sync_runs",
|
|
334
|
+
"schema": "public",
|
|
232
335
|
"columns": {
|
|
233
|
-
"
|
|
234
|
-
"name": "
|
|
235
|
-
"type": "
|
|
336
|
+
"batches_completed": {
|
|
337
|
+
"name": "batches_completed",
|
|
338
|
+
"type": "int",
|
|
236
339
|
"unsigned": false,
|
|
237
340
|
"autoincrement": false,
|
|
238
341
|
"primary": false,
|
|
239
342
|
"nullable": false,
|
|
240
|
-
"
|
|
241
|
-
"
|
|
343
|
+
"unique": false,
|
|
344
|
+
"length": null,
|
|
345
|
+
"precision": null,
|
|
346
|
+
"scale": null,
|
|
347
|
+
"default": "0",
|
|
348
|
+
"comment": null,
|
|
349
|
+
"enumItems": [],
|
|
350
|
+
"mappedType": "integer"
|
|
242
351
|
},
|
|
243
|
-
"
|
|
244
|
-
"name": "
|
|
245
|
-
"type": "
|
|
352
|
+
"created_at": {
|
|
353
|
+
"name": "created_at",
|
|
354
|
+
"type": "timestamptz(6)",
|
|
246
355
|
"unsigned": false,
|
|
247
356
|
"autoincrement": false,
|
|
248
357
|
"primary": false,
|
|
249
358
|
"nullable": false,
|
|
250
|
-
"
|
|
359
|
+
"unique": false,
|
|
360
|
+
"length": 6,
|
|
361
|
+
"precision": null,
|
|
362
|
+
"scale": null,
|
|
363
|
+
"default": null,
|
|
364
|
+
"comment": null,
|
|
365
|
+
"enumItems": [],
|
|
366
|
+
"mappedType": "datetime"
|
|
251
367
|
},
|
|
252
|
-
"
|
|
253
|
-
"name": "
|
|
254
|
-
"type": "
|
|
368
|
+
"created_count": {
|
|
369
|
+
"name": "created_count",
|
|
370
|
+
"type": "int",
|
|
255
371
|
"unsigned": false,
|
|
256
372
|
"autoincrement": false,
|
|
257
373
|
"primary": false,
|
|
258
374
|
"nullable": false,
|
|
259
|
-
"
|
|
375
|
+
"unique": false,
|
|
376
|
+
"length": null,
|
|
377
|
+
"precision": null,
|
|
378
|
+
"scale": null,
|
|
379
|
+
"default": "0",
|
|
380
|
+
"comment": null,
|
|
381
|
+
"enumItems": [],
|
|
382
|
+
"mappedType": "integer"
|
|
260
383
|
},
|
|
261
|
-
"
|
|
262
|
-
"name": "
|
|
384
|
+
"cursor": {
|
|
385
|
+
"name": "cursor",
|
|
263
386
|
"type": "text",
|
|
264
387
|
"unsigned": false,
|
|
265
388
|
"autoincrement": false,
|
|
266
389
|
"primary": false,
|
|
267
|
-
"nullable":
|
|
390
|
+
"nullable": true,
|
|
391
|
+
"unique": false,
|
|
392
|
+
"length": null,
|
|
393
|
+
"precision": null,
|
|
394
|
+
"scale": null,
|
|
395
|
+
"default": null,
|
|
396
|
+
"comment": null,
|
|
397
|
+
"enumItems": [],
|
|
268
398
|
"mappedType": "text"
|
|
269
399
|
},
|
|
270
|
-
"
|
|
271
|
-
"name": "
|
|
272
|
-
"type": "
|
|
400
|
+
"deleted_at": {
|
|
401
|
+
"name": "deleted_at",
|
|
402
|
+
"type": "timestamptz(6)",
|
|
273
403
|
"unsigned": false,
|
|
274
404
|
"autoincrement": false,
|
|
275
405
|
"primary": false,
|
|
276
|
-
"nullable":
|
|
277
|
-
"
|
|
406
|
+
"nullable": true,
|
|
407
|
+
"unique": false,
|
|
408
|
+
"length": 6,
|
|
409
|
+
"precision": null,
|
|
410
|
+
"scale": null,
|
|
411
|
+
"default": null,
|
|
412
|
+
"comment": null,
|
|
413
|
+
"enumItems": [],
|
|
414
|
+
"mappedType": "datetime"
|
|
278
415
|
},
|
|
279
|
-
"
|
|
280
|
-
"name": "
|
|
416
|
+
"direction": {
|
|
417
|
+
"name": "direction",
|
|
281
418
|
"type": "text",
|
|
282
419
|
"unsigned": false,
|
|
283
420
|
"autoincrement": false,
|
|
284
421
|
"primary": false,
|
|
285
|
-
"nullable":
|
|
422
|
+
"nullable": false,
|
|
423
|
+
"unique": false,
|
|
424
|
+
"length": null,
|
|
425
|
+
"precision": null,
|
|
426
|
+
"scale": null,
|
|
427
|
+
"default": null,
|
|
428
|
+
"comment": null,
|
|
429
|
+
"enumItems": [],
|
|
286
430
|
"mappedType": "text"
|
|
287
431
|
},
|
|
288
|
-
"
|
|
289
|
-
"name": "
|
|
432
|
+
"entity_type": {
|
|
433
|
+
"name": "entity_type",
|
|
290
434
|
"type": "text",
|
|
291
435
|
"unsigned": false,
|
|
292
436
|
"autoincrement": false,
|
|
293
437
|
"primary": false,
|
|
294
|
-
"nullable":
|
|
438
|
+
"nullable": false,
|
|
439
|
+
"unique": false,
|
|
440
|
+
"length": null,
|
|
441
|
+
"precision": null,
|
|
442
|
+
"scale": null,
|
|
443
|
+
"default": null,
|
|
444
|
+
"comment": null,
|
|
445
|
+
"enumItems": [],
|
|
295
446
|
"mappedType": "text"
|
|
296
447
|
},
|
|
297
|
-
"
|
|
298
|
-
"name": "
|
|
448
|
+
"failed_count": {
|
|
449
|
+
"name": "failed_count",
|
|
299
450
|
"type": "int",
|
|
300
451
|
"unsigned": false,
|
|
301
452
|
"autoincrement": false,
|
|
302
453
|
"primary": false,
|
|
303
454
|
"nullable": false,
|
|
455
|
+
"unique": false,
|
|
456
|
+
"length": null,
|
|
457
|
+
"precision": null,
|
|
458
|
+
"scale": null,
|
|
304
459
|
"default": "0",
|
|
460
|
+
"comment": null,
|
|
461
|
+
"enumItems": [],
|
|
305
462
|
"mappedType": "integer"
|
|
306
463
|
},
|
|
307
|
-
"
|
|
308
|
-
"name": "
|
|
309
|
-
"type": "
|
|
464
|
+
"id": {
|
|
465
|
+
"name": "id",
|
|
466
|
+
"type": "uuid",
|
|
310
467
|
"unsigned": false,
|
|
311
468
|
"autoincrement": false,
|
|
312
|
-
"primary":
|
|
469
|
+
"primary": true,
|
|
313
470
|
"nullable": false,
|
|
314
|
-
"
|
|
315
|
-
"
|
|
471
|
+
"unique": false,
|
|
472
|
+
"length": null,
|
|
473
|
+
"precision": null,
|
|
474
|
+
"scale": null,
|
|
475
|
+
"default": "gen_random_uuid()",
|
|
476
|
+
"comment": null,
|
|
477
|
+
"enumItems": [],
|
|
478
|
+
"mappedType": "uuid"
|
|
316
479
|
},
|
|
317
|
-
"
|
|
318
|
-
"name": "
|
|
319
|
-
"type": "
|
|
480
|
+
"initial_cursor": {
|
|
481
|
+
"name": "initial_cursor",
|
|
482
|
+
"type": "text",
|
|
320
483
|
"unsigned": false,
|
|
321
484
|
"autoincrement": false,
|
|
322
485
|
"primary": false,
|
|
323
|
-
"nullable":
|
|
324
|
-
"
|
|
325
|
-
"
|
|
486
|
+
"nullable": true,
|
|
487
|
+
"unique": false,
|
|
488
|
+
"length": null,
|
|
489
|
+
"precision": null,
|
|
490
|
+
"scale": null,
|
|
491
|
+
"default": null,
|
|
492
|
+
"comment": null,
|
|
493
|
+
"enumItems": [],
|
|
494
|
+
"mappedType": "text"
|
|
326
495
|
},
|
|
327
|
-
"
|
|
328
|
-
"name": "
|
|
329
|
-
"type": "
|
|
496
|
+
"integration_id": {
|
|
497
|
+
"name": "integration_id",
|
|
498
|
+
"type": "text",
|
|
330
499
|
"unsigned": false,
|
|
331
500
|
"autoincrement": false,
|
|
332
501
|
"primary": false,
|
|
333
502
|
"nullable": false,
|
|
334
|
-
"
|
|
335
|
-
"
|
|
503
|
+
"unique": false,
|
|
504
|
+
"length": null,
|
|
505
|
+
"precision": null,
|
|
506
|
+
"scale": null,
|
|
507
|
+
"default": null,
|
|
508
|
+
"comment": null,
|
|
509
|
+
"enumItems": [],
|
|
510
|
+
"mappedType": "text"
|
|
336
511
|
},
|
|
337
|
-
"
|
|
338
|
-
"name": "
|
|
339
|
-
"type": "
|
|
512
|
+
"job_id": {
|
|
513
|
+
"name": "job_id",
|
|
514
|
+
"type": "text",
|
|
340
515
|
"unsigned": false,
|
|
341
516
|
"autoincrement": false,
|
|
342
517
|
"primary": false,
|
|
343
|
-
"nullable":
|
|
344
|
-
"
|
|
345
|
-
"
|
|
518
|
+
"nullable": true,
|
|
519
|
+
"unique": false,
|
|
520
|
+
"length": null,
|
|
521
|
+
"precision": null,
|
|
522
|
+
"scale": null,
|
|
523
|
+
"default": null,
|
|
524
|
+
"comment": null,
|
|
525
|
+
"enumItems": [],
|
|
526
|
+
"mappedType": "text"
|
|
346
527
|
},
|
|
347
528
|
"last_error": {
|
|
348
529
|
"name": "last_error",
|
|
@@ -351,43 +532,78 @@
|
|
|
351
532
|
"autoincrement": false,
|
|
352
533
|
"primary": false,
|
|
353
534
|
"nullable": true,
|
|
535
|
+
"unique": false,
|
|
536
|
+
"length": null,
|
|
537
|
+
"precision": null,
|
|
538
|
+
"scale": null,
|
|
539
|
+
"default": null,
|
|
540
|
+
"comment": null,
|
|
541
|
+
"enumItems": [],
|
|
354
542
|
"mappedType": "text"
|
|
355
543
|
},
|
|
356
|
-
"
|
|
357
|
-
"name": "
|
|
544
|
+
"organization_id": {
|
|
545
|
+
"name": "organization_id",
|
|
358
546
|
"type": "uuid",
|
|
359
547
|
"unsigned": false,
|
|
360
548
|
"autoincrement": false,
|
|
361
549
|
"primary": false,
|
|
362
|
-
"nullable":
|
|
550
|
+
"nullable": false,
|
|
551
|
+
"unique": false,
|
|
552
|
+
"length": null,
|
|
553
|
+
"precision": null,
|
|
554
|
+
"scale": null,
|
|
555
|
+
"default": null,
|
|
556
|
+
"comment": null,
|
|
557
|
+
"enumItems": [],
|
|
363
558
|
"mappedType": "uuid"
|
|
364
559
|
},
|
|
365
|
-
"
|
|
366
|
-
"name": "
|
|
367
|
-
"type": "
|
|
560
|
+
"progress_job_id": {
|
|
561
|
+
"name": "progress_job_id",
|
|
562
|
+
"type": "uuid",
|
|
368
563
|
"unsigned": false,
|
|
369
564
|
"autoincrement": false,
|
|
370
565
|
"primary": false,
|
|
371
566
|
"nullable": true,
|
|
372
|
-
"
|
|
567
|
+
"unique": false,
|
|
568
|
+
"length": null,
|
|
569
|
+
"precision": null,
|
|
570
|
+
"scale": null,
|
|
571
|
+
"default": null,
|
|
572
|
+
"comment": null,
|
|
573
|
+
"enumItems": [],
|
|
574
|
+
"mappedType": "uuid"
|
|
373
575
|
},
|
|
374
|
-
"
|
|
375
|
-
"name": "
|
|
376
|
-
"type": "
|
|
576
|
+
"skipped_count": {
|
|
577
|
+
"name": "skipped_count",
|
|
578
|
+
"type": "int",
|
|
377
579
|
"unsigned": false,
|
|
378
580
|
"autoincrement": false,
|
|
379
581
|
"primary": false,
|
|
380
|
-
"nullable":
|
|
381
|
-
"
|
|
582
|
+
"nullable": false,
|
|
583
|
+
"unique": false,
|
|
584
|
+
"length": null,
|
|
585
|
+
"precision": null,
|
|
586
|
+
"scale": null,
|
|
587
|
+
"default": "0",
|
|
588
|
+
"comment": null,
|
|
589
|
+
"enumItems": [],
|
|
590
|
+
"mappedType": "integer"
|
|
382
591
|
},
|
|
383
|
-
"
|
|
384
|
-
"name": "
|
|
385
|
-
"type": "
|
|
592
|
+
"status": {
|
|
593
|
+
"name": "status",
|
|
594
|
+
"type": "text",
|
|
386
595
|
"unsigned": false,
|
|
387
596
|
"autoincrement": false,
|
|
388
597
|
"primary": false,
|
|
389
598
|
"nullable": false,
|
|
390
|
-
"
|
|
599
|
+
"unique": false,
|
|
600
|
+
"length": null,
|
|
601
|
+
"precision": null,
|
|
602
|
+
"scale": null,
|
|
603
|
+
"default": null,
|
|
604
|
+
"comment": null,
|
|
605
|
+
"enumItems": [],
|
|
606
|
+
"mappedType": "text"
|
|
391
607
|
},
|
|
392
608
|
"tenant_id": {
|
|
393
609
|
"name": "tenant_id",
|
|
@@ -396,44 +612,66 @@
|
|
|
396
612
|
"autoincrement": false,
|
|
397
613
|
"primary": false,
|
|
398
614
|
"nullable": false,
|
|
615
|
+
"unique": false,
|
|
616
|
+
"length": null,
|
|
617
|
+
"precision": null,
|
|
618
|
+
"scale": null,
|
|
619
|
+
"default": null,
|
|
620
|
+
"comment": null,
|
|
621
|
+
"enumItems": [],
|
|
399
622
|
"mappedType": "uuid"
|
|
400
623
|
},
|
|
401
|
-
"
|
|
402
|
-
"name": "
|
|
403
|
-
"type": "
|
|
624
|
+
"triggered_by": {
|
|
625
|
+
"name": "triggered_by",
|
|
626
|
+
"type": "text",
|
|
404
627
|
"unsigned": false,
|
|
405
628
|
"autoincrement": false,
|
|
406
629
|
"primary": false,
|
|
407
|
-
"nullable":
|
|
408
|
-
"
|
|
409
|
-
"
|
|
630
|
+
"nullable": true,
|
|
631
|
+
"unique": false,
|
|
632
|
+
"length": null,
|
|
633
|
+
"precision": null,
|
|
634
|
+
"scale": null,
|
|
635
|
+
"default": null,
|
|
636
|
+
"comment": null,
|
|
637
|
+
"enumItems": [],
|
|
638
|
+
"mappedType": "text"
|
|
410
639
|
},
|
|
411
640
|
"updated_at": {
|
|
412
641
|
"name": "updated_at",
|
|
413
|
-
"type": "timestamptz",
|
|
642
|
+
"type": "timestamptz(6)",
|
|
414
643
|
"unsigned": false,
|
|
415
644
|
"autoincrement": false,
|
|
416
645
|
"primary": false,
|
|
417
646
|
"nullable": false,
|
|
647
|
+
"unique": false,
|
|
418
648
|
"length": 6,
|
|
649
|
+
"precision": null,
|
|
650
|
+
"scale": null,
|
|
651
|
+
"default": null,
|
|
652
|
+
"comment": null,
|
|
653
|
+
"enumItems": [],
|
|
419
654
|
"mappedType": "datetime"
|
|
420
655
|
},
|
|
421
|
-
"
|
|
422
|
-
"name": "
|
|
423
|
-
"type": "
|
|
656
|
+
"updated_count": {
|
|
657
|
+
"name": "updated_count",
|
|
658
|
+
"type": "int",
|
|
424
659
|
"unsigned": false,
|
|
425
660
|
"autoincrement": false,
|
|
426
661
|
"primary": false,
|
|
427
|
-
"nullable":
|
|
428
|
-
"
|
|
429
|
-
"
|
|
662
|
+
"nullable": false,
|
|
663
|
+
"unique": false,
|
|
664
|
+
"length": null,
|
|
665
|
+
"precision": null,
|
|
666
|
+
"scale": null,
|
|
667
|
+
"default": "0",
|
|
668
|
+
"comment": null,
|
|
669
|
+
"enumItems": [],
|
|
670
|
+
"mappedType": "integer"
|
|
430
671
|
}
|
|
431
672
|
},
|
|
432
|
-
"name": "sync_runs",
|
|
433
|
-
"schema": "public",
|
|
434
673
|
"indexes": [
|
|
435
674
|
{
|
|
436
|
-
"keyName": "sync_runs_integration_id_entity_type_status_organi_8b13b_index",
|
|
437
675
|
"columnNames": [
|
|
438
676
|
"integration_id",
|
|
439
677
|
"entity_type",
|
|
@@ -443,53 +681,60 @@
|
|
|
443
681
|
],
|
|
444
682
|
"composite": true,
|
|
445
683
|
"constraint": false,
|
|
684
|
+
"keyName": "sync_runs_integration_id_entity_type_status_organi_43560_index",
|
|
446
685
|
"primary": false,
|
|
447
686
|
"unique": false
|
|
448
687
|
},
|
|
449
688
|
{
|
|
450
|
-
"keyName": "sync_runs_pkey",
|
|
451
689
|
"columnNames": [
|
|
452
690
|
"id"
|
|
453
691
|
],
|
|
454
692
|
"composite": false,
|
|
455
693
|
"constraint": true,
|
|
694
|
+
"keyName": "sync_runs_pkey",
|
|
456
695
|
"primary": true,
|
|
457
696
|
"unique": true
|
|
458
697
|
}
|
|
459
698
|
],
|
|
460
699
|
"checks": [],
|
|
461
700
|
"foreignKeys": {},
|
|
462
|
-
"
|
|
701
|
+
"comment": null
|
|
463
702
|
},
|
|
464
703
|
{
|
|
704
|
+
"name": "sync_schedules",
|
|
705
|
+
"schema": "public",
|
|
465
706
|
"columns": {
|
|
466
|
-
"
|
|
467
|
-
"name": "
|
|
468
|
-
"type": "
|
|
469
|
-
"unsigned": false,
|
|
470
|
-
"autoincrement": false,
|
|
471
|
-
"primary": false,
|
|
472
|
-
"nullable": false,
|
|
473
|
-
"default": "gen_random_uuid()",
|
|
474
|
-
"mappedType": "uuid"
|
|
475
|
-
},
|
|
476
|
-
"integration_id": {
|
|
477
|
-
"name": "integration_id",
|
|
478
|
-
"type": "text",
|
|
707
|
+
"created_at": {
|
|
708
|
+
"name": "created_at",
|
|
709
|
+
"type": "timestamptz(6)",
|
|
479
710
|
"unsigned": false,
|
|
480
711
|
"autoincrement": false,
|
|
481
712
|
"primary": false,
|
|
482
713
|
"nullable": false,
|
|
483
|
-
"
|
|
714
|
+
"unique": false,
|
|
715
|
+
"length": 6,
|
|
716
|
+
"precision": null,
|
|
717
|
+
"scale": null,
|
|
718
|
+
"default": null,
|
|
719
|
+
"comment": null,
|
|
720
|
+
"enumItems": [],
|
|
721
|
+
"mappedType": "datetime"
|
|
484
722
|
},
|
|
485
|
-
"
|
|
486
|
-
"name": "
|
|
487
|
-
"type": "
|
|
723
|
+
"deleted_at": {
|
|
724
|
+
"name": "deleted_at",
|
|
725
|
+
"type": "timestamptz(6)",
|
|
488
726
|
"unsigned": false,
|
|
489
727
|
"autoincrement": false,
|
|
490
728
|
"primary": false,
|
|
491
|
-
"nullable":
|
|
492
|
-
"
|
|
729
|
+
"nullable": true,
|
|
730
|
+
"unique": false,
|
|
731
|
+
"length": 6,
|
|
732
|
+
"precision": null,
|
|
733
|
+
"scale": null,
|
|
734
|
+
"default": null,
|
|
735
|
+
"comment": null,
|
|
736
|
+
"enumItems": [],
|
|
737
|
+
"mappedType": "datetime"
|
|
493
738
|
},
|
|
494
739
|
"direction": {
|
|
495
740
|
"name": "direction",
|
|
@@ -498,45 +743,78 @@
|
|
|
498
743
|
"autoincrement": false,
|
|
499
744
|
"primary": false,
|
|
500
745
|
"nullable": false,
|
|
746
|
+
"unique": false,
|
|
747
|
+
"length": null,
|
|
748
|
+
"precision": null,
|
|
749
|
+
"scale": null,
|
|
750
|
+
"default": null,
|
|
751
|
+
"comment": null,
|
|
752
|
+
"enumItems": [],
|
|
501
753
|
"mappedType": "text"
|
|
502
754
|
},
|
|
503
|
-
"
|
|
504
|
-
"name": "
|
|
755
|
+
"entity_type": {
|
|
756
|
+
"name": "entity_type",
|
|
505
757
|
"type": "text",
|
|
506
758
|
"unsigned": false,
|
|
507
759
|
"autoincrement": false,
|
|
508
760
|
"primary": false,
|
|
509
761
|
"nullable": false,
|
|
762
|
+
"unique": false,
|
|
763
|
+
"length": null,
|
|
764
|
+
"precision": null,
|
|
765
|
+
"scale": null,
|
|
766
|
+
"default": null,
|
|
767
|
+
"comment": null,
|
|
768
|
+
"enumItems": [],
|
|
510
769
|
"mappedType": "text"
|
|
511
770
|
},
|
|
512
|
-
"
|
|
513
|
-
"name": "
|
|
514
|
-
"type": "
|
|
771
|
+
"full_sync": {
|
|
772
|
+
"name": "full_sync",
|
|
773
|
+
"type": "boolean",
|
|
515
774
|
"unsigned": false,
|
|
516
775
|
"autoincrement": false,
|
|
517
776
|
"primary": false,
|
|
518
777
|
"nullable": false,
|
|
519
|
-
"
|
|
778
|
+
"unique": false,
|
|
779
|
+
"length": null,
|
|
780
|
+
"precision": null,
|
|
781
|
+
"scale": null,
|
|
782
|
+
"default": "false",
|
|
783
|
+
"comment": null,
|
|
784
|
+
"enumItems": [],
|
|
785
|
+
"mappedType": "boolean"
|
|
520
786
|
},
|
|
521
|
-
"
|
|
522
|
-
"name": "
|
|
523
|
-
"type": "
|
|
787
|
+
"id": {
|
|
788
|
+
"name": "id",
|
|
789
|
+
"type": "uuid",
|
|
524
790
|
"unsigned": false,
|
|
525
791
|
"autoincrement": false,
|
|
526
|
-
"primary":
|
|
792
|
+
"primary": true,
|
|
527
793
|
"nullable": false,
|
|
528
|
-
"
|
|
529
|
-
"
|
|
794
|
+
"unique": false,
|
|
795
|
+
"length": null,
|
|
796
|
+
"precision": null,
|
|
797
|
+
"scale": null,
|
|
798
|
+
"default": "gen_random_uuid()",
|
|
799
|
+
"comment": null,
|
|
800
|
+
"enumItems": [],
|
|
801
|
+
"mappedType": "uuid"
|
|
530
802
|
},
|
|
531
|
-
"
|
|
532
|
-
"name": "
|
|
533
|
-
"type": "
|
|
803
|
+
"integration_id": {
|
|
804
|
+
"name": "integration_id",
|
|
805
|
+
"type": "text",
|
|
534
806
|
"unsigned": false,
|
|
535
807
|
"autoincrement": false,
|
|
536
808
|
"primary": false,
|
|
537
809
|
"nullable": false,
|
|
538
|
-
"
|
|
539
|
-
"
|
|
810
|
+
"unique": false,
|
|
811
|
+
"length": null,
|
|
812
|
+
"precision": null,
|
|
813
|
+
"scale": null,
|
|
814
|
+
"default": null,
|
|
815
|
+
"comment": null,
|
|
816
|
+
"enumItems": [],
|
|
817
|
+
"mappedType": "text"
|
|
540
818
|
},
|
|
541
819
|
"is_enabled": {
|
|
542
820
|
"name": "is_enabled",
|
|
@@ -545,26 +823,29 @@
|
|
|
545
823
|
"autoincrement": false,
|
|
546
824
|
"primary": false,
|
|
547
825
|
"nullable": false,
|
|
826
|
+
"unique": false,
|
|
827
|
+
"length": null,
|
|
828
|
+
"precision": null,
|
|
829
|
+
"scale": null,
|
|
548
830
|
"default": "true",
|
|
831
|
+
"comment": null,
|
|
832
|
+
"enumItems": [],
|
|
549
833
|
"mappedType": "boolean"
|
|
550
834
|
},
|
|
551
|
-
"scheduled_job_id": {
|
|
552
|
-
"name": "scheduled_job_id",
|
|
553
|
-
"type": "uuid",
|
|
554
|
-
"unsigned": false,
|
|
555
|
-
"autoincrement": false,
|
|
556
|
-
"primary": false,
|
|
557
|
-
"nullable": true,
|
|
558
|
-
"mappedType": "uuid"
|
|
559
|
-
},
|
|
560
835
|
"last_run_at": {
|
|
561
836
|
"name": "last_run_at",
|
|
562
|
-
"type": "timestamptz",
|
|
837
|
+
"type": "timestamptz(6)",
|
|
563
838
|
"unsigned": false,
|
|
564
839
|
"autoincrement": false,
|
|
565
840
|
"primary": false,
|
|
566
841
|
"nullable": true,
|
|
842
|
+
"unique": false,
|
|
567
843
|
"length": 6,
|
|
844
|
+
"precision": null,
|
|
845
|
+
"scale": null,
|
|
846
|
+
"default": null,
|
|
847
|
+
"comment": null,
|
|
848
|
+
"enumItems": [],
|
|
568
849
|
"mappedType": "datetime"
|
|
569
850
|
},
|
|
570
851
|
"organization_id": {
|
|
@@ -574,6 +855,61 @@
|
|
|
574
855
|
"autoincrement": false,
|
|
575
856
|
"primary": false,
|
|
576
857
|
"nullable": false,
|
|
858
|
+
"unique": false,
|
|
859
|
+
"length": null,
|
|
860
|
+
"precision": null,
|
|
861
|
+
"scale": null,
|
|
862
|
+
"default": null,
|
|
863
|
+
"comment": null,
|
|
864
|
+
"enumItems": [],
|
|
865
|
+
"mappedType": "uuid"
|
|
866
|
+
},
|
|
867
|
+
"schedule_type": {
|
|
868
|
+
"name": "schedule_type",
|
|
869
|
+
"type": "text",
|
|
870
|
+
"unsigned": false,
|
|
871
|
+
"autoincrement": false,
|
|
872
|
+
"primary": false,
|
|
873
|
+
"nullable": false,
|
|
874
|
+
"unique": false,
|
|
875
|
+
"length": null,
|
|
876
|
+
"precision": null,
|
|
877
|
+
"scale": null,
|
|
878
|
+
"default": null,
|
|
879
|
+
"comment": null,
|
|
880
|
+
"enumItems": [],
|
|
881
|
+
"mappedType": "text"
|
|
882
|
+
},
|
|
883
|
+
"schedule_value": {
|
|
884
|
+
"name": "schedule_value",
|
|
885
|
+
"type": "text",
|
|
886
|
+
"unsigned": false,
|
|
887
|
+
"autoincrement": false,
|
|
888
|
+
"primary": false,
|
|
889
|
+
"nullable": false,
|
|
890
|
+
"unique": false,
|
|
891
|
+
"length": null,
|
|
892
|
+
"precision": null,
|
|
893
|
+
"scale": null,
|
|
894
|
+
"default": null,
|
|
895
|
+
"comment": null,
|
|
896
|
+
"enumItems": [],
|
|
897
|
+
"mappedType": "text"
|
|
898
|
+
},
|
|
899
|
+
"scheduled_job_id": {
|
|
900
|
+
"name": "scheduled_job_id",
|
|
901
|
+
"type": "uuid",
|
|
902
|
+
"unsigned": false,
|
|
903
|
+
"autoincrement": false,
|
|
904
|
+
"primary": false,
|
|
905
|
+
"nullable": true,
|
|
906
|
+
"unique": false,
|
|
907
|
+
"length": null,
|
|
908
|
+
"precision": null,
|
|
909
|
+
"scale": null,
|
|
910
|
+
"default": null,
|
|
911
|
+
"comment": null,
|
|
912
|
+
"enumItems": [],
|
|
577
913
|
"mappedType": "uuid"
|
|
578
914
|
},
|
|
579
915
|
"tenant_id": {
|
|
@@ -583,44 +919,50 @@
|
|
|
583
919
|
"autoincrement": false,
|
|
584
920
|
"primary": false,
|
|
585
921
|
"nullable": false,
|
|
922
|
+
"unique": false,
|
|
923
|
+
"length": null,
|
|
924
|
+
"precision": null,
|
|
925
|
+
"scale": null,
|
|
926
|
+
"default": null,
|
|
927
|
+
"comment": null,
|
|
928
|
+
"enumItems": [],
|
|
586
929
|
"mappedType": "uuid"
|
|
587
930
|
},
|
|
588
|
-
"
|
|
589
|
-
"name": "
|
|
590
|
-
"type": "
|
|
931
|
+
"timezone": {
|
|
932
|
+
"name": "timezone",
|
|
933
|
+
"type": "text",
|
|
591
934
|
"unsigned": false,
|
|
592
935
|
"autoincrement": false,
|
|
593
936
|
"primary": false,
|
|
594
937
|
"nullable": false,
|
|
595
|
-
"
|
|
596
|
-
"
|
|
938
|
+
"unique": false,
|
|
939
|
+
"length": null,
|
|
940
|
+
"precision": null,
|
|
941
|
+
"scale": null,
|
|
942
|
+
"default": "'UTC'",
|
|
943
|
+
"comment": null,
|
|
944
|
+
"enumItems": [],
|
|
945
|
+
"mappedType": "text"
|
|
597
946
|
},
|
|
598
947
|
"updated_at": {
|
|
599
948
|
"name": "updated_at",
|
|
600
|
-
"type": "timestamptz",
|
|
949
|
+
"type": "timestamptz(6)",
|
|
601
950
|
"unsigned": false,
|
|
602
951
|
"autoincrement": false,
|
|
603
952
|
"primary": false,
|
|
604
953
|
"nullable": false,
|
|
954
|
+
"unique": false,
|
|
605
955
|
"length": 6,
|
|
606
|
-
"
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
"
|
|
610
|
-
"
|
|
611
|
-
"unsigned": false,
|
|
612
|
-
"autoincrement": false,
|
|
613
|
-
"primary": false,
|
|
614
|
-
"nullable": true,
|
|
615
|
-
"length": 6,
|
|
956
|
+
"precision": null,
|
|
957
|
+
"scale": null,
|
|
958
|
+
"default": null,
|
|
959
|
+
"comment": null,
|
|
960
|
+
"enumItems": [],
|
|
616
961
|
"mappedType": "datetime"
|
|
617
962
|
}
|
|
618
963
|
},
|
|
619
|
-
"name": "sync_schedules",
|
|
620
|
-
"schema": "public",
|
|
621
964
|
"indexes": [
|
|
622
965
|
{
|
|
623
|
-
"keyName": "sync_schedules_integration_id_entity_type_directio_addb9_index",
|
|
624
966
|
"columnNames": [
|
|
625
967
|
"integration_id",
|
|
626
968
|
"entity_type",
|
|
@@ -630,24 +972,26 @@
|
|
|
630
972
|
],
|
|
631
973
|
"composite": true,
|
|
632
974
|
"constraint": false,
|
|
975
|
+
"keyName": "sync_schedules_integration_id_entity_type_directio_fe28d_index",
|
|
633
976
|
"primary": false,
|
|
634
977
|
"unique": false
|
|
635
978
|
},
|
|
636
979
|
{
|
|
637
|
-
"keyName": "sync_schedules_pkey",
|
|
638
980
|
"columnNames": [
|
|
639
981
|
"id"
|
|
640
982
|
],
|
|
641
983
|
"composite": false,
|
|
642
984
|
"constraint": true,
|
|
985
|
+
"keyName": "sync_schedules_pkey",
|
|
643
986
|
"primary": true,
|
|
644
987
|
"unique": true
|
|
645
988
|
}
|
|
646
989
|
],
|
|
647
990
|
"checks": [],
|
|
648
991
|
"foreignKeys": {},
|
|
649
|
-
"
|
|
992
|
+
"comment": null
|
|
650
993
|
}
|
|
651
994
|
],
|
|
995
|
+
"views": [],
|
|
652
996
|
"nativeEnums": {}
|
|
653
|
-
}
|
|
997
|
+
}
|