@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.
@@ -18,4 +18,6 @@ export interface LocationListItemDto extends LocationPublicDto {
18
18
  agentIds: AgentId[];
19
19
  userIds: UserId[];
20
20
  gimmickCount: number;
21
+ pauseUpdateUntil: Date | null;
22
+ pauseUpdateReason: string | null;
21
23
  }
@@ -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 type LocationEventDto = LocationRenderingUpdatedEventDto | LocationAgentExecutionEventDto | LocationUserJoinEventDto | LocationUserLeaveEventDto | LocationAddMessageEventDto;
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;
@@ -7,5 +7,6 @@ exports.LocationEventType = {
7
7
  UserLeave: 'UserLeave',
8
8
  AddMessage: 'AddMessage',
9
9
  RenderingUpdated: 'RenderingUpdated',
10
+ PauseUpdateUntilUpdated: 'PauseUpdateUntilUpdated',
10
11
  };
11
12
  //# sourceMappingURL=location.events.js.map
@@ -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;CAC5B,CAAC"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@little-samo/samo-ai-sdk",
3
- "version": "0.1.0-rv8",
3
+ "version": "0.1.0-rv9",
4
4
  "description": "SamoAI SDK",
5
5
  "license": "MIT",
6
6
  "repository": {