aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dist/message.d.ts35
1 files changed, 35 insertions, 0 deletions
diff --git a/dist/message.d.ts b/dist/message.d.ts
new file mode 100644
index 0000000..6e6ba48
--- /dev/null
+++ b/dist/message.d.ts
@@ -0,0 +1,35 @@
+import { ActivityManager } from "./activity-manager";
+import { Service } from "./service";
+
+export declare class Message {
+ // @todo Need to "palmbus"
+ public constructor(message: any, handle: any, activityManager: ActivityManager, service: Service);
+
+ public readonly activityManager: ActivityManager;
+
+ public readonly category: string;
+
+ // @todo Need to "palmbus"
+ public readonly handle: any;
+
+ public readonly isSubscription: boolean;
+
+ public readonly ls2Message: any;
+
+ // @todo Need to "palmbus"
+ public readonly method: string;
+
+ public readonly payload: Record<string, any>;
+
+ public readonly sender: string;
+
+ public readonly service: Service;
+
+ public readonly token: string;
+
+ public readonly uniqueToken: string;
+
+ public cancel(response: Record<string, any>): void;
+
+ public respond(response: Record<string, any>): boolean;
+}