asteroid-odyssey 1.8.183 → 1.8.193

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/dist/index.d.mts CHANGED
@@ -3538,7 +3538,7 @@ type UsersWhoamiCallerKind = "person" | "api_key" | "service";
3538
3538
  /**
3539
3539
  * The credential that authenticated the request
3540
3540
  */
3541
- type UsersWhoamiCredentialKind = "jwt" | "user_api_key" | "org_api_key";
3541
+ type UsersWhoamiCredentialKind = "jwt" | "user_api_key" | "org_api_key" | "service";
3542
3542
  /**
3543
3543
  * The person a request acts as. Absent for an org key or a service.
3544
3544
  */
@@ -3565,6 +3565,10 @@ type UsersWhoamiWhoamiResponse = {
3565
3565
  apiKeyId?: string;
3566
3566
  credential: UsersWhoamiCredentialKind;
3567
3567
  person?: UsersWhoamiWhoamiPerson;
3568
+ /**
3569
+ * The person a service acts for, such as the owner of an Astro chat. Absent for every other caller, and for a service acting on its own.
3570
+ */
3571
+ onBehalfOf?: CommonUuid;
3568
3572
  };
3569
3573
  /**
3570
3574
  * Request to create a new unpublished version of a workflow
package/dist/index.d.ts CHANGED
@@ -3538,7 +3538,7 @@ type UsersWhoamiCallerKind = "person" | "api_key" | "service";
3538
3538
  /**
3539
3539
  * The credential that authenticated the request
3540
3540
  */
3541
- type UsersWhoamiCredentialKind = "jwt" | "user_api_key" | "org_api_key";
3541
+ type UsersWhoamiCredentialKind = "jwt" | "user_api_key" | "org_api_key" | "service";
3542
3542
  /**
3543
3543
  * The person a request acts as. Absent for an org key or a service.
3544
3544
  */
@@ -3565,6 +3565,10 @@ type UsersWhoamiWhoamiResponse = {
3565
3565
  apiKeyId?: string;
3566
3566
  credential: UsersWhoamiCredentialKind;
3567
3567
  person?: UsersWhoamiWhoamiPerson;
3568
+ /**
3569
+ * The person a service acts for, such as the owner of an Astro chat. Absent for every other caller, and for a service acting on its own.
3570
+ */
3571
+ onBehalfOf?: CommonUuid;
3568
3572
  };
3569
3573
  /**
3570
3574
  * Request to create a new unpublished version of a workflow
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asteroid-odyssey",
3
- "version": "1.8.183",
3
+ "version": "1.8.193",
4
4
  "description": "SDK for interacting with Asteroid Agents API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",