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
@@ -80,7 +80,7 @@ class Schemas {
80
80
  method: "POST",
81
81
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
82
82
  ? yield core.Supplier.get(this._options.version)
83
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  body: request,
@@ -145,7 +145,7 @@ class Schemas {
145
145
  method: "DELETE",
146
146
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
147
147
  ? yield core.Supplier.get(this._options.version)
148
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
148
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
149
149
  contentType: "application/json",
150
150
  requestType: "json",
151
151
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -209,7 +209,7 @@ class Schemas {
209
209
  method: "PUT",
210
210
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
211
211
  ? yield core.Supplier.get(this._options.version)
212
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
212
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
213
  contentType: "application/json",
214
214
  requestType: "json",
215
215
  body: request,
@@ -275,7 +275,7 @@ class Schemas {
275
275
  method: "DELETE",
276
276
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
277
277
  ? yield core.Supplier.get(this._options.version)
278
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
278
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
279
279
  contentType: "application/json",
280
280
  requestType: "json",
281
281
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -337,7 +337,7 @@ class Schemas {
337
337
  method: "POST",
338
338
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
339
339
  ? yield core.Supplier.get(this._options.version)
340
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
340
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
341
341
  contentType: "application/json",
342
342
  requestType: "json",
343
343
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -401,7 +401,7 @@ class Schemas {
401
401
  method: "GET",
402
402
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
403
403
  ? yield core.Supplier.get(this._options.version)
404
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
404
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
405
405
  contentType: "application/json",
406
406
  requestType: "json",
407
407
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -464,7 +464,7 @@ class Schemas {
464
464
  method: "GET",
465
465
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
466
466
  ? yield core.Supplier.get(this._options.version)
467
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
467
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
468
468
  contentType: "application/json",
469
469
  requestType: "json",
470
470
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -528,7 +528,7 @@ class Schemas {
528
528
  method: "GET",
529
529
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
530
530
  ? yield core.Supplier.get(this._options.version)
531
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
531
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
532
532
  contentType: "application/json",
533
533
  requestType: "json",
534
534
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -30,14 +30,11 @@ export declare class Users {
30
30
  protected readonly _options: Users.Options;
31
31
  constructor(_options: Users.Options);
32
32
  /**
33
- * > 🚧 Requires partner key
34
- * >
35
- * > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
36
- *
37
33
  * @param {string} orgId
38
34
  * @param {Users.RequestOptions} requestOptions - Request-specific configuration.
39
35
  *
40
36
  * @throws {@link Polytomic.UnauthorizedError}
37
+ * @throws {@link Polytomic.ForbiddenError}
41
38
  * @throws {@link Polytomic.NotFoundError}
42
39
  *
43
40
  * @example
@@ -45,15 +42,12 @@ export declare class Users {
45
42
  */
46
43
  list(orgId: string, requestOptions?: Users.RequestOptions): Promise<Polytomic.ListUsersEnvelope>;
47
44
  /**
48
- * > 🚧 Requires partner key
49
- * >
50
- * > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
51
- *
52
45
  * @param {string} orgId
53
46
  * @param {Polytomic.CreateUserRequestSchema} request
54
47
  * @param {Users.RequestOptions} requestOptions - Request-specific configuration.
55
48
  *
56
49
  * @throws {@link Polytomic.UnauthorizedError}
50
+ * @throws {@link Polytomic.ForbiddenError}
57
51
  * @throws {@link Polytomic.UnprocessableEntityError}
58
52
  * @throws {@link Polytomic.InternalServerError}
59
53
  *
@@ -64,15 +58,12 @@ export declare class Users {
64
58
  */
65
59
  create(orgId: string, request: Polytomic.CreateUserRequestSchema, requestOptions?: Users.RequestOptions): Promise<Polytomic.UserEnvelope>;
66
60
  /**
67
- * > 🚧 Requires partner key
68
- * >
69
- * > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
70
- *
71
61
  * @param {string} id
72
62
  * @param {string} orgId
73
63
  * @param {Users.RequestOptions} requestOptions - Request-specific configuration.
74
64
  *
75
65
  * @throws {@link Polytomic.UnauthorizedError}
66
+ * @throws {@link Polytomic.ForbiddenError}
76
67
  * @throws {@link Polytomic.NotFoundError}
77
68
  * @throws {@link Polytomic.InternalServerError}
78
69
  *
@@ -81,16 +72,13 @@ export declare class Users {
81
72
  */
82
73
  get(id: string, orgId: string, requestOptions?: Users.RequestOptions): Promise<Polytomic.UserEnvelope>;
83
74
  /**
84
- * > 🚧 Requires partner key
85
- * >
86
- * > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
87
- *
88
75
  * @param {string} id
89
76
  * @param {string} orgId
90
77
  * @param {Polytomic.UpdateUserRequestSchema} request
91
78
  * @param {Users.RequestOptions} requestOptions - Request-specific configuration.
92
79
  *
93
80
  * @throws {@link Polytomic.UnauthorizedError}
81
+ * @throws {@link Polytomic.ForbiddenError}
94
82
  * @throws {@link Polytomic.UnprocessableEntityError}
95
83
  * @throws {@link Polytomic.InternalServerError}
96
84
  *
@@ -101,15 +89,12 @@ export declare class Users {
101
89
  */
102
90
  update(id: string, orgId: string, request: Polytomic.UpdateUserRequestSchema, requestOptions?: Users.RequestOptions): Promise<Polytomic.UserEnvelope>;
103
91
  /**
104
- * > 🚧 Requires partner key
105
- * >
106
- * > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
107
- *
108
92
  * @param {string} id
109
93
  * @param {string} orgId
110
94
  * @param {Users.RequestOptions} requestOptions - Request-specific configuration.
111
95
  *
112
96
  * @throws {@link Polytomic.UnauthorizedError}
97
+ * @throws {@link Polytomic.ForbiddenError}
113
98
  * @throws {@link Polytomic.NotFoundError}
114
99
  * @throws {@link Polytomic.InternalServerError}
115
100
  *
@@ -59,14 +59,11 @@ class Users {
59
59
  this._options = _options;
60
60
  }
61
61
  /**
62
- * > 🚧 Requires partner key
63
- * >
64
- * > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
65
- *
66
62
  * @param {string} orgId
67
63
  * @param {Users.RequestOptions} requestOptions - Request-specific configuration.
68
64
  *
69
65
  * @throws {@link Polytomic.UnauthorizedError}
66
+ * @throws {@link Polytomic.ForbiddenError}
70
67
  * @throws {@link Polytomic.NotFoundError}
71
68
  *
72
69
  * @example
@@ -80,7 +77,7 @@ class Users {
80
77
  method: "GET",
81
78
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
82
79
  ? yield core.Supplier.get(this._options.version)
83
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
81
  contentType: "application/json",
85
82
  requestType: "json",
86
83
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -94,6 +91,8 @@ class Users {
94
91
  switch (_response.error.statusCode) {
95
92
  case 401:
96
93
  throw new Polytomic.UnauthorizedError(_response.error.body);
94
+ case 403:
95
+ throw new Polytomic.ForbiddenError(_response.error.body);
97
96
  case 404:
98
97
  throw new Polytomic.NotFoundError(_response.error.body);
99
98
  default:
@@ -119,15 +118,12 @@ class Users {
119
118
  });
120
119
  }
121
120
  /**
122
- * > 🚧 Requires partner key
123
- * >
124
- * > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
125
- *
126
121
  * @param {string} orgId
127
122
  * @param {Polytomic.CreateUserRequestSchema} request
128
123
  * @param {Users.RequestOptions} requestOptions - Request-specific configuration.
129
124
  *
130
125
  * @throws {@link Polytomic.UnauthorizedError}
126
+ * @throws {@link Polytomic.ForbiddenError}
131
127
  * @throws {@link Polytomic.UnprocessableEntityError}
132
128
  * @throws {@link Polytomic.InternalServerError}
133
129
  *
@@ -144,7 +140,7 @@ class Users {
144
140
  method: "POST",
145
141
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
146
142
  ? yield core.Supplier.get(this._options.version)
147
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
143
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
148
144
  contentType: "application/json",
149
145
  requestType: "json",
150
146
  body: request,
@@ -159,6 +155,8 @@ class Users {
159
155
  switch (_response.error.statusCode) {
160
156
  case 401:
161
157
  throw new Polytomic.UnauthorizedError(_response.error.body);
158
+ case 403:
159
+ throw new Polytomic.ForbiddenError(_response.error.body);
162
160
  case 422:
163
161
  throw new Polytomic.UnprocessableEntityError(_response.error.body);
164
162
  case 500:
@@ -186,15 +184,12 @@ class Users {
186
184
  });
187
185
  }
188
186
  /**
189
- * > 🚧 Requires partner key
190
- * >
191
- * > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
192
- *
193
187
  * @param {string} id
194
188
  * @param {string} orgId
195
189
  * @param {Users.RequestOptions} requestOptions - Request-specific configuration.
196
190
  *
197
191
  * @throws {@link Polytomic.UnauthorizedError}
192
+ * @throws {@link Polytomic.ForbiddenError}
198
193
  * @throws {@link Polytomic.NotFoundError}
199
194
  * @throws {@link Polytomic.InternalServerError}
200
195
  *
@@ -209,7 +204,7 @@ class Users {
209
204
  method: "GET",
210
205
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
211
206
  ? yield core.Supplier.get(this._options.version)
212
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
207
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
208
  contentType: "application/json",
214
209
  requestType: "json",
215
210
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -223,6 +218,8 @@ class Users {
223
218
  switch (_response.error.statusCode) {
224
219
  case 401:
225
220
  throw new Polytomic.UnauthorizedError(_response.error.body);
221
+ case 403:
222
+ throw new Polytomic.ForbiddenError(_response.error.body);
226
223
  case 404:
227
224
  throw new Polytomic.NotFoundError(_response.error.body);
228
225
  case 500:
@@ -250,16 +247,13 @@ class Users {
250
247
  });
251
248
  }
252
249
  /**
253
- * > 🚧 Requires partner key
254
- * >
255
- * > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
256
- *
257
250
  * @param {string} id
258
251
  * @param {string} orgId
259
252
  * @param {Polytomic.UpdateUserRequestSchema} request
260
253
  * @param {Users.RequestOptions} requestOptions - Request-specific configuration.
261
254
  *
262
255
  * @throws {@link Polytomic.UnauthorizedError}
256
+ * @throws {@link Polytomic.ForbiddenError}
263
257
  * @throws {@link Polytomic.UnprocessableEntityError}
264
258
  * @throws {@link Polytomic.InternalServerError}
265
259
  *
@@ -276,7 +270,7 @@ class Users {
276
270
  method: "PUT",
277
271
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
278
272
  ? yield core.Supplier.get(this._options.version)
279
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
273
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
280
274
  contentType: "application/json",
281
275
  requestType: "json",
282
276
  body: request,
@@ -291,6 +285,8 @@ class Users {
291
285
  switch (_response.error.statusCode) {
292
286
  case 401:
293
287
  throw new Polytomic.UnauthorizedError(_response.error.body);
288
+ case 403:
289
+ throw new Polytomic.ForbiddenError(_response.error.body);
294
290
  case 422:
295
291
  throw new Polytomic.UnprocessableEntityError(_response.error.body);
296
292
  case 500:
@@ -318,15 +314,12 @@ class Users {
318
314
  });
319
315
  }
320
316
  /**
321
- * > 🚧 Requires partner key
322
- * >
323
- * > User endpoints are only accessible using [partner keys](https://apidocs.polytomic.com/guides/obtaining-api-keys#partner-keys).
324
- *
325
317
  * @param {string} id
326
318
  * @param {string} orgId
327
319
  * @param {Users.RequestOptions} requestOptions - Request-specific configuration.
328
320
  *
329
321
  * @throws {@link Polytomic.UnauthorizedError}
322
+ * @throws {@link Polytomic.ForbiddenError}
330
323
  * @throws {@link Polytomic.NotFoundError}
331
324
  * @throws {@link Polytomic.InternalServerError}
332
325
  *
@@ -341,7 +334,7 @@ class Users {
341
334
  method: "DELETE",
342
335
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
343
336
  ? yield core.Supplier.get(this._options.version)
344
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
337
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
345
338
  contentType: "application/json",
346
339
  requestType: "json",
347
340
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -355,6 +348,8 @@ class Users {
355
348
  switch (_response.error.statusCode) {
356
349
  case 401:
357
350
  throw new Polytomic.UnauthorizedError(_response.error.body);
351
+ case 403:
352
+ throw new Polytomic.ForbiddenError(_response.error.body);
358
353
  case 404:
359
354
  throw new Polytomic.NotFoundError(_response.error.body);
360
355
  case 500:
@@ -413,7 +408,7 @@ class Users {
413
408
  method: "POST",
414
409
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
415
410
  ? yield core.Supplier.get(this._options.version)
416
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
411
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
417
412
  contentType: "application/json",
418
413
  queryParameters: _queryParams,
419
414
  requestType: "json",
@@ -81,7 +81,7 @@ class Webhooks {
81
81
  method: "GET",
82
82
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
83
83
  ? yield core.Supplier.get(this._options.version)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -147,7 +147,7 @@ class Webhooks {
147
147
  method: "POST",
148
148
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
149
149
  ? yield core.Supplier.get(this._options.version)
150
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
150
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
151
151
  contentType: "application/json",
152
152
  requestType: "json",
153
153
  body: request,
@@ -212,7 +212,7 @@ class Webhooks {
212
212
  method: "GET",
213
213
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
214
214
  ? yield core.Supplier.get(this._options.version)
215
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
215
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
216
216
  contentType: "application/json",
217
217
  requestType: "json",
218
218
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -279,7 +279,7 @@ class Webhooks {
279
279
  method: "PUT",
280
280
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
281
281
  ? yield core.Supplier.get(this._options.version)
282
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
282
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
283
283
  contentType: "application/json",
284
284
  requestType: "json",
285
285
  body: request,
@@ -339,7 +339,7 @@ class Webhooks {
339
339
  method: "DELETE",
340
340
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
341
341
  ? yield core.Supplier.get(this._options.version)
342
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
342
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
343
343
  contentType: "application/json",
344
344
  requestType: "json",
345
345
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -398,7 +398,7 @@ class Webhooks {
398
398
  method: "POST",
399
399
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
400
400
  ? yield core.Supplier.get(this._options.version)
401
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
401
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
402
402
  contentType: "application/json",
403
403
  requestType: "json",
404
404
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -457,7 +457,7 @@ class Webhooks {
457
457
  method: "POST",
458
458
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
459
459
  ? yield core.Supplier.get(this._options.version)
460
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.15.2", "User-Agent": "polytomic/1.15.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
460
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.0", "User-Agent": "polytomic/1.16.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
461
461
  contentType: "application/json",
462
462
  requestType: "json",
463
463
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -13,8 +13,10 @@ export interface BulkBulkSyncSchedule {
13
13
  hour?: string;
14
14
  minute?: string;
15
15
  month?: string;
16
+ schemas?: string[];
16
17
  selectiveMode?: Polytomic.BulkSelectiveMode;
17
18
  syncId?: string;
19
+ syncMode?: Polytomic.BulkScheduleSyncMode;
18
20
  updatedAt?: string;
19
21
  updatedBy?: string;
20
22
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type BulkScheduleSyncMode = "normal" | "refetch" | "resync" | "rebuild";
5
+ export declare const BulkScheduleSyncMode: {
6
+ readonly Normal: "normal";
7
+ readonly Refetch: "refetch";
8
+ readonly Resync: "resync";
9
+ readonly Rebuild: "rebuild";
10
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.BulkScheduleSyncMode = void 0;
7
+ exports.BulkScheduleSyncMode = {
8
+ Normal: "normal",
9
+ Refetch: "refetch",
10
+ Resync: "resync",
11
+ Rebuild: "rebuild",
12
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CancelBulkSyncResponse {
5
+ message?: string;
6
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export interface CancelBulkSyncResponseEnvelope {
6
+ data?: Polytomic.CancelBulkSyncResponse;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -8,6 +8,7 @@ export * from "./BulkItemizedSchedule";
8
8
  export * from "./BulkMultiScheduleConfiguration";
9
9
  export * from "./BulkNormalizeNames";
10
10
  export * from "./BulkSchedule";
11
+ export * from "./BulkScheduleSyncMode";
11
12
  export * from "./BulkSchemaExecutionStatus";
12
13
  export * from "./BulkSelectiveMode";
13
14
  export * from "./BulkSyncMode";
@@ -55,6 +56,8 @@ export * from "./BulkSyncDestEnvelope";
55
56
  export * from "./BulkSyncListEnvelope";
56
57
  export * from "./BulkSyncResponse";
57
58
  export * from "./BulkSyncResponseEnvelope";
59
+ export * from "./CancelBulkSyncResponse";
60
+ export * from "./CancelBulkSyncResponseEnvelope";
58
61
  export * from "./CancelModelSyncResponse";
59
62
  export * from "./CancelModelSyncResponseEnvelope";
60
63
  export * from "./ConfigurationValue";
@@ -24,6 +24,7 @@ __exportStar(require("./BulkItemizedSchedule"), exports);
24
24
  __exportStar(require("./BulkMultiScheduleConfiguration"), exports);
25
25
  __exportStar(require("./BulkNormalizeNames"), exports);
26
26
  __exportStar(require("./BulkSchedule"), exports);
27
+ __exportStar(require("./BulkScheduleSyncMode"), exports);
27
28
  __exportStar(require("./BulkSchemaExecutionStatus"), exports);
28
29
  __exportStar(require("./BulkSelectiveMode"), exports);
29
30
  __exportStar(require("./BulkSyncMode"), exports);
@@ -71,6 +72,8 @@ __exportStar(require("./BulkSyncDestEnvelope"), exports);
71
72
  __exportStar(require("./BulkSyncListEnvelope"), exports);
72
73
  __exportStar(require("./BulkSyncResponse"), exports);
73
74
  __exportStar(require("./BulkSyncResponseEnvelope"), exports);
75
+ __exportStar(require("./CancelBulkSyncResponse"), exports);
76
+ __exportStar(require("./CancelBulkSyncResponseEnvelope"), exports);
74
77
  __exportStar(require("./CancelModelSyncResponse"), exports);
75
78
  __exportStar(require("./CancelModelSyncResponseEnvelope"), exports);
76
79
  __exportStar(require("./ConfigurationValue"), exports);
@@ -177,6 +177,19 @@ export declare class BulkSync {
177
177
  * })
178
178
  */
179
179
  activate(id: string, request: Polytomic.ActivateSyncInput, requestOptions?: BulkSync.RequestOptions): Promise<Polytomic.ActivateSyncEnvelope>;
180
+ /**
181
+ * @param {string} id - The active execution of this bulk sync ID will be cancelled.
182
+ * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.
183
+ *
184
+ * @throws {@link Polytomic.UnauthorizedError}
185
+ * @throws {@link Polytomic.ForbiddenError}
186
+ * @throws {@link Polytomic.NotFoundError}
187
+ * @throws {@link Polytomic.InternalServerError}
188
+ *
189
+ * @example
190
+ * await client.bulkSync.cancel("248df4b7-aa70-47b8-a036-33ac447e668d")
191
+ */
192
+ cancel(id: string, requestOptions?: BulkSync.RequestOptions): Promise<Polytomic.CancelBulkSyncResponseEnvelope>;
180
193
  /**
181
194
  * @param {string} id
182
195
  * @param {Polytomic.StartBulkSyncRequest} request