@kinevolution/appwrite-functions-shared-utils 0.1.60 → 0.1.61
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.
|
@@ -169,3 +169,42 @@ export declare const MatchRequestsToCandidatesConfig: {
|
|
|
169
169
|
export interface MatchRequestsToCandidatesDataType {
|
|
170
170
|
}
|
|
171
171
|
export type MatchRequestsToCandidatesResponse = Response<MatchRequestsToCandidatesDataType>;
|
|
172
|
+
export interface SendNotificationsInput {
|
|
173
|
+
messageId: string;
|
|
174
|
+
title: string;
|
|
175
|
+
body: string;
|
|
176
|
+
user: string;
|
|
177
|
+
data: any;
|
|
178
|
+
scheduledAt: Date;
|
|
179
|
+
}
|
|
180
|
+
export declare const SendNotificationsConfig: {
|
|
181
|
+
method: "POST";
|
|
182
|
+
fields: [{
|
|
183
|
+
readonly key: "messageId";
|
|
184
|
+
readonly type: "string";
|
|
185
|
+
readonly required: true;
|
|
186
|
+
}, {
|
|
187
|
+
readonly key: "title";
|
|
188
|
+
readonly type: "string";
|
|
189
|
+
readonly required: true;
|
|
190
|
+
}, {
|
|
191
|
+
readonly key: "body";
|
|
192
|
+
readonly type: "string";
|
|
193
|
+
readonly required: true;
|
|
194
|
+
}, {
|
|
195
|
+
readonly key: "user";
|
|
196
|
+
readonly type: "string";
|
|
197
|
+
readonly required: true;
|
|
198
|
+
}, {
|
|
199
|
+
readonly key: "data";
|
|
200
|
+
readonly type: "object";
|
|
201
|
+
readonly required: true;
|
|
202
|
+
}, {
|
|
203
|
+
readonly key: "scheduledAt";
|
|
204
|
+
readonly type: "string";
|
|
205
|
+
readonly required: true;
|
|
206
|
+
}];
|
|
207
|
+
};
|
|
208
|
+
export interface SendNotificationsDataType {
|
|
209
|
+
}
|
|
210
|
+
export type SendNotificationsResponse = Response<SendNotificationsDataType>;
|
|
@@ -36,3 +36,14 @@ export const MatchRequestsToCandidatesConfig = {
|
|
|
36
36
|
method: 'POST',
|
|
37
37
|
fields: [],
|
|
38
38
|
};
|
|
39
|
+
export const SendNotificationsConfig = {
|
|
40
|
+
method: 'POST',
|
|
41
|
+
fields: [
|
|
42
|
+
{ key: 'messageId', type: 'string', required: true },
|
|
43
|
+
{ key: 'title', type: 'string', required: true },
|
|
44
|
+
{ key: 'body', type: 'string', required: true },
|
|
45
|
+
{ key: 'user', type: 'string', required: true },
|
|
46
|
+
{ key: 'data', type: 'object', required: true },
|
|
47
|
+
{ key: 'scheduledAt', type: 'string', required: true },
|
|
48
|
+
],
|
|
49
|
+
};
|