polytomic 1.8.4 → 1.9.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.
Files changed (147) hide show
  1. package/Client.d.ts +3 -3
  2. package/Client.js +9 -9
  3. package/api/errors/index.d.ts +1 -1
  4. package/api/errors/index.js +1 -1
  5. package/api/resources/bulkSync/client/Client.d.ts +6 -4
  6. package/api/resources/bulkSync/client/Client.js +24 -14
  7. package/api/resources/bulkSync/client/requests/BulkSyncListRequest.d.ts +12 -0
  8. package/api/resources/bulkSync/client/requests/BulkSyncListRequest.js +5 -0
  9. package/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +1 -3
  10. package/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +1 -3
  11. package/api/resources/bulkSync/client/requests/index.d.ts +1 -0
  12. package/api/resources/bulkSync/resources/executions/client/Client.d.ts +27 -0
  13. package/api/resources/bulkSync/resources/executions/client/Client.js +144 -3
  14. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.d.ts +13 -0
  15. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.js +5 -0
  16. package/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +1 -0
  17. package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +1 -0
  18. package/api/resources/bulkSync/resources/schemas/client/Client.js +7 -4
  19. package/api/resources/connections/client/Client.js +8 -8
  20. package/api/resources/events/client/Client.js +2 -2
  21. package/api/resources/identity/client/Client.js +1 -1
  22. package/api/resources/index.d.ts +2 -2
  23. package/api/resources/index.js +3 -3
  24. package/api/resources/jobs/client/Client.js +1 -1
  25. package/api/resources/modelSync/client/Client.d.ts +21 -2
  26. package/api/resources/modelSync/client/Client.js +106 -15
  27. package/api/resources/modelSync/client/requests/ModelSyncListRequest.d.ts +16 -0
  28. package/api/resources/modelSync/client/requests/ModelSyncListRequest.js +5 -0
  29. package/api/resources/modelSync/client/requests/index.d.ts +1 -0
  30. package/api/resources/modelSync/resources/executions/client/Client.d.ts +6 -6
  31. package/api/resources/modelSync/resources/executions/client/Client.js +8 -8
  32. package/api/resources/models/client/Client.d.ts +15 -0
  33. package/api/resources/models/client/Client.js +87 -8
  34. package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +10 -0
  35. package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.js +5 -0
  36. package/api/resources/models/client/requests/index.d.ts +1 -0
  37. package/api/resources/organization/client/Client.js +5 -5
  38. package/api/resources/permissions/resources/policies/client/Client.js +5 -5
  39. package/api/resources/permissions/resources/roles/client/Client.js +5 -5
  40. package/api/resources/queryRunner/client/Client.js +2 -2
  41. package/api/resources/schemas/client/Client.js +4 -4
  42. package/api/resources/users/client/Client.js +6 -6
  43. package/api/resources/webhooks/client/Client.js +5 -5
  44. package/api/types/BulkSyncDest.d.ts +1 -1
  45. package/api/types/BulkSyncResponse.d.ts +4 -0
  46. package/api/types/BulkSyncSchemaExecution.d.ts +1 -0
  47. package/api/types/BulkSyncSchemaExecutionStatus.d.ts +1 -0
  48. package/api/types/SchemaField.d.ts +3 -1
  49. package/api/types/SupportedBulkMode.d.ts +12 -0
  50. package/api/types/SupportedBulkMode.js +5 -0
  51. package/api/types/SupportedMode.d.ts +6 -5
  52. package/api/types/SyncMode.d.ts +17 -0
  53. package/api/types/SyncMode.js +16 -0
  54. package/api/types/TargetObject.d.ts +10 -0
  55. package/api/types/TargetObject.js +5 -0
  56. package/api/types/TypesType.d.ts +4 -0
  57. package/api/types/TypesType.js +5 -0
  58. package/api/types/UtilFieldType.d.ts +13 -0
  59. package/api/types/UtilFieldType.js +15 -0
  60. package/api/types/V2ExecutionLogType.d.ts +12 -0
  61. package/api/types/V2ExecutionLogType.js +14 -0
  62. package/api/types/V4BulkSyncExecutionLogs.d.ts +4 -0
  63. package/api/types/V4BulkSyncExecutionLogs.js +5 -0
  64. package/api/types/V4BulkSyncExecutionLogsEnvelope.d.ts +7 -0
  65. package/api/types/V4BulkSyncExecutionLogsEnvelope.js +5 -0
  66. package/api/types/V4ExportSyncLogsEnvelope.d.ts +8 -0
  67. package/api/types/V4ExportSyncLogsEnvelope.js +5 -0
  68. package/api/types/V4ExportSyncLogsResponse.d.ts +6 -0
  69. package/api/types/V4ExportSyncLogsResponse.js +5 -0
  70. package/api/types/V4TargetObjectsResponseEnvelope.d.ts +7 -0
  71. package/api/types/V4TargetObjectsResponseEnvelope.js +5 -0
  72. package/api/types/index.d.ts +12 -1
  73. package/api/types/index.js +12 -1
  74. package/dist/Client.d.ts +3 -3
  75. package/dist/Client.js +9 -9
  76. package/dist/api/errors/index.d.ts +1 -1
  77. package/dist/api/errors/index.js +1 -1
  78. package/dist/api/resources/bulkSync/client/Client.d.ts +6 -4
  79. package/dist/api/resources/bulkSync/client/Client.js +24 -14
  80. package/dist/api/resources/bulkSync/client/requests/BulkSyncListRequest.d.ts +12 -0
  81. package/dist/api/resources/bulkSync/client/requests/BulkSyncListRequest.js +5 -0
  82. package/dist/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +1 -3
  83. package/dist/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +1 -3
  84. package/dist/api/resources/bulkSync/client/requests/index.d.ts +1 -0
  85. package/dist/api/resources/bulkSync/resources/executions/client/Client.d.ts +27 -0
  86. package/dist/api/resources/bulkSync/resources/executions/client/Client.js +144 -3
  87. package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.d.ts +13 -0
  88. package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.js +5 -0
  89. package/dist/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +1 -0
  90. package/dist/api/resources/bulkSync/resources/schemas/client/Client.d.ts +1 -0
  91. package/dist/api/resources/bulkSync/resources/schemas/client/Client.js +7 -4
  92. package/dist/api/resources/connections/client/Client.js +8 -8
  93. package/dist/api/resources/events/client/Client.js +2 -2
  94. package/dist/api/resources/identity/client/Client.js +1 -1
  95. package/dist/api/resources/index.d.ts +2 -2
  96. package/dist/api/resources/index.js +3 -3
  97. package/dist/api/resources/jobs/client/Client.js +1 -1
  98. package/dist/api/resources/modelSync/client/Client.d.ts +21 -2
  99. package/dist/api/resources/modelSync/client/Client.js +106 -15
  100. package/dist/api/resources/modelSync/client/requests/ModelSyncListRequest.d.ts +16 -0
  101. package/dist/api/resources/modelSync/client/requests/ModelSyncListRequest.js +5 -0
  102. package/dist/api/resources/modelSync/client/requests/index.d.ts +1 -0
  103. package/dist/api/resources/modelSync/resources/executions/client/Client.d.ts +6 -6
  104. package/dist/api/resources/modelSync/resources/executions/client/Client.js +8 -8
  105. package/dist/api/resources/models/client/Client.d.ts +15 -0
  106. package/dist/api/resources/models/client/Client.js +87 -8
  107. package/dist/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +10 -0
  108. package/dist/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.js +5 -0
  109. package/dist/api/resources/models/client/requests/index.d.ts +1 -0
  110. package/dist/api/resources/organization/client/Client.js +5 -5
  111. package/dist/api/resources/permissions/resources/policies/client/Client.js +5 -5
  112. package/dist/api/resources/permissions/resources/roles/client/Client.js +5 -5
  113. package/dist/api/resources/queryRunner/client/Client.js +2 -2
  114. package/dist/api/resources/schemas/client/Client.js +4 -4
  115. package/dist/api/resources/users/client/Client.js +6 -6
  116. package/dist/api/resources/webhooks/client/Client.js +5 -5
  117. package/dist/api/types/BulkSyncDest.d.ts +1 -1
  118. package/dist/api/types/BulkSyncResponse.d.ts +4 -0
  119. package/dist/api/types/BulkSyncSchemaExecution.d.ts +1 -0
  120. package/dist/api/types/BulkSyncSchemaExecutionStatus.d.ts +1 -0
  121. package/dist/api/types/SchemaField.d.ts +3 -1
  122. package/dist/api/types/SupportedBulkMode.d.ts +12 -0
  123. package/dist/api/types/SupportedBulkMode.js +5 -0
  124. package/dist/api/types/SupportedMode.d.ts +6 -5
  125. package/dist/api/types/SyncMode.d.ts +17 -0
  126. package/dist/api/types/SyncMode.js +16 -0
  127. package/dist/api/types/TargetObject.d.ts +10 -0
  128. package/dist/api/types/TargetObject.js +5 -0
  129. package/dist/api/types/TypesType.d.ts +4 -0
  130. package/dist/api/types/TypesType.js +5 -0
  131. package/dist/api/types/UtilFieldType.d.ts +13 -0
  132. package/dist/api/types/UtilFieldType.js +15 -0
  133. package/dist/api/types/V2ExecutionLogType.d.ts +12 -0
  134. package/dist/api/types/V2ExecutionLogType.js +14 -0
  135. package/dist/api/types/V4BulkSyncExecutionLogs.d.ts +4 -0
  136. package/dist/api/types/V4BulkSyncExecutionLogs.js +5 -0
  137. package/dist/api/types/V4BulkSyncExecutionLogsEnvelope.d.ts +7 -0
  138. package/dist/api/types/V4BulkSyncExecutionLogsEnvelope.js +5 -0
  139. package/dist/api/types/V4ExportSyncLogsEnvelope.d.ts +8 -0
  140. package/dist/api/types/V4ExportSyncLogsEnvelope.js +5 -0
  141. package/dist/api/types/V4ExportSyncLogsResponse.d.ts +6 -0
  142. package/dist/api/types/V4ExportSyncLogsResponse.js +5 -0
  143. package/dist/api/types/V4TargetObjectsResponseEnvelope.d.ts +7 -0
  144. package/dist/api/types/V4TargetObjectsResponseEnvelope.js +5 -0
  145. package/dist/api/types/index.d.ts +12 -1
  146. package/dist/api/types/index.js +12 -1
  147. package/package.json +1 -1
@@ -70,7 +70,7 @@ class Policies {
70
70
  : undefined,
71
71
  "X-Fern-Language": "JavaScript",
72
72
  "X-Fern-SDK-Name": "polytomic",
73
- "X-Fern-SDK-Version": "1.8.4",
73
+ "X-Fern-SDK-Version": "1.9.1",
74
74
  "X-Fern-Runtime": core.RUNTIME.type,
75
75
  "X-Fern-Runtime-Version": core.RUNTIME.version,
76
76
  },
@@ -138,7 +138,7 @@ class Policies {
138
138
  : undefined,
139
139
  "X-Fern-Language": "JavaScript",
140
140
  "X-Fern-SDK-Name": "polytomic",
141
- "X-Fern-SDK-Version": "1.8.4",
141
+ "X-Fern-SDK-Version": "1.9.1",
142
142
  "X-Fern-Runtime": core.RUNTIME.type,
143
143
  "X-Fern-Runtime-Version": core.RUNTIME.version,
144
144
  },
@@ -209,7 +209,7 @@ class Policies {
209
209
  : undefined,
210
210
  "X-Fern-Language": "JavaScript",
211
211
  "X-Fern-SDK-Name": "polytomic",
212
- "X-Fern-SDK-Version": "1.8.4",
212
+ "X-Fern-SDK-Version": "1.9.1",
213
213
  "X-Fern-Runtime": core.RUNTIME.type,
214
214
  "X-Fern-Runtime-Version": core.RUNTIME.version,
215
215
  },
@@ -280,7 +280,7 @@ class Policies {
280
280
  : undefined,
281
281
  "X-Fern-Language": "JavaScript",
282
282
  "X-Fern-SDK-Name": "polytomic",
283
- "X-Fern-SDK-Version": "1.8.4",
283
+ "X-Fern-SDK-Version": "1.9.1",
284
284
  "X-Fern-Runtime": core.RUNTIME.type,
285
285
  "X-Fern-Runtime-Version": core.RUNTIME.version,
286
286
  },
@@ -352,7 +352,7 @@ class Policies {
352
352
  : undefined,
353
353
  "X-Fern-Language": "JavaScript",
354
354
  "X-Fern-SDK-Name": "polytomic",
355
- "X-Fern-SDK-Version": "1.8.4",
355
+ "X-Fern-SDK-Version": "1.9.1",
356
356
  "X-Fern-Runtime": core.RUNTIME.type,
357
357
  "X-Fern-Runtime-Version": core.RUNTIME.version,
358
358
  },
@@ -70,7 +70,7 @@ class Roles {
70
70
  : undefined,
71
71
  "X-Fern-Language": "JavaScript",
72
72
  "X-Fern-SDK-Name": "polytomic",
73
- "X-Fern-SDK-Version": "1.8.4",
73
+ "X-Fern-SDK-Version": "1.9.1",
74
74
  "X-Fern-Runtime": core.RUNTIME.type,
75
75
  "X-Fern-Runtime-Version": core.RUNTIME.version,
76
76
  },
@@ -138,7 +138,7 @@ class Roles {
138
138
  : undefined,
139
139
  "X-Fern-Language": "JavaScript",
140
140
  "X-Fern-SDK-Name": "polytomic",
141
- "X-Fern-SDK-Version": "1.8.4",
141
+ "X-Fern-SDK-Version": "1.9.1",
142
142
  "X-Fern-Runtime": core.RUNTIME.type,
143
143
  "X-Fern-Runtime-Version": core.RUNTIME.version,
144
144
  },
@@ -208,7 +208,7 @@ class Roles {
208
208
  : undefined,
209
209
  "X-Fern-Language": "JavaScript",
210
210
  "X-Fern-SDK-Name": "polytomic",
211
- "X-Fern-SDK-Version": "1.8.4",
211
+ "X-Fern-SDK-Version": "1.9.1",
212
212
  "X-Fern-Runtime": core.RUNTIME.type,
213
213
  "X-Fern-Runtime-Version": core.RUNTIME.version,
214
214
  },
@@ -277,7 +277,7 @@ class Roles {
277
277
  : undefined,
278
278
  "X-Fern-Language": "JavaScript",
279
279
  "X-Fern-SDK-Name": "polytomic",
280
- "X-Fern-SDK-Version": "1.8.4",
280
+ "X-Fern-SDK-Version": "1.9.1",
281
281
  "X-Fern-Runtime": core.RUNTIME.type,
282
282
  "X-Fern-Runtime-Version": core.RUNTIME.version,
283
283
  },
@@ -349,7 +349,7 @@ class Roles {
349
349
  : undefined,
350
350
  "X-Fern-Language": "JavaScript",
351
351
  "X-Fern-SDK-Name": "polytomic",
352
- "X-Fern-SDK-Version": "1.8.4",
352
+ "X-Fern-SDK-Version": "1.9.1",
353
353
  "X-Fern-Runtime": core.RUNTIME.type,
354
354
  "X-Fern-Runtime-Version": core.RUNTIME.version,
355
355
  },
@@ -92,7 +92,7 @@ class QueryRunner {
92
92
  : undefined,
93
93
  "X-Fern-Language": "JavaScript",
94
94
  "X-Fern-SDK-Name": "polytomic",
95
- "X-Fern-SDK-Version": "1.8.4",
95
+ "X-Fern-SDK-Version": "1.9.1",
96
96
  "X-Fern-Runtime": core.RUNTIME.type,
97
97
  "X-Fern-Runtime-Version": core.RUNTIME.version,
98
98
  },
@@ -169,7 +169,7 @@ class QueryRunner {
169
169
  : undefined,
170
170
  "X-Fern-Language": "JavaScript",
171
171
  "X-Fern-SDK-Name": "polytomic",
172
- "X-Fern-SDK-Version": "1.8.4",
172
+ "X-Fern-SDK-Version": "1.9.1",
173
173
  "X-Fern-Runtime": core.RUNTIME.type,
174
174
  "X-Fern-Runtime-Version": core.RUNTIME.version,
175
175
  },
@@ -73,7 +73,7 @@ class Schemas {
73
73
  : undefined,
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "polytomic",
76
- "X-Fern-SDK-Version": "1.8.4",
76
+ "X-Fern-SDK-Version": "1.9.1",
77
77
  "X-Fern-Runtime": core.RUNTIME.type,
78
78
  "X-Fern-Runtime-Version": core.RUNTIME.version,
79
79
  },
@@ -142,7 +142,7 @@ class Schemas {
142
142
  : undefined,
143
143
  "X-Fern-Language": "JavaScript",
144
144
  "X-Fern-SDK-Name": "polytomic",
145
- "X-Fern-SDK-Version": "1.8.4",
145
+ "X-Fern-SDK-Version": "1.9.1",
146
146
  "X-Fern-Runtime": core.RUNTIME.type,
147
147
  "X-Fern-Runtime-Version": core.RUNTIME.version,
148
148
  },
@@ -212,7 +212,7 @@ class Schemas {
212
212
  : undefined,
213
213
  "X-Fern-Language": "JavaScript",
214
214
  "X-Fern-SDK-Name": "polytomic",
215
- "X-Fern-SDK-Version": "1.8.4",
215
+ "X-Fern-SDK-Version": "1.9.1",
216
216
  "X-Fern-Runtime": core.RUNTIME.type,
217
217
  "X-Fern-Runtime-Version": core.RUNTIME.version,
218
218
  },
@@ -283,7 +283,7 @@ class Schemas {
283
283
  : undefined,
284
284
  "X-Fern-Language": "JavaScript",
285
285
  "X-Fern-SDK-Name": "polytomic",
286
- "X-Fern-SDK-Version": "1.8.4",
286
+ "X-Fern-SDK-Version": "1.9.1",
287
287
  "X-Fern-Runtime": core.RUNTIME.type,
288
288
  "X-Fern-Runtime-Version": core.RUNTIME.version,
289
289
  },
@@ -75,7 +75,7 @@ class Users {
75
75
  : undefined,
76
76
  "X-Fern-Language": "JavaScript",
77
77
  "X-Fern-SDK-Name": "polytomic",
78
- "X-Fern-SDK-Version": "1.8.4",
78
+ "X-Fern-SDK-Version": "1.9.1",
79
79
  "X-Fern-Runtime": core.RUNTIME.type,
80
80
  "X-Fern-Runtime-Version": core.RUNTIME.version,
81
81
  },
@@ -146,7 +146,7 @@ class Users {
146
146
  : undefined,
147
147
  "X-Fern-Language": "JavaScript",
148
148
  "X-Fern-SDK-Name": "polytomic",
149
- "X-Fern-SDK-Version": "1.8.4",
149
+ "X-Fern-SDK-Version": "1.9.1",
150
150
  "X-Fern-Runtime": core.RUNTIME.type,
151
151
  "X-Fern-Runtime-Version": core.RUNTIME.version,
152
152
  },
@@ -218,7 +218,7 @@ class Users {
218
218
  : undefined,
219
219
  "X-Fern-Language": "JavaScript",
220
220
  "X-Fern-SDK-Name": "polytomic",
221
- "X-Fern-SDK-Version": "1.8.4",
221
+ "X-Fern-SDK-Version": "1.9.1",
222
222
  "X-Fern-Runtime": core.RUNTIME.type,
223
223
  "X-Fern-Runtime-Version": core.RUNTIME.version,
224
224
  },
@@ -292,7 +292,7 @@ class Users {
292
292
  : undefined,
293
293
  "X-Fern-Language": "JavaScript",
294
294
  "X-Fern-SDK-Name": "polytomic",
295
- "X-Fern-SDK-Version": "1.8.4",
295
+ "X-Fern-SDK-Version": "1.9.1",
296
296
  "X-Fern-Runtime": core.RUNTIME.type,
297
297
  "X-Fern-Runtime-Version": core.RUNTIME.version,
298
298
  },
@@ -364,7 +364,7 @@ class Users {
364
364
  : undefined,
365
365
  "X-Fern-Language": "JavaScript",
366
366
  "X-Fern-SDK-Name": "polytomic",
367
- "X-Fern-SDK-Version": "1.8.4",
367
+ "X-Fern-SDK-Version": "1.9.1",
368
368
  "X-Fern-Runtime": core.RUNTIME.type,
369
369
  "X-Fern-Runtime-Version": core.RUNTIME.version,
370
370
  },
@@ -443,7 +443,7 @@ class Users {
443
443
  : undefined,
444
444
  "X-Fern-Language": "JavaScript",
445
445
  "X-Fern-SDK-Name": "polytomic",
446
- "X-Fern-SDK-Version": "1.8.4",
446
+ "X-Fern-SDK-Version": "1.9.1",
447
447
  "X-Fern-Runtime": core.RUNTIME.type,
448
448
  "X-Fern-Runtime-Version": core.RUNTIME.version,
449
449
  },
@@ -76,7 +76,7 @@ class Webhooks {
76
76
  : undefined,
77
77
  "X-Fern-Language": "JavaScript",
78
78
  "X-Fern-SDK-Name": "polytomic",
79
- "X-Fern-SDK-Version": "1.8.4",
79
+ "X-Fern-SDK-Version": "1.9.1",
80
80
  "X-Fern-Runtime": core.RUNTIME.type,
81
81
  "X-Fern-Runtime-Version": core.RUNTIME.version,
82
82
  },
@@ -149,7 +149,7 @@ class Webhooks {
149
149
  : undefined,
150
150
  "X-Fern-Language": "JavaScript",
151
151
  "X-Fern-SDK-Name": "polytomic",
152
- "X-Fern-SDK-Version": "1.8.4",
152
+ "X-Fern-SDK-Version": "1.9.1",
153
153
  "X-Fern-Runtime": core.RUNTIME.type,
154
154
  "X-Fern-Runtime-Version": core.RUNTIME.version,
155
155
  },
@@ -221,7 +221,7 @@ class Webhooks {
221
221
  : undefined,
222
222
  "X-Fern-Language": "JavaScript",
223
223
  "X-Fern-SDK-Name": "polytomic",
224
- "X-Fern-SDK-Version": "1.8.4",
224
+ "X-Fern-SDK-Version": "1.9.1",
225
225
  "X-Fern-Runtime": core.RUNTIME.type,
226
226
  "X-Fern-Runtime-Version": core.RUNTIME.version,
227
227
  },
@@ -295,7 +295,7 @@ class Webhooks {
295
295
  : undefined,
296
296
  "X-Fern-Language": "JavaScript",
297
297
  "X-Fern-SDK-Name": "polytomic",
298
- "X-Fern-SDK-Version": "1.8.4",
298
+ "X-Fern-SDK-Version": "1.9.1",
299
299
  "X-Fern-Runtime": core.RUNTIME.type,
300
300
  "X-Fern-Runtime-Version": core.RUNTIME.version,
301
301
  },
@@ -362,7 +362,7 @@ class Webhooks {
362
362
  : undefined,
363
363
  "X-Fern-Language": "JavaScript",
364
364
  "X-Fern-SDK-Name": "polytomic",
365
- "X-Fern-SDK-Version": "1.8.4",
365
+ "X-Fern-SDK-Version": "1.9.1",
366
366
  "X-Fern-Runtime": core.RUNTIME.type,
367
367
  "X-Fern-Runtime-Version": core.RUNTIME.version,
368
368
  },
@@ -4,5 +4,5 @@
4
4
  import * as Polytomic from "../index";
5
5
  export interface BulkSyncDest {
6
6
  configuration?: Record<string, unknown>;
7
- modes?: Polytomic.SupportedMode[];
7
+ modes?: Polytomic.SupportedBulkMode[];
8
8
  }
@@ -4,15 +4,19 @@
4
4
  import * as Polytomic from "../index";
5
5
  export interface BulkSyncResponse {
6
6
  active?: boolean;
7
+ /** Destination-specific bulk sync configuration. e.g. output schema name, s3 file format, etc. */
7
8
  destination_configuration?: Record<string, unknown>;
8
9
  destination_connection_id?: string;
9
10
  discover?: boolean;
10
11
  id?: string;
11
12
  mode?: string;
13
+ /** Name of the bulk sync */
12
14
  name?: string;
13
15
  organization_id?: string;
16
+ /** List of permissions policies applied to the bulk sync. */
14
17
  policies?: string[];
15
18
  schedule?: Polytomic.BulkSchedule;
19
+ /** Source-specific bulk sync configuration. e.g. replication slot name, sync lookback, etc. */
16
20
  source_configuration?: Record<string, unknown>;
17
21
  source_connection_id?: string;
18
22
  }
@@ -10,4 +10,5 @@ export interface BulkSyncSchemaExecution {
10
10
  started_at?: string;
11
11
  status?: Polytomic.BulkSchemaExecutionStatus;
12
12
  status_message?: string;
13
+ warning_count?: number;
13
14
  }
@@ -12,4 +12,5 @@ export interface BulkSyncSchemaExecutionStatus {
12
12
  started_at?: string;
13
13
  status?: Polytomic.BulkSchemaExecutionStatus;
14
14
  status_message?: string;
15
+ warning_count?: number;
15
16
  }
@@ -6,7 +6,9 @@ export interface SchemaField {
6
6
  association?: Polytomic.SchemaAssociation;
7
7
  id?: string;
8
8
  name?: string;
9
+ /** The type of the field from the remote system. */
9
10
  remote_type?: string;
10
- type?: string;
11
+ type?: Polytomic.UtilFieldType;
12
+ type_spec?: Polytomic.TypesType | undefined;
11
13
  values?: Polytomic.PickValue[];
12
14
  }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export interface SupportedBulkMode {
6
+ description?: string;
7
+ id?: Polytomic.SyncMode;
8
+ label?: string;
9
+ requires_identity?: boolean;
10
+ supports_field_sync_mode?: boolean;
11
+ supports_target_filters?: boolean;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
+ import * as Polytomic from "../index";
4
5
  export interface SupportedMode {
5
- description?: string;
6
- /** */
7
- id?: string;
8
- label?: string;
6
+ id?: Polytomic.SyncMode;
7
+ /** True if the sync mode requires an identity field mapping. */
9
8
  requires_identity?: boolean;
10
- supports_field_sync_mode?: boolean;
9
+ /** True if the target supports per-field sync modes. */
10
+ supports_per_field_mode?: boolean;
11
+ /** True if the sync mode supports target filters. */
11
12
  supports_target_filters?: boolean;
12
13
  }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ /**
5
+ *
6
+ */
7
+ export declare type SyncMode = "create" | "update" | "updateOrCreate" | "replace" | "append" | "snapshot" | "replicate" | "remove";
8
+ export declare const SyncMode: {
9
+ readonly Create: "create";
10
+ readonly Update: "update";
11
+ readonly UpdateOrCreate: "updateOrCreate";
12
+ readonly Replace: "replace";
13
+ readonly Append: "append";
14
+ readonly Snapshot: "snapshot";
15
+ readonly Replicate: "replicate";
16
+ readonly Remove: "remove";
17
+ };
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SyncMode = void 0;
7
+ exports.SyncMode = {
8
+ Create: "create",
9
+ Update: "update",
10
+ UpdateOrCreate: "updateOrCreate",
11
+ Replace: "replace",
12
+ Append: "append",
13
+ Snapshot: "snapshot",
14
+ Replicate: "replicate",
15
+ Remove: "remove",
16
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export interface TargetObject {
6
+ /** The identifier of the target object. */
7
+ id?: string;
8
+ /** The supported sync modes and their properties for the target object. */
9
+ modes?: Polytomic.SupportedMode[];
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export declare type TypesType = unknown;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export declare type UtilFieldType = "unknown" | "string" | "number" | "boolean" | "datetime" | "array" | "object";
5
+ export declare const UtilFieldType: {
6
+ readonly Unknown: "unknown";
7
+ readonly String: "string";
8
+ readonly Number: "number";
9
+ readonly Boolean: "boolean";
10
+ readonly Datetime: "datetime";
11
+ readonly Array: "array";
12
+ readonly Object: "object";
13
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.UtilFieldType = void 0;
7
+ exports.UtilFieldType = {
8
+ Unknown: "unknown",
9
+ String: "string",
10
+ Number: "number",
11
+ Boolean: "boolean",
12
+ Datetime: "datetime",
13
+ Array: "array",
14
+ Object: "object",
15
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export declare type V2ExecutionLogType = "records" | "errors" | "warnings" | "inserts" | "updates" | "deletes";
5
+ export declare const V2ExecutionLogType: {
6
+ readonly Records: "records";
7
+ readonly Errors: "errors";
8
+ readonly Warnings: "warnings";
9
+ readonly Inserts: "inserts";
10
+ readonly Updates: "updates";
11
+ readonly Deletes: "deletes";
12
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.V2ExecutionLogType = void 0;
7
+ exports.V2ExecutionLogType = {
8
+ Records: "records",
9
+ Errors: "errors",
10
+ Warnings: "warnings",
11
+ Inserts: "inserts",
12
+ Updates: "updates",
13
+ Deletes: "deletes",
14
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export declare type V4BulkSyncExecutionLogs = Record<string, unknown>;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export interface V4BulkSyncExecutionLogsEnvelope {
6
+ data?: Polytomic.V4BulkSyncExecutionLogs;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export interface V4ExportSyncLogsEnvelope {
6
+ data?: Polytomic.V4ExportSyncLogsResponse;
7
+ job?: Polytomic.JobResponse;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export interface V4ExportSyncLogsResponse {
5
+ url?: string;
6
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export interface V4TargetObjectsResponseEnvelope {
6
+ data?: Polytomic.TargetObject[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -29,7 +29,10 @@ export * from "./ScheduleScheduleOption";
29
29
  export * from "./SchemaAssociation";
30
30
  export * from "./SchemaIdentityFunction";
31
31
  export * from "./SyncDestinationProperties";
32
+ export * from "./TypesType";
32
33
  export * from "./ExecutionStatus";
34
+ export * from "./UtilFieldType";
35
+ export * from "./SyncMode";
33
36
  export * from "./ApiKeyResponse";
34
37
  export * from "./ApiKeyResponseEnvelope";
35
38
  export * from "./ActivateSyncEnvelope";
@@ -65,6 +68,7 @@ export * from "./EventTypesEnvelope";
65
68
  export * from "./EventsEnvelope";
66
69
  export * from "./ExecutionCounts";
67
70
  export * from "./ExecutionLogResponse";
71
+ export * from "./V2ExecutionLogType";
68
72
  export * from "./ExecutionLogsResponseEnvelope";
69
73
  export * from "./FieldConfiguration";
70
74
  export * from "./Filter";
@@ -112,7 +116,7 @@ export * from "./SchemaConfiguration";
112
116
  export * from "./Source";
113
117
  export * from "./StartModelSyncResponseEnvelope";
114
118
  export * from "./StartModelSyncResponseSchema";
115
- export * from "./SupportedMode";
119
+ export * from "./SupportedBulkMode";
116
120
  export * from "./ModelSyncField";
117
121
  export * from "./ModelSyncResponse";
118
122
  export * from "./ModelSyncResponseEnvelope";
@@ -148,8 +152,12 @@ export * from "./PickValue";
148
152
  export * from "./Schema";
149
153
  export * from "./SchemaField";
150
154
  export * from "./SchemaRecordsResponseEnvelope";
155
+ export * from "./V4BulkSyncExecutionLogs";
156
+ export * from "./V4BulkSyncExecutionLogsEnvelope";
151
157
  export * from "./BulkSyncExecutionStatus";
152
158
  export * from "./BulkSyncSchemaExecutionStatus";
159
+ export * from "./V4ExportSyncLogsEnvelope";
160
+ export * from "./V4ExportSyncLogsResponse";
153
161
  export * from "./GetModelSyncSourceMetaEnvelope";
154
162
  export * from "./ListBulkSyncExecutionStatusEnvelope";
155
163
  export * from "./V4QueryResultsEnvelope";
@@ -157,5 +165,8 @@ export * from "./V4RunQueryEnvelope";
157
165
  export * from "./Pagination";
158
166
  export * from "./V4RunQueryResult";
159
167
  export * from "./SourceMeta";
168
+ export * from "./SupportedMode";
160
169
  export * from "./ModelSyncSourceMetaResponse";
170
+ export * from "./TargetObject";
171
+ export * from "./V4TargetObjectsResponseEnvelope";
161
172
  export * from "./WorkTaskStatus";
@@ -45,7 +45,10 @@ __exportStar(require("./ScheduleScheduleOption"), exports);
45
45
  __exportStar(require("./SchemaAssociation"), exports);
46
46
  __exportStar(require("./SchemaIdentityFunction"), exports);
47
47
  __exportStar(require("./SyncDestinationProperties"), exports);
48
+ __exportStar(require("./TypesType"), exports);
48
49
  __exportStar(require("./ExecutionStatus"), exports);
50
+ __exportStar(require("./UtilFieldType"), exports);
51
+ __exportStar(require("./SyncMode"), exports);
49
52
  __exportStar(require("./ApiKeyResponse"), exports);
50
53
  __exportStar(require("./ApiKeyResponseEnvelope"), exports);
51
54
  __exportStar(require("./ActivateSyncEnvelope"), exports);
@@ -81,6 +84,7 @@ __exportStar(require("./EventTypesEnvelope"), exports);
81
84
  __exportStar(require("./EventsEnvelope"), exports);
82
85
  __exportStar(require("./ExecutionCounts"), exports);
83
86
  __exportStar(require("./ExecutionLogResponse"), exports);
87
+ __exportStar(require("./V2ExecutionLogType"), exports);
84
88
  __exportStar(require("./ExecutionLogsResponseEnvelope"), exports);
85
89
  __exportStar(require("./FieldConfiguration"), exports);
86
90
  __exportStar(require("./Filter"), exports);
@@ -128,7 +132,7 @@ __exportStar(require("./SchemaConfiguration"), exports);
128
132
  __exportStar(require("./Source"), exports);
129
133
  __exportStar(require("./StartModelSyncResponseEnvelope"), exports);
130
134
  __exportStar(require("./StartModelSyncResponseSchema"), exports);
131
- __exportStar(require("./SupportedMode"), exports);
135
+ __exportStar(require("./SupportedBulkMode"), exports);
132
136
  __exportStar(require("./ModelSyncField"), exports);
133
137
  __exportStar(require("./ModelSyncResponse"), exports);
134
138
  __exportStar(require("./ModelSyncResponseEnvelope"), exports);
@@ -164,8 +168,12 @@ __exportStar(require("./PickValue"), exports);
164
168
  __exportStar(require("./Schema"), exports);
165
169
  __exportStar(require("./SchemaField"), exports);
166
170
  __exportStar(require("./SchemaRecordsResponseEnvelope"), exports);
171
+ __exportStar(require("./V4BulkSyncExecutionLogs"), exports);
172
+ __exportStar(require("./V4BulkSyncExecutionLogsEnvelope"), exports);
167
173
  __exportStar(require("./BulkSyncExecutionStatus"), exports);
168
174
  __exportStar(require("./BulkSyncSchemaExecutionStatus"), exports);
175
+ __exportStar(require("./V4ExportSyncLogsEnvelope"), exports);
176
+ __exportStar(require("./V4ExportSyncLogsResponse"), exports);
169
177
  __exportStar(require("./GetModelSyncSourceMetaEnvelope"), exports);
170
178
  __exportStar(require("./ListBulkSyncExecutionStatusEnvelope"), exports);
171
179
  __exportStar(require("./V4QueryResultsEnvelope"), exports);
@@ -173,5 +181,8 @@ __exportStar(require("./V4RunQueryEnvelope"), exports);
173
181
  __exportStar(require("./Pagination"), exports);
174
182
  __exportStar(require("./V4RunQueryResult"), exports);
175
183
  __exportStar(require("./SourceMeta"), exports);
184
+ __exportStar(require("./SupportedMode"), exports);
176
185
  __exportStar(require("./ModelSyncSourceMetaResponse"), exports);
186
+ __exportStar(require("./TargetObject"), exports);
187
+ __exportStar(require("./V4TargetObjectsResponseEnvelope"), exports);
177
188
  __exportStar(require("./WorkTaskStatus"), exports);