polytomic 1.15.2 → 1.16.1
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/api/resources/bulkSync/client/Client.d.ts +13 -0
- package/api/resources/bulkSync/client/Client.js +72 -10
- package/api/resources/bulkSync/resources/executions/client/Client.d.ts +14 -0
- package/api/resources/bulkSync/resources/executions/client/Client.js +68 -5
- package/api/resources/bulkSync/resources/schedules/client/Client.js +5 -5
- package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +14 -0
- package/api/resources/bulkSync/resources/schemas/client/Client.js +67 -4
- package/api/resources/connections/client/Client.d.ts +32 -0
- package/api/resources/connections/client/Client.js +142 -10
- package/api/resources/connections/client/requests/ApiRequest.d.ts +13 -0
- package/api/resources/connections/client/requests/ApiRequest.js +5 -0
- package/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.d.ts +15 -0
- package/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.js +5 -0
- package/api/resources/connections/client/requests/index.d.ts +2 -0
- package/api/resources/events/client/Client.js +2 -2
- package/api/resources/identity/client/Client.js +1 -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.js +2 -2
- 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.d.ts +5 -20
- package/api/resources/users/client/Client.js +21 -26
- package/api/resources/users/client/requests/CreateUserRequestSchema.d.ts +1 -0
- package/api/resources/users/client/requests/UpdateUserRequestSchema.d.ts +1 -0
- package/api/resources/webhooks/client/Client.js +7 -7
- package/api/types/BulkBulkSyncSchedule.d.ts +2 -0
- package/api/types/BulkScheduleSyncMode.d.ts +10 -0
- package/api/types/BulkScheduleSyncMode.js +12 -0
- package/api/types/CancelBulkSyncResponse.d.ts +6 -0
- package/api/types/CancelBulkSyncResponse.js +5 -0
- package/api/types/CancelBulkSyncResponseEnvelope.d.ts +7 -0
- package/api/types/CancelBulkSyncResponseEnvelope.js +5 -0
- package/api/types/ConnectionResponseSchema.d.ts +2 -0
- package/api/types/CreateSharedConnectionResponseSchema.d.ts +6 -0
- package/api/types/CreateSharedConnectionResponseSchema.js +5 -0
- package/api/types/User.d.ts +1 -0
- package/api/types/V2CreateSharedConnectionResponseEnvelope.d.ts +7 -0
- package/api/types/V2CreateSharedConnectionResponseEnvelope.js +5 -0
- package/api/types/index.d.ts +5 -0
- package/api/types/index.js +5 -0
- package/dist/api/resources/bulkSync/client/Client.d.ts +13 -0
- package/dist/api/resources/bulkSync/client/Client.js +72 -10
- package/dist/api/resources/bulkSync/resources/executions/client/Client.d.ts +14 -0
- package/dist/api/resources/bulkSync/resources/executions/client/Client.js +68 -5
- package/dist/api/resources/bulkSync/resources/schedules/client/Client.js +5 -5
- package/dist/api/resources/bulkSync/resources/schemas/client/Client.d.ts +14 -0
- package/dist/api/resources/bulkSync/resources/schemas/client/Client.js +67 -4
- package/dist/api/resources/connections/client/Client.d.ts +32 -0
- package/dist/api/resources/connections/client/Client.js +142 -10
- package/dist/api/resources/connections/client/requests/ApiRequest.d.ts +13 -0
- package/dist/api/resources/connections/client/requests/ApiRequest.js +5 -0
- package/dist/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.d.ts +15 -0
- package/dist/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.js +5 -0
- package/dist/api/resources/connections/client/requests/index.d.ts +2 -0
- package/dist/api/resources/events/client/Client.js +2 -2
- package/dist/api/resources/identity/client/Client.js +1 -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.js +2 -2
- 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.d.ts +5 -20
- package/dist/api/resources/users/client/Client.js +21 -26
- package/dist/api/resources/users/client/requests/CreateUserRequestSchema.d.ts +1 -0
- package/dist/api/resources/users/client/requests/UpdateUserRequestSchema.d.ts +1 -0
- package/dist/api/resources/webhooks/client/Client.js +7 -7
- package/dist/api/types/BulkBulkSyncSchedule.d.ts +2 -0
- package/dist/api/types/BulkScheduleSyncMode.d.ts +10 -0
- package/dist/api/types/BulkScheduleSyncMode.js +12 -0
- package/dist/api/types/CancelBulkSyncResponse.d.ts +6 -0
- package/dist/api/types/CancelBulkSyncResponse.js +5 -0
- package/dist/api/types/CancelBulkSyncResponseEnvelope.d.ts +7 -0
- package/dist/api/types/CancelBulkSyncResponseEnvelope.js +5 -0
- package/dist/api/types/ConnectionResponseSchema.d.ts +2 -0
- package/dist/api/types/CreateSharedConnectionResponseSchema.d.ts +6 -0
- package/dist/api/types/CreateSharedConnectionResponseSchema.js +5 -0
- package/dist/api/types/User.d.ts +1 -0
- package/dist/api/types/V2CreateSharedConnectionResponseEnvelope.d.ts +7 -0
- package/dist/api/types/V2CreateSharedConnectionResponseEnvelope.js +5 -0
- package/dist/api/types/index.d.ts +5 -0
- package/dist/api/types/index.js +5 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +276 -85
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -97,7 +97,7 @@ class Models {
|
|
|
97
97
|
method: "GET",
|
|
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.16.1", "User-Agent": "polytomic/1.16.1", "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",
|
|
@@ -165,7 +165,7 @@ class Models {
|
|
|
165
165
|
method: "POST",
|
|
166
166
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
167
167
|
? yield core.Supplier.get(this._options.version)
|
|
168
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
168
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.1", "User-Agent": "polytomic/1.16.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
169
169
|
contentType: "application/json",
|
|
170
170
|
requestType: "json",
|
|
171
171
|
body: request,
|
|
@@ -241,7 +241,7 @@ class Models {
|
|
|
241
241
|
method: "POST",
|
|
242
242
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
243
243
|
? yield core.Supplier.get(this._options.version)
|
|
244
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
244
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.1", "User-Agent": "polytomic/1.16.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
245
245
|
contentType: "application/json",
|
|
246
246
|
queryParameters: _queryParams,
|
|
247
247
|
requestType: "json",
|
|
@@ -302,7 +302,7 @@ class Models {
|
|
|
302
302
|
method: "GET",
|
|
303
303
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
304
304
|
? yield core.Supplier.get(this._options.version)
|
|
305
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
305
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.1", "User-Agent": "polytomic/1.16.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
306
306
|
contentType: "application/json",
|
|
307
307
|
requestType: "json",
|
|
308
308
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -373,7 +373,7 @@ class Models {
|
|
|
373
373
|
method: "POST",
|
|
374
374
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
375
375
|
? yield core.Supplier.get(this._options.version)
|
|
376
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
376
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.1", "User-Agent": "polytomic/1.16.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
377
377
|
contentType: "application/json",
|
|
378
378
|
queryParameters: _queryParams,
|
|
379
379
|
requestType: "json",
|
|
@@ -442,7 +442,7 @@ class Models {
|
|
|
442
442
|
method: "GET",
|
|
443
443
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
444
444
|
? yield core.Supplier.get(this._options.version)
|
|
445
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
445
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.1", "User-Agent": "polytomic/1.16.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
446
446
|
contentType: "application/json",
|
|
447
447
|
queryParameters: _queryParams,
|
|
448
448
|
requestType: "json",
|
|
@@ -516,7 +516,7 @@ class Models {
|
|
|
516
516
|
method: "PUT",
|
|
517
517
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
518
518
|
? yield core.Supplier.get(this._options.version)
|
|
519
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
519
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.1", "User-Agent": "polytomic/1.16.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
520
520
|
contentType: "application/json",
|
|
521
521
|
queryParameters: _queryParams,
|
|
522
522
|
requestType: "json",
|
|
@@ -586,7 +586,7 @@ class Models {
|
|
|
586
586
|
method: "DELETE",
|
|
587
587
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
588
588
|
? yield core.Supplier.get(this._options.version)
|
|
589
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
589
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.1", "User-Agent": "polytomic/1.16.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
590
590
|
contentType: "application/json",
|
|
591
591
|
queryParameters: _queryParams,
|
|
592
592
|
requestType: "json",
|
|
@@ -657,7 +657,7 @@ class Models {
|
|
|
657
657
|
method: "GET",
|
|
658
658
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
659
659
|
? yield core.Supplier.get(this._options.version)
|
|
660
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
660
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.1", "User-Agent": "polytomic/1.16.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
661
661
|
contentType: "application/json",
|
|
662
662
|
queryParameters: _queryParams,
|
|
663
663
|
requestType: "json",
|
|
@@ -75,7 +75,7 @@ class Notifications {
|
|
|
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.16.1", "User-Agent": "polytomic/1.16.1", "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 Notifications {
|
|
|
132
132
|
method: "PUT",
|
|
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.16.1", "User-Agent": "polytomic/1.16.1", "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
|
body: request,
|
|
@@ -79,7 +79,7 @@ class Organization {
|
|
|
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.16.1", "User-Agent": "polytomic/1.16.1", "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,
|
|
@@ -143,7 +143,7 @@ class Organization {
|
|
|
143
143
|
method: "POST",
|
|
144
144
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
145
145
|
? yield core.Supplier.get(this._options.version)
|
|
146
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
146
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.1", "User-Agent": "polytomic/1.16.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
requestType: "json",
|
|
149
149
|
body: request,
|
|
@@ -208,7 +208,7 @@ class Organization {
|
|
|
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.16.1", "User-Agent": "polytomic/1.16.1", "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,
|
|
@@ -273,7 +273,7 @@ class Organization {
|
|
|
273
273
|
method: "PUT",
|
|
274
274
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
275
275
|
? yield core.Supplier.get(this._options.version)
|
|
276
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
276
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.1", "User-Agent": "polytomic/1.16.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
277
277
|
contentType: "application/json",
|
|
278
278
|
requestType: "json",
|
|
279
279
|
body: request,
|
|
@@ -339,7 +339,7 @@ class Organization {
|
|
|
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.16.1", "User-Agent": "polytomic/1.16.1", "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,
|
|
@@ -75,7 +75,7 @@ class Policies {
|
|
|
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.16.1", "User-Agent": "polytomic/1.16.1", "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 Policies {
|
|
|
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.16.1", "User-Agent": "polytomic/1.16.1", "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,
|
|
@@ -200,7 +200,7 @@ class Policies {
|
|
|
200
200
|
method: "GET",
|
|
201
201
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
202
202
|
? yield core.Supplier.get(this._options.version)
|
|
203
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
203
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.1", "User-Agent": "polytomic/1.16.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
204
204
|
contentType: "application/json",
|
|
205
205
|
requestType: "json",
|
|
206
206
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -264,7 +264,7 @@ class Policies {
|
|
|
264
264
|
method: "PUT",
|
|
265
265
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
266
266
|
? yield core.Supplier.get(this._options.version)
|
|
267
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
267
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.1", "User-Agent": "polytomic/1.16.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
268
268
|
contentType: "application/json",
|
|
269
269
|
requestType: "json",
|
|
270
270
|
body: request,
|
|
@@ -329,7 +329,7 @@ class Policies {
|
|
|
329
329
|
method: "DELETE",
|
|
330
330
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
331
331
|
? yield core.Supplier.get(this._options.version)
|
|
332
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.
|
|
332
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "polytomic", "X-Fern-SDK-Version": "1.16.1", "User-Agent": "polytomic/1.16.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
333
333
|
contentType: "application/json",
|
|
334
334
|
requestType: "json",
|
|
335
335
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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.16.1", "User-Agent": "polytomic/1.16.1", "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
|
*
|