@omnara/sdk 0.1.9 → 0.1.11

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.
@@ -94,6 +94,7 @@ import {
94
94
  zListOrgApiKeysResponse2,
95
95
  zListOrgInvitationsResponse2,
96
96
  zListOrgMembersResponse2,
97
+ zListOrganizationsResponse2,
97
98
  zListPendingInvitationsResponse,
98
99
  zListPersonalAccessTokensResponse2,
99
100
  zListProjectAvailableSecretsResponse,
@@ -145,7 +146,7 @@ import {
145
146
  zUpdateSecretResponse,
146
147
  zUpdateSkillResponse,
147
148
  zUploadDaemonArtifactResponse
148
- } from "./chunk-6NNNQM73.js";
149
+ } from "./chunk-Q3PRWGZO.js";
149
150
 
150
151
  // src/generated/core/bodySerializer.gen.ts
151
152
  var serializeFormDataPair = (data, key, value) => {
@@ -1054,6 +1055,7 @@ __export(sdk_gen_exports, {
1054
1055
  listOrgApiKeys: () => listOrgApiKeys,
1055
1056
  listOrgInvitations: () => listOrgInvitations,
1056
1057
  listOrgMembers: () => listOrgMembers,
1058
+ listOrganizations: () => listOrganizations,
1057
1059
  listPendingInvitations: () => listPendingInvitations,
1058
1060
  listPersonalAccessTokens: () => listPersonalAccessTokens,
1059
1061
  listProjectAvailableSecrets: () => listProjectAvailableSecrets,
@@ -1178,6 +1180,20 @@ var recordMachineFailure = (options) => (options.client ?? client).post({
1178
1180
  ...options.headers
1179
1181
  }
1180
1182
  });
1183
+ var listOrganizations = (options) => (options?.client ?? client).get({
1184
+ responseValidator: relaxedResponseValidator(zListOrganizationsResponse2),
1185
+ security: [{
1186
+ key: "bearerAuth",
1187
+ scheme: "bearer",
1188
+ type: "http"
1189
+ }, {
1190
+ in: "cookie",
1191
+ name: "__Host-omnara_session",
1192
+ type: "apiKey"
1193
+ }],
1194
+ url: "/orgs",
1195
+ ...options
1196
+ });
1181
1197
  var createOrganization = (options) => (options.client ?? client).post({
1182
1198
  responseValidator: relaxedResponseValidator(zCreateOrganizationResponse2),
1183
1199
  security: [
@@ -3566,6 +3582,7 @@ export {
3566
3582
  revokePersonalAccessToken,
3567
3583
  bootstrapDaemon,
3568
3584
  recordMachineFailure,
3585
+ listOrganizations,
3569
3586
  createOrganization,
3570
3587
  deleteOrganization,
3571
3588
  deleteCurrentUser,
@@ -3705,4 +3722,4 @@ export {
3705
3722
  downloadDaemonArtifact,
3706
3723
  sdk_gen_exports
3707
3724
  };
3708
- //# sourceMappingURL=chunk-HCB2J76N.js.map
3725
+ //# sourceMappingURL=chunk-WLZ7DY3C.js.map