polytomic 1.14.4 → 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 +4 -4
- package/api/types/ConnectionType.d.ts +1 -1
- package/api/types/V4GlobalErrorSubscribersResponse.d.ts +6 -0
- package/api/types/V4GlobalErrorSubscribersResponse.js +5 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -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 +4 -4
- package/dist/api/types/ConnectionType.d.ts +1 -1
- package/dist/api/types/V4GlobalErrorSubscribersResponse.d.ts +6 -0
- package/dist/api/types/V4GlobalErrorSubscribersResponse.js +5 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -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
package/Client.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { ModelSync } from "./api/resources/modelSync/client/Client";
|
|
|
12
12
|
import { Events } from "./api/resources/events/client/Client";
|
|
13
13
|
import { Jobs } from "./api/resources/jobs/client/Client";
|
|
14
14
|
import { Identity } from "./api/resources/identity/client/Client";
|
|
15
|
+
import { Notifications } from "./api/resources/notifications/client/Client";
|
|
15
16
|
import { Organization } from "./api/resources/organization/client/Client";
|
|
16
17
|
import { Users } from "./api/resources/users/client/Client";
|
|
17
18
|
import { Webhooks } from "./api/resources/webhooks/client/Client";
|
|
@@ -49,6 +50,7 @@ export declare class PolytomicClient {
|
|
|
49
50
|
protected _events: Events | undefined;
|
|
50
51
|
protected _jobs: Jobs | undefined;
|
|
51
52
|
protected _identity: Identity | undefined;
|
|
53
|
+
protected _notifications: Notifications | undefined;
|
|
52
54
|
protected _organization: Organization | undefined;
|
|
53
55
|
protected _users: Users | undefined;
|
|
54
56
|
protected _webhooks: Webhooks | undefined;
|
|
@@ -63,6 +65,7 @@ export declare class PolytomicClient {
|
|
|
63
65
|
get events(): Events;
|
|
64
66
|
get jobs(): Jobs;
|
|
65
67
|
get identity(): Identity;
|
|
68
|
+
get notifications(): Notifications;
|
|
66
69
|
get organization(): Organization;
|
|
67
70
|
get users(): Users;
|
|
68
71
|
get webhooks(): Webhooks;
|
package/Client.js
CHANGED
|
@@ -13,10 +13,11 @@ const Client_6 = require("./api/resources/modelSync/client/Client");
|
|
|
13
13
|
const Client_7 = require("./api/resources/events/client/Client");
|
|
14
14
|
const Client_8 = require("./api/resources/jobs/client/Client");
|
|
15
15
|
const Client_9 = require("./api/resources/identity/client/Client");
|
|
16
|
-
const Client_10 = require("./api/resources/
|
|
17
|
-
const Client_11 = require("./api/resources/
|
|
18
|
-
const Client_12 = require("./api/resources/
|
|
19
|
-
const Client_13 = require("./api/resources/
|
|
16
|
+
const Client_10 = require("./api/resources/notifications/client/Client");
|
|
17
|
+
const Client_11 = require("./api/resources/organization/client/Client");
|
|
18
|
+
const Client_12 = require("./api/resources/users/client/Client");
|
|
19
|
+
const Client_13 = require("./api/resources/webhooks/client/Client");
|
|
20
|
+
const Client_14 = require("./api/resources/permissions/client/Client");
|
|
20
21
|
class PolytomicClient {
|
|
21
22
|
constructor(_options) {
|
|
22
23
|
this._options = _options;
|
|
@@ -57,21 +58,25 @@ class PolytomicClient {
|
|
|
57
58
|
var _a;
|
|
58
59
|
return ((_a = this._identity) !== null && _a !== void 0 ? _a : (this._identity = new Client_9.Identity(this._options)));
|
|
59
60
|
}
|
|
61
|
+
get notifications() {
|
|
62
|
+
var _a;
|
|
63
|
+
return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Client_10.Notifications(this._options)));
|
|
64
|
+
}
|
|
60
65
|
get organization() {
|
|
61
66
|
var _a;
|
|
62
|
-
return ((_a = this._organization) !== null && _a !== void 0 ? _a : (this._organization = new
|
|
67
|
+
return ((_a = this._organization) !== null && _a !== void 0 ? _a : (this._organization = new Client_11.Organization(this._options)));
|
|
63
68
|
}
|
|
64
69
|
get users() {
|
|
65
70
|
var _a;
|
|
66
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
71
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_12.Users(this._options)));
|
|
67
72
|
}
|
|
68
73
|
get webhooks() {
|
|
69
74
|
var _a;
|
|
70
|
-
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new
|
|
75
|
+
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_13.Webhooks(this._options)));
|
|
71
76
|
}
|
|
72
77
|
get permissions() {
|
|
73
78
|
var _a;
|
|
74
|
-
return ((_a = this._permissions) !== null && _a !== void 0 ? _a : (this._permissions = new
|
|
79
|
+
return ((_a = this._permissions) !== null && _a !== void 0 ? _a : (this._permissions = new Client_14.Permissions(this._options)));
|
|
75
80
|
}
|
|
76
81
|
}
|
|
77
82
|
exports.PolytomicClient = PolytomicClient;
|
|
@@ -98,7 +98,7 @@ class BulkSync {
|
|
|
98
98
|
method: "GET",
|
|
99
99
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
100
100
|
? yield core.Supplier.get(this._options.version)
|
|
101
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
101
|
+
: 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),
|
|
102
102
|
contentType: "application/json",
|
|
103
103
|
queryParameters: _queryParams,
|
|
104
104
|
requestType: "json",
|
|
@@ -195,7 +195,7 @@ class BulkSync {
|
|
|
195
195
|
method: "POST",
|
|
196
196
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
197
197
|
? yield core.Supplier.get(this._options.version)
|
|
198
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
198
|
+
: 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),
|
|
199
199
|
contentType: "application/json",
|
|
200
200
|
requestType: "json",
|
|
201
201
|
body: request,
|
|
@@ -266,7 +266,7 @@ class BulkSync {
|
|
|
266
266
|
method: "GET",
|
|
267
267
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
268
268
|
? yield core.Supplier.get(this._options.version)
|
|
269
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
269
|
+
: 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),
|
|
270
270
|
contentType: "application/json",
|
|
271
271
|
queryParameters: _queryParams,
|
|
272
272
|
requestType: "json",
|
|
@@ -341,7 +341,7 @@ class BulkSync {
|
|
|
341
341
|
method: "PUT",
|
|
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
|
body: request,
|
|
@@ -414,7 +414,7 @@ class BulkSync {
|
|
|
414
414
|
method: "DELETE",
|
|
415
415
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
416
416
|
? yield core.Supplier.get(this._options.version)
|
|
417
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
417
|
+
: 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),
|
|
418
418
|
contentType: "application/json",
|
|
419
419
|
queryParameters: _queryParams,
|
|
420
420
|
requestType: "json",
|
|
@@ -480,7 +480,7 @@ class BulkSync {
|
|
|
480
480
|
method: "POST",
|
|
481
481
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
482
482
|
? yield core.Supplier.get(this._options.version)
|
|
483
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
483
|
+
: 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),
|
|
484
484
|
contentType: "application/json",
|
|
485
485
|
requestType: "json",
|
|
486
486
|
body: request,
|
|
@@ -543,7 +543,7 @@ class BulkSync {
|
|
|
543
543
|
method: "POST",
|
|
544
544
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
545
545
|
? yield core.Supplier.get(this._options.version)
|
|
546
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
546
|
+
: 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),
|
|
547
547
|
contentType: "application/json",
|
|
548
548
|
requestType: "json",
|
|
549
549
|
body: request,
|
|
@@ -603,7 +603,7 @@ class BulkSync {
|
|
|
603
603
|
method: "GET",
|
|
604
604
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
605
605
|
? yield core.Supplier.get(this._options.version)
|
|
606
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
606
|
+
: 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),
|
|
607
607
|
contentType: "application/json",
|
|
608
608
|
requestType: "json",
|
|
609
609
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -671,7 +671,7 @@ class BulkSync {
|
|
|
671
671
|
method: "GET",
|
|
672
672
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
673
673
|
? yield core.Supplier.get(this._options.version)
|
|
674
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
674
|
+
: 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),
|
|
675
675
|
contentType: "application/json",
|
|
676
676
|
queryParameters: _queryParams,
|
|
677
677
|
requestType: "json",
|
|
@@ -734,7 +734,7 @@ class BulkSync {
|
|
|
734
734
|
method: "GET",
|
|
735
735
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
736
736
|
? yield core.Supplier.get(this._options.version)
|
|
737
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
737
|
+
: 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),
|
|
738
738
|
contentType: "application/json",
|
|
739
739
|
requestType: "json",
|
|
740
740
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -95,7 +95,7 @@ class Executions {
|
|
|
95
95
|
method: "GET",
|
|
96
96
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
97
97
|
? yield core.Supplier.get(this._options.version)
|
|
98
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
98
|
+
: 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),
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
queryParameters: _queryParams,
|
|
101
101
|
requestType: "json",
|
|
@@ -172,7 +172,7 @@ class Executions {
|
|
|
172
172
|
method: "GET",
|
|
173
173
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
174
174
|
? yield core.Supplier.get(this._options.version)
|
|
175
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
175
|
+
: 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),
|
|
176
176
|
contentType: "application/json",
|
|
177
177
|
queryParameters: _queryParams,
|
|
178
178
|
requestType: "json",
|
|
@@ -230,7 +230,7 @@ class Executions {
|
|
|
230
230
|
method: "GET",
|
|
231
231
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
232
232
|
? yield core.Supplier.get(this._options.version)
|
|
233
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
233
|
+
: 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),
|
|
234
234
|
contentType: "application/json",
|
|
235
235
|
requestType: "json",
|
|
236
236
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -287,7 +287,7 @@ class Executions {
|
|
|
287
287
|
method: "GET",
|
|
288
288
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
289
289
|
? yield core.Supplier.get(this._options.version)
|
|
290
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
290
|
+
: 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),
|
|
291
291
|
contentType: "application/json",
|
|
292
292
|
requestType: "json",
|
|
293
293
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -352,7 +352,7 @@ class Executions {
|
|
|
352
352
|
method: "POST",
|
|
353
353
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
354
354
|
? yield core.Supplier.get(this._options.version)
|
|
355
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
355
|
+
: 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),
|
|
356
356
|
contentType: "application/json",
|
|
357
357
|
queryParameters: _queryParams,
|
|
358
358
|
requestType: "json",
|
|
@@ -78,7 +78,7 @@ class Schedules {
|
|
|
78
78
|
method: "GET",
|
|
79
79
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
80
80
|
? yield core.Supplier.get(this._options.version)
|
|
81
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
81
|
+
: 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),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
requestType: "json",
|
|
84
84
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -146,7 +146,7 @@ class Schedules {
|
|
|
146
146
|
method: "POST",
|
|
147
147
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
148
148
|
? yield core.Supplier.get(this._options.version)
|
|
149
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
149
|
+
: 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
150
|
contentType: "application/json",
|
|
151
151
|
requestType: "json",
|
|
152
152
|
body: request,
|
|
@@ -212,7 +212,7 @@ class Schedules {
|
|
|
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,
|
|
@@ -281,7 +281,7 @@ class Schedules {
|
|
|
281
281
|
method: "PUT",
|
|
282
282
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
283
283
|
? yield core.Supplier.get(this._options.version)
|
|
284
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
284
|
+
: 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),
|
|
285
285
|
contentType: "application/json",
|
|
286
286
|
requestType: "json",
|
|
287
287
|
body: request,
|
|
@@ -347,7 +347,7 @@ class Schedules {
|
|
|
347
347
|
method: "DELETE",
|
|
348
348
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
349
349
|
? yield core.Supplier.get(this._options.version)
|
|
350
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
350
|
+
: 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),
|
|
351
351
|
contentType: "application/json",
|
|
352
352
|
requestType: "json",
|
|
353
353
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -83,7 +83,7 @@ class Schemas {
|
|
|
83
83
|
method: "GET",
|
|
84
84
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
85
85
|
? yield core.Supplier.get(this._options.version)
|
|
86
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
86
|
+
: 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),
|
|
87
87
|
contentType: "application/json",
|
|
88
88
|
queryParameters: _queryParams,
|
|
89
89
|
requestType: "json",
|
|
@@ -144,7 +144,7 @@ class Schemas {
|
|
|
144
144
|
method: "PATCH",
|
|
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,
|
|
@@ -208,7 +208,7 @@ class Schemas {
|
|
|
208
208
|
method: "GET",
|
|
209
209
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
210
210
|
? yield core.Supplier.get(this._options.version)
|
|
211
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
211
|
+
: 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
212
|
contentType: "application/json",
|
|
213
213
|
requestType: "json",
|
|
214
214
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -268,7 +268,7 @@ class Schemas {
|
|
|
268
268
|
method: "PUT",
|
|
269
269
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
270
270
|
? yield core.Supplier.get(this._options.version)
|
|
271
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
271
|
+
: 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),
|
|
272
272
|
contentType: "application/json",
|
|
273
273
|
requestType: "json",
|
|
274
274
|
body: request,
|
|
@@ -75,7 +75,7 @@ class Connections {
|
|
|
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,
|
|
@@ -132,7 +132,7 @@ class Connections {
|
|
|
132
132
|
method: "GET",
|
|
133
133
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
134
134
|
? yield core.Supplier.get(this._options.version)
|
|
135
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
135
|
+
: 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),
|
|
136
136
|
contentType: "application/json",
|
|
137
137
|
requestType: "json",
|
|
138
138
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -189,7 +189,7 @@ class Connections {
|
|
|
189
189
|
method: "GET",
|
|
190
190
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
191
191
|
? yield core.Supplier.get(this._options.version)
|
|
192
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
192
|
+
: 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),
|
|
193
193
|
contentType: "application/json",
|
|
194
194
|
requestType: "json",
|
|
195
195
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -258,7 +258,7 @@ class Connections {
|
|
|
258
258
|
method: "POST",
|
|
259
259
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
260
260
|
? yield core.Supplier.get(this._options.version)
|
|
261
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
261
|
+
: 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),
|
|
262
262
|
contentType: "application/json",
|
|
263
263
|
requestType: "json",
|
|
264
264
|
body: request,
|
|
@@ -336,7 +336,7 @@ class Connections {
|
|
|
336
336
|
method: "POST",
|
|
337
337
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
338
338
|
? yield core.Supplier.get(this._options.version)
|
|
339
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
339
|
+
: 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
340
|
contentType: "application/json",
|
|
341
341
|
requestType: "json",
|
|
342
342
|
body: request,
|
|
@@ -410,7 +410,7 @@ class Connections {
|
|
|
410
410
|
method: "POST",
|
|
411
411
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
412
412
|
? yield core.Supplier.get(this._options.version)
|
|
413
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
413
|
+
: 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),
|
|
414
414
|
contentType: "application/json",
|
|
415
415
|
requestType: "json",
|
|
416
416
|
body: request,
|
|
@@ -472,7 +472,7 @@ class Connections {
|
|
|
472
472
|
method: "GET",
|
|
473
473
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
474
474
|
? yield core.Supplier.get(this._options.version)
|
|
475
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
475
|
+
: 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),
|
|
476
476
|
contentType: "application/json",
|
|
477
477
|
requestType: "json",
|
|
478
478
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -544,7 +544,7 @@ class Connections {
|
|
|
544
544
|
method: "PUT",
|
|
545
545
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
546
546
|
? yield core.Supplier.get(this._options.version)
|
|
547
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
547
|
+
: 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),
|
|
548
548
|
contentType: "application/json",
|
|
549
549
|
requestType: "json",
|
|
550
550
|
body: request,
|
|
@@ -620,7 +620,7 @@ class Connections {
|
|
|
620
620
|
method: "DELETE",
|
|
621
621
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
622
622
|
? yield core.Supplier.get(this._options.version)
|
|
623
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
623
|
+
: 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),
|
|
624
624
|
contentType: "application/json",
|
|
625
625
|
queryParameters: _queryParams,
|
|
626
626
|
requestType: "json",
|
|
@@ -684,7 +684,7 @@ class Connections {
|
|
|
684
684
|
method: "GET",
|
|
685
685
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
686
686
|
? yield core.Supplier.get(this._options.version)
|
|
687
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
687
|
+
: 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),
|
|
688
688
|
contentType: "application/json",
|
|
689
689
|
requestType: "json",
|
|
690
690
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -98,7 +98,7 @@ class Events {
|
|
|
98
98
|
method: "GET",
|
|
99
99
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
100
100
|
? yield core.Supplier.get(this._options.version)
|
|
101
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
101
|
+
: 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),
|
|
102
102
|
contentType: "application/json",
|
|
103
103
|
queryParameters: _queryParams,
|
|
104
104
|
requestType: "json",
|
|
@@ -155,7 +155,7 @@ class Events {
|
|
|
155
155
|
method: "GET",
|
|
156
156
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
157
157
|
? yield core.Supplier.get(this._options.version)
|
|
158
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
158
|
+
: 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),
|
|
159
159
|
contentType: "application/json",
|
|
160
160
|
requestType: "json",
|
|
161
161
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -77,7 +77,7 @@ class Identity {
|
|
|
77
77
|
method: "GET",
|
|
78
78
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
79
79
|
? yield core.Supplier.get(this._options.version)
|
|
80
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
80
|
+
: 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),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
package/api/resources/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * as modelSync from "./modelSync";
|
|
|
8
8
|
export * as events from "./events";
|
|
9
9
|
export * as jobs from "./jobs";
|
|
10
10
|
export * as identity from "./identity";
|
|
11
|
+
export * as notifications from "./notifications";
|
|
11
12
|
export * as organization from "./organization";
|
|
12
13
|
export * as users from "./users";
|
|
13
14
|
export * as webhooks from "./webhooks";
|
|
@@ -19,6 +20,7 @@ export * from "./schemas/client/requests";
|
|
|
19
20
|
export * from "./models/client/requests";
|
|
20
21
|
export * from "./modelSync/client/requests";
|
|
21
22
|
export * from "./events/client/requests";
|
|
23
|
+
export * from "./notifications/client/requests";
|
|
22
24
|
export * from "./organization/client/requests";
|
|
23
25
|
export * from "./users/client/requests";
|
|
24
26
|
export * from "./webhooks/client/requests";
|
package/api/resources/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.permissions = exports.webhooks = exports.users = exports.organization = exports.identity = exports.jobs = exports.events = exports.modelSync = exports.models = exports.schemas = exports.queryRunner = exports.connections = exports.bulkSync = void 0;
|
|
39
|
+
exports.permissions = exports.webhooks = exports.users = exports.organization = exports.notifications = exports.identity = exports.jobs = exports.events = exports.modelSync = exports.models = exports.schemas = exports.queryRunner = exports.connections = exports.bulkSync = void 0;
|
|
40
40
|
exports.bulkSync = __importStar(require("./bulkSync"));
|
|
41
41
|
__exportStar(require("./bulkSync/types"), exports);
|
|
42
42
|
exports.connections = __importStar(require("./connections"));
|
|
@@ -47,6 +47,7 @@ exports.modelSync = __importStar(require("./modelSync"));
|
|
|
47
47
|
exports.events = __importStar(require("./events"));
|
|
48
48
|
exports.jobs = __importStar(require("./jobs"));
|
|
49
49
|
exports.identity = __importStar(require("./identity"));
|
|
50
|
+
exports.notifications = __importStar(require("./notifications"));
|
|
50
51
|
exports.organization = __importStar(require("./organization"));
|
|
51
52
|
exports.users = __importStar(require("./users"));
|
|
52
53
|
exports.webhooks = __importStar(require("./webhooks"));
|
|
@@ -58,6 +59,7 @@ __exportStar(require("./schemas/client/requests"), exports);
|
|
|
58
59
|
__exportStar(require("./models/client/requests"), exports);
|
|
59
60
|
__exportStar(require("./modelSync/client/requests"), exports);
|
|
60
61
|
__exportStar(require("./events/client/requests"), exports);
|
|
62
|
+
__exportStar(require("./notifications/client/requests"), exports);
|
|
61
63
|
__exportStar(require("./organization/client/requests"), exports);
|
|
62
64
|
__exportStar(require("./users/client/requests"), exports);
|
|
63
65
|
__exportStar(require("./webhooks/client/requests"), exports);
|
|
@@ -79,7 +79,7 @@ class Jobs {
|
|
|
79
79
|
method: "GET",
|
|
80
80
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
81
81
|
? yield core.Supplier.get(this._options.version)
|
|
82
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
82
|
+
: 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
83
|
contentType: "application/json",
|
|
84
84
|
requestType: "json",
|
|
85
85
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|