@synsci/sdk 2.0.58 → 2.0.60
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.
|
@@ -605,7 +605,9 @@ export declare class Wallet extends HeyApiClient {
|
|
|
605
605
|
/**
|
|
606
606
|
* Get purchased wallet and Ace ledger
|
|
607
607
|
*/
|
|
608
|
-
get<ThrowOnError extends boolean = false>(
|
|
608
|
+
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
609
|
+
summary?: "true" | "false";
|
|
610
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SettingsWalletGetResponses, unknown, ThrowOnError, "fields">;
|
|
609
611
|
}
|
|
610
612
|
export declare class Skills extends HeyApiClient {
|
|
611
613
|
/**
|
|
@@ -1087,10 +1087,12 @@ export class Wallet extends HeyApiClient {
|
|
|
1087
1087
|
/**
|
|
1088
1088
|
* Get purchased wallet and Ace ledger
|
|
1089
1089
|
*/
|
|
1090
|
-
get(options) {
|
|
1090
|
+
get(parameters, options) {
|
|
1091
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "summary" }] }]);
|
|
1091
1092
|
return (options?.client ?? this.client).get({
|
|
1092
1093
|
url: "/settings/wallet",
|
|
1093
1094
|
...options,
|
|
1095
|
+
...params,
|
|
1094
1096
|
});
|
|
1095
1097
|
}
|
|
1096
1098
|
}
|
|
@@ -1963,6 +1963,11 @@ export type Model = {
|
|
|
1963
1963
|
};
|
|
1964
1964
|
};
|
|
1965
1965
|
};
|
|
1966
|
+
pricing?: {
|
|
1967
|
+
upstream_provider: "anthropic" | "gemini" | "xai" | "meta" | "openrouter";
|
|
1968
|
+
audited_at?: string;
|
|
1969
|
+
source_url?: string;
|
|
1970
|
+
};
|
|
1966
1971
|
limit: {
|
|
1967
1972
|
context: number;
|
|
1968
1973
|
input?: number;
|
|
@@ -2518,6 +2523,7 @@ export type AccountGetResponses = {
|
|
|
2518
2523
|
type: "personal" | "organization";
|
|
2519
2524
|
legacy: boolean;
|
|
2520
2525
|
} | null;
|
|
2526
|
+
credential_sync?: unknown;
|
|
2521
2527
|
};
|
|
2522
2528
|
};
|
|
2523
2529
|
export type AccountGetResponse = AccountGetResponses[keyof AccountGetResponses];
|
|
@@ -2756,7 +2762,8 @@ export type SettingsCredentialsListResponses = {
|
|
|
2756
2762
|
connected: boolean;
|
|
2757
2763
|
set_fields: Array<string>;
|
|
2758
2764
|
updated_at: string | null;
|
|
2759
|
-
source: "local" | null;
|
|
2765
|
+
source: "local" | "account" | null;
|
|
2766
|
+
organization_id: string | null;
|
|
2760
2767
|
}>;
|
|
2761
2768
|
};
|
|
2762
2769
|
};
|
|
@@ -2790,7 +2797,8 @@ export type SettingsCredentialsRemoveResponses = {
|
|
|
2790
2797
|
connected: boolean;
|
|
2791
2798
|
set_fields: Array<string>;
|
|
2792
2799
|
updated_at: string | null;
|
|
2793
|
-
source: "local" | null;
|
|
2800
|
+
source: "local" | "account" | null;
|
|
2801
|
+
organization_id: string | null;
|
|
2794
2802
|
}>;
|
|
2795
2803
|
};
|
|
2796
2804
|
};
|
|
@@ -2829,7 +2837,8 @@ export type SettingsCredentialsSetResponses = {
|
|
|
2829
2837
|
connected: boolean;
|
|
2830
2838
|
set_fields: Array<string>;
|
|
2831
2839
|
updated_at: string | null;
|
|
2832
|
-
source: "local" | null;
|
|
2840
|
+
source: "local" | "account" | null;
|
|
2841
|
+
organization_id: string | null;
|
|
2833
2842
|
}>;
|
|
2834
2843
|
};
|
|
2835
2844
|
};
|
|
@@ -7381,7 +7390,12 @@ export type SettingsBillingUpdateResponse = SettingsBillingUpdateResponses[keyof
|
|
|
7381
7390
|
export type SettingsWalletGetData = {
|
|
7382
7391
|
body?: never;
|
|
7383
7392
|
path?: never;
|
|
7384
|
-
query?:
|
|
7393
|
+
query?: {
|
|
7394
|
+
/**
|
|
7395
|
+
* Return a fast account summary without ledger history
|
|
7396
|
+
*/
|
|
7397
|
+
summary?: "true" | "false";
|
|
7398
|
+
};
|
|
7385
7399
|
url: "/settings/wallet";
|
|
7386
7400
|
};
|
|
7387
7401
|
export type SettingsWalletGetResponses = {
|