@avallon-labs/sdk 38.0.0 → 38.1.0
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 +9 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8428,8 +8428,13 @@ type AwaitedInput$f<T> = PromiseLike<T> | T;
|
|
|
8428
8428
|
type Awaited$f<O> = O extends AwaitedInput$f<infer T> ? T : never;
|
|
8429
8429
|
type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8430
8430
|
/**
|
|
8431
|
-
*
|
|
8432
|
-
|
|
8431
|
+
* **DO NOT USE.** This endpoint is deprecated and will be removed.
|
|
8432
|
+
|
|
8433
|
+
It only writes a standalone email record: nothing is sent, and the record is not linked to an inbox or thread.
|
|
8434
|
+
|
|
8435
|
+
Use `POST /v1/emails/send` to send an email or `POST /v1/emails/{emailId}/reply` to reply to an existing one. Inbound email is recorded automatically when it arrives at an inbox.
|
|
8436
|
+
* @deprecated
|
|
8437
|
+
* @summary Create email (deprecated)
|
|
8433
8438
|
*/
|
|
8434
8439
|
declare const getCreateEmailUrl: () => string;
|
|
8435
8440
|
declare const createEmail: (createEmailBody: CreateEmailBody, options?: RequestInit) => Promise<EmailCreated>;
|
|
@@ -8439,7 +8444,8 @@ declare const getCreateEmailMutationFetcher: (options?: SecondParameter$f<typeof
|
|
|
8439
8444
|
declare const getCreateEmailMutationKey: () => readonly ["/v1/emails"];
|
|
8440
8445
|
type CreateEmailMutationResult = NonNullable<Awaited$f<ReturnType<typeof createEmail>>>;
|
|
8441
8446
|
/**
|
|
8442
|
-
* @
|
|
8447
|
+
* @deprecated
|
|
8448
|
+
* @summary Create email (deprecated)
|
|
8443
8449
|
*/
|
|
8444
8450
|
declare const useCreateEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8445
8451
|
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof createEmail>>, TError, Key, CreateEmailBody, Awaited$f<ReturnType<typeof createEmail>>> & {
|