Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 58f953b

Browse files
authored
Merge pull request #5 from hookdeck/fern-bot/05-07-2024-0622AM
🌿 Fern Regeneration -- May 7, 2024
2 parents ecda54d + 2cf7f9f commit 58f953b

File tree

72 files changed

+563
-227
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+563
-227
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hookdeck/sdk",
3-
"version": "0.1.6",
3+
"version": "0.2.0",
44
"private": false,
55
"repository": "https://github.com/hookdeck/hookdeck-typescript-sdk",
66
"main": "./index.js",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class Attempt {
8383
Authorization: await this._getAuthorizationHeader(),
8484
"X-Fern-Language": "JavaScript",
8585
"X-Fern-SDK-Name": "@hookdeck/sdk",
86-
"X-Fern-SDK-Version": "0.1.6",
86+
"X-Fern-SDK-Version": "0.2.0",
8787
"X-Fern-Runtime": core.RUNTIME.type,
8888
"X-Fern-Runtime-Version": core.RUNTIME.version,
8989
},
@@ -171,7 +171,7 @@ export class Attempt {
171171
Authorization: await this._getAuthorizationHeader(),
172172
"X-Fern-Language": "JavaScript",
173173
"X-Fern-SDK-Name": "@hookdeck/sdk",
174-
"X-Fern-SDK-Version": "0.1.6",
174+
"X-Fern-SDK-Version": "0.2.0",
175175
"X-Fern-Runtime": core.RUNTIME.type,
176176
"X-Fern-Runtime-Version": core.RUNTIME.version,
177177
},

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class Bookmark {
108108
Authorization: await this._getAuthorizationHeader(),
109109
"X-Fern-Language": "JavaScript",
110110
"X-Fern-SDK-Name": "@hookdeck/sdk",
111-
"X-Fern-SDK-Version": "0.1.6",
111+
"X-Fern-SDK-Version": "0.2.0",
112112
"X-Fern-Runtime": core.RUNTIME.type,
113113
"X-Fern-Runtime-Version": core.RUNTIME.version,
114114
},
@@ -198,7 +198,7 @@ export class Bookmark {
198198
Authorization: await this._getAuthorizationHeader(),
199199
"X-Fern-Language": "JavaScript",
200200
"X-Fern-SDK-Name": "@hookdeck/sdk",
201-
"X-Fern-SDK-Version": "0.1.6",
201+
"X-Fern-SDK-Version": "0.2.0",
202202
"X-Fern-Runtime": core.RUNTIME.type,
203203
"X-Fern-Runtime-Version": core.RUNTIME.version,
204204
},
@@ -283,7 +283,7 @@ export class Bookmark {
283283
Authorization: await this._getAuthorizationHeader(),
284284
"X-Fern-Language": "JavaScript",
285285
"X-Fern-SDK-Name": "@hookdeck/sdk",
286-
"X-Fern-SDK-Version": "0.1.6",
286+
"X-Fern-SDK-Version": "0.2.0",
287287
"X-Fern-Runtime": core.RUNTIME.type,
288288
"X-Fern-Runtime-Version": core.RUNTIME.version,
289289
},
@@ -363,7 +363,7 @@ export class Bookmark {
363363
Authorization: await this._getAuthorizationHeader(),
364364
"X-Fern-Language": "JavaScript",
365365
"X-Fern-SDK-Name": "@hookdeck/sdk",
366-
"X-Fern-SDK-Version": "0.1.6",
366+
"X-Fern-SDK-Version": "0.2.0",
367367
"X-Fern-Runtime": core.RUNTIME.type,
368368
"X-Fern-Runtime-Version": core.RUNTIME.version,
369369
},
@@ -461,7 +461,7 @@ export class Bookmark {
461461
Authorization: await this._getAuthorizationHeader(),
462462
"X-Fern-Language": "JavaScript",
463463
"X-Fern-SDK-Name": "@hookdeck/sdk",
464-
"X-Fern-SDK-Version": "0.1.6",
464+
"X-Fern-SDK-Version": "0.2.0",
465465
"X-Fern-Runtime": core.RUNTIME.type,
466466
"X-Fern-Runtime-Version": core.RUNTIME.version,
467467
},
@@ -535,7 +535,7 @@ export class Bookmark {
535535
Authorization: await this._getAuthorizationHeader(),
536536
"X-Fern-Language": "JavaScript",
537537
"X-Fern-SDK-Name": "@hookdeck/sdk",
538-
"X-Fern-SDK-Version": "0.1.6",
538+
"X-Fern-SDK-Version": "0.2.0",
539539
"X-Fern-Runtime": core.RUNTIME.type,
540540
"X-Fern-Runtime-Version": core.RUNTIME.version,
541541
},
@@ -615,7 +615,7 @@ export class Bookmark {
615615
Authorization: await this._getAuthorizationHeader(),
616616
"X-Fern-Language": "JavaScript",
617617
"X-Fern-SDK-Name": "@hookdeck/sdk",
618-
"X-Fern-SDK-Version": "0.1.6",
618+
"X-Fern-SDK-Version": "0.2.0",
619619
"X-Fern-Runtime": core.RUNTIME.type,
620620
"X-Fern-Runtime-Version": core.RUNTIME.version,
621621
},

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export class Connection {
132132
Authorization: await this._getAuthorizationHeader(),
133133
"X-Fern-Language": "JavaScript",
134134
"X-Fern-SDK-Name": "@hookdeck/sdk",
135-
"X-Fern-SDK-Version": "0.1.6",
135+
"X-Fern-SDK-Version": "0.2.0",
136136
"X-Fern-Runtime": core.RUNTIME.type,
137137
"X-Fern-Runtime-Version": core.RUNTIME.version,
138138
},
@@ -218,7 +218,7 @@ export class Connection {
218218
Authorization: await this._getAuthorizationHeader(),
219219
"X-Fern-Language": "JavaScript",
220220
"X-Fern-SDK-Name": "@hookdeck/sdk",
221-
"X-Fern-SDK-Version": "0.1.6",
221+
"X-Fern-SDK-Version": "0.2.0",
222222
"X-Fern-Runtime": core.RUNTIME.type,
223223
"X-Fern-Runtime-Version": core.RUNTIME.version,
224224
},
@@ -304,7 +304,7 @@ export class Connection {
304304
Authorization: await this._getAuthorizationHeader(),
305305
"X-Fern-Language": "JavaScript",
306306
"X-Fern-SDK-Name": "@hookdeck/sdk",
307-
"X-Fern-SDK-Version": "0.1.6",
307+
"X-Fern-SDK-Version": "0.2.0",
308308
"X-Fern-Runtime": core.RUNTIME.type,
309309
"X-Fern-Runtime-Version": core.RUNTIME.version,
310310
},
@@ -421,7 +421,7 @@ export class Connection {
421421
Authorization: await this._getAuthorizationHeader(),
422422
"X-Fern-Language": "JavaScript",
423423
"X-Fern-SDK-Name": "@hookdeck/sdk",
424-
"X-Fern-SDK-Version": "0.1.6",
424+
"X-Fern-SDK-Version": "0.2.0",
425425
"X-Fern-Runtime": core.RUNTIME.type,
426426
"X-Fern-Runtime-Version": core.RUNTIME.version,
427427
},
@@ -506,7 +506,7 @@ export class Connection {
506506
Authorization: await this._getAuthorizationHeader(),
507507
"X-Fern-Language": "JavaScript",
508508
"X-Fern-SDK-Name": "@hookdeck/sdk",
509-
"X-Fern-SDK-Version": "0.1.6",
509+
"X-Fern-SDK-Version": "0.2.0",
510510
"X-Fern-Runtime": core.RUNTIME.type,
511511
"X-Fern-Runtime-Version": core.RUNTIME.version,
512512
},
@@ -586,7 +586,7 @@ export class Connection {
586586
Authorization: await this._getAuthorizationHeader(),
587587
"X-Fern-Language": "JavaScript",
588588
"X-Fern-SDK-Name": "@hookdeck/sdk",
589-
"X-Fern-SDK-Version": "0.1.6",
589+
"X-Fern-SDK-Version": "0.2.0",
590590
"X-Fern-Runtime": core.RUNTIME.type,
591591
"X-Fern-Runtime-Version": core.RUNTIME.version,
592592
},
@@ -684,7 +684,7 @@ export class Connection {
684684
Authorization: await this._getAuthorizationHeader(),
685685
"X-Fern-Language": "JavaScript",
686686
"X-Fern-SDK-Name": "@hookdeck/sdk",
687-
"X-Fern-SDK-Version": "0.1.6",
687+
"X-Fern-SDK-Version": "0.2.0",
688688
"X-Fern-Runtime": core.RUNTIME.type,
689689
"X-Fern-Runtime-Version": core.RUNTIME.version,
690690
},
@@ -758,7 +758,7 @@ export class Connection {
758758
Authorization: await this._getAuthorizationHeader(),
759759
"X-Fern-Language": "JavaScript",
760760
"X-Fern-SDK-Name": "@hookdeck/sdk",
761-
"X-Fern-SDK-Version": "0.1.6",
761+
"X-Fern-SDK-Version": "0.2.0",
762762
"X-Fern-Runtime": core.RUNTIME.type,
763763
"X-Fern-Runtime-Version": core.RUNTIME.version,
764764
},
@@ -832,7 +832,7 @@ export class Connection {
832832
Authorization: await this._getAuthorizationHeader(),
833833
"X-Fern-Language": "JavaScript",
834834
"X-Fern-SDK-Name": "@hookdeck/sdk",
835-
"X-Fern-SDK-Version": "0.1.6",
835+
"X-Fern-SDK-Version": "0.2.0",
836836
"X-Fern-Runtime": core.RUNTIME.type,
837837
"X-Fern-Runtime-Version": core.RUNTIME.version,
838838
},
@@ -906,7 +906,7 @@ export class Connection {
906906
Authorization: await this._getAuthorizationHeader(),
907907
"X-Fern-Language": "JavaScript",
908908
"X-Fern-SDK-Name": "@hookdeck/sdk",
909-
"X-Fern-SDK-Version": "0.1.6",
909+
"X-Fern-SDK-Version": "0.2.0",
910910
"X-Fern-Runtime": core.RUNTIME.type,
911911
"X-Fern-Runtime-Version": core.RUNTIME.version,
912912
},
@@ -980,7 +980,7 @@ export class Connection {
980980
Authorization: await this._getAuthorizationHeader(),
981981
"X-Fern-Language": "JavaScript",
982982
"X-Fern-SDK-Name": "@hookdeck/sdk",
983-
"X-Fern-SDK-Version": "0.1.6",
983+
"X-Fern-SDK-Version": "0.2.0",
984984
"X-Fern-Runtime": core.RUNTIME.type,
985985
"X-Fern-Runtime-Version": core.RUNTIME.version,
986986
},

src/api/resources/connection/types/ConnectionCreateRequestDestinationRateLimitPeriod.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
/**
66
* Period to rate limit attempts
77
*/
8-
export type ConnectionCreateRequestDestinationRateLimitPeriod = "second" | "minute" | "hour";
8+
export type ConnectionCreateRequestDestinationRateLimitPeriod = "second" | "minute" | "hour" | "concurrent";
99

1010
export const ConnectionCreateRequestDestinationRateLimitPeriod = {
1111
Second: "second",
1212
Minute: "minute",
1313
Hour: "hour",
14+
Concurrent: "concurrent",
1415
} as const;

src/api/resources/connection/types/ConnectionUpsertRequestDestinationRateLimitPeriod.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
/**
66
* Period to rate limit attempts
77
*/
8-
export type ConnectionUpsertRequestDestinationRateLimitPeriod = "second" | "minute" | "hour";
8+
export type ConnectionUpsertRequestDestinationRateLimitPeriod = "second" | "minute" | "hour" | "concurrent";
99

1010
export const ConnectionUpsertRequestDestinationRateLimitPeriod = {
1111
Second: "second",
1212
Minute: "minute",
1313
Hour: "hour",
14+
Concurrent: "concurrent",
1415
} as const;

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class CustomDomain {
4242
Authorization: await this._getAuthorizationHeader(),
4343
"X-Fern-Language": "JavaScript",
4444
"X-Fern-SDK-Name": "@hookdeck/sdk",
45-
"X-Fern-SDK-Version": "0.1.6",
45+
"X-Fern-SDK-Version": "0.2.0",
4646
"X-Fern-Runtime": core.RUNTIME.type,
4747
"X-Fern-Runtime-Version": core.RUNTIME.version,
4848
},
@@ -104,7 +104,7 @@ export class CustomDomain {
104104
Authorization: await this._getAuthorizationHeader(),
105105
"X-Fern-Language": "JavaScript",
106106
"X-Fern-SDK-Name": "@hookdeck/sdk",
107-
"X-Fern-SDK-Version": "0.1.6",
107+
"X-Fern-SDK-Version": "0.2.0",
108108
"X-Fern-Runtime": core.RUNTIME.type,
109109
"X-Fern-Runtime-Version": core.RUNTIME.version,
110110
},
@@ -168,7 +168,7 @@ export class CustomDomain {
168168
Authorization: await this._getAuthorizationHeader(),
169169
"X-Fern-Language": "JavaScript",
170170
"X-Fern-SDK-Name": "@hookdeck/sdk",
171-
"X-Fern-SDK-Version": "0.1.6",
171+
"X-Fern-SDK-Version": "0.2.0",
172172
"X-Fern-Runtime": core.RUNTIME.type,
173173
"X-Fern-Runtime-Version": core.RUNTIME.version,
174174
},

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class Destination {
108108
Authorization: await this._getAuthorizationHeader(),
109109
"X-Fern-Language": "JavaScript",
110110
"X-Fern-SDK-Name": "@hookdeck/sdk",
111-
"X-Fern-SDK-Version": "0.1.6",
111+
"X-Fern-SDK-Version": "0.2.0",
112112
"X-Fern-Runtime": core.RUNTIME.type,
113113
"X-Fern-Runtime-Version": core.RUNTIME.version,
114114
},
@@ -196,7 +196,7 @@ export class Destination {
196196
Authorization: await this._getAuthorizationHeader(),
197197
"X-Fern-Language": "JavaScript",
198198
"X-Fern-SDK-Name": "@hookdeck/sdk",
199-
"X-Fern-SDK-Version": "0.1.6",
199+
"X-Fern-SDK-Version": "0.2.0",
200200
"X-Fern-Runtime": core.RUNTIME.type,
201201
"X-Fern-Runtime-Version": core.RUNTIME.version,
202202
},
@@ -284,7 +284,7 @@ export class Destination {
284284
Authorization: await this._getAuthorizationHeader(),
285285
"X-Fern-Language": "JavaScript",
286286
"X-Fern-SDK-Name": "@hookdeck/sdk",
287-
"X-Fern-SDK-Version": "0.1.6",
287+
"X-Fern-SDK-Version": "0.2.0",
288288
"X-Fern-Runtime": core.RUNTIME.type,
289289
"X-Fern-Runtime-Version": core.RUNTIME.version,
290290
},
@@ -369,7 +369,7 @@ export class Destination {
369369
Authorization: await this._getAuthorizationHeader(),
370370
"X-Fern-Language": "JavaScript",
371371
"X-Fern-SDK-Name": "@hookdeck/sdk",
372-
"X-Fern-SDK-Version": "0.1.6",
372+
"X-Fern-SDK-Version": "0.2.0",
373373
"X-Fern-Runtime": core.RUNTIME.type,
374374
"X-Fern-Runtime-Version": core.RUNTIME.version,
375375
},
@@ -449,7 +449,7 @@ export class Destination {
449449
Authorization: await this._getAuthorizationHeader(),
450450
"X-Fern-Language": "JavaScript",
451451
"X-Fern-SDK-Name": "@hookdeck/sdk",
452-
"X-Fern-SDK-Version": "0.1.6",
452+
"X-Fern-SDK-Version": "0.2.0",
453453
"X-Fern-Runtime": core.RUNTIME.type,
454454
"X-Fern-Runtime-Version": core.RUNTIME.version,
455455
},
@@ -547,7 +547,7 @@ export class Destination {
547547
Authorization: await this._getAuthorizationHeader(),
548548
"X-Fern-Language": "JavaScript",
549549
"X-Fern-SDK-Name": "@hookdeck/sdk",
550-
"X-Fern-SDK-Version": "0.1.6",
550+
"X-Fern-SDK-Version": "0.2.0",
551551
"X-Fern-Runtime": core.RUNTIME.type,
552552
"X-Fern-Runtime-Version": core.RUNTIME.version,
553553
},
@@ -621,7 +621,7 @@ export class Destination {
621621
Authorization: await this._getAuthorizationHeader(),
622622
"X-Fern-Language": "JavaScript",
623623
"X-Fern-SDK-Name": "@hookdeck/sdk",
624-
"X-Fern-SDK-Version": "0.1.6",
624+
"X-Fern-SDK-Version": "0.2.0",
625625
"X-Fern-Runtime": core.RUNTIME.type,
626626
"X-Fern-Runtime-Version": core.RUNTIME.version,
627627
},
@@ -695,7 +695,7 @@ export class Destination {
695695
Authorization: await this._getAuthorizationHeader(),
696696
"X-Fern-Language": "JavaScript",
697697
"X-Fern-SDK-Name": "@hookdeck/sdk",
698-
"X-Fern-SDK-Version": "0.1.6",
698+
"X-Fern-SDK-Version": "0.2.0",
699699
"X-Fern-Runtime": core.RUNTIME.type,
700700
"X-Fern-Runtime-Version": core.RUNTIME.version,
701701
},

src/api/resources/destination/types/DestinationCreateRequestRateLimitPeriod.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
/**
66
* Period to rate limit attempts
77
*/
8-
export type DestinationCreateRequestRateLimitPeriod = "second" | "minute" | "hour";
8+
export type DestinationCreateRequestRateLimitPeriod = "second" | "minute" | "hour" | "concurrent";
99

1010
export const DestinationCreateRequestRateLimitPeriod = {
1111
Second: "second",
1212
Minute: "minute",
1313
Hour: "hour",
14+
Concurrent: "concurrent",
1415
} as const;

src/api/resources/destination/types/DestinationUpdateRequestRateLimitPeriod.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
/**
66
* Period to rate limit attempts
77
*/
8-
export type DestinationUpdateRequestRateLimitPeriod = "second" | "minute" | "hour";
8+
export type DestinationUpdateRequestRateLimitPeriod = "second" | "minute" | "hour" | "concurrent";
99

1010
export const DestinationUpdateRequestRateLimitPeriod = {
1111
Second: "second",
1212
Minute: "minute",
1313
Hour: "hour",
14+
Concurrent: "concurrent",
1415
} as const;

0 commit comments

Comments
 (0)