polytomic 1.8.4 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/api/errors/index.d.ts +1 -1
  2. package/api/errors/index.js +1 -1
  3. package/api/resources/bulkSync/client/Client.d.ts +1 -2
  4. package/api/resources/bulkSync/client/Client.js +13 -12
  5. package/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +1 -3
  6. package/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +1 -3
  7. package/api/resources/bulkSync/resources/executions/client/Client.js +3 -3
  8. package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +1 -0
  9. package/api/resources/bulkSync/resources/schemas/client/Client.js +7 -4
  10. package/api/resources/connections/client/Client.js +8 -8
  11. package/api/resources/events/client/Client.js +2 -2
  12. package/api/resources/identity/client/Client.js +1 -1
  13. package/api/resources/jobs/client/Client.js +1 -1
  14. package/api/resources/modelSync/client/Client.d.ts +14 -0
  15. package/api/resources/modelSync/client/Client.js +85 -13
  16. package/api/resources/modelSync/resources/executions/client/Client.js +4 -4
  17. package/api/resources/models/client/Client.js +8 -8
  18. package/api/resources/organization/client/Client.js +5 -5
  19. package/api/resources/permissions/resources/policies/client/Client.js +5 -5
  20. package/api/resources/permissions/resources/roles/client/Client.js +5 -5
  21. package/api/resources/queryRunner/client/Client.js +2 -2
  22. package/api/resources/schemas/client/Client.js +4 -4
  23. package/api/resources/users/client/Client.js +6 -6
  24. package/api/resources/webhooks/client/Client.js +5 -5
  25. package/api/types/BulkSyncDest.d.ts +1 -1
  26. package/api/types/BulkSyncResponse.d.ts +4 -0
  27. package/api/types/SupportedBulkMode.d.ts +12 -0
  28. package/api/types/SupportedBulkMode.js +5 -0
  29. package/api/types/SupportedMode.d.ts +6 -5
  30. package/api/types/SyncMode.d.ts +17 -0
  31. package/api/types/SyncMode.js +16 -0
  32. package/api/types/TargetObject.d.ts +10 -0
  33. package/api/types/TargetObject.js +5 -0
  34. package/api/types/V4TargetObjectsResponseEnvelope.d.ts +7 -0
  35. package/api/types/V4TargetObjectsResponseEnvelope.js +5 -0
  36. package/api/types/index.d.ts +5 -1
  37. package/api/types/index.js +5 -1
  38. package/dist/api/errors/index.d.ts +1 -1
  39. package/dist/api/errors/index.js +1 -1
  40. package/dist/api/resources/bulkSync/client/Client.d.ts +1 -2
  41. package/dist/api/resources/bulkSync/client/Client.js +13 -12
  42. package/dist/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +1 -3
  43. package/dist/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +1 -3
  44. package/dist/api/resources/bulkSync/resources/executions/client/Client.js +3 -3
  45. package/dist/api/resources/bulkSync/resources/schemas/client/Client.d.ts +1 -0
  46. package/dist/api/resources/bulkSync/resources/schemas/client/Client.js +7 -4
  47. package/dist/api/resources/connections/client/Client.js +8 -8
  48. package/dist/api/resources/events/client/Client.js +2 -2
  49. package/dist/api/resources/identity/client/Client.js +1 -1
  50. package/dist/api/resources/jobs/client/Client.js +1 -1
  51. package/dist/api/resources/modelSync/client/Client.d.ts +14 -0
  52. package/dist/api/resources/modelSync/client/Client.js +85 -13
  53. package/dist/api/resources/modelSync/resources/executions/client/Client.js +4 -4
  54. package/dist/api/resources/models/client/Client.js +8 -8
  55. package/dist/api/resources/organization/client/Client.js +5 -5
  56. package/dist/api/resources/permissions/resources/policies/client/Client.js +5 -5
  57. package/dist/api/resources/permissions/resources/roles/client/Client.js +5 -5
  58. package/dist/api/resources/queryRunner/client/Client.js +2 -2
  59. package/dist/api/resources/schemas/client/Client.js +4 -4
  60. package/dist/api/resources/users/client/Client.js +6 -6
  61. package/dist/api/resources/webhooks/client/Client.js +5 -5
  62. package/dist/api/types/BulkSyncDest.d.ts +1 -1
  63. package/dist/api/types/BulkSyncResponse.d.ts +4 -0
  64. package/dist/api/types/SupportedBulkMode.d.ts +12 -0
  65. package/dist/api/types/SupportedBulkMode.js +5 -0
  66. package/dist/api/types/SupportedMode.d.ts +6 -5
  67. package/dist/api/types/SyncMode.d.ts +17 -0
  68. package/dist/api/types/SyncMode.js +16 -0
  69. package/dist/api/types/TargetObject.d.ts +10 -0
  70. package/dist/api/types/TargetObject.js +5 -0
  71. package/dist/api/types/V4TargetObjectsResponseEnvelope.d.ts +7 -0
  72. package/dist/api/types/V4TargetObjectsResponseEnvelope.js +5 -0
  73. package/dist/api/types/index.d.ts +5 -1
  74. package/dist/api/types/index.js +5 -1
  75. package/package.json +1 -1
@@ -87,7 +87,7 @@ class Models {
87
87
  : undefined,
88
88
  "X-Fern-Language": "JavaScript",
89
89
  "X-Fern-SDK-Name": "polytomic",
90
- "X-Fern-SDK-Version": "1.8.4",
90
+ "X-Fern-SDK-Version": "1.9.0",
91
91
  "X-Fern-Runtime": core.RUNTIME.type,
92
92
  "X-Fern-Runtime-Version": core.RUNTIME.version,
93
93
  },
@@ -170,7 +170,7 @@ class Models {
170
170
  : undefined,
171
171
  "X-Fern-Language": "JavaScript",
172
172
  "X-Fern-SDK-Name": "polytomic",
173
- "X-Fern-SDK-Version": "1.8.4",
173
+ "X-Fern-SDK-Version": "1.9.0",
174
174
  "X-Fern-Runtime": core.RUNTIME.type,
175
175
  "X-Fern-Runtime-Version": core.RUNTIME.version,
176
176
  },
@@ -238,7 +238,7 @@ class Models {
238
238
  : undefined,
239
239
  "X-Fern-Language": "JavaScript",
240
240
  "X-Fern-SDK-Name": "polytomic",
241
- "X-Fern-SDK-Version": "1.8.4",
241
+ "X-Fern-SDK-Version": "1.9.0",
242
242
  "X-Fern-Runtime": core.RUNTIME.type,
243
243
  "X-Fern-Runtime-Version": core.RUNTIME.version,
244
244
  },
@@ -316,7 +316,7 @@ class Models {
316
316
  : undefined,
317
317
  "X-Fern-Language": "JavaScript",
318
318
  "X-Fern-SDK-Name": "polytomic",
319
- "X-Fern-SDK-Version": "1.8.4",
319
+ "X-Fern-SDK-Version": "1.9.0",
320
320
  "X-Fern-Runtime": core.RUNTIME.type,
321
321
  "X-Fern-Runtime-Version": core.RUNTIME.version,
322
322
  },
@@ -392,7 +392,7 @@ class Models {
392
392
  : undefined,
393
393
  "X-Fern-Language": "JavaScript",
394
394
  "X-Fern-SDK-Name": "polytomic",
395
- "X-Fern-SDK-Version": "1.8.4",
395
+ "X-Fern-SDK-Version": "1.9.0",
396
396
  "X-Fern-Runtime": core.RUNTIME.type,
397
397
  "X-Fern-Runtime-Version": core.RUNTIME.version,
398
398
  },
@@ -473,7 +473,7 @@ class Models {
473
473
  : undefined,
474
474
  "X-Fern-Language": "JavaScript",
475
475
  "X-Fern-SDK-Name": "polytomic",
476
- "X-Fern-SDK-Version": "1.8.4",
476
+ "X-Fern-SDK-Version": "1.9.0",
477
477
  "X-Fern-Runtime": core.RUNTIME.type,
478
478
  "X-Fern-Runtime-Version": core.RUNTIME.version,
479
479
  },
@@ -550,7 +550,7 @@ class Models {
550
550
  : undefined,
551
551
  "X-Fern-Language": "JavaScript",
552
552
  "X-Fern-SDK-Name": "polytomic",
553
- "X-Fern-SDK-Version": "1.8.4",
553
+ "X-Fern-SDK-Version": "1.9.0",
554
554
  "X-Fern-Runtime": core.RUNTIME.type,
555
555
  "X-Fern-Runtime-Version": core.RUNTIME.version,
556
556
  },
@@ -628,7 +628,7 @@ class Models {
628
628
  : undefined,
629
629
  "X-Fern-Language": "JavaScript",
630
630
  "X-Fern-SDK-Name": "polytomic",
631
- "X-Fern-SDK-Version": "1.8.4",
631
+ "X-Fern-SDK-Version": "1.9.0",
632
632
  "X-Fern-Runtime": core.RUNTIME.type,
633
633
  "X-Fern-Runtime-Version": core.RUNTIME.version,
634
634
  },
@@ -74,7 +74,7 @@ class Organization {
74
74
  : undefined,
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "polytomic",
77
- "X-Fern-SDK-Version": "1.8.4",
77
+ "X-Fern-SDK-Version": "1.9.0",
78
78
  "X-Fern-Runtime": core.RUNTIME.type,
79
79
  "X-Fern-Runtime-Version": core.RUNTIME.version,
80
80
  },
@@ -144,7 +144,7 @@ class Organization {
144
144
  : undefined,
145
145
  "X-Fern-Language": "JavaScript",
146
146
  "X-Fern-SDK-Name": "polytomic",
147
- "X-Fern-SDK-Version": "1.8.4",
147
+ "X-Fern-SDK-Version": "1.9.0",
148
148
  "X-Fern-Runtime": core.RUNTIME.type,
149
149
  "X-Fern-Runtime-Version": core.RUNTIME.version,
150
150
  },
@@ -214,7 +214,7 @@ class Organization {
214
214
  : undefined,
215
215
  "X-Fern-Language": "JavaScript",
216
216
  "X-Fern-SDK-Name": "polytomic",
217
- "X-Fern-SDK-Version": "1.8.4",
217
+ "X-Fern-SDK-Version": "1.9.0",
218
218
  "X-Fern-Runtime": core.RUNTIME.type,
219
219
  "X-Fern-Runtime-Version": core.RUNTIME.version,
220
220
  },
@@ -285,7 +285,7 @@ class Organization {
285
285
  : undefined,
286
286
  "X-Fern-Language": "JavaScript",
287
287
  "X-Fern-SDK-Name": "polytomic",
288
- "X-Fern-SDK-Version": "1.8.4",
288
+ "X-Fern-SDK-Version": "1.9.0",
289
289
  "X-Fern-Runtime": core.RUNTIME.type,
290
290
  "X-Fern-Runtime-Version": core.RUNTIME.version,
291
291
  },
@@ -356,7 +356,7 @@ class Organization {
356
356
  : undefined,
357
357
  "X-Fern-Language": "JavaScript",
358
358
  "X-Fern-SDK-Name": "polytomic",
359
- "X-Fern-SDK-Version": "1.8.4",
359
+ "X-Fern-SDK-Version": "1.9.0",
360
360
  "X-Fern-Runtime": core.RUNTIME.type,
361
361
  "X-Fern-Runtime-Version": core.RUNTIME.version,
362
362
  },
@@ -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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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.0",
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
  }
@@ -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,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 });
@@ -30,6 +30,7 @@ export * from "./SchemaAssociation";
30
30
  export * from "./SchemaIdentityFunction";
31
31
  export * from "./SyncDestinationProperties";
32
32
  export * from "./ExecutionStatus";
33
+ export * from "./SyncMode";
33
34
  export * from "./ApiKeyResponse";
34
35
  export * from "./ApiKeyResponseEnvelope";
35
36
  export * from "./ActivateSyncEnvelope";
@@ -112,7 +113,7 @@ export * from "./SchemaConfiguration";
112
113
  export * from "./Source";
113
114
  export * from "./StartModelSyncResponseEnvelope";
114
115
  export * from "./StartModelSyncResponseSchema";
115
- export * from "./SupportedMode";
116
+ export * from "./SupportedBulkMode";
116
117
  export * from "./ModelSyncField";
117
118
  export * from "./ModelSyncResponse";
118
119
  export * from "./ModelSyncResponseEnvelope";
@@ -157,5 +158,8 @@ export * from "./V4RunQueryEnvelope";
157
158
  export * from "./Pagination";
158
159
  export * from "./V4RunQueryResult";
159
160
  export * from "./SourceMeta";
161
+ export * from "./SupportedMode";
160
162
  export * from "./ModelSyncSourceMetaResponse";
163
+ export * from "./TargetObject";
164
+ export * from "./V4TargetObjectsResponseEnvelope";
161
165
  export * from "./WorkTaskStatus";
@@ -46,6 +46,7 @@ __exportStar(require("./SchemaAssociation"), exports);
46
46
  __exportStar(require("./SchemaIdentityFunction"), exports);
47
47
  __exportStar(require("./SyncDestinationProperties"), exports);
48
48
  __exportStar(require("./ExecutionStatus"), exports);
49
+ __exportStar(require("./SyncMode"), exports);
49
50
  __exportStar(require("./ApiKeyResponse"), exports);
50
51
  __exportStar(require("./ApiKeyResponseEnvelope"), exports);
51
52
  __exportStar(require("./ActivateSyncEnvelope"), exports);
@@ -128,7 +129,7 @@ __exportStar(require("./SchemaConfiguration"), exports);
128
129
  __exportStar(require("./Source"), exports);
129
130
  __exportStar(require("./StartModelSyncResponseEnvelope"), exports);
130
131
  __exportStar(require("./StartModelSyncResponseSchema"), exports);
131
- __exportStar(require("./SupportedMode"), exports);
132
+ __exportStar(require("./SupportedBulkMode"), exports);
132
133
  __exportStar(require("./ModelSyncField"), exports);
133
134
  __exportStar(require("./ModelSyncResponse"), exports);
134
135
  __exportStar(require("./ModelSyncResponseEnvelope"), exports);
@@ -173,5 +174,8 @@ __exportStar(require("./V4RunQueryEnvelope"), exports);
173
174
  __exportStar(require("./Pagination"), exports);
174
175
  __exportStar(require("./V4RunQueryResult"), exports);
175
176
  __exportStar(require("./SourceMeta"), exports);
177
+ __exportStar(require("./SupportedMode"), exports);
176
178
  __exportStar(require("./ModelSyncSourceMetaResponse"), exports);
179
+ __exportStar(require("./TargetObject"), exports);
180
+ __exportStar(require("./V4TargetObjectsResponseEnvelope"), exports);
177
181
  __exportStar(require("./WorkTaskStatus"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polytomic",
3
- "version": "1.8.4",
3
+ "version": "1.9.0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/polytomic/polytomic-typescript",
6
6
  "license": "MIT",