@periskope/types 0.6.14-8.1 → 0.6.14-8.2

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.
@@ -124,7 +124,7 @@ export type SendMessageAction = {
124
124
  type: 'image' | 'video' | 'audio' | 'document';
125
125
  name: string;
126
126
  };
127
- maintain_flag_status: boolean;
127
+ maintain_flag_status: 'true' | 'false';
128
128
  };
129
129
  delay: `${number} ${'seconds' | 'minutes' | 'hours' | 'days'}`;
130
130
  };
@@ -142,7 +142,7 @@ export type CreateTicketAction = {
142
142
  delay: `${number} ${'seconds' | 'minutes' | 'hours' | 'days'}`;
143
143
  metadata: {
144
144
  assignee?: string;
145
- priority?: 0 | 1 | 2 | 3 | 4;
145
+ priority?: '0' | '1' | '2' | '3' | '4';
146
146
  label?: string;
147
147
  };
148
148
  };
@@ -150,7 +150,9 @@ export type FlagMessageAction = {
150
150
  id: string;
151
151
  type: 'flag_message';
152
152
  delay: `${number} ${'seconds' | 'minutes' | 'hours' | 'days'}`;
153
- metadata: {};
153
+ metadata: {
154
+ flag: 'true' | 'false';
155
+ };
154
156
  };
155
157
  export type AssignTicketAction = {
156
158
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.148.1",
3
+ "version": "0.6.148.2",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/rules.types.ts CHANGED
@@ -724,7 +724,7 @@ export type SendMessageAction = {
724
724
  type: 'image' | 'video' | 'audio' | 'document';
725
725
  name: string;
726
726
  };
727
- maintain_flag_status: boolean;
727
+ maintain_flag_status: 'true' | 'false';
728
728
  };
729
729
  delay: `${number} ${'seconds' | 'minutes' | 'hours' | 'days'}`;
730
730
  };
@@ -744,7 +744,7 @@ export type CreateTicketAction = {
744
744
  delay: `${number} ${'seconds' | 'minutes' | 'hours' | 'days'}`;
745
745
  metadata: {
746
746
  assignee?: string;
747
- priority?: 0 | 1 | 2 | 3 | 4;
747
+ priority?: '0' | '1' | '2' | '3' | '4';
748
748
  label?: string;
749
749
  };
750
750
  };
@@ -753,7 +753,9 @@ export type FlagMessageAction = {
753
753
  id: string;
754
754
  type: 'flag_message';
755
755
  delay: `${number} ${'seconds' | 'minutes' | 'hours' | 'days'}`;
756
- metadata: {};
756
+ metadata: {
757
+ flag: 'true' | 'false';
758
+ };
757
759
  };
758
760
 
759
761
  export type AssignTicketAction = {