@fern-api/venus-api-sdk 0.13.4-3-g1fe7ae7 → 0.13.4-4-g57056d3

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.
Files changed (25) hide show
  1. package/api/resources/organization/client/Client.d.ts +3 -0
  2. package/api/resources/organization/client/Client.js +12 -9
  3. package/api/resources/organization/client/requests/CreateOrganizationRequest.d.ts +2 -0
  4. package/api/resources/organization/client/requests/UpdateOrganizationRequest.d.ts +6 -0
  5. package/api/resources/registry/client/Client.js +3 -3
  6. package/api/resources/user/client/Client.js +2 -2
  7. package/dist/api/resources/organization/client/Client.d.ts +3 -0
  8. package/dist/api/resources/organization/client/Client.js +12 -9
  9. package/dist/api/resources/organization/client/requests/CreateOrganizationRequest.d.ts +2 -0
  10. package/dist/api/resources/organization/client/requests/UpdateOrganizationRequest.d.ts +6 -0
  11. package/dist/api/resources/registry/client/Client.js +3 -3
  12. package/dist/api/resources/user/client/Client.js +2 -2
  13. package/dist/serialization/resources/organization/client/requests/CreateOrganizationRequest.d.ts +1 -0
  14. package/dist/serialization/resources/organization/client/requests/CreateOrganizationRequest.js +1 -0
  15. package/dist/serialization/resources/organization/client/requests/UpdateOrganizationRequest.d.ts +2 -0
  16. package/dist/serialization/resources/organization/client/requests/UpdateOrganizationRequest.js +2 -0
  17. package/dist/version.d.ts +1 -1
  18. package/dist/version.js +1 -1
  19. package/package.json +1 -1
  20. package/serialization/resources/organization/client/requests/CreateOrganizationRequest.d.ts +1 -0
  21. package/serialization/resources/organization/client/requests/CreateOrganizationRequest.js +1 -0
  22. package/serialization/resources/organization/client/requests/UpdateOrganizationRequest.d.ts +2 -0
  23. package/serialization/resources/organization/client/requests/UpdateOrganizationRequest.js +2 -0
  24. package/version.d.ts +1 -1
  25. package/version.js +1 -1
@@ -31,6 +31,7 @@ export declare class Organization {
31
31
  * @example
32
32
  * await client.organization.create({
33
33
  * organizationId: FernVenusApi.OrganizationId("string"),
34
+ * displayName: "string",
34
35
  * artifactReadRequiresToken: true,
35
36
  * enableGithubConnection: true
36
37
  * })
@@ -43,6 +44,8 @@ export declare class Organization {
43
44
  *
44
45
  * @example
45
46
  * await client.organization.update(FernVenusApi.OrganizationId("string"), {
47
+ * displayName: "string",
48
+ * logoUrl: "string",
46
49
  * artifactReadRequiresToken: true,
47
50
  * isWhitelabeled: true,
48
51
  * previewEnabled: true,
@@ -64,6 +64,7 @@ class Organization {
64
64
  * @example
65
65
  * await client.organization.create({
66
66
  * organizationId: FernVenusApi.OrganizationId("string"),
67
+ * displayName: "string",
67
68
  * artifactReadRequiresToken: true,
68
69
  * enableGithubConnection: true
69
70
  * })
@@ -74,7 +75,7 @@ class Organization {
74
75
  const _response = yield core.fetcher({
75
76
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/organizations/create"),
76
77
  method: "POST",
77
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
79
  contentType: "application/json",
79
80
  requestType: "json",
80
81
  body: serializers.CreateOrganizationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -121,6 +122,8 @@ class Organization {
121
122
  *
122
123
  * @example
123
124
  * await client.organization.update(FernVenusApi.OrganizationId("string"), {
125
+ * displayName: "string",
126
+ * logoUrl: "string",
124
127
  * artifactReadRequiresToken: true,
125
128
  * isWhitelabeled: true,
126
129
  * previewEnabled: true,
@@ -142,7 +145,7 @@ class Organization {
142
145
  const _response = yield core.fetcher({
143
146
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/organizations/${encodeURIComponent(serializers.OrganizationId.jsonOrThrow(orgId))}/update`),
144
147
  method: "POST",
145
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
148
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
146
149
  contentType: "application/json",
147
150
  requestType: "json",
148
151
  body: serializers.UpdateOrganizationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -197,7 +200,7 @@ class Organization {
197
200
  const _response = yield core.fetcher({
198
201
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/organizations/${encodeURIComponent(serializers.OrganizationId.jsonOrThrow(orgId))}`),
199
202
  method: "GET",
200
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
203
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
201
204
  contentType: "application/json",
202
205
  queryParameters: _queryParams,
203
206
  requestType: "json",
@@ -249,7 +252,7 @@ class Organization {
249
252
  const _response = yield core.fetcher({
250
253
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/organizations/belongs-to-organization/${encodeURIComponent(serializers.OrganizationId.jsonOrThrow(organizationId))}`),
251
254
  method: "POST",
252
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
255
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
253
256
  contentType: "application/json",
254
257
  requestType: "json",
255
258
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -295,7 +298,7 @@ class Organization {
295
298
  const _response = yield core.fetcher({
296
299
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/organizations/myself"),
297
300
  method: "POST",
298
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
301
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
299
302
  contentType: "application/json",
300
303
  queryParameters: _queryParams,
301
304
  requestType: "json",
@@ -346,7 +349,7 @@ class Organization {
346
349
  const _response = yield core.fetcher({
347
350
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/organizations"),
348
351
  method: "POST",
349
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
352
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
350
353
  contentType: "application/json",
351
354
  requestType: "json",
352
355
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -386,7 +389,7 @@ class Organization {
386
389
  const _response = yield core.fetcher({
387
390
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/organizations/add-user"),
388
391
  method: "POST",
389
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
392
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
390
393
  contentType: "application/json",
391
394
  requestType: "json",
392
395
  body: serializers.AddUserToOrgRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -437,7 +440,7 @@ class Organization {
437
440
  const _response = yield core.fetcher({
438
441
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/organizations/invite"),
439
442
  method: "POST",
440
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
443
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
441
444
  contentType: "application/json",
442
445
  requestType: "json",
443
446
  body: serializers.InviteUserToOrgRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -488,7 +491,7 @@ class Organization {
488
491
  const _response = yield core.fetcher({
489
492
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/organizations/user"),
490
493
  method: "DELETE",
491
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
494
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
492
495
  contentType: "application/json",
493
496
  requestType: "json",
494
497
  body: serializers.RemoveUserFromOrgRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -6,12 +6,14 @@ import * as FernVenusApi from "../../../../index";
6
6
  * @example
7
7
  * {
8
8
  * organizationId: FernVenusApi.OrganizationId("string"),
9
+ * displayName: "string",
9
10
  * artifactReadRequiresToken: true,
10
11
  * enableGithubConnection: true
11
12
  * }
12
13
  */
13
14
  export interface CreateOrganizationRequest {
14
15
  organizationId: FernVenusApi.OrganizationId;
16
+ displayName?: string;
15
17
  /** Defaults to False */
16
18
  artifactReadRequiresToken?: boolean;
17
19
  /**
@@ -4,6 +4,8 @@
4
4
  /**
5
5
  * @example
6
6
  * {
7
+ * displayName: "string",
8
+ * logoUrl: "string",
7
9
  * artifactReadRequiresToken: true,
8
10
  * isWhitelabeled: true,
9
11
  * previewEnabled: true,
@@ -20,6 +22,10 @@
20
22
  * }
21
23
  */
22
24
  export interface UpdateOrganizationRequest {
25
+ /** If not present, does not update value. */
26
+ displayName?: string;
27
+ /** If not present, does not update value. */
28
+ logoUrl?: string;
23
29
  /** If not present, does not update value. */
24
30
  artifactReadRequiresToken?: boolean;
25
31
  /** If not present, does not update value. */
@@ -72,7 +72,7 @@ class Registry {
72
72
  const _response = yield core.fetcher({
73
73
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/registry/generate-tokens"),
74
74
  method: "POST",
75
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
76
  contentType: "application/json",
77
77
  requestType: "json",
78
78
  body: serializers.GenerateRegistryTokensRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -131,7 +131,7 @@ class Registry {
131
131
  const _response = yield core.fetcher({
132
132
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/registry/check-permissions"),
133
133
  method: "POST",
134
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
134
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
135
135
  contentType: "application/json",
136
136
  requestType: "json",
137
137
  body: serializers.CheckRegistryPermissionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -187,7 +187,7 @@ class Registry {
187
187
  const _response = yield core.fetcher({
188
188
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/registry/revoke-token"),
189
189
  method: "POST",
190
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
190
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
191
191
  contentType: "application/json",
192
192
  requestType: "json",
193
193
  body: serializers.RevokeTokenRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -69,7 +69,7 @@ class User {
69
69
  const _response = yield core.fetcher({
70
70
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/users"),
71
71
  method: "GET",
72
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
72
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
73
73
  contentType: "application/json",
74
74
  requestType: "json",
75
75
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -111,7 +111,7 @@ class User {
111
111
  const _response = yield core.fetcher({
112
112
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/users/organizations"),
113
113
  method: "GET",
114
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
114
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
115
115
  contentType: "application/json",
116
116
  queryParameters: _queryParams,
117
117
  requestType: "json",
@@ -31,6 +31,7 @@ export declare class Organization {
31
31
  * @example
32
32
  * await client.organization.create({
33
33
  * organizationId: FernVenusApi.OrganizationId("string"),
34
+ * displayName: "string",
34
35
  * artifactReadRequiresToken: true,
35
36
  * enableGithubConnection: true
36
37
  * })
@@ -43,6 +44,8 @@ export declare class Organization {
43
44
  *
44
45
  * @example
45
46
  * await client.organization.update(FernVenusApi.OrganizationId("string"), {
47
+ * displayName: "string",
48
+ * logoUrl: "string",
46
49
  * artifactReadRequiresToken: true,
47
50
  * isWhitelabeled: true,
48
51
  * previewEnabled: true,
@@ -64,6 +64,7 @@ class Organization {
64
64
  * @example
65
65
  * await client.organization.create({
66
66
  * organizationId: FernVenusApi.OrganizationId("string"),
67
+ * displayName: "string",
67
68
  * artifactReadRequiresToken: true,
68
69
  * enableGithubConnection: true
69
70
  * })
@@ -74,7 +75,7 @@ class Organization {
74
75
  const _response = yield core.fetcher({
75
76
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/organizations/create"),
76
77
  method: "POST",
77
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
79
  contentType: "application/json",
79
80
  requestType: "json",
80
81
  body: serializers.CreateOrganizationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -121,6 +122,8 @@ class Organization {
121
122
  *
122
123
  * @example
123
124
  * await client.organization.update(FernVenusApi.OrganizationId("string"), {
125
+ * displayName: "string",
126
+ * logoUrl: "string",
124
127
  * artifactReadRequiresToken: true,
125
128
  * isWhitelabeled: true,
126
129
  * previewEnabled: true,
@@ -142,7 +145,7 @@ class Organization {
142
145
  const _response = yield core.fetcher({
143
146
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/organizations/${encodeURIComponent(serializers.OrganizationId.jsonOrThrow(orgId))}/update`),
144
147
  method: "POST",
145
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
148
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
146
149
  contentType: "application/json",
147
150
  requestType: "json",
148
151
  body: serializers.UpdateOrganizationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -197,7 +200,7 @@ class Organization {
197
200
  const _response = yield core.fetcher({
198
201
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/organizations/${encodeURIComponent(serializers.OrganizationId.jsonOrThrow(orgId))}`),
199
202
  method: "GET",
200
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
203
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
201
204
  contentType: "application/json",
202
205
  queryParameters: _queryParams,
203
206
  requestType: "json",
@@ -249,7 +252,7 @@ class Organization {
249
252
  const _response = yield core.fetcher({
250
253
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `/organizations/belongs-to-organization/${encodeURIComponent(serializers.OrganizationId.jsonOrThrow(organizationId))}`),
251
254
  method: "POST",
252
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
255
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
253
256
  contentType: "application/json",
254
257
  requestType: "json",
255
258
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -295,7 +298,7 @@ class Organization {
295
298
  const _response = yield core.fetcher({
296
299
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/organizations/myself"),
297
300
  method: "POST",
298
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
301
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
299
302
  contentType: "application/json",
300
303
  queryParameters: _queryParams,
301
304
  requestType: "json",
@@ -346,7 +349,7 @@ class Organization {
346
349
  const _response = yield core.fetcher({
347
350
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/organizations"),
348
351
  method: "POST",
349
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
352
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
350
353
  contentType: "application/json",
351
354
  requestType: "json",
352
355
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -386,7 +389,7 @@ class Organization {
386
389
  const _response = yield core.fetcher({
387
390
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/organizations/add-user"),
388
391
  method: "POST",
389
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
392
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
390
393
  contentType: "application/json",
391
394
  requestType: "json",
392
395
  body: serializers.AddUserToOrgRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -437,7 +440,7 @@ class Organization {
437
440
  const _response = yield core.fetcher({
438
441
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/organizations/invite"),
439
442
  method: "POST",
440
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
443
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
441
444
  contentType: "application/json",
442
445
  requestType: "json",
443
446
  body: serializers.InviteUserToOrgRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -488,7 +491,7 @@ class Organization {
488
491
  const _response = yield core.fetcher({
489
492
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/organizations/user"),
490
493
  method: "DELETE",
491
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
494
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
492
495
  contentType: "application/json",
493
496
  requestType: "json",
494
497
  body: serializers.RemoveUserFromOrgRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -6,12 +6,14 @@ import * as FernVenusApi from "../../../../index";
6
6
  * @example
7
7
  * {
8
8
  * organizationId: FernVenusApi.OrganizationId("string"),
9
+ * displayName: "string",
9
10
  * artifactReadRequiresToken: true,
10
11
  * enableGithubConnection: true
11
12
  * }
12
13
  */
13
14
  export interface CreateOrganizationRequest {
14
15
  organizationId: FernVenusApi.OrganizationId;
16
+ displayName?: string;
15
17
  /** Defaults to False */
16
18
  artifactReadRequiresToken?: boolean;
17
19
  /**
@@ -4,6 +4,8 @@
4
4
  /**
5
5
  * @example
6
6
  * {
7
+ * displayName: "string",
8
+ * logoUrl: "string",
7
9
  * artifactReadRequiresToken: true,
8
10
  * isWhitelabeled: true,
9
11
  * previewEnabled: true,
@@ -20,6 +22,10 @@
20
22
  * }
21
23
  */
22
24
  export interface UpdateOrganizationRequest {
25
+ /** If not present, does not update value. */
26
+ displayName?: string;
27
+ /** If not present, does not update value. */
28
+ logoUrl?: string;
23
29
  /** If not present, does not update value. */
24
30
  artifactReadRequiresToken?: boolean;
25
31
  /** If not present, does not update value. */
@@ -72,7 +72,7 @@ class Registry {
72
72
  const _response = yield core.fetcher({
73
73
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/registry/generate-tokens"),
74
74
  method: "POST",
75
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
76
  contentType: "application/json",
77
77
  requestType: "json",
78
78
  body: serializers.GenerateRegistryTokensRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -131,7 +131,7 @@ class Registry {
131
131
  const _response = yield core.fetcher({
132
132
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/registry/check-permissions"),
133
133
  method: "POST",
134
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
134
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
135
135
  contentType: "application/json",
136
136
  requestType: "json",
137
137
  body: serializers.CheckRegistryPermissionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -187,7 +187,7 @@ class Registry {
187
187
  const _response = yield core.fetcher({
188
188
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/registry/revoke-token"),
189
189
  method: "POST",
190
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
190
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
191
191
  contentType: "application/json",
192
192
  requestType: "json",
193
193
  body: serializers.RevokeTokenRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -69,7 +69,7 @@ class User {
69
69
  const _response = yield core.fetcher({
70
70
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/users"),
71
71
  method: "GET",
72
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
72
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
73
73
  contentType: "application/json",
74
74
  requestType: "json",
75
75
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -111,7 +111,7 @@ class User {
111
111
  const _response = yield core.fetcher({
112
112
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "/users/organizations"),
113
113
  method: "GET",
114
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-3-g1fe7ae7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
114
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@fern-api/venus-api-sdk", "X-Fern-SDK-Version": "0.13.4-4-g57056d3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
115
115
  contentType: "application/json",
116
116
  queryParameters: _queryParams,
117
117
  requestType: "json",
@@ -9,6 +9,7 @@ export declare const CreateOrganizationRequest: core.serialization.Schema<serial
9
9
  export declare namespace CreateOrganizationRequest {
10
10
  interface Raw {
11
11
  organizationId: OrganizationId.Raw;
12
+ displayName?: string | null;
12
13
  artifactReadRequiresToken?: boolean | null;
13
14
  enableGithubConnection?: boolean | null;
14
15
  }
@@ -41,6 +41,7 @@ const core = __importStar(require("../../../../../core"));
41
41
  const OrganizationId_1 = require("../../../commons/types/OrganizationId");
42
42
  exports.CreateOrganizationRequest = core.serialization.object({
43
43
  organizationId: OrganizationId_1.OrganizationId,
44
+ displayName: core.serialization.string().optional(),
44
45
  artifactReadRequiresToken: core.serialization.boolean().optional(),
45
46
  enableGithubConnection: core.serialization.boolean().optional(),
46
47
  });
@@ -7,6 +7,8 @@ import * as core from "../../../../../core";
7
7
  export declare const UpdateOrganizationRequest: core.serialization.Schema<serializers.UpdateOrganizationRequest.Raw, FernVenusApi.UpdateOrganizationRequest>;
8
8
  export declare namespace UpdateOrganizationRequest {
9
9
  interface Raw {
10
+ displayName?: string | null;
11
+ logoUrl?: string | null;
10
12
  artifactReadRequiresToken?: boolean | null;
11
13
  isWhitelabeled?: boolean | null;
12
14
  previewEnabled?: boolean | null;
@@ -39,6 +39,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.UpdateOrganizationRequest = void 0;
40
40
  const core = __importStar(require("../../../../../core"));
41
41
  exports.UpdateOrganizationRequest = core.serialization.object({
42
+ displayName: core.serialization.string().optional(),
43
+ logoUrl: core.serialization.string().optional(),
42
44
  artifactReadRequiresToken: core.serialization.boolean().optional(),
43
45
  isWhitelabeled: core.serialization.boolean().optional(),
44
46
  previewEnabled: core.serialization.boolean().optional(),
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.13.4-3-g1fe7ae7";
1
+ export declare const SDK_VERSION = "0.13.4-4-g57056d3";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.13.4-3-g1fe7ae7";
4
+ exports.SDK_VERSION = "0.13.4-4-g57056d3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/venus-api-sdk",
3
- "version": "0.13.4-3-g1fe7ae7",
3
+ "version": "0.13.4-4-g57056d3",
4
4
  "private": false,
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -9,6 +9,7 @@ export declare const CreateOrganizationRequest: core.serialization.Schema<serial
9
9
  export declare namespace CreateOrganizationRequest {
10
10
  interface Raw {
11
11
  organizationId: OrganizationId.Raw;
12
+ displayName?: string | null;
12
13
  artifactReadRequiresToken?: boolean | null;
13
14
  enableGithubConnection?: boolean | null;
14
15
  }
@@ -41,6 +41,7 @@ const core = __importStar(require("../../../../../core"));
41
41
  const OrganizationId_1 = require("../../../commons/types/OrganizationId");
42
42
  exports.CreateOrganizationRequest = core.serialization.object({
43
43
  organizationId: OrganizationId_1.OrganizationId,
44
+ displayName: core.serialization.string().optional(),
44
45
  artifactReadRequiresToken: core.serialization.boolean().optional(),
45
46
  enableGithubConnection: core.serialization.boolean().optional(),
46
47
  });
@@ -7,6 +7,8 @@ import * as core from "../../../../../core";
7
7
  export declare const UpdateOrganizationRequest: core.serialization.Schema<serializers.UpdateOrganizationRequest.Raw, FernVenusApi.UpdateOrganizationRequest>;
8
8
  export declare namespace UpdateOrganizationRequest {
9
9
  interface Raw {
10
+ displayName?: string | null;
11
+ logoUrl?: string | null;
10
12
  artifactReadRequiresToken?: boolean | null;
11
13
  isWhitelabeled?: boolean | null;
12
14
  previewEnabled?: boolean | null;
@@ -39,6 +39,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.UpdateOrganizationRequest = void 0;
40
40
  const core = __importStar(require("../../../../../core"));
41
41
  exports.UpdateOrganizationRequest = core.serialization.object({
42
+ displayName: core.serialization.string().optional(),
43
+ logoUrl: core.serialization.string().optional(),
42
44
  artifactReadRequiresToken: core.serialization.boolean().optional(),
43
45
  isWhitelabeled: core.serialization.boolean().optional(),
44
46
  previewEnabled: core.serialization.boolean().optional(),
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.13.4-3-g1fe7ae7";
1
+ export declare const SDK_VERSION = "0.13.4-4-g57056d3";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.13.4-3-g1fe7ae7";
4
+ exports.SDK_VERSION = "0.13.4-4-g57056d3";