@in.pulse-crm/sdk 2.11.4 → 2.11.5
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.
|
@@ -176,11 +176,19 @@ export interface PaginatedNotificationsResponse {
|
|
|
176
176
|
notifications: AppNotification[];
|
|
177
177
|
totalCount: number;
|
|
178
178
|
}
|
|
179
|
+
export type Frequency = 'ONCE' | 'DAILY' | 'WEEKLY' | 'MONTHLY' | 'YEARLY';
|
|
179
180
|
export interface AutomaticResponseSchedule {
|
|
180
181
|
id?: number;
|
|
181
|
-
|
|
182
|
+
frequency: Frequency;
|
|
183
|
+
daysOfWeek?: number[] | null;
|
|
184
|
+
dayOfMonth?: number | null;
|
|
185
|
+
month?: number | null;
|
|
186
|
+
startDate?: string | null;
|
|
187
|
+
endDate?: string | null;
|
|
182
188
|
startTime: string;
|
|
183
189
|
endTime: string;
|
|
190
|
+
timezone?: string | null;
|
|
191
|
+
dayOfWeek?: number | null;
|
|
184
192
|
}
|
|
185
193
|
export interface AutomaticResponseRule {
|
|
186
194
|
id: number;
|
package/package.json
CHANGED
|
@@ -201,32 +201,45 @@ export interface PaginatedNotificationsResponse {
|
|
|
201
201
|
notifications: AppNotification[];
|
|
202
202
|
totalCount: number;
|
|
203
203
|
}
|
|
204
|
+
export type Frequency = 'ONCE' | 'DAILY' | 'WEEKLY' | 'MONTHLY' | 'YEARLY';
|
|
205
|
+
|
|
204
206
|
export interface AutomaticResponseSchedule {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
id?: number;
|
|
208
|
+
|
|
209
|
+
frequency: Frequency;
|
|
210
|
+
daysOfWeek?: number[] | null;
|
|
211
|
+
dayOfMonth?: number | null;
|
|
212
|
+
month?: number | null;
|
|
213
|
+
|
|
214
|
+
startDate?: string | null;
|
|
215
|
+
endDate?: string | null;
|
|
216
|
+
|
|
217
|
+
startTime: string;
|
|
218
|
+
endTime: string;
|
|
219
|
+
timezone?: string | null;
|
|
220
|
+
|
|
221
|
+
dayOfWeek?: number | null;
|
|
209
222
|
}
|
|
210
223
|
|
|
211
224
|
export interface AutomaticResponseRule {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
225
|
+
id: number;
|
|
226
|
+
name: string;
|
|
227
|
+
message: string;
|
|
228
|
+
isEnabled: boolean;
|
|
229
|
+
isGlobal: boolean;
|
|
230
|
+
cooldownSeconds: number;
|
|
231
|
+
fileId: number | null;
|
|
232
|
+
schedules: AutomaticResponseSchedule[];
|
|
233
|
+
userAssignments: { userId: number }[];
|
|
221
234
|
}
|
|
222
235
|
|
|
223
236
|
export interface AutomaticResponseRuleDTO {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}
|
|
237
|
+
name: string;
|
|
238
|
+
message: string;
|
|
239
|
+
isEnabled: boolean;
|
|
240
|
+
isGlobal: boolean;
|
|
241
|
+
cooldownSeconds: number;
|
|
242
|
+
fileId?: number | null;
|
|
243
|
+
userIds: number[];
|
|
244
|
+
schedules: Omit<AutomaticResponseSchedule, "id">[];
|
|
245
|
+
}
|