@joai/sdk 0.10.0 → 0.10.1

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +4 -3
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -1022,7 +1022,7 @@ declare class OrdersResource {
1022
1022
  type ProductVariation = {
1023
1023
  id: string;
1024
1024
  sku: string;
1025
- name: string;
1025
+ name: TranslatableValue;
1026
1026
  description: string | null;
1027
1027
  price: number;
1028
1028
  badge: string;
@@ -1034,7 +1034,7 @@ type ProductVariation = {
1034
1034
  type ProductItem = {
1035
1035
  id: string;
1036
1036
  slug: string;
1037
- name: string;
1037
+ name: TranslatableValue;
1038
1038
  price: number;
1039
1039
  unit: string;
1040
1040
  tags: string[];
@@ -1051,7 +1051,7 @@ declare class ProductsResource {
1051
1051
  list(): Promise<IAppResponse<ProductItem[]>>;
1052
1052
  get(id: string): Promise<IAppResponse<ProductItem>>;
1053
1053
  create(data: {
1054
- name: string;
1054
+ name: TranslatableValue;
1055
1055
  price: number;
1056
1056
  unit?: string;
1057
1057
  description?: string;
@@ -1174,6 +1174,7 @@ type WarpResponseData = {
1174
1174
  description?: string;
1175
1175
  logo?: string | null;
1176
1176
  } | null;
1177
+ agent?: AgentPrivate | null;
1177
1178
  };
1178
1179
  declare class WarpsResource {
1179
1180
  private readonly http;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joai/sdk",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "JoAi public API SDK — build with your AI agents",
5
5
  "license": "MIT",
6
6
  "type": "module",