@avallon-labs/sdk 12.1.0 → 12.2.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 +20 -20
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2465,7 +2465,7 @@ type ListCallFeedbackParams = {
|
|
|
2465
2465
|
/**
|
|
2466
2466
|
* @minimum 0
|
|
2467
2467
|
*/
|
|
2468
|
-
offset
|
|
2468
|
+
offset?: number;
|
|
2469
2469
|
sort_by?: ListCallFeedbackSortBy;
|
|
2470
2470
|
sort_order?: ListCallFeedbackSortOrder;
|
|
2471
2471
|
};
|
|
@@ -2596,7 +2596,7 @@ type ListClaimsParams = {
|
|
|
2596
2596
|
/**
|
|
2597
2597
|
* @minimum 0
|
|
2598
2598
|
*/
|
|
2599
|
-
offset
|
|
2599
|
+
offset?: number;
|
|
2600
2600
|
sort_by?: ListClaimsSortBy;
|
|
2601
2601
|
sort_order?: ListClaimsSortOrder;
|
|
2602
2602
|
};
|
|
@@ -2652,7 +2652,7 @@ type ListEmailsParams = {
|
|
|
2652
2652
|
/**
|
|
2653
2653
|
* @minimum 0
|
|
2654
2654
|
*/
|
|
2655
|
-
offset
|
|
2655
|
+
offset?: number;
|
|
2656
2656
|
sort_by?: ListEmailsSortBy;
|
|
2657
2657
|
sort_order?: ListEmailsSortOrder;
|
|
2658
2658
|
};
|
|
@@ -3072,7 +3072,7 @@ type ListWorkersParams = {
|
|
|
3072
3072
|
/**
|
|
3073
3073
|
* @minimum 0
|
|
3074
3074
|
*/
|
|
3075
|
-
offset
|
|
3075
|
+
offset?: number;
|
|
3076
3076
|
sort_by?: ListWorkersSortBy;
|
|
3077
3077
|
sort_order?: ListWorkersSortOrder;
|
|
3078
3078
|
};
|
|
@@ -4215,14 +4215,14 @@ declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
4215
4215
|
* List all feedback for a call. Paginated.
|
|
4216
4216
|
* @summary List feedback for a call
|
|
4217
4217
|
*/
|
|
4218
|
-
declare const getListCallFeedbackUrl: (id: string, params
|
|
4219
|
-
declare const listCallFeedback: (id: string, params
|
|
4220
|
-
declare const getListCallFeedbackKey: (id: string, params
|
|
4218
|
+
declare const getListCallFeedbackUrl: (id: string, params?: ListCallFeedbackParams) => string;
|
|
4219
|
+
declare const listCallFeedback: (id: string, params?: ListCallFeedbackParams, options?: RequestInit) => Promise<Feedback[]>;
|
|
4220
|
+
declare const getListCallFeedbackKey: (id: string, params?: ListCallFeedbackParams) => readonly [`/v1/calls/${string}/feedback`, ...ListCallFeedbackParams[]];
|
|
4221
4221
|
type ListCallFeedbackQueryResult = NonNullable<Awaited<ReturnType<typeof listCallFeedback>>>;
|
|
4222
4222
|
/**
|
|
4223
4223
|
* @summary List feedback for a call
|
|
4224
4224
|
*/
|
|
4225
|
-
declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, params
|
|
4225
|
+
declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCallFeedbackParams, options?: {
|
|
4226
4226
|
swr?: SWRConfiguration<Awaited<ReturnType<typeof listCallFeedback>>, TError> & {
|
|
4227
4227
|
swrKey?: Key;
|
|
4228
4228
|
enabled?: boolean;
|
|
@@ -4406,14 +4406,14 @@ declare const useCreateClaim: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4406
4406
|
* List all claims with pagination and sorting options.
|
|
4407
4407
|
* @summary List claims
|
|
4408
4408
|
*/
|
|
4409
|
-
declare const getListClaimsUrl: (params
|
|
4410
|
-
declare const listClaims: (params
|
|
4411
|
-
declare const getListClaimsKey: (params
|
|
4409
|
+
declare const getListClaimsUrl: (params?: ListClaimsParams) => string;
|
|
4410
|
+
declare const listClaims: (params?: ListClaimsParams, options?: RequestInit) => Promise<ClaimList>;
|
|
4411
|
+
declare const getListClaimsKey: (params?: ListClaimsParams) => readonly ["/v1/claims", ...ListClaimsParams[]];
|
|
4412
4412
|
type ListClaimsQueryResult = NonNullable<Awaited<ReturnType<typeof listClaims>>>;
|
|
4413
4413
|
/**
|
|
4414
4414
|
* @summary List claims
|
|
4415
4415
|
*/
|
|
4416
|
-
declare const useListClaims: <TError = ErrorType<ErrorResponse>>(params
|
|
4416
|
+
declare const useListClaims: <TError = ErrorType<ErrorResponse>>(params?: ListClaimsParams, options?: {
|
|
4417
4417
|
swr?: SWRConfiguration<Awaited<ReturnType<typeof listClaims>>, TError> & {
|
|
4418
4418
|
swrKey?: Key;
|
|
4419
4419
|
enabled?: boolean;
|
|
@@ -4491,14 +4491,14 @@ declare const useCreateEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4491
4491
|
Filter by email agent, sender, recipient, or content search.
|
|
4492
4492
|
* @summary List emails
|
|
4493
4493
|
*/
|
|
4494
|
-
declare const getListEmailsUrl: (params
|
|
4495
|
-
declare const listEmails: (params
|
|
4496
|
-
declare const getListEmailsKey: (params
|
|
4494
|
+
declare const getListEmailsUrl: (params?: ListEmailsParams) => string;
|
|
4495
|
+
declare const listEmails: (params?: ListEmailsParams, options?: RequestInit) => Promise<EmailList>;
|
|
4496
|
+
declare const getListEmailsKey: (params?: ListEmailsParams) => readonly ["/v1/emails", ...ListEmailsParams[]];
|
|
4497
4497
|
type ListEmailsQueryResult = NonNullable<Awaited<ReturnType<typeof listEmails>>>;
|
|
4498
4498
|
/**
|
|
4499
4499
|
* @summary List emails
|
|
4500
4500
|
*/
|
|
4501
|
-
declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params
|
|
4501
|
+
declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEmailsParams, options?: {
|
|
4502
4502
|
swr?: SWRConfiguration<Awaited<ReturnType<typeof listEmails>>, TError> & {
|
|
4503
4503
|
swrKey?: Key;
|
|
4504
4504
|
enabled?: boolean;
|
|
@@ -5847,14 +5847,14 @@ declare const useCreateWorker: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5847
5847
|
Filter by name using the `name` query parameter.
|
|
5848
5848
|
* @summary List workers
|
|
5849
5849
|
*/
|
|
5850
|
-
declare const getListWorkersUrl: (params
|
|
5851
|
-
declare const listWorkers: (params
|
|
5852
|
-
declare const getListWorkersKey: (params
|
|
5850
|
+
declare const getListWorkersUrl: (params?: ListWorkersParams) => string;
|
|
5851
|
+
declare const listWorkers: (params?: ListWorkersParams, options?: RequestInit) => Promise<WorkerList>;
|
|
5852
|
+
declare const getListWorkersKey: (params?: ListWorkersParams) => readonly ["/v1/workers", ...ListWorkersParams[]];
|
|
5853
5853
|
type ListWorkersQueryResult = NonNullable<Awaited<ReturnType<typeof listWorkers>>>;
|
|
5854
5854
|
/**
|
|
5855
5855
|
* @summary List workers
|
|
5856
5856
|
*/
|
|
5857
|
-
declare const useListWorkers: <TError = ErrorType<ErrorResponse>>(params
|
|
5857
|
+
declare const useListWorkers: <TError = ErrorType<ErrorResponse>>(params?: ListWorkersParams, options?: {
|
|
5858
5858
|
swr?: SWRConfiguration<Awaited<ReturnType<typeof listWorkers>>, TError> & {
|
|
5859
5859
|
swrKey?: Key;
|
|
5860
5860
|
enabled?: boolean;
|