@doctocar/tooling 0.3.1-45 → 0.3.1-48
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/dist/firebase/firestore/enums/index.d.ts +1 -0
- package/dist/firebase/firestore/enums/index.js +1 -0
- package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptChannelStatus.enum.d.ts +0 -1
- package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptChannelStatus.enum.js +0 -1
- package/dist/firebase/firestore/enums/notificationEventDeliveryStates/NotificationEventDeliveryStateStatus.enum.d.ts +4 -0
- package/dist/firebase/firestore/enums/notificationEventDeliveryStates/NotificationEventDeliveryStateStatus.enum.js +8 -0
- package/dist/firebase/firestore/enums/notificationEventDeliveryStates/index.d.ts +1 -0
- package/dist/firebase/firestore/enums/notificationEventDeliveryStates/index.js +17 -0
- package/dist/firebase/firestore/types/notificationEventDeliveryStates/FirestoreNotificationEventDeliveryStateDocument.type.d.ts +3 -0
- package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryAttempts/firestoreNotificationEventDeliveryAttemptDocumentStub.js +3 -3
- package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryStates/firestoreNotificationEventDeliveryStateDocumentStub.d.ts +1 -1
- package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryStates/firestoreNotificationEventDeliveryStateDocumentStub.js +2 -0
- package/package.json +1 -1
|
@@ -25,6 +25,7 @@ export * from "./entityMembers";
|
|
|
25
25
|
export * from "./paymentProviders";
|
|
26
26
|
export * from "./agreements";
|
|
27
27
|
export * from "./notificationEventDeliveryAttempts";
|
|
28
|
+
export * from "./notificationEventDeliveryStates";
|
|
28
29
|
export * from "./serviceProviderUsers";
|
|
29
30
|
export * from "./customers";
|
|
30
31
|
export * from "./legal";
|
|
@@ -41,6 +41,7 @@ __exportStar(require("./entityMembers"), exports);
|
|
|
41
41
|
__exportStar(require("./paymentProviders"), exports);
|
|
42
42
|
__exportStar(require("./agreements"), exports);
|
|
43
43
|
__exportStar(require("./notificationEventDeliveryAttempts"), exports);
|
|
44
|
+
__exportStar(require("./notificationEventDeliveryStates"), exports);
|
|
44
45
|
__exportStar(require("./serviceProviderUsers"), exports);
|
|
45
46
|
__exportStar(require("./customers"), exports);
|
|
46
47
|
__exportStar(require("./legal"), exports);
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NotificationEventDeliveryAttemptChannelStatus = void 0;
|
|
4
4
|
var NotificationEventDeliveryAttemptChannelStatus;
|
|
5
5
|
(function (NotificationEventDeliveryAttemptChannelStatus) {
|
|
6
|
-
NotificationEventDeliveryAttemptChannelStatus["PROCESSING"] = "PROCESSING";
|
|
7
6
|
NotificationEventDeliveryAttemptChannelStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
8
7
|
NotificationEventDeliveryAttemptChannelStatus["FAILED"] = "FAILED";
|
|
9
8
|
NotificationEventDeliveryAttemptChannelStatus["SKIPPED"] = "SKIPPED";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationEventDeliveryStateStatus = void 0;
|
|
4
|
+
var NotificationEventDeliveryStateStatus;
|
|
5
|
+
(function (NotificationEventDeliveryStateStatus) {
|
|
6
|
+
NotificationEventDeliveryStateStatus["IDLE"] = "IDLE";
|
|
7
|
+
NotificationEventDeliveryStateStatus["PROCESSING"] = "PROCESSING";
|
|
8
|
+
})(NotificationEventDeliveryStateStatus || (exports.NotificationEventDeliveryStateStatus = NotificationEventDeliveryStateStatus = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./NotificationEventDeliveryStateStatus.enum";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./NotificationEventDeliveryStateStatus.enum"), exports);
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type { NotificationEventDeliveryStateStatus } from "../../enums";
|
|
1
2
|
import type { FirestoreTimestamp } from "../FirestoreTimestamp.type";
|
|
2
3
|
export type FirestoreNotificationEventDeliveryStateDocument = {
|
|
3
4
|
createdAt: FirestoreTimestamp;
|
|
4
5
|
updatedAt: FirestoreTimestamp;
|
|
6
|
+
status: NotificationEventDeliveryStateStatus;
|
|
7
|
+
processingStartedAt?: FirestoreTimestamp;
|
|
5
8
|
lastSentAt?: FirestoreTimestamp;
|
|
6
9
|
sentCount?: number;
|
|
7
10
|
ttlExpiration?: FirestoreTimestamp;
|
|
@@ -10,13 +10,13 @@ function firestoreNotificationEventDeliveryAttemptDocumentStub(overwrite = {}) {
|
|
|
10
10
|
status: notificationEventDeliveryAttempts_1.NotificationEventDeliveryAttemptStatus.PROCESSING,
|
|
11
11
|
channels: {
|
|
12
12
|
email: {
|
|
13
|
-
status: notificationEventDeliveryAttempts_1.NotificationEventDeliveryAttemptChannelStatus.
|
|
13
|
+
status: notificationEventDeliveryAttempts_1.NotificationEventDeliveryAttemptChannelStatus.SUCCEEDED,
|
|
14
14
|
},
|
|
15
15
|
push: {
|
|
16
|
-
status: notificationEventDeliveryAttempts_1.NotificationEventDeliveryAttemptChannelStatus.
|
|
16
|
+
status: notificationEventDeliveryAttempts_1.NotificationEventDeliveryAttemptChannelStatus.SUCCEEDED,
|
|
17
17
|
},
|
|
18
18
|
sms: {
|
|
19
|
-
status: notificationEventDeliveryAttempts_1.NotificationEventDeliveryAttemptChannelStatus.
|
|
19
|
+
status: notificationEventDeliveryAttempts_1.NotificationEventDeliveryAttemptChannelStatus.SUCCEEDED,
|
|
20
20
|
},
|
|
21
21
|
},
|
|
22
22
|
...overwrite,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type FirestoreNotificationEventDeliveryStateDocument } from "../../../types";
|
|
2
2
|
export declare function firestoreNotificationEventDeliveryStateDocumentStub(overwrite?: Partial<FirestoreNotificationEventDeliveryStateDocument>): FirestoreNotificationEventDeliveryStateDocument;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.firestoreNotificationEventDeliveryStateDocumentStub = firestoreNotificationEventDeliveryStateDocumentStub;
|
|
4
|
+
const enums_1 = require("../../../enums");
|
|
4
5
|
const firestoreTimestampStub_1 = require("../firestoreTimestampStub");
|
|
5
6
|
function firestoreNotificationEventDeliveryStateDocumentStub(overwrite = {}) {
|
|
6
7
|
return {
|
|
7
8
|
createdAt: (0, firestoreTimestampStub_1.firestoreTimestampStub)(),
|
|
8
9
|
updatedAt: (0, firestoreTimestampStub_1.firestoreTimestampStub)(),
|
|
10
|
+
status: enums_1.NotificationEventDeliveryStateStatus.IDLE,
|
|
9
11
|
lastSentAt: (0, firestoreTimestampStub_1.firestoreTimestampStub)(),
|
|
10
12
|
sentCount: 0,
|
|
11
13
|
...overwrite,
|