polytomic 1.14.3 → 1.15.2
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.
- package/Client.d.ts +3 -0
- package/Client.js +13 -8
- package/api/resources/bulkSync/client/Client.js +10 -10
- package/api/resources/bulkSync/resources/executions/client/Client.js +5 -5
- package/api/resources/bulkSync/resources/schedules/client/Client.js +5 -5
- package/api/resources/bulkSync/resources/schemas/client/Client.js +4 -4
- package/api/resources/connections/client/Client.js +10 -10
- package/api/resources/events/client/Client.js +2 -2
- package/api/resources/identity/client/Client.js +1 -1
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/jobs/client/Client.js +1 -1
- package/api/resources/modelSync/client/Client.js +12 -12
- package/api/resources/modelSync/resources/executions/client/Client.js +5 -5
- package/api/resources/modelSync/resources/targets/client/Client.js +4 -4
- package/api/resources/models/client/Client.js +9 -9
- package/api/resources/notifications/client/Client.d.ts +55 -0
- package/api/resources/notifications/client/Client.js +182 -0
- package/api/resources/notifications/client/index.d.ts +1 -0
- package/api/resources/notifications/client/index.js +17 -0
- package/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.d.ts +10 -0
- package/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.js +5 -0
- package/api/resources/notifications/client/requests/index.d.ts +1 -0
- package/api/resources/notifications/client/requests/index.js +2 -0
- package/api/resources/notifications/index.d.ts +1 -0
- package/api/resources/notifications/index.js +17 -0
- package/api/resources/organization/client/Client.js +5 -5
- package/api/resources/permissions/resources/policies/client/Client.js +5 -5
- package/api/resources/permissions/resources/roles/client/Client.js +5 -5
- package/api/resources/queryRunner/client/Client.js +2 -2
- package/api/resources/schemas/client/Client.js +8 -8
- package/api/resources/users/client/Client.js +6 -6
- package/api/resources/webhooks/client/Client.js +7 -7
- package/api/types/BackendConnectionCapabilities.d.ts +9 -0
- package/api/types/BackendConnectionCapabilities.js +5 -0
- package/api/types/ConnectionType.d.ts +1 -0
- package/api/types/V4GlobalErrorSubscribersResponse.d.ts +6 -0
- package/api/types/V4GlobalErrorSubscribersResponse.js +5 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +13 -8
- package/dist/api/resources/bulkSync/client/Client.js +10 -10
- package/dist/api/resources/bulkSync/resources/executions/client/Client.js +5 -5
- package/dist/api/resources/bulkSync/resources/schedules/client/Client.js +5 -5
- package/dist/api/resources/bulkSync/resources/schemas/client/Client.js +4 -4
- package/dist/api/resources/connections/client/Client.js +10 -10
- package/dist/api/resources/events/client/Client.js +2 -2
- package/dist/api/resources/identity/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/jobs/client/Client.js +1 -1
- package/dist/api/resources/modelSync/client/Client.js +12 -12
- package/dist/api/resources/modelSync/resources/executions/client/Client.js +5 -5
- package/dist/api/resources/modelSync/resources/targets/client/Client.js +4 -4
- package/dist/api/resources/models/client/Client.js +9 -9
- package/dist/api/resources/notifications/client/Client.d.ts +55 -0
- package/dist/api/resources/notifications/client/Client.js +182 -0
- package/dist/api/resources/notifications/client/index.d.ts +1 -0
- package/dist/api/resources/notifications/client/index.js +17 -0
- package/dist/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.d.ts +10 -0
- package/dist/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.js +5 -0
- package/dist/api/resources/notifications/client/requests/index.d.ts +1 -0
- package/dist/api/resources/notifications/client/requests/index.js +2 -0
- package/dist/api/resources/notifications/index.d.ts +1 -0
- package/dist/api/resources/notifications/index.js +17 -0
- package/dist/api/resources/organization/client/Client.js +5 -5
- package/dist/api/resources/permissions/resources/policies/client/Client.js +5 -5
- package/dist/api/resources/permissions/resources/roles/client/Client.js +5 -5
- package/dist/api/resources/queryRunner/client/Client.js +2 -2
- package/dist/api/resources/schemas/client/Client.js +8 -8
- package/dist/api/resources/users/client/Client.js +6 -6
- package/dist/api/resources/webhooks/client/Client.js +7 -7
- package/dist/api/types/BackendConnectionCapabilities.d.ts +9 -0
- package/dist/api/types/BackendConnectionCapabilities.js +5 -0
- package/dist/api/types/ConnectionType.d.ts +1 -0
- package/dist/api/types/V4GlobalErrorSubscribersResponse.d.ts +6 -0
- package/dist/api/types/V4GlobalErrorSubscribersResponse.js +5 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +90 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -75,7 +75,7 @@ class Roles {
|
|
|
75
75
|
method: "GET",
|
|
76
76
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
77
77
|
? yield core.Supplier.get(this._options.version)
|
|
78
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
78
|
+
: 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),
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
requestType: "json",
|
|
81
81
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -136,7 +136,7 @@ class Roles {
|
|
|
136
136
|
method: "POST",
|
|
137
137
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
138
138
|
? yield core.Supplier.get(this._options.version)
|
|
139
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
139
|
+
: 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),
|
|
140
140
|
contentType: "application/json",
|
|
141
141
|
requestType: "json",
|
|
142
142
|
body: request,
|
|
@@ -199,7 +199,7 @@ class Roles {
|
|
|
199
199
|
method: "GET",
|
|
200
200
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
201
201
|
? yield core.Supplier.get(this._options.version)
|
|
202
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
202
|
+
: 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),
|
|
203
203
|
contentType: "application/json",
|
|
204
204
|
requestType: "json",
|
|
205
205
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -261,7 +261,7 @@ class Roles {
|
|
|
261
261
|
method: "PUT",
|
|
262
262
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
263
263
|
? yield core.Supplier.get(this._options.version)
|
|
264
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
264
|
+
: 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),
|
|
265
265
|
contentType: "application/json",
|
|
266
266
|
requestType: "json",
|
|
267
267
|
body: request,
|
|
@@ -326,7 +326,7 @@ class Roles {
|
|
|
326
326
|
method: "DELETE",
|
|
327
327
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
328
328
|
? yield core.Supplier.get(this._options.version)
|
|
329
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
329
|
+
: 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),
|
|
330
330
|
contentType: "application/json",
|
|
331
331
|
requestType: "json",
|
|
332
332
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -97,7 +97,7 @@ class QueryRunner {
|
|
|
97
97
|
method: "POST",
|
|
98
98
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
99
99
|
? yield core.Supplier.get(this._options.version)
|
|
100
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
100
|
+
: 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),
|
|
101
101
|
contentType: "application/json",
|
|
102
102
|
queryParameters: _queryParams,
|
|
103
103
|
requestType: "json",
|
|
@@ -167,7 +167,7 @@ class QueryRunner {
|
|
|
167
167
|
method: "GET",
|
|
168
168
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
169
169
|
? yield core.Supplier.get(this._options.version)
|
|
170
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
170
|
+
: 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),
|
|
171
171
|
contentType: "application/json",
|
|
172
172
|
queryParameters: _queryParams,
|
|
173
173
|
requestType: "json",
|
|
@@ -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.
|
|
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),
|
|
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.
|
|
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),
|
|
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.
|
|
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),
|
|
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.
|
|
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),
|
|
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.
|
|
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),
|
|
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.
|
|
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),
|
|
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.
|
|
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),
|
|
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.
|
|
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),
|
|
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,
|
|
@@ -80,7 +80,7 @@ class Users {
|
|
|
80
80
|
method: "GET",
|
|
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.
|
|
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),
|
|
84
84
|
contentType: "application/json",
|
|
85
85
|
requestType: "json",
|
|
86
86
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -144,7 +144,7 @@ class Users {
|
|
|
144
144
|
method: "POST",
|
|
145
145
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
146
146
|
? yield core.Supplier.get(this._options.version)
|
|
147
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
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),
|
|
148
148
|
contentType: "application/json",
|
|
149
149
|
requestType: "json",
|
|
150
150
|
body: request,
|
|
@@ -209,7 +209,7 @@ class Users {
|
|
|
209
209
|
method: "GET",
|
|
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.
|
|
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),
|
|
213
213
|
contentType: "application/json",
|
|
214
214
|
requestType: "json",
|
|
215
215
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -276,7 +276,7 @@ class Users {
|
|
|
276
276
|
method: "PUT",
|
|
277
277
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
278
278
|
? yield core.Supplier.get(this._options.version)
|
|
279
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
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),
|
|
280
280
|
contentType: "application/json",
|
|
281
281
|
requestType: "json",
|
|
282
282
|
body: request,
|
|
@@ -341,7 +341,7 @@ class Users {
|
|
|
341
341
|
method: "DELETE",
|
|
342
342
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
343
343
|
? yield core.Supplier.get(this._options.version)
|
|
344
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
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),
|
|
345
345
|
contentType: "application/json",
|
|
346
346
|
requestType: "json",
|
|
347
347
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -413,7 +413,7 @@ class Users {
|
|
|
413
413
|
method: "POST",
|
|
414
414
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
415
415
|
? yield core.Supplier.get(this._options.version)
|
|
416
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
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),
|
|
417
417
|
contentType: "application/json",
|
|
418
418
|
queryParameters: _queryParams,
|
|
419
419
|
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.
|
|
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),
|
|
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.
|
|
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),
|
|
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.
|
|
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),
|
|
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.
|
|
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),
|
|
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.
|
|
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),
|
|
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.
|
|
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),
|
|
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.
|
|
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),
|
|
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,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./ApiError";
|
|
2
|
+
export * from "./BackendConnectionCapabilities";
|
|
2
3
|
export * from "./BackendOAuthPrompt";
|
|
3
4
|
export * from "./BulkBulkSyncSchedule";
|
|
4
5
|
export * from "./BulkDiscover";
|
|
@@ -177,6 +178,7 @@ export * from "./BulkSyncSchemaExecutionStatus";
|
|
|
177
178
|
export * from "./V4ExportSyncLogsEnvelope";
|
|
178
179
|
export * from "./V4ExportSyncLogsResponse";
|
|
179
180
|
export * from "./GetModelSyncSourceMetaEnvelope";
|
|
181
|
+
export * from "./V4GlobalErrorSubscribersResponse";
|
|
180
182
|
export * from "./ListBulkSyncExecutionStatusEnvelope";
|
|
181
183
|
export * from "./V4QueryResultsEnvelope";
|
|
182
184
|
export * from "./V4RunQueryEnvelope";
|
package/dist/api/types/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ApiError"), exports);
|
|
18
|
+
__exportStar(require("./BackendConnectionCapabilities"), exports);
|
|
18
19
|
__exportStar(require("./BackendOAuthPrompt"), exports);
|
|
19
20
|
__exportStar(require("./BulkBulkSyncSchedule"), exports);
|
|
20
21
|
__exportStar(require("./BulkDiscover"), exports);
|
|
@@ -193,6 +194,7 @@ __exportStar(require("./BulkSyncSchemaExecutionStatus"), exports);
|
|
|
193
194
|
__exportStar(require("./V4ExportSyncLogsEnvelope"), exports);
|
|
194
195
|
__exportStar(require("./V4ExportSyncLogsResponse"), exports);
|
|
195
196
|
__exportStar(require("./GetModelSyncSourceMetaEnvelope"), exports);
|
|
197
|
+
__exportStar(require("./V4GlobalErrorSubscribersResponse"), exports);
|
|
196
198
|
__exportStar(require("./ListBulkSyncExecutionStatusEnvelope"), exports);
|
|
197
199
|
__exportStar(require("./V4QueryResultsEnvelope"), exports);
|
|
198
200
|
__exportStar(require("./V4RunQueryEnvelope"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.15.2";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -3235,6 +3235,96 @@ await client.identity.get();
|
|
|
3235
3235
|
</dl>
|
|
3236
3236
|
</details>
|
|
3237
3237
|
|
|
3238
|
+
## Notifications
|
|
3239
|
+
|
|
3240
|
+
<details><summary><code>client.notifications.<a href="/src/api/resources/notifications/client/Client.ts">getGlobalErrorSubscribers</a>() -> Polytomic.V4GlobalErrorSubscribersResponse</code></summary>
|
|
3241
|
+
<dl>
|
|
3242
|
+
<dd>
|
|
3243
|
+
|
|
3244
|
+
#### 🔌 Usage
|
|
3245
|
+
|
|
3246
|
+
<dl>
|
|
3247
|
+
<dd>
|
|
3248
|
+
|
|
3249
|
+
<dl>
|
|
3250
|
+
<dd>
|
|
3251
|
+
|
|
3252
|
+
```typescript
|
|
3253
|
+
await client.notifications.getGlobalErrorSubscribers();
|
|
3254
|
+
```
|
|
3255
|
+
|
|
3256
|
+
</dd>
|
|
3257
|
+
</dl>
|
|
3258
|
+
</dd>
|
|
3259
|
+
</dl>
|
|
3260
|
+
|
|
3261
|
+
#### ⚙️ Parameters
|
|
3262
|
+
|
|
3263
|
+
<dl>
|
|
3264
|
+
<dd>
|
|
3265
|
+
|
|
3266
|
+
<dl>
|
|
3267
|
+
<dd>
|
|
3268
|
+
|
|
3269
|
+
**requestOptions:** `Notifications.RequestOptions`
|
|
3270
|
+
|
|
3271
|
+
</dd>
|
|
3272
|
+
</dl>
|
|
3273
|
+
</dd>
|
|
3274
|
+
</dl>
|
|
3275
|
+
|
|
3276
|
+
</dd>
|
|
3277
|
+
</dl>
|
|
3278
|
+
</details>
|
|
3279
|
+
|
|
3280
|
+
<details><summary><code>client.notifications.<a href="/src/api/resources/notifications/client/Client.ts">setGlobalErrorSubscribers</a>({ ...params }) -> Polytomic.V4GlobalErrorSubscribersResponse</code></summary>
|
|
3281
|
+
<dl>
|
|
3282
|
+
<dd>
|
|
3283
|
+
|
|
3284
|
+
#### 🔌 Usage
|
|
3285
|
+
|
|
3286
|
+
<dl>
|
|
3287
|
+
<dd>
|
|
3288
|
+
|
|
3289
|
+
<dl>
|
|
3290
|
+
<dd>
|
|
3291
|
+
|
|
3292
|
+
```typescript
|
|
3293
|
+
await client.notifications.setGlobalErrorSubscribers();
|
|
3294
|
+
```
|
|
3295
|
+
|
|
3296
|
+
</dd>
|
|
3297
|
+
</dl>
|
|
3298
|
+
</dd>
|
|
3299
|
+
</dl>
|
|
3300
|
+
|
|
3301
|
+
#### ⚙️ Parameters
|
|
3302
|
+
|
|
3303
|
+
<dl>
|
|
3304
|
+
<dd>
|
|
3305
|
+
|
|
3306
|
+
<dl>
|
|
3307
|
+
<dd>
|
|
3308
|
+
|
|
3309
|
+
**request:** `Polytomic.V4GlobalErrorSubscribersRequest`
|
|
3310
|
+
|
|
3311
|
+
</dd>
|
|
3312
|
+
</dl>
|
|
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
|
+
|
|
3238
3328
|
## Organization
|
|
3239
3329
|
|
|
3240
3330
|
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">list</a>() -> Polytomic.OrganizationsEnvelope</code></summary>
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.15.2";
|
package/version.js
CHANGED