@joai/sdk 0.11.0 → 0.11.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.
package/dist/index.d.mts CHANGED
@@ -1078,6 +1078,7 @@ declare class OrdersResource {
1078
1078
  constructor(http: IHttpService);
1079
1079
  create(data: {
1080
1080
  contactId: string;
1081
+ notes?: string;
1081
1082
  items: OrderItem[];
1082
1083
  }): Promise<IAppResponse<Order>>;
1083
1084
  }
@@ -1237,7 +1238,7 @@ declare class WarpsResource {
1237
1238
  id: string;
1238
1239
  }>>;
1239
1240
  destroy(identifier: string): Promise<IAppResponse<unknown>>;
1240
- execute(identifier: string, inputs: Record<string, any>): Promise<IAppResponse<any>>;
1241
+ execute(identifier: string, inputs: string[], room?: string): Promise<IAppResponse<any>>;
1241
1242
  }
1242
1243
  //#endregion
1243
1244
  //#region src/resources/subscriptions.d.ts
package/dist/index.mjs CHANGED
@@ -592,8 +592,11 @@ var WarpsResource = class {
592
592
  destroy(identifier) {
593
593
  return this.http.delete(`warps/${identifier}`);
594
594
  }
595
- execute(identifier, inputs) {
596
- return this.http.post(`warps/${identifier}/execute`, { inputs });
595
+ execute(identifier, inputs, room) {
596
+ return this.http.post(`warps/${identifier}/execute`, {
597
+ inputs,
598
+ ...room ? { room } : {}
599
+ });
597
600
  }
598
601
  };
599
602
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joai/sdk",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "JoAi public API SDK — build with your AI agents",
5
5
  "license": "MIT",
6
6
  "type": "module",