@doctocar/tooling 0.3.1-44 → 0.3.1-47

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.
Files changed (14) hide show
  1. package/dist/firebase/firestore/enums/index.d.ts +1 -0
  2. package/dist/firebase/firestore/enums/index.js +1 -0
  3. package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptChannelStatus.enum.d.ts +2 -1
  4. package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptChannelStatus.enum.js +1 -0
  5. package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptStatus.enum.d.ts +2 -1
  6. package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptStatus.enum.js +1 -0
  7. package/dist/firebase/firestore/enums/notificationEventDeliveryStates/NotificationEventDeliveryStateStatus.enum.d.ts +4 -0
  8. package/dist/firebase/firestore/enums/notificationEventDeliveryStates/NotificationEventDeliveryStateStatus.enum.js +8 -0
  9. package/dist/firebase/firestore/enums/notificationEventDeliveryStates/index.d.ts +1 -0
  10. package/dist/firebase/firestore/enums/notificationEventDeliveryStates/index.js +17 -0
  11. package/dist/firebase/firestore/types/notificationEventDeliveryStates/FirestoreNotificationEventDeliveryStateDocument.type.d.ts +3 -0
  12. package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryStates/firestoreNotificationEventDeliveryStateDocumentStub.d.ts +1 -1
  13. package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryStates/firestoreNotificationEventDeliveryStateDocumentStub.js +2 -0
  14. 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);
@@ -1,5 +1,6 @@
1
1
  export declare enum NotificationEventDeliveryAttemptChannelStatus {
2
2
  PROCESSING = "PROCESSING",
3
3
  SUCCEEDED = "SUCCEEDED",
4
- FAILED = "FAILED"
4
+ FAILED = "FAILED",
5
+ SKIPPED = "SKIPPED"
5
6
  }
@@ -6,4 +6,5 @@ var NotificationEventDeliveryAttemptChannelStatus;
6
6
  NotificationEventDeliveryAttemptChannelStatus["PROCESSING"] = "PROCESSING";
7
7
  NotificationEventDeliveryAttemptChannelStatus["SUCCEEDED"] = "SUCCEEDED";
8
8
  NotificationEventDeliveryAttemptChannelStatus["FAILED"] = "FAILED";
9
+ NotificationEventDeliveryAttemptChannelStatus["SKIPPED"] = "SKIPPED";
9
10
  })(NotificationEventDeliveryAttemptChannelStatus || (exports.NotificationEventDeliveryAttemptChannelStatus = NotificationEventDeliveryAttemptChannelStatus = {}));
@@ -1,5 +1,6 @@
1
1
  export declare enum NotificationEventDeliveryAttemptStatus {
2
2
  PROCESSING = "PROCESSING",
3
3
  SUCCEEDED = "SUCCEEDED",
4
- FAILED = "FAILED"
4
+ FAILED = "FAILED",
5
+ SKIPPED = "SKIPPED"
5
6
  }
@@ -6,4 +6,5 @@ var NotificationEventDeliveryAttemptStatus;
6
6
  NotificationEventDeliveryAttemptStatus["PROCESSING"] = "PROCESSING";
7
7
  NotificationEventDeliveryAttemptStatus["SUCCEEDED"] = "SUCCEEDED";
8
8
  NotificationEventDeliveryAttemptStatus["FAILED"] = "FAILED";
9
+ NotificationEventDeliveryAttemptStatus["SKIPPED"] = "SKIPPED";
9
10
  })(NotificationEventDeliveryAttemptStatus || (exports.NotificationEventDeliveryAttemptStatus = NotificationEventDeliveryAttemptStatus = {}));
@@ -0,0 +1,4 @@
1
+ export declare enum NotificationEventDeliveryStateStatus {
2
+ IDLE = "IDLE",
3
+ PROCESSING = "PROCESSING"
4
+ }
@@ -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;
@@ -1,2 +1,2 @@
1
- import type { FirestoreNotificationEventDeliveryStateDocument } from "../../../types";
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doctocar/tooling",
3
- "version": "0.3.1-44",
3
+ "version": "0.3.1-47",
4
4
  "description": "A set of tools for DoctoCar projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",