@avallon-labs/sdk 35.2.0-staging.878 → 35.4.0-staging.884

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.ts CHANGED
@@ -442,6 +442,8 @@ interface ApiKey {
442
442
  id: string;
443
443
  /** Human-readable name for the API key */
444
444
  name: string;
445
+ /** Id of the team member the key acts as, as returned by the team endpoint. The owner's role caps the key's effective role, and the key stops working once the owner is removed from the tenant. */
446
+ owner_profile_id: string;
445
447
  /** First 12 characters of the key (e.g. ak_live_abc1) */
446
448
  key_prefix: string;
447
449
  /** Role granted to this API key */
@@ -486,6 +488,8 @@ interface ApiKeyCreated {
486
488
  id: string;
487
489
  /** Human-readable name for the API key */
488
490
  name: string;
491
+ /** Id of the team member the key acts as, as returned by the team endpoint. The owner's role caps the key's effective role, and the key stops working once the owner is removed from the tenant. */
492
+ owner_profile_id: string;
489
493
  /** First 12 characters of the key (e.g. ak_live_abc1) */
490
494
  key_prefix: string;
491
495
  /** Role granted to this API key */
@@ -3337,6 +3341,10 @@ type ListApiKeysParams = {
3337
3341
  * Include revoked keys in the response
3338
3342
  */
3339
3343
  include_revoked?: ListApiKeysIncludeRevoked;
3344
+ /**
3345
+ * Only return keys owned by this team member. Ids come from the team endpoint.
3346
+ */
3347
+ owner_profile_id?: string;
3340
3348
  };
3341
3349
 
3342
3350
  /**
@@ -4864,6 +4872,7 @@ interface RemoveMemberResponse {
4864
4872
  * OpenAPI spec version: 1.0.0
4865
4873
  */
4866
4874
  type ReplyToEmailBodyAttachmentsItem = {
4875
+ type: "base64";
4867
4876
  /**
4868
4877
  * @minLength 1
4869
4878
  * @maxLength 255
@@ -4876,6 +4885,9 @@ type ReplyToEmailBodyAttachmentsItem = {
4876
4885
  content_type: string;
4877
4886
  /** @minLength 1 */
4878
4887
  content_base64: string;
4888
+ } | {
4889
+ type: "artifact";
4890
+ artifact_id: string;
4879
4891
  };
4880
4892
 
4881
4893
  /**
@@ -5013,6 +5025,7 @@ type SecretList = Secret[];
5013
5025
  * OpenAPI spec version: 1.0.0
5014
5026
  */
5015
5027
  type SendEmailBodyAttachmentsItem = {
5028
+ type: "base64";
5016
5029
  /**
5017
5030
  * @minLength 1
5018
5031
  * @maxLength 255
@@ -5025,6 +5038,9 @@ type SendEmailBodyAttachmentsItem = {
5025
5038
  content_type: string;
5026
5039
  /** @minLength 1 */
5027
5040
  content_base64: string;
5041
+ } | {
5042
+ type: "artifact";
5043
+ artifact_id: string;
5028
5044
  };
5029
5045
 
5030
5046
  /**
@@ -7814,8 +7830,6 @@ declare const useListEmailThreads: <TError = ErrorType<ErrorResponse>>(params?:
7814
7830
  Optionally include additional recipients via `to` (merged with the original sender), `cc`, and `bcc` arrays.
7815
7831
 
7816
7832
  The `body` is HTML by default. Set `is_html` to `false` to provide plain text instead; it is converted to HTML before sending.
7817
-
7818
- Attach up to 10 files per request via the `attachments` array, each as a base64-encoded string. The total request body is limited to 6 MB, which leaves roughly 4 MB of decoded attachment data after base64 inflation. Larger requests are rejected with a 413 error.
7819
7833
  * @summary Reply to email
7820
7834
  */
7821
7835
  declare const getReplyToEmailUrl: (emailId: string) => string;
@@ -7851,8 +7865,6 @@ declare const useReplyToEmail: <TError = ErrorType<ErrorResponse>>(emailId: stri
7851
7865
  * Send a new email through an inbox. The provider-assigned thread id is returned and persisted on the stored email row, so subsequent inbound replies on that thread are linked to this send.
7852
7866
 
7853
7867
  The `body` is HTML by default. Set `is_html` to `false` to provide plain text instead; it is converted to HTML before sending.
7854
-
7855
- Attach up to 10 files per request via the `attachments` array, each as a base64-encoded string. The total request body is limited to 6 MB, which leaves roughly 4 MB of decoded attachment data after base64 inflation. Larger requests are rejected with a 413 error.
7856
7868
  * @summary Send email
7857
7869
  */
7858
7870
  declare const getSendEmailUrl: () => string;