@in.pulse-crm/sdk 2.8.5 → 2.8.7
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.
- package/.prettierrc +4 -4
- package/dist/files.client.d.ts +2 -0
- package/dist/types/files.types.d.ts +2 -0
- package/dist/types/whatsapp.types.d.ts +3 -0
- package/package.json +1 -1
- package/src/types/whatsapp.types.ts +3 -0
- package/tsconfig.json +16 -16
package/.prettierrc
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"tabWidth": 4,
|
|
3
|
-
"useTabs": true
|
|
4
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"tabWidth": 4,
|
|
3
|
+
"useTabs": true
|
|
4
|
+
}
|
package/dist/files.client.d.ts
CHANGED
|
@@ -93,6 +93,7 @@ export declare enum WppChatPriority {
|
|
|
93
93
|
export type WppChatWithDetails = WppChat & {
|
|
94
94
|
contact: WppContact | null;
|
|
95
95
|
customer: Customer | null;
|
|
96
|
+
schedule: WppSchedule | null;
|
|
96
97
|
};
|
|
97
98
|
export type WppChatsAndMessages = {
|
|
98
99
|
chats: WppChatWithDetails[];
|
|
@@ -139,5 +140,7 @@ export interface Schedule {
|
|
|
139
140
|
scheduleDate: string;
|
|
140
141
|
scheduledBy: number;
|
|
141
142
|
scheduledFor: number;
|
|
143
|
+
scheduledAt: string;
|
|
144
|
+
chatId: number | null;
|
|
142
145
|
contact: WppContact;
|
|
143
146
|
}
|
package/package.json
CHANGED
|
@@ -112,6 +112,7 @@ export enum WppChatPriority {
|
|
|
112
112
|
export type WppChatWithDetails = WppChat & {
|
|
113
113
|
contact: WppContact | null;
|
|
114
114
|
customer: Customer | null;
|
|
115
|
+
schedule: WppSchedule | null;
|
|
115
116
|
};
|
|
116
117
|
export type WppChatsAndMessages = {
|
|
117
118
|
chats: WppChatWithDetails[];
|
|
@@ -161,5 +162,7 @@ export interface Schedule {
|
|
|
161
162
|
scheduleDate: string;
|
|
162
163
|
scheduledBy: number;
|
|
163
164
|
scheduledFor: number;
|
|
165
|
+
scheduledAt: string;
|
|
166
|
+
chatId: number | null;
|
|
164
167
|
contact: WppContact;
|
|
165
168
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "es2022" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
|
|
4
|
-
"module": "commonjs" /* Specify what module code is generated. */,
|
|
5
|
-
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
|
|
6
|
-
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
|
|
7
|
-
"strict": true /* Enable all strict type-checking options. */,
|
|
8
|
-
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
|
|
9
|
-
"noUnusedLocals": false,
|
|
10
|
-
"outDir": "./dist", /* Redirect output structure to the directory. */
|
|
11
|
-
"declaration": true
|
|
12
|
-
},
|
|
13
|
-
"include": [
|
|
14
|
-
"src/index.ts",
|
|
15
|
-
"src/**/*.{ts}"
|
|
16
|
-
]
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es2022" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
|
|
4
|
+
"module": "commonjs" /* Specify what module code is generated. */,
|
|
5
|
+
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
|
|
6
|
+
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
|
|
7
|
+
"strict": true /* Enable all strict type-checking options. */,
|
|
8
|
+
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
|
|
9
|
+
"noUnusedLocals": false,
|
|
10
|
+
"outDir": "./dist", /* Redirect output structure to the directory. */
|
|
11
|
+
"declaration": true
|
|
12
|
+
},
|
|
13
|
+
"include": [
|
|
14
|
+
"src/index.ts",
|
|
15
|
+
"src/**/*.{ts}"
|
|
16
|
+
]
|
|
17
17
|
}
|