polytomic 1.15.2 → 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 (72) hide show
  1. package/api/resources/bulkSync/client/Client.d.ts +13 -0
  2. package/api/resources/bulkSync/client/Client.js +72 -10
  3. package/api/resources/bulkSync/resources/executions/client/Client.d.ts +14 -0
  4. package/api/resources/bulkSync/resources/executions/client/Client.js +68 -5
  5. package/api/resources/bulkSync/resources/schedules/client/Client.js +5 -5
  6. package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +14 -0
  7. package/api/resources/bulkSync/resources/schemas/client/Client.js +67 -4
  8. package/api/resources/connections/client/Client.js +10 -10
  9. package/api/resources/events/client/Client.js +2 -2
  10. package/api/resources/identity/client/Client.js +1 -1
  11. package/api/resources/jobs/client/Client.js +1 -1
  12. package/api/resources/modelSync/client/Client.js +12 -12
  13. package/api/resources/modelSync/resources/executions/client/Client.js +5 -5
  14. package/api/resources/modelSync/resources/targets/client/Client.js +4 -4
  15. package/api/resources/models/client/Client.js +9 -9
  16. package/api/resources/notifications/client/Client.js +2 -2
  17. package/api/resources/organization/client/Client.js +5 -5
  18. package/api/resources/permissions/resources/policies/client/Client.js +5 -5
  19. package/api/resources/permissions/resources/roles/client/Client.js +5 -5
  20. package/api/resources/queryRunner/client/Client.js +2 -2
  21. package/api/resources/schemas/client/Client.js +8 -8
  22. package/api/resources/users/client/Client.d.ts +5 -20
  23. package/api/resources/users/client/Client.js +21 -26
  24. package/api/resources/webhooks/client/Client.js +7 -7
  25. package/api/types/BulkBulkSyncSchedule.d.ts +2 -0
  26. package/api/types/BulkScheduleSyncMode.d.ts +10 -0
  27. package/api/types/BulkScheduleSyncMode.js +12 -0
  28. package/api/types/CancelBulkSyncResponse.d.ts +6 -0
  29. package/api/types/CancelBulkSyncResponse.js +5 -0
  30. package/api/types/CancelBulkSyncResponseEnvelope.d.ts +7 -0
  31. package/api/types/CancelBulkSyncResponseEnvelope.js +5 -0
  32. package/api/types/index.d.ts +3 -0
  33. package/api/types/index.js +3 -0
  34. package/dist/api/resources/bulkSync/client/Client.d.ts +13 -0
  35. package/dist/api/resources/bulkSync/client/Client.js +72 -10
  36. package/dist/api/resources/bulkSync/resources/executions/client/Client.d.ts +14 -0
  37. package/dist/api/resources/bulkSync/resources/executions/client/Client.js +68 -5
  38. package/dist/api/resources/bulkSync/resources/schedules/client/Client.js +5 -5
  39. package/dist/api/resources/bulkSync/resources/schemas/client/Client.d.ts +14 -0
  40. package/dist/api/resources/bulkSync/resources/schemas/client/Client.js +67 -4
  41. package/dist/api/resources/connections/client/Client.js +10 -10
  42. package/dist/api/resources/events/client/Client.js +2 -2
  43. package/dist/api/resources/identity/client/Client.js +1 -1
  44. package/dist/api/resources/jobs/client/Client.js +1 -1
  45. package/dist/api/resources/modelSync/client/Client.js +12 -12
  46. package/dist/api/resources/modelSync/resources/executions/client/Client.js +5 -5
  47. package/dist/api/resources/modelSync/resources/targets/client/Client.js +4 -4
  48. package/dist/api/resources/models/client/Client.js +9 -9
  49. package/dist/api/resources/notifications/client/Client.js +2 -2
  50. package/dist/api/resources/organization/client/Client.js +5 -5
  51. package/dist/api/resources/permissions/resources/policies/client/Client.js +5 -5
  52. package/dist/api/resources/permissions/resources/roles/client/Client.js +5 -5
  53. package/dist/api/resources/queryRunner/client/Client.js +2 -2
  54. package/dist/api/resources/schemas/client/Client.js +8 -8
  55. package/dist/api/resources/users/client/Client.d.ts +5 -20
  56. package/dist/api/resources/users/client/Client.js +21 -26
  57. package/dist/api/resources/webhooks/client/Client.js +7 -7
  58. package/dist/api/types/BulkBulkSyncSchedule.d.ts +2 -0
  59. package/dist/api/types/BulkScheduleSyncMode.d.ts +10 -0
  60. package/dist/api/types/BulkScheduleSyncMode.js +12 -0
  61. package/dist/api/types/CancelBulkSyncResponse.d.ts +6 -0
  62. package/dist/api/types/CancelBulkSyncResponse.js +5 -0
  63. package/dist/api/types/CancelBulkSyncResponseEnvelope.d.ts +7 -0
  64. package/dist/api/types/CancelBulkSyncResponseEnvelope.js +5 -0
  65. package/dist/api/types/index.d.ts +3 -0
  66. package/dist/api/types/index.js +3 -0
  67. package/dist/version.d.ts +1 -1
  68. package/dist/version.js +1 -1
  69. package/package.json +1 -1
  70. package/reference.md +160 -85
  71. package/version.d.ts +1 -1
  72. 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>
@@ -3662,23 +3710,6 @@ await client.organization.remove("248df4b7-aa70-47b8-a036-33ac447e668d");
3662
3710
  <dl>
3663
3711
  <dd>
3664
3712
 
3665
- #### 📝 Description
3666
-
3667
- <dl>
3668
- <dd>
3669
-
3670
- <dl>
3671
- <dd>
3672
-
3673
- > 🚧 Requires partner key
3674
- >
3675
- > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
3676
-
3677
- </dd>
3678
- </dl>
3679
- </dd>
3680
- </dl>
3681
-
3682
3713
  #### 🔌 Usage
3683
3714
 
3684
3715
  <dl>
@@ -3727,23 +3758,6 @@ await client.users.list("248df4b7-aa70-47b8-a036-33ac447e668d");
3727
3758
  <dl>
3728
3759
  <dd>
3729
3760
 
3730
- #### 📝 Description
3731
-
3732
- <dl>
3733
- <dd>
3734
-
3735
- <dl>
3736
- <dd>
3737
-
3738
- > 🚧 Requires partner key
3739
- >
3740
- > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
3741
-
3742
- </dd>
3743
- </dl>
3744
- </dd>
3745
- </dl>
3746
-
3747
3761
  #### 🔌 Usage
3748
3762
 
3749
3763
  <dl>
@@ -3802,23 +3816,6 @@ await client.users.create("248df4b7-aa70-47b8-a036-33ac447e668d", {
3802
3816
  <dl>
3803
3817
  <dd>
3804
3818
 
3805
- #### 📝 Description
3806
-
3807
- <dl>
3808
- <dd>
3809
-
3810
- <dl>
3811
- <dd>
3812
-
3813
- > 🚧 Requires partner key
3814
- >
3815
- > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
3816
-
3817
- </dd>
3818
- </dl>
3819
- </dd>
3820
- </dl>
3821
-
3822
3819
  #### 🔌 Usage
3823
3820
 
3824
3821
  <dl>
@@ -3875,23 +3872,6 @@ await client.users.get("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47
3875
3872
  <dl>
3876
3873
  <dd>
3877
3874
 
3878
- #### 📝 Description
3879
-
3880
- <dl>
3881
- <dd>
3882
-
3883
- <dl>
3884
- <dd>
3885
-
3886
- > 🚧 Requires partner key
3887
- >
3888
- > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
3889
-
3890
- </dd>
3891
- </dl>
3892
- </dd>
3893
- </dl>
3894
-
3895
3875
  #### 🔌 Usage
3896
3876
 
3897
3877
  <dl>
@@ -3958,23 +3938,6 @@ await client.users.update("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70
3958
3938
  <dl>
3959
3939
  <dd>
3960
3940
 
3961
- #### 📝 Description
3962
-
3963
- <dl>
3964
- <dd>
3965
-
3966
- <dl>
3967
- <dd>
3968
-
3969
- > 🚧 Requires partner key
3970
- >
3971
- > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
3972
-
3973
- </dd>
3974
- </dl>
3975
- </dd>
3976
- </dl>
3977
-
3978
3941
  #### 🔌 Usage
3979
3942
 
3980
3943
  <dl>
@@ -4700,6 +4663,62 @@ await client.bulkSync.executions.get("248df4b7-aa70-47b8-a036-33ac447e668d", "24
4700
4663
  </dl>
4701
4664
  </details>
4702
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
+
4703
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>
4704
4723
  <dl>
4705
4724
  <dd>
@@ -5060,6 +5079,62 @@ await client.bulkSync.schemas.update("248df4b7-aa70-47b8-a036-33ac447e668d", "co
5060
5079
  </dl>
5061
5080
  </details>
5062
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
+
5063
5138
  ## BulkSync Schedules
5064
5139
 
5065
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.15.2";
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.15.2";
4
+ exports.SDK_VERSION = "1.16.0";