@little-samo/samo-ai-sdk 0.1.0-rv8 → 0.1.0-rv9
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.
|
@@ -7,6 +7,7 @@ export declare const LocationEventType: {
|
|
|
7
7
|
readonly UserLeave: "UserLeave";
|
|
8
8
|
readonly AddMessage: "AddMessage";
|
|
9
9
|
readonly RenderingUpdated: "RenderingUpdated";
|
|
10
|
+
readonly PauseUpdateUntilUpdated: "PauseUpdateUntilUpdated";
|
|
10
11
|
};
|
|
11
12
|
export type LocationEventType = (typeof LocationEventType)[keyof typeof LocationEventType];
|
|
12
13
|
export interface LocationEventDtoBase {
|
|
@@ -14,10 +15,6 @@ export interface LocationEventDtoBase {
|
|
|
14
15
|
userIds?: UserId[];
|
|
15
16
|
type: LocationEventType;
|
|
16
17
|
}
|
|
17
|
-
export interface LocationRenderingUpdatedEventDto extends LocationEventDtoBase {
|
|
18
|
-
type: typeof LocationEventType.RenderingUpdated;
|
|
19
|
-
rendering: string | null;
|
|
20
|
-
}
|
|
21
18
|
export interface LocationAgentExecutionEventDto extends LocationEventDtoBase {
|
|
22
19
|
type: typeof LocationEventType.AgentExecution;
|
|
23
20
|
name: string;
|
|
@@ -34,4 +31,13 @@ export interface LocationAddMessageEventDto extends LocationEventDtoBase {
|
|
|
34
31
|
type: typeof LocationEventType.AddMessage;
|
|
35
32
|
message: LocationMessageDto;
|
|
36
33
|
}
|
|
37
|
-
export
|
|
34
|
+
export interface LocationRenderingUpdatedEventDto extends LocationEventDtoBase {
|
|
35
|
+
type: typeof LocationEventType.RenderingUpdated;
|
|
36
|
+
rendering: string | null;
|
|
37
|
+
}
|
|
38
|
+
export interface LocationPauseUpdateUntilUpdatedEventDto extends LocationEventDtoBase {
|
|
39
|
+
type: typeof LocationEventType.PauseUpdateUntilUpdated;
|
|
40
|
+
pauseUpdateUntil: Date | null;
|
|
41
|
+
pauseUpdateReason: string | null;
|
|
42
|
+
}
|
|
43
|
+
export type LocationEventDto = LocationAgentExecutionEventDto | LocationUserJoinEventDto | LocationUserLeaveEventDto | LocationAddMessageEventDto | LocationRenderingUpdatedEventDto | LocationPauseUpdateUntilUpdatedEventDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.events.js","sourceRoot":"","sources":["../../../src/dto/locations/location.events.ts"],"names":[],"mappings":";;;AAMa,QAAA,iBAAiB,GAAG;IAC/B,cAAc,EAAE,gBAAgB;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,gBAAgB,EAAE,kBAAkB;
|
|
1
|
+
{"version":3,"file":"location.events.js","sourceRoot":"","sources":["../../../src/dto/locations/location.events.ts"],"names":[],"mappings":";;;AAMa,QAAA,iBAAiB,GAAG;IAC/B,cAAc,EAAE,gBAAgB;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,gBAAgB,EAAE,kBAAkB;IACpC,uBAAuB,EAAE,yBAAyB;CAC1C,CAAC"}
|