polytomic 1.14.4 → 1.16.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 (106) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +13 -8
  3. package/api/resources/bulkSync/client/Client.d.ts +13 -0
  4. package/api/resources/bulkSync/client/Client.js +72 -10
  5. package/api/resources/bulkSync/resources/executions/client/Client.d.ts +14 -0
  6. package/api/resources/bulkSync/resources/executions/client/Client.js +68 -5
  7. package/api/resources/bulkSync/resources/schedules/client/Client.js +5 -5
  8. package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +14 -0
  9. package/api/resources/bulkSync/resources/schemas/client/Client.js +67 -4
  10. package/api/resources/connections/client/Client.js +10 -10
  11. package/api/resources/events/client/Client.js +2 -2
  12. package/api/resources/identity/client/Client.js +1 -1
  13. package/api/resources/index.d.ts +2 -0
  14. package/api/resources/index.js +3 -1
  15. package/api/resources/jobs/client/Client.js +1 -1
  16. package/api/resources/modelSync/client/Client.js +12 -12
  17. package/api/resources/modelSync/resources/executions/client/Client.js +5 -5
  18. package/api/resources/modelSync/resources/targets/client/Client.js +4 -4
  19. package/api/resources/models/client/Client.js +9 -9
  20. package/api/resources/notifications/client/Client.d.ts +55 -0
  21. package/api/resources/notifications/client/Client.js +182 -0
  22. package/api/resources/notifications/client/index.d.ts +1 -0
  23. package/api/resources/notifications/client/index.js +17 -0
  24. package/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.d.ts +10 -0
  25. package/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.js +5 -0
  26. package/api/resources/notifications/client/requests/index.d.ts +1 -0
  27. package/api/resources/notifications/client/requests/index.js +2 -0
  28. package/api/resources/notifications/index.d.ts +1 -0
  29. package/api/resources/notifications/index.js +17 -0
  30. package/api/resources/organization/client/Client.js +5 -5
  31. package/api/resources/permissions/resources/policies/client/Client.js +5 -5
  32. package/api/resources/permissions/resources/roles/client/Client.js +5 -5
  33. package/api/resources/queryRunner/client/Client.js +2 -2
  34. package/api/resources/schemas/client/Client.js +8 -8
  35. package/api/resources/users/client/Client.d.ts +5 -20
  36. package/api/resources/users/client/Client.js +21 -26
  37. package/api/resources/webhooks/client/Client.js +7 -7
  38. package/api/types/BackendConnectionCapabilities.d.ts +4 -4
  39. package/api/types/BulkBulkSyncSchedule.d.ts +2 -0
  40. package/api/types/BulkScheduleSyncMode.d.ts +10 -0
  41. package/api/types/BulkScheduleSyncMode.js +12 -0
  42. package/api/types/CancelBulkSyncResponse.d.ts +6 -0
  43. package/api/types/CancelBulkSyncResponse.js +5 -0
  44. package/api/types/CancelBulkSyncResponseEnvelope.d.ts +7 -0
  45. package/api/types/CancelBulkSyncResponseEnvelope.js +5 -0
  46. package/api/types/ConnectionType.d.ts +1 -1
  47. package/api/types/V4GlobalErrorSubscribersResponse.d.ts +6 -0
  48. package/api/types/V4GlobalErrorSubscribersResponse.js +5 -0
  49. package/api/types/index.d.ts +4 -0
  50. package/api/types/index.js +4 -0
  51. package/dist/Client.d.ts +3 -0
  52. package/dist/Client.js +13 -8
  53. package/dist/api/resources/bulkSync/client/Client.d.ts +13 -0
  54. package/dist/api/resources/bulkSync/client/Client.js +72 -10
  55. package/dist/api/resources/bulkSync/resources/executions/client/Client.d.ts +14 -0
  56. package/dist/api/resources/bulkSync/resources/executions/client/Client.js +68 -5
  57. package/dist/api/resources/bulkSync/resources/schedules/client/Client.js +5 -5
  58. package/dist/api/resources/bulkSync/resources/schemas/client/Client.d.ts +14 -0
  59. package/dist/api/resources/bulkSync/resources/schemas/client/Client.js +67 -4
  60. package/dist/api/resources/connections/client/Client.js +10 -10
  61. package/dist/api/resources/events/client/Client.js +2 -2
  62. package/dist/api/resources/identity/client/Client.js +1 -1
  63. package/dist/api/resources/index.d.ts +2 -0
  64. package/dist/api/resources/index.js +3 -1
  65. package/dist/api/resources/jobs/client/Client.js +1 -1
  66. package/dist/api/resources/modelSync/client/Client.js +12 -12
  67. package/dist/api/resources/modelSync/resources/executions/client/Client.js +5 -5
  68. package/dist/api/resources/modelSync/resources/targets/client/Client.js +4 -4
  69. package/dist/api/resources/models/client/Client.js +9 -9
  70. package/dist/api/resources/notifications/client/Client.d.ts +55 -0
  71. package/dist/api/resources/notifications/client/Client.js +182 -0
  72. package/dist/api/resources/notifications/client/index.d.ts +1 -0
  73. package/dist/api/resources/notifications/client/index.js +17 -0
  74. package/dist/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.d.ts +10 -0
  75. package/dist/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.js +5 -0
  76. package/dist/api/resources/notifications/client/requests/index.d.ts +1 -0
  77. package/dist/api/resources/notifications/client/requests/index.js +2 -0
  78. package/dist/api/resources/notifications/index.d.ts +1 -0
  79. package/dist/api/resources/notifications/index.js +17 -0
  80. package/dist/api/resources/organization/client/Client.js +5 -5
  81. package/dist/api/resources/permissions/resources/policies/client/Client.js +5 -5
  82. package/dist/api/resources/permissions/resources/roles/client/Client.js +5 -5
  83. package/dist/api/resources/queryRunner/client/Client.js +2 -2
  84. package/dist/api/resources/schemas/client/Client.js +8 -8
  85. package/dist/api/resources/users/client/Client.d.ts +5 -20
  86. package/dist/api/resources/users/client/Client.js +21 -26
  87. package/dist/api/resources/webhooks/client/Client.js +7 -7
  88. package/dist/api/types/BackendConnectionCapabilities.d.ts +4 -4
  89. package/dist/api/types/BulkBulkSyncSchedule.d.ts +2 -0
  90. package/dist/api/types/BulkScheduleSyncMode.d.ts +10 -0
  91. package/dist/api/types/BulkScheduleSyncMode.js +12 -0
  92. package/dist/api/types/CancelBulkSyncResponse.d.ts +6 -0
  93. package/dist/api/types/CancelBulkSyncResponse.js +5 -0
  94. package/dist/api/types/CancelBulkSyncResponseEnvelope.d.ts +7 -0
  95. package/dist/api/types/CancelBulkSyncResponseEnvelope.js +5 -0
  96. package/dist/api/types/ConnectionType.d.ts +1 -1
  97. package/dist/api/types/V4GlobalErrorSubscribersResponse.d.ts +6 -0
  98. package/dist/api/types/V4GlobalErrorSubscribersResponse.js +5 -0
  99. package/dist/api/types/index.d.ts +4 -0
  100. package/dist/api/types/index.js +4 -0
  101. package/dist/version.d.ts +1 -1
  102. package/dist/version.js +1 -1
  103. package/package.json +1 -1
  104. package/reference.md +250 -85
  105. package/version.d.ts +1 -1
  106. package/version.js +1 -1
package/reference.md CHANGED
@@ -407,6 +407,54 @@ await client.bulkSync.activate("248df4b7-aa70-47b8-a036-33ac447e668d", {
407
407
  </dl>
408
408
  </details>
409
409
 
410
+ <details><summary><code>client.bulkSync.<a href="/src/api/resources/bulkSync/client/Client.ts">cancel</a>(id) -> Polytomic.CancelBulkSyncResponseEnvelope</code></summary>
411
+ <dl>
412
+ <dd>
413
+
414
+ #### 🔌 Usage
415
+
416
+ <dl>
417
+ <dd>
418
+
419
+ <dl>
420
+ <dd>
421
+
422
+ ```typescript
423
+ await client.bulkSync.cancel("248df4b7-aa70-47b8-a036-33ac447e668d");
424
+ ```
425
+
426
+ </dd>
427
+ </dl>
428
+ </dd>
429
+ </dl>
430
+
431
+ #### ⚙️ Parameters
432
+
433
+ <dl>
434
+ <dd>
435
+
436
+ <dl>
437
+ <dd>
438
+
439
+ **id:** `string` — The active execution of this bulk sync ID will be cancelled.
440
+
441
+ </dd>
442
+ </dl>
443
+
444
+ <dl>
445
+ <dd>
446
+
447
+ **requestOptions:** `BulkSync.RequestOptions`
448
+
449
+ </dd>
450
+ </dl>
451
+ </dd>
452
+ </dl>
453
+
454
+ </dd>
455
+ </dl>
456
+ </details>
457
+
410
458
  <details><summary><code>client.bulkSync.<a href="/src/api/resources/bulkSync/client/Client.ts">start</a>(id, { ...params }) -> Polytomic.BulkSyncExecutionEnvelope</code></summary>
411
459
  <dl>
412
460
  <dd>
@@ -3235,6 +3283,96 @@ await client.identity.get();
3235
3283
  </dl>
3236
3284
  </details>
3237
3285
 
3286
+ ## Notifications
3287
+
3288
+ <details><summary><code>client.notifications.<a href="/src/api/resources/notifications/client/Client.ts">getGlobalErrorSubscribers</a>() -> Polytomic.V4GlobalErrorSubscribersResponse</code></summary>
3289
+ <dl>
3290
+ <dd>
3291
+
3292
+ #### 🔌 Usage
3293
+
3294
+ <dl>
3295
+ <dd>
3296
+
3297
+ <dl>
3298
+ <dd>
3299
+
3300
+ ```typescript
3301
+ await client.notifications.getGlobalErrorSubscribers();
3302
+ ```
3303
+
3304
+ </dd>
3305
+ </dl>
3306
+ </dd>
3307
+ </dl>
3308
+
3309
+ #### ⚙️ Parameters
3310
+
3311
+ <dl>
3312
+ <dd>
3313
+
3314
+ <dl>
3315
+ <dd>
3316
+
3317
+ **requestOptions:** `Notifications.RequestOptions`
3318
+
3319
+ </dd>
3320
+ </dl>
3321
+ </dd>
3322
+ </dl>
3323
+
3324
+ </dd>
3325
+ </dl>
3326
+ </details>
3327
+
3328
+ <details><summary><code>client.notifications.<a href="/src/api/resources/notifications/client/Client.ts">setGlobalErrorSubscribers</a>({ ...params }) -> Polytomic.V4GlobalErrorSubscribersResponse</code></summary>
3329
+ <dl>
3330
+ <dd>
3331
+
3332
+ #### 🔌 Usage
3333
+
3334
+ <dl>
3335
+ <dd>
3336
+
3337
+ <dl>
3338
+ <dd>
3339
+
3340
+ ```typescript
3341
+ await client.notifications.setGlobalErrorSubscribers();
3342
+ ```
3343
+
3344
+ </dd>
3345
+ </dl>
3346
+ </dd>
3347
+ </dl>
3348
+
3349
+ #### ⚙️ Parameters
3350
+
3351
+ <dl>
3352
+ <dd>
3353
+
3354
+ <dl>
3355
+ <dd>
3356
+
3357
+ **request:** `Polytomic.V4GlobalErrorSubscribersRequest`
3358
+
3359
+ </dd>
3360
+ </dl>
3361
+
3362
+ <dl>
3363
+ <dd>
3364
+
3365
+ **requestOptions:** `Notifications.RequestOptions`
3366
+
3367
+ </dd>
3368
+ </dl>
3369
+ </dd>
3370
+ </dl>
3371
+
3372
+ </dd>
3373
+ </dl>
3374
+ </details>
3375
+
3238
3376
  ## Organization
3239
3377
 
3240
3378
  <details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">list</a>() -> Polytomic.OrganizationsEnvelope</code></summary>
@@ -3572,23 +3710,6 @@ await client.organization.remove("248df4b7-aa70-47b8-a036-33ac447e668d");
3572
3710
  <dl>
3573
3711
  <dd>
3574
3712
 
3575
- #### 📝 Description
3576
-
3577
- <dl>
3578
- <dd>
3579
-
3580
- <dl>
3581
- <dd>
3582
-
3583
- > 🚧 Requires partner key
3584
- >
3585
- > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
3586
-
3587
- </dd>
3588
- </dl>
3589
- </dd>
3590
- </dl>
3591
-
3592
3713
  #### 🔌 Usage
3593
3714
 
3594
3715
  <dl>
@@ -3637,23 +3758,6 @@ await client.users.list("248df4b7-aa70-47b8-a036-33ac447e668d");
3637
3758
  <dl>
3638
3759
  <dd>
3639
3760
 
3640
- #### 📝 Description
3641
-
3642
- <dl>
3643
- <dd>
3644
-
3645
- <dl>
3646
- <dd>
3647
-
3648
- > 🚧 Requires partner key
3649
- >
3650
- > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
3651
-
3652
- </dd>
3653
- </dl>
3654
- </dd>
3655
- </dl>
3656
-
3657
3761
  #### 🔌 Usage
3658
3762
 
3659
3763
  <dl>
@@ -3712,23 +3816,6 @@ await client.users.create("248df4b7-aa70-47b8-a036-33ac447e668d", {
3712
3816
  <dl>
3713
3817
  <dd>
3714
3818
 
3715
- #### 📝 Description
3716
-
3717
- <dl>
3718
- <dd>
3719
-
3720
- <dl>
3721
- <dd>
3722
-
3723
- > 🚧 Requires partner key
3724
- >
3725
- > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
3726
-
3727
- </dd>
3728
- </dl>
3729
- </dd>
3730
- </dl>
3731
-
3732
3819
  #### 🔌 Usage
3733
3820
 
3734
3821
  <dl>
@@ -3785,23 +3872,6 @@ await client.users.get("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47
3785
3872
  <dl>
3786
3873
  <dd>
3787
3874
 
3788
- #### 📝 Description
3789
-
3790
- <dl>
3791
- <dd>
3792
-
3793
- <dl>
3794
- <dd>
3795
-
3796
- > 🚧 Requires partner key
3797
- >
3798
- > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
3799
-
3800
- </dd>
3801
- </dl>
3802
- </dd>
3803
- </dl>
3804
-
3805
3875
  #### 🔌 Usage
3806
3876
 
3807
3877
  <dl>
@@ -3868,23 +3938,6 @@ await client.users.update("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70
3868
3938
  <dl>
3869
3939
  <dd>
3870
3940
 
3871
- #### 📝 Description
3872
-
3873
- <dl>
3874
- <dd>
3875
-
3876
- <dl>
3877
- <dd>
3878
-
3879
- > 🚧 Requires partner key
3880
- >
3881
- > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
3882
-
3883
- </dd>
3884
- </dl>
3885
- </dd>
3886
- </dl>
3887
-
3888
3941
  #### 🔌 Usage
3889
3942
 
3890
3943
  <dl>
@@ -4610,6 +4663,62 @@ await client.bulkSync.executions.get("248df4b7-aa70-47b8-a036-33ac447e668d", "24
4610
4663
  </dl>
4611
4664
  </details>
4612
4665
 
4666
+ <details><summary><code>client.bulkSync.executions.<a href="/src/api/resources/bulkSync/resources/executions/client/Client.ts">cancel</a>(id, execId) -> Polytomic.CancelBulkSyncResponseEnvelope</code></summary>
4667
+ <dl>
4668
+ <dd>
4669
+
4670
+ #### 🔌 Usage
4671
+
4672
+ <dl>
4673
+ <dd>
4674
+
4675
+ <dl>
4676
+ <dd>
4677
+
4678
+ ```typescript
4679
+ await client.bulkSync.executions.cancel("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d");
4680
+ ```
4681
+
4682
+ </dd>
4683
+ </dl>
4684
+ </dd>
4685
+ </dl>
4686
+
4687
+ #### ⚙️ Parameters
4688
+
4689
+ <dl>
4690
+ <dd>
4691
+
4692
+ <dl>
4693
+ <dd>
4694
+
4695
+ **id:** `string` — The bulk sync ID.
4696
+
4697
+ </dd>
4698
+ </dl>
4699
+
4700
+ <dl>
4701
+ <dd>
4702
+
4703
+ **execId:** `string` — The execution ID to cancel.
4704
+
4705
+ </dd>
4706
+ </dl>
4707
+
4708
+ <dl>
4709
+ <dd>
4710
+
4711
+ **requestOptions:** `Executions.RequestOptions`
4712
+
4713
+ </dd>
4714
+ </dl>
4715
+ </dd>
4716
+ </dl>
4717
+
4718
+ </dd>
4719
+ </dl>
4720
+ </details>
4721
+
4613
4722
  <details><summary><code>client.bulkSync.executions.<a href="/src/api/resources/bulkSync/resources/executions/client/Client.ts">getLogs</a>(syncId, executionId) -> Polytomic.V4BulkSyncExecutionLogsEnvelope</code></summary>
4614
4723
  <dl>
4615
4724
  <dd>
@@ -4970,6 +5079,62 @@ await client.bulkSync.schemas.update("248df4b7-aa70-47b8-a036-33ac447e668d", "co
4970
5079
  </dl>
4971
5080
  </details>
4972
5081
 
5082
+ <details><summary><code>client.bulkSync.schemas.<a href="/src/api/resources/bulkSync/resources/schemas/client/Client.ts">cancel</a>(id, schemaId) -> Polytomic.CancelBulkSyncResponseEnvelope</code></summary>
5083
+ <dl>
5084
+ <dd>
5085
+
5086
+ #### 🔌 Usage
5087
+
5088
+ <dl>
5089
+ <dd>
5090
+
5091
+ <dl>
5092
+ <dd>
5093
+
5094
+ ```typescript
5095
+ await client.bulkSync.schemas.cancel("248df4b7-aa70-47b8-a036-33ac447e668d", "schema_id");
5096
+ ```
5097
+
5098
+ </dd>
5099
+ </dl>
5100
+ </dd>
5101
+ </dl>
5102
+
5103
+ #### ⚙️ Parameters
5104
+
5105
+ <dl>
5106
+ <dd>
5107
+
5108
+ <dl>
5109
+ <dd>
5110
+
5111
+ **id:** `string` — The bulk sync ID.
5112
+
5113
+ </dd>
5114
+ </dl>
5115
+
5116
+ <dl>
5117
+ <dd>
5118
+
5119
+ **schemaId:** `string` — The schema ID to cancel for the bulk sync.
5120
+
5121
+ </dd>
5122
+ </dl>
5123
+
5124
+ <dl>
5125
+ <dd>
5126
+
5127
+ **requestOptions:** `Schemas.RequestOptions`
5128
+
5129
+ </dd>
5130
+ </dl>
5131
+ </dd>
5132
+ </dl>
5133
+
5134
+ </dd>
5135
+ </dl>
5136
+ </details>
5137
+
4973
5138
  ## BulkSync Schedules
4974
5139
 
4975
5140
  <details><summary><code>client.bulkSync.schedules.<a href="/src/api/resources/bulkSync/resources/schedules/client/Client.ts">list</a>(syncId) -> Polytomic.SchedulesEnvelope</code></summary>
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.14.4";
1
+ export declare const SDK_VERSION = "1.16.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.14.4";
4
+ exports.SDK_VERSION = "1.16.0";