Skip to content

Commit 67daccb

Browse files
Release 1.15.2
1 parent a963927 commit 67daccb

34 files changed

Lines changed: 557 additions & 240 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "polytomic",
3-
"version": "1.14.4",
3+
"version": "1.15.2",
44
"private": false,
55
"repository": "https://github.com/polytomic/polytomic-typescript",
66
"license": "MIT",

reference.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3235,6 +3235,96 @@ await client.identity.get();
32353235
</dl>
32363236
</details>
32373237

3238+
## Notifications
3239+
3240+
<details><summary><code>client.notifications.<a href="/src/api/resources/notifications/client/Client.ts">getGlobalErrorSubscribers</a>() -> Polytomic.V4GlobalErrorSubscribersResponse</code></summary>
3241+
<dl>
3242+
<dd>
3243+
3244+
#### 🔌 Usage
3245+
3246+
<dl>
3247+
<dd>
3248+
3249+
<dl>
3250+
<dd>
3251+
3252+
```typescript
3253+
await client.notifications.getGlobalErrorSubscribers();
3254+
```
3255+
3256+
</dd>
3257+
</dl>
3258+
</dd>
3259+
</dl>
3260+
3261+
#### ⚙️ Parameters
3262+
3263+
<dl>
3264+
<dd>
3265+
3266+
<dl>
3267+
<dd>
3268+
3269+
**requestOptions:** `Notifications.RequestOptions`
3270+
3271+
</dd>
3272+
</dl>
3273+
</dd>
3274+
</dl>
3275+
3276+
</dd>
3277+
</dl>
3278+
</details>
3279+
3280+
<details><summary><code>client.notifications.<a href="/src/api/resources/notifications/client/Client.ts">setGlobalErrorSubscribers</a>({ ...params }) -> Polytomic.V4GlobalErrorSubscribersResponse</code></summary>
3281+
<dl>
3282+
<dd>
3283+
3284+
#### 🔌 Usage
3285+
3286+
<dl>
3287+
<dd>
3288+
3289+
<dl>
3290+
<dd>
3291+
3292+
```typescript
3293+
await client.notifications.setGlobalErrorSubscribers();
3294+
```
3295+
3296+
</dd>
3297+
</dl>
3298+
</dd>
3299+
</dl>
3300+
3301+
#### ⚙️ Parameters
3302+
3303+
<dl>
3304+
<dd>
3305+
3306+
<dl>
3307+
<dd>
3308+
3309+
**request:** `Polytomic.V4GlobalErrorSubscribersRequest`
3310+
3311+
</dd>
3312+
</dl>
3313+
3314+
<dl>
3315+
<dd>
3316+
3317+
**requestOptions:** `Notifications.RequestOptions`
3318+
3319+
</dd>
3320+
</dl>
3321+
</dd>
3322+
</dl>
3323+
3324+
</dd>
3325+
</dl>
3326+
</details>
3327+
32383328
## Organization
32393329

32403330
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">list</a>() -> Polytomic.OrganizationsEnvelope</code></summary>

src/Client.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { ModelSync } from "./api/resources/modelSync/client/Client";
1313
import { Events } from "./api/resources/events/client/Client";
1414
import { Jobs } from "./api/resources/jobs/client/Client";
1515
import { Identity } from "./api/resources/identity/client/Client";
16+
import { Notifications } from "./api/resources/notifications/client/Client";
1617
import { Organization } from "./api/resources/organization/client/Client";
1718
import { Users } from "./api/resources/users/client/Client";
1819
import { Webhooks } from "./api/resources/webhooks/client/Client";
@@ -52,6 +53,7 @@ export class PolytomicClient {
5253
protected _events: Events | undefined;
5354
protected _jobs: Jobs | undefined;
5455
protected _identity: Identity | undefined;
56+
protected _notifications: Notifications | undefined;
5557
protected _organization: Organization | undefined;
5658
protected _users: Users | undefined;
5759
protected _webhooks: Webhooks | undefined;
@@ -95,6 +97,10 @@ export class PolytomicClient {
9597
return (this._identity ??= new Identity(this._options));
9698
}
9799

100+
public get notifications(): Notifications {
101+
return (this._notifications ??= new Notifications(this._options));
102+
}
103+
98104
public get organization(): Organization {
99105
return (this._organization ??= new Organization(this._options));
100106
}

src/api/resources/bulkSync/client/Client.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ export class BulkSync {
9292
: undefined,
9393
"X-Fern-Language": "JavaScript",
9494
"X-Fern-SDK-Name": "polytomic",
95-
"X-Fern-SDK-Version": "1.14.4",
96-
"User-Agent": "polytomic/1.14.4",
95+
"X-Fern-SDK-Version": "1.15.2",
96+
"User-Agent": "polytomic/1.15.2",
9797
"X-Fern-Runtime": core.RUNTIME.type,
9898
"X-Fern-Runtime-Version": core.RUNTIME.version,
9999
...requestOptions?.headers,
@@ -208,8 +208,8 @@ export class BulkSync {
208208
: undefined,
209209
"X-Fern-Language": "JavaScript",
210210
"X-Fern-SDK-Name": "polytomic",
211-
"X-Fern-SDK-Version": "1.14.4",
212-
"User-Agent": "polytomic/1.14.4",
211+
"X-Fern-SDK-Version": "1.15.2",
212+
"User-Agent": "polytomic/1.15.2",
213213
"X-Fern-Runtime": core.RUNTIME.type,
214214
"X-Fern-Runtime-Version": core.RUNTIME.version,
215215
...requestOptions?.headers,
@@ -300,8 +300,8 @@ export class BulkSync {
300300
: undefined,
301301
"X-Fern-Language": "JavaScript",
302302
"X-Fern-SDK-Name": "polytomic",
303-
"X-Fern-SDK-Version": "1.14.4",
304-
"User-Agent": "polytomic/1.14.4",
303+
"X-Fern-SDK-Version": "1.15.2",
304+
"User-Agent": "polytomic/1.15.2",
305305
"X-Fern-Runtime": core.RUNTIME.type,
306306
"X-Fern-Runtime-Version": core.RUNTIME.version,
307307
...requestOptions?.headers,
@@ -395,8 +395,8 @@ export class BulkSync {
395395
: undefined,
396396
"X-Fern-Language": "JavaScript",
397397
"X-Fern-SDK-Name": "polytomic",
398-
"X-Fern-SDK-Version": "1.14.4",
399-
"User-Agent": "polytomic/1.14.4",
398+
"X-Fern-SDK-Version": "1.15.2",
399+
"User-Agent": "polytomic/1.15.2",
400400
"X-Fern-Runtime": core.RUNTIME.type,
401401
"X-Fern-Runtime-Version": core.RUNTIME.version,
402402
...requestOptions?.headers,
@@ -489,8 +489,8 @@ export class BulkSync {
489489
: undefined,
490490
"X-Fern-Language": "JavaScript",
491491
"X-Fern-SDK-Name": "polytomic",
492-
"X-Fern-SDK-Version": "1.14.4",
493-
"User-Agent": "polytomic/1.14.4",
492+
"X-Fern-SDK-Version": "1.15.2",
493+
"User-Agent": "polytomic/1.15.2",
494494
"X-Fern-Runtime": core.RUNTIME.type,
495495
"X-Fern-Runtime-Version": core.RUNTIME.version,
496496
...requestOptions?.headers,
@@ -575,8 +575,8 @@ export class BulkSync {
575575
: undefined,
576576
"X-Fern-Language": "JavaScript",
577577
"X-Fern-SDK-Name": "polytomic",
578-
"X-Fern-SDK-Version": "1.14.4",
579-
"User-Agent": "polytomic/1.14.4",
578+
"X-Fern-SDK-Version": "1.15.2",
579+
"User-Agent": "polytomic/1.15.2",
580580
"X-Fern-Runtime": core.RUNTIME.type,
581581
"X-Fern-Runtime-Version": core.RUNTIME.version,
582582
...requestOptions?.headers,
@@ -660,8 +660,8 @@ export class BulkSync {
660660
: undefined,
661661
"X-Fern-Language": "JavaScript",
662662
"X-Fern-SDK-Name": "polytomic",
663-
"X-Fern-SDK-Version": "1.14.4",
664-
"User-Agent": "polytomic/1.14.4",
663+
"X-Fern-SDK-Version": "1.15.2",
664+
"User-Agent": "polytomic/1.15.2",
665665
"X-Fern-Runtime": core.RUNTIME.type,
666666
"X-Fern-Runtime-Version": core.RUNTIME.version,
667667
...requestOptions?.headers,
@@ -741,8 +741,8 @@ export class BulkSync {
741741
: undefined,
742742
"X-Fern-Language": "JavaScript",
743743
"X-Fern-SDK-Name": "polytomic",
744-
"X-Fern-SDK-Version": "1.14.4",
745-
"User-Agent": "polytomic/1.14.4",
744+
"X-Fern-SDK-Version": "1.15.2",
745+
"User-Agent": "polytomic/1.15.2",
746746
"X-Fern-Runtime": core.RUNTIME.type,
747747
"X-Fern-Runtime-Version": core.RUNTIME.version,
748748
...requestOptions?.headers,
@@ -832,8 +832,8 @@ export class BulkSync {
832832
: undefined,
833833
"X-Fern-Language": "JavaScript",
834834
"X-Fern-SDK-Name": "polytomic",
835-
"X-Fern-SDK-Version": "1.14.4",
836-
"User-Agent": "polytomic/1.14.4",
835+
"X-Fern-SDK-Version": "1.15.2",
836+
"User-Agent": "polytomic/1.15.2",
837837
"X-Fern-Runtime": core.RUNTIME.type,
838838
"X-Fern-Runtime-Version": core.RUNTIME.version,
839839
...requestOptions?.headers,
@@ -916,8 +916,8 @@ export class BulkSync {
916916
: undefined,
917917
"X-Fern-Language": "JavaScript",
918918
"X-Fern-SDK-Name": "polytomic",
919-
"X-Fern-SDK-Version": "1.14.4",
920-
"User-Agent": "polytomic/1.14.4",
919+
"X-Fern-SDK-Version": "1.15.2",
920+
"User-Agent": "polytomic/1.15.2",
921921
"X-Fern-Runtime": core.RUNTIME.type,
922922
"X-Fern-Runtime-Version": core.RUNTIME.version,
923923
...requestOptions?.headers,

src/api/resources/bulkSync/resources/executions/client/Client.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ export class Executions {
8686
: undefined,
8787
"X-Fern-Language": "JavaScript",
8888
"X-Fern-SDK-Name": "polytomic",
89-
"X-Fern-SDK-Version": "1.14.4",
90-
"User-Agent": "polytomic/1.14.4",
89+
"X-Fern-SDK-Version": "1.15.2",
90+
"User-Agent": "polytomic/1.15.2",
9191
"X-Fern-Runtime": core.RUNTIME.type,
9292
"X-Fern-Runtime-Version": core.RUNTIME.version,
9393
...requestOptions?.headers,
@@ -187,8 +187,8 @@ export class Executions {
187187
: undefined,
188188
"X-Fern-Language": "JavaScript",
189189
"X-Fern-SDK-Name": "polytomic",
190-
"X-Fern-SDK-Version": "1.14.4",
191-
"User-Agent": "polytomic/1.14.4",
190+
"X-Fern-SDK-Version": "1.15.2",
191+
"User-Agent": "polytomic/1.15.2",
192192
"X-Fern-Runtime": core.RUNTIME.type,
193193
"X-Fern-Runtime-Version": core.RUNTIME.version,
194194
...requestOptions?.headers,
@@ -267,8 +267,8 @@ export class Executions {
267267
: undefined,
268268
"X-Fern-Language": "JavaScript",
269269
"X-Fern-SDK-Name": "polytomic",
270-
"X-Fern-SDK-Version": "1.14.4",
271-
"User-Agent": "polytomic/1.14.4",
270+
"X-Fern-SDK-Version": "1.15.2",
271+
"User-Agent": "polytomic/1.15.2",
272272
"X-Fern-Runtime": core.RUNTIME.type,
273273
"X-Fern-Runtime-Version": core.RUNTIME.version,
274274
...requestOptions?.headers,
@@ -346,8 +346,8 @@ export class Executions {
346346
: undefined,
347347
"X-Fern-Language": "JavaScript",
348348
"X-Fern-SDK-Name": "polytomic",
349-
"X-Fern-SDK-Version": "1.14.4",
350-
"User-Agent": "polytomic/1.14.4",
349+
"X-Fern-SDK-Version": "1.15.2",
350+
"User-Agent": "polytomic/1.15.2",
351351
"X-Fern-Runtime": core.RUNTIME.type,
352352
"X-Fern-Runtime-Version": core.RUNTIME.version,
353353
...requestOptions?.headers,
@@ -435,8 +435,8 @@ export class Executions {
435435
: undefined,
436436
"X-Fern-Language": "JavaScript",
437437
"X-Fern-SDK-Name": "polytomic",
438-
"X-Fern-SDK-Version": "1.14.4",
439-
"User-Agent": "polytomic/1.14.4",
438+
"X-Fern-SDK-Version": "1.15.2",
439+
"User-Agent": "polytomic/1.15.2",
440440
"X-Fern-Runtime": core.RUNTIME.type,
441441
"X-Fern-Runtime-Version": core.RUNTIME.version,
442442
...requestOptions?.headers,

src/api/resources/bulkSync/resources/schedules/client/Client.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ export class Schedules {
6464
: undefined,
6565
"X-Fern-Language": "JavaScript",
6666
"X-Fern-SDK-Name": "polytomic",
67-
"X-Fern-SDK-Version": "1.14.4",
68-
"User-Agent": "polytomic/1.14.4",
67+
"X-Fern-SDK-Version": "1.15.2",
68+
"User-Agent": "polytomic/1.15.2",
6969
"X-Fern-Runtime": core.RUNTIME.type,
7070
"X-Fern-Runtime-Version": core.RUNTIME.version,
7171
...requestOptions?.headers,
@@ -154,8 +154,8 @@ export class Schedules {
154154
: undefined,
155155
"X-Fern-Language": "JavaScript",
156156
"X-Fern-SDK-Name": "polytomic",
157-
"X-Fern-SDK-Version": "1.14.4",
158-
"User-Agent": "polytomic/1.14.4",
157+
"X-Fern-SDK-Version": "1.15.2",
158+
"User-Agent": "polytomic/1.15.2",
159159
"X-Fern-Runtime": core.RUNTIME.type,
160160
"X-Fern-Runtime-Version": core.RUNTIME.version,
161161
...requestOptions?.headers,
@@ -242,8 +242,8 @@ export class Schedules {
242242
: undefined,
243243
"X-Fern-Language": "JavaScript",
244244
"X-Fern-SDK-Name": "polytomic",
245-
"X-Fern-SDK-Version": "1.14.4",
246-
"User-Agent": "polytomic/1.14.4",
245+
"X-Fern-SDK-Version": "1.15.2",
246+
"User-Agent": "polytomic/1.15.2",
247247
"X-Fern-Runtime": core.RUNTIME.type,
248248
"X-Fern-Runtime-Version": core.RUNTIME.version,
249249
...requestOptions?.headers,
@@ -334,8 +334,8 @@ export class Schedules {
334334
: undefined,
335335
"X-Fern-Language": "JavaScript",
336336
"X-Fern-SDK-Name": "polytomic",
337-
"X-Fern-SDK-Version": "1.14.4",
338-
"User-Agent": "polytomic/1.14.4",
337+
"X-Fern-SDK-Version": "1.15.2",
338+
"User-Agent": "polytomic/1.15.2",
339339
"X-Fern-Runtime": core.RUNTIME.type,
340340
"X-Fern-Runtime-Version": core.RUNTIME.version,
341341
...requestOptions?.headers,
@@ -418,8 +418,8 @@ export class Schedules {
418418
: undefined,
419419
"X-Fern-Language": "JavaScript",
420420
"X-Fern-SDK-Name": "polytomic",
421-
"X-Fern-SDK-Version": "1.14.4",
422-
"User-Agent": "polytomic/1.14.4",
421+
"X-Fern-SDK-Version": "1.15.2",
422+
"User-Agent": "polytomic/1.15.2",
423423
"X-Fern-Runtime": core.RUNTIME.type,
424424
"X-Fern-Runtime-Version": core.RUNTIME.version,
425425
...requestOptions?.headers,

src/api/resources/bulkSync/resources/schemas/client/Client.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ export class Schemas {
7474
: undefined,
7575
"X-Fern-Language": "JavaScript",
7676
"X-Fern-SDK-Name": "polytomic",
77-
"X-Fern-SDK-Version": "1.14.4",
78-
"User-Agent": "polytomic/1.14.4",
77+
"X-Fern-SDK-Version": "1.15.2",
78+
"User-Agent": "polytomic/1.15.2",
7979
"X-Fern-Runtime": core.RUNTIME.type,
8080
"X-Fern-Runtime-Version": core.RUNTIME.version,
8181
...requestOptions?.headers,
@@ -157,8 +157,8 @@ export class Schemas {
157157
: undefined,
158158
"X-Fern-Language": "JavaScript",
159159
"X-Fern-SDK-Name": "polytomic",
160-
"X-Fern-SDK-Version": "1.14.4",
161-
"User-Agent": "polytomic/1.14.4",
160+
"X-Fern-SDK-Version": "1.15.2",
161+
"User-Agent": "polytomic/1.15.2",
162162
"X-Fern-Runtime": core.RUNTIME.type,
163163
"X-Fern-Runtime-Version": core.RUNTIME.version,
164164
...requestOptions?.headers,
@@ -243,8 +243,8 @@ export class Schemas {
243243
: undefined,
244244
"X-Fern-Language": "JavaScript",
245245
"X-Fern-SDK-Name": "polytomic",
246-
"X-Fern-SDK-Version": "1.14.4",
247-
"User-Agent": "polytomic/1.14.4",
246+
"X-Fern-SDK-Version": "1.15.2",
247+
"User-Agent": "polytomic/1.15.2",
248248
"X-Fern-Runtime": core.RUNTIME.type,
249249
"X-Fern-Runtime-Version": core.RUNTIME.version,
250250
...requestOptions?.headers,
@@ -326,8 +326,8 @@ export class Schemas {
326326
: undefined,
327327
"X-Fern-Language": "JavaScript",
328328
"X-Fern-SDK-Name": "polytomic",
329-
"X-Fern-SDK-Version": "1.14.4",
330-
"User-Agent": "polytomic/1.14.4",
329+
"X-Fern-SDK-Version": "1.15.2",
330+
"User-Agent": "polytomic/1.15.2",
331331
"X-Fern-Runtime": core.RUNTIME.type,
332332
"X-Fern-Runtime-Version": core.RUNTIME.version,
333333
...requestOptions?.headers,

0 commit comments

Comments
 (0)