@doctocar/tooling 0.3.1-42 → 0.3.1-44

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 (48) hide show
  1. package/dist/firebase/firestore/enums/FirestoreCollections.enum.d.ts +2 -1
  2. package/dist/firebase/firestore/enums/FirestoreCollections.enum.js +2 -1
  3. package/dist/firebase/firestore/enums/index.d.ts +1 -1
  4. package/dist/firebase/firestore/enums/index.js +1 -1
  5. package/dist/firebase/firestore/enums/notificationEvent/NotificationEventDeliveryAttemptChannelStatus.enum.d.ts +5 -0
  6. package/dist/firebase/firestore/enums/notificationEvent/NotificationEventDeliveryAttemptChannelStatus.enum.js +9 -0
  7. package/dist/firebase/firestore/enums/notificationEvent/NotificationEventDeliveryAttemptStatus.enum.d.ts +5 -0
  8. package/dist/firebase/firestore/enums/notificationEvent/NotificationEventDeliveryAttemptStatus.enum.js +9 -0
  9. package/dist/firebase/firestore/enums/notificationEvent/index.d.ts +2 -1
  10. package/dist/firebase/firestore/enums/notificationEvent/index.js +2 -1
  11. package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptChannelStatus.enum.d.ts +5 -0
  12. package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptChannelStatus.enum.js +9 -0
  13. package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptStatus.enum.d.ts +5 -0
  14. package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptStatus.enum.js +9 -0
  15. package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/index.d.ts +2 -0
  16. package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/index.js +18 -0
  17. package/dist/firebase/firestore/maps/FirestoreCollectionDocumentTypeMap.d.ts +3 -2
  18. package/dist/firebase/firestore/types/index.d.ts +2 -1
  19. package/dist/firebase/firestore/types/index.js +2 -1
  20. package/dist/firebase/firestore/types/notificationEvent/FirestoreNotificationEventDeliveryAttemptDocument.type.d.ts +22 -0
  21. package/dist/firebase/firestore/types/notificationEvent/FirestoreNotificationEventDeliveryAttemptDocument.type.js +2 -0
  22. package/dist/firebase/firestore/types/notificationEvent/FirestoreNotificationEventDeliveryStateDocument.type.d.ts +0 -2
  23. package/dist/firebase/firestore/types/notificationEvent/index.d.ts +2 -1
  24. package/dist/firebase/firestore/types/notificationEvent/index.js +2 -1
  25. package/dist/firebase/firestore/types/notificationEventDeliveryAttempts/FirestoreNotificationEventDeliveryAttemptDocument.type.d.ts +22 -0
  26. package/dist/firebase/firestore/types/notificationEventDeliveryAttempts/FirestoreNotificationEventDeliveryAttemptDocument.type.js +2 -0
  27. package/dist/firebase/firestore/types/notificationEventDeliveryAttempts/index.d.ts +1 -0
  28. package/dist/firebase/firestore/types/notificationEventDeliveryAttempts/index.js +17 -0
  29. package/dist/firebase/firestore/types/notificationEventDeliveryStates/FirestoreNotificationEventDeliveryStateDocument.type.d.ts +8 -0
  30. package/dist/firebase/firestore/types/notificationEventDeliveryStates/FirestoreNotificationEventDeliveryStateDocument.type.js +2 -0
  31. package/dist/firebase/firestore/types/notificationEventDeliveryStates/index.d.ts +1 -0
  32. package/dist/firebase/firestore/types/notificationEventDeliveryStates/index.js +17 -0
  33. package/dist/firebase/firestore/utils/stubs/index.d.ts +2 -1
  34. package/dist/firebase/firestore/utils/stubs/index.js +2 -1
  35. package/dist/firebase/firestore/utils/stubs/notificationEvent/firestoreNotificationEventDeliveryAttemptDocumentStub.d.ts +2 -0
  36. package/dist/firebase/firestore/utils/stubs/notificationEvent/firestoreNotificationEventDeliveryAttemptDocumentStub.js +24 -0
  37. package/dist/firebase/firestore/utils/stubs/notificationEvent/firestoreNotificationEventDeliveryStateDocumentStub.js +0 -2
  38. package/dist/firebase/firestore/utils/stubs/notificationEvent/index.d.ts +2 -1
  39. package/dist/firebase/firestore/utils/stubs/notificationEvent/index.js +2 -1
  40. package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryAttempts/firestoreNotificationEventDeliveryAttemptDocumentStub.d.ts +2 -0
  41. package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryAttempts/firestoreNotificationEventDeliveryAttemptDocumentStub.js +24 -0
  42. package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryAttempts/index.d.ts +1 -0
  43. package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryAttempts/index.js +17 -0
  44. package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryStates/firestoreNotificationEventDeliveryStateDocumentStub.d.ts +2 -0
  45. package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryStates/firestoreNotificationEventDeliveryStateDocumentStub.js +13 -0
  46. package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryStates/index.d.ts +1 -0
  47. package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryStates/index.js +17 -0
  48. package/package.json +1 -1
@@ -28,7 +28,8 @@ export declare enum FirestoreCollections {
28
28
  PROMO_CODES = "promo_codes",
29
29
  PROMO_CODE_REDEMPTIONS = "promo_code_redemptions",
30
30
  COUNTERS = "counters",
31
- NOTIFICATION_EVENT_CHANNEL_DELIVERY_RECORDS = "notification_event_channel_delivery_records",
31
+ NOTIFICATION_EVENT_DELIVERY_STATES = "notification_event_delivery_states",
32
+ NOTIFICATION_EVENT_DELIVERY_ATTEMPTS = "notification_event_delivery_attempts",
32
33
  WALLETS = "wallets",
33
34
  WALLETS_LEDGER_ENTRIES = "wallets_ledger_entries",
34
35
  WALLETS_WITHDRAWAL_INTENTS = "wallets_withdrawal_intents",
@@ -32,7 +32,8 @@ var FirestoreCollections;
32
32
  FirestoreCollections["PROMO_CODES"] = "promo_codes";
33
33
  FirestoreCollections["PROMO_CODE_REDEMPTIONS"] = "promo_code_redemptions";
34
34
  FirestoreCollections["COUNTERS"] = "counters";
35
- FirestoreCollections["NOTIFICATION_EVENT_CHANNEL_DELIVERY_RECORDS"] = "notification_event_channel_delivery_records";
35
+ FirestoreCollections["NOTIFICATION_EVENT_DELIVERY_STATES"] = "notification_event_delivery_states";
36
+ FirestoreCollections["NOTIFICATION_EVENT_DELIVERY_ATTEMPTS"] = "notification_event_delivery_attempts";
36
37
  FirestoreCollections["WALLETS"] = "wallets";
37
38
  FirestoreCollections["WALLETS_LEDGER_ENTRIES"] = "wallets_ledger_entries";
38
39
  FirestoreCollections["WALLETS_WITHDRAWAL_INTENTS"] = "wallets_withdrawal_intents";
@@ -24,7 +24,7 @@ export * from "./entities";
24
24
  export * from "./entityMembers";
25
25
  export * from "./paymentProviders";
26
26
  export * from "./agreements";
27
- export * from "./notificationEvent";
27
+ export * from "./notificationEventDeliveryAttempts";
28
28
  export * from "./serviceProviderUsers";
29
29
  export * from "./customers";
30
30
  export * from "./legal";
@@ -40,7 +40,7 @@ __exportStar(require("./entities"), exports);
40
40
  __exportStar(require("./entityMembers"), exports);
41
41
  __exportStar(require("./paymentProviders"), exports);
42
42
  __exportStar(require("./agreements"), exports);
43
- __exportStar(require("./notificationEvent"), exports);
43
+ __exportStar(require("./notificationEventDeliveryAttempts"), exports);
44
44
  __exportStar(require("./serviceProviderUsers"), exports);
45
45
  __exportStar(require("./customers"), exports);
46
46
  __exportStar(require("./legal"), exports);
@@ -0,0 +1,5 @@
1
+ export declare enum NotificationEventDeliveryAttemptChannelStatus {
2
+ PROCESSING = "PROCESSING",
3
+ SUCCEEDED = "SUCCEEDED",
4
+ FAILED = "FAILED"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotificationEventDeliveryAttemptChannelStatus = void 0;
4
+ var NotificationEventDeliveryAttemptChannelStatus;
5
+ (function (NotificationEventDeliveryAttemptChannelStatus) {
6
+ NotificationEventDeliveryAttemptChannelStatus["PROCESSING"] = "PROCESSING";
7
+ NotificationEventDeliveryAttemptChannelStatus["SUCCEEDED"] = "SUCCEEDED";
8
+ NotificationEventDeliveryAttemptChannelStatus["FAILED"] = "FAILED";
9
+ })(NotificationEventDeliveryAttemptChannelStatus || (exports.NotificationEventDeliveryAttemptChannelStatus = NotificationEventDeliveryAttemptChannelStatus = {}));
@@ -0,0 +1,5 @@
1
+ export declare enum NotificationEventDeliveryAttemptStatus {
2
+ PROCESSING = "PROCESSING",
3
+ SUCCEEDED = "SUCCEEDED",
4
+ FAILED = "FAILED"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotificationEventDeliveryAttemptStatus = void 0;
4
+ var NotificationEventDeliveryAttemptStatus;
5
+ (function (NotificationEventDeliveryAttemptStatus) {
6
+ NotificationEventDeliveryAttemptStatus["PROCESSING"] = "PROCESSING";
7
+ NotificationEventDeliveryAttemptStatus["SUCCEEDED"] = "SUCCEEDED";
8
+ NotificationEventDeliveryAttemptStatus["FAILED"] = "FAILED";
9
+ })(NotificationEventDeliveryAttemptStatus || (exports.NotificationEventDeliveryAttemptStatus = NotificationEventDeliveryAttemptStatus = {}));
@@ -1 +1,2 @@
1
- export * from "./NotificationEventChannelDeliveryRecordStatus.enum";
1
+ export * from "./NotificationEventDeliveryAttemptChannelStatus.enum";
2
+ export * from "./NotificationEventDeliveryAttemptStatus.enum";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./NotificationEventChannelDeliveryRecordStatus.enum"), exports);
17
+ __exportStar(require("./NotificationEventDeliveryAttemptChannelStatus.enum"), exports);
18
+ __exportStar(require("./NotificationEventDeliveryAttemptStatus.enum"), exports);
@@ -0,0 +1,5 @@
1
+ export declare enum NotificationEventDeliveryAttemptChannelStatus {
2
+ PROCESSING = "PROCESSING",
3
+ SUCCEEDED = "SUCCEEDED",
4
+ FAILED = "FAILED"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotificationEventDeliveryAttemptChannelStatus = void 0;
4
+ var NotificationEventDeliveryAttemptChannelStatus;
5
+ (function (NotificationEventDeliveryAttemptChannelStatus) {
6
+ NotificationEventDeliveryAttemptChannelStatus["PROCESSING"] = "PROCESSING";
7
+ NotificationEventDeliveryAttemptChannelStatus["SUCCEEDED"] = "SUCCEEDED";
8
+ NotificationEventDeliveryAttemptChannelStatus["FAILED"] = "FAILED";
9
+ })(NotificationEventDeliveryAttemptChannelStatus || (exports.NotificationEventDeliveryAttemptChannelStatus = NotificationEventDeliveryAttemptChannelStatus = {}));
@@ -0,0 +1,5 @@
1
+ export declare enum NotificationEventDeliveryAttemptStatus {
2
+ PROCESSING = "PROCESSING",
3
+ SUCCEEDED = "SUCCEEDED",
4
+ FAILED = "FAILED"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotificationEventDeliveryAttemptStatus = void 0;
4
+ var NotificationEventDeliveryAttemptStatus;
5
+ (function (NotificationEventDeliveryAttemptStatus) {
6
+ NotificationEventDeliveryAttemptStatus["PROCESSING"] = "PROCESSING";
7
+ NotificationEventDeliveryAttemptStatus["SUCCEEDED"] = "SUCCEEDED";
8
+ NotificationEventDeliveryAttemptStatus["FAILED"] = "FAILED";
9
+ })(NotificationEventDeliveryAttemptStatus || (exports.NotificationEventDeliveryAttemptStatus = NotificationEventDeliveryAttemptStatus = {}));
@@ -0,0 +1,2 @@
1
+ export * from "./NotificationEventDeliveryAttemptChannelStatus.enum";
2
+ export * from "./NotificationEventDeliveryAttemptStatus.enum";
@@ -0,0 +1,18 @@
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("./NotificationEventDeliveryAttemptChannelStatus.enum"), exports);
18
+ __exportStar(require("./NotificationEventDeliveryAttemptStatus.enum"), exports);
@@ -1,5 +1,5 @@
1
1
  import { FirestoreCollections } from "../enums";
2
- import type { FirestoreBookedSlotDocument, FirestoreDailyMetricsDocument, FirestoreDebugPublicConfigDocument, FirestoreDeviceTokenDocument, FirestoreEmailsBlacklistDocument, FirestoreEmailsSoftBounceDocument, FirestoreEntityDocument, FirestoreEntityMemberDocument, FirestoreEntityMemberInviteDocument, FirestoreEntityUniqueKeyDocument, FirestoreFunctionsDeploymentRunsDocument, FirestoreGlobalMetricsDocument, FirestoreInvoiceCounterDocument, FirestoreMarketplaceFinancialReportsDocument, FirestoreMessageDocument, FirestoreNotificationEventChannelDeliveryRecordDocument, FirestoreNotificationEventsPublicConfigDocument, FirestoreOnTaskExecutionStateDocument, FirestoreOrderDocument, FirestoreOrderIssueDocument, FirestoreOrderRefundIntentDocument, FirestoreOrderReviewDocument, FirestoreOrdersPublicConfigDocument, FirestorePaymentIntentDocument, FirestorePlatformPublicConfigDocument, FirestorePricingPublicConfigDocument, FirestoreServiceProviderUserPublicDocument, FirestorePromoCodeDocument, FirestorePromoCodeRedemptionDocument, FirestoreRateLimitDocument, FirestoreServicesPublicConfigDocument, FirestoreSlotDocument, FirestoreUserDocument, FirestoreUserUploadRateLimitDocument, FirestoreVehicleDocument, FirestorePlatformBalancesDocument, FirestorePlatformBalancesLedgerEntryDocument, FirestoreWalletsDocument, FirestoreWalletsLedgerEntryDocument, FirestoreWalletsWithdrawalIntentsDocument } from "../types";
2
+ import type { FirestoreBookedSlotDocument, FirestoreDailyMetricsDocument, FirestoreDebugPublicConfigDocument, FirestoreDeviceTokenDocument, FirestoreEmailsBlacklistDocument, FirestoreEmailsSoftBounceDocument, FirestoreEntityDocument, FirestoreEntityMemberDocument, FirestoreEntityMemberInviteDocument, FirestoreEntityUniqueKeyDocument, FirestoreFunctionsDeploymentRunsDocument, FirestoreGlobalMetricsDocument, FirestoreInvoiceCounterDocument, FirestoreMarketplaceFinancialReportsDocument, FirestoreMessageDocument, FirestoreNotificationEventDeliveryStateDocument, FirestoreNotificationEventDeliveryAttemptDocument, FirestoreNotificationEventsPublicConfigDocument, FirestoreOnTaskExecutionStateDocument, FirestoreOrderDocument, FirestoreOrderIssueDocument, FirestoreOrderRefundIntentDocument, FirestoreOrderReviewDocument, FirestoreOrdersPublicConfigDocument, FirestorePaymentIntentDocument, FirestorePlatformPublicConfigDocument, FirestorePricingPublicConfigDocument, FirestoreServiceProviderUserPublicDocument, FirestorePromoCodeDocument, FirestorePromoCodeRedemptionDocument, FirestoreRateLimitDocument, FirestoreServicesPublicConfigDocument, FirestoreSlotDocument, FirestoreUserDocument, FirestoreUserUploadRateLimitDocument, FirestoreVehicleDocument, FirestorePlatformBalancesDocument, FirestorePlatformBalancesLedgerEntryDocument, FirestoreWalletsDocument, FirestoreWalletsLedgerEntryDocument, FirestoreWalletsWithdrawalIntentsDocument } from "../types";
3
3
  type FirestoreCollectionDocumentTypeMapBase = {
4
4
  [FirestoreCollections.USERS]: FirestoreUserDocument;
5
5
  [FirestoreCollections.DEVICE_TOKENS]: FirestoreDeviceTokenDocument;
@@ -31,7 +31,8 @@ type FirestoreCollectionDocumentTypeMapBase = {
31
31
  [FirestoreCollections.PROMO_CODES]: FirestorePromoCodeDocument;
32
32
  [FirestoreCollections.PROMO_CODE_REDEMPTIONS]: FirestorePromoCodeRedemptionDocument;
33
33
  [FirestoreCollections.COUNTERS]: FirestoreInvoiceCounterDocument;
34
- [FirestoreCollections.NOTIFICATION_EVENT_CHANNEL_DELIVERY_RECORDS]: FirestoreNotificationEventChannelDeliveryRecordDocument;
34
+ [FirestoreCollections.NOTIFICATION_EVENT_DELIVERY_STATES]: FirestoreNotificationEventDeliveryStateDocument;
35
+ [FirestoreCollections.NOTIFICATION_EVENT_DELIVERY_ATTEMPTS]: FirestoreNotificationEventDeliveryAttemptDocument;
35
36
  [FirestoreCollections.FUNCTIONS_DEPLOYMENT_RUNS]: FirestoreFunctionsDeploymentRunsDocument;
36
37
  [FirestoreCollections.MARKETPLACE_FINANCIAL_REPORTS]: FirestoreMarketplaceFinancialReportsDocument;
37
38
  [FirestoreCollections.ENTITIES]: FirestoreEntityDocument;
@@ -27,7 +27,8 @@ export * from "./counters";
27
27
  export * from "./deviceTokens";
28
28
  export * from "./image";
29
29
  export * from "./userUploadRateLimitDocument";
30
- export * from "./notificationEvent";
30
+ export * from "./notificationEventDeliveryStates";
31
+ export * from "./notificationEventDeliveryAttempts";
31
32
  export * from "./wallets";
32
33
  export * from "./walletsLedgerEntryDocument";
33
34
  export * from "./walletsWithdrawalIntents";
@@ -43,7 +43,8 @@ __exportStar(require("./counters"), exports);
43
43
  __exportStar(require("./deviceTokens"), exports);
44
44
  __exportStar(require("./image"), exports);
45
45
  __exportStar(require("./userUploadRateLimitDocument"), exports);
46
- __exportStar(require("./notificationEvent"), exports);
46
+ __exportStar(require("./notificationEventDeliveryStates"), exports);
47
+ __exportStar(require("./notificationEventDeliveryAttempts"), exports);
47
48
  __exportStar(require("./wallets"), exports);
48
49
  __exportStar(require("./walletsLedgerEntryDocument"), exports);
49
50
  __exportStar(require("./walletsWithdrawalIntents"), exports);
@@ -0,0 +1,22 @@
1
+ import type { NotificationEventDeliveryAttemptChannelStatus, NotificationEventDeliveryAttemptStatus } from "../../enums";
2
+ import type { FirestoreTimestamp } from "../FirestoreTimestamp.type";
3
+ export type FirestoreNotificationEventDeliveryAttemptDocument = {
4
+ createdAt: FirestoreTimestamp;
5
+ updatedAt: FirestoreTimestamp;
6
+ status: NotificationEventDeliveryAttemptStatus;
7
+ channels: {
8
+ email?: {
9
+ status: NotificationEventDeliveryAttemptChannelStatus;
10
+ completedAt?: FirestoreTimestamp;
11
+ };
12
+ push?: {
13
+ status: NotificationEventDeliveryAttemptChannelStatus;
14
+ completedAt?: FirestoreTimestamp;
15
+ };
16
+ sms?: {
17
+ status: NotificationEventDeliveryAttemptChannelStatus;
18
+ completedAt?: FirestoreTimestamp;
19
+ };
20
+ };
21
+ ttlExpiration?: FirestoreTimestamp;
22
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +1,8 @@
1
- import type { NotificationEventDeliveryStateStatus } from "../../enums";
2
1
  import type { FirestoreTimestamp } from "../FirestoreTimestamp.type";
3
2
  export type FirestoreNotificationEventDeliveryStateDocument = {
4
3
  createdAt: FirestoreTimestamp;
5
4
  updatedAt: FirestoreTimestamp;
6
5
  lastSentAt?: FirestoreTimestamp;
7
6
  sentCount?: number;
8
- status: NotificationEventDeliveryStateStatus;
9
7
  ttlExpiration?: FirestoreTimestamp;
10
8
  };
@@ -1 +1,2 @@
1
- export * from "./FirestoreNotificationEventChannelDeliveryRecordDocument.type";
1
+ export * from "./FirestoreNotificationEventDeliveryStateDocument.type";
2
+ export * from "./FirestoreNotificationEventDeliveryAttemptDocument.type";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./FirestoreNotificationEventChannelDeliveryRecordDocument.type"), exports);
17
+ __exportStar(require("./FirestoreNotificationEventDeliveryStateDocument.type"), exports);
18
+ __exportStar(require("./FirestoreNotificationEventDeliveryAttemptDocument.type"), exports);
@@ -0,0 +1,22 @@
1
+ import type { NotificationEventDeliveryAttemptChannelStatus, NotificationEventDeliveryAttemptStatus } from "../../enums";
2
+ import type { FirestoreTimestamp } from "../FirestoreTimestamp.type";
3
+ export type FirestoreNotificationEventDeliveryAttemptDocument = {
4
+ createdAt: FirestoreTimestamp;
5
+ updatedAt: FirestoreTimestamp;
6
+ status: NotificationEventDeliveryAttemptStatus;
7
+ channels: {
8
+ email?: {
9
+ status: NotificationEventDeliveryAttemptChannelStatus;
10
+ completedAt?: FirestoreTimestamp;
11
+ };
12
+ push?: {
13
+ status: NotificationEventDeliveryAttemptChannelStatus;
14
+ completedAt?: FirestoreTimestamp;
15
+ };
16
+ sms?: {
17
+ status: NotificationEventDeliveryAttemptChannelStatus;
18
+ completedAt?: FirestoreTimestamp;
19
+ };
20
+ };
21
+ ttlExpiration?: FirestoreTimestamp;
22
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./FirestoreNotificationEventDeliveryAttemptDocument.type";
@@ -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("./FirestoreNotificationEventDeliveryAttemptDocument.type"), exports);
@@ -0,0 +1,8 @@
1
+ import type { FirestoreTimestamp } from "../FirestoreTimestamp.type";
2
+ export type FirestoreNotificationEventDeliveryStateDocument = {
3
+ createdAt: FirestoreTimestamp;
4
+ updatedAt: FirestoreTimestamp;
5
+ lastSentAt?: FirestoreTimestamp;
6
+ sentCount?: number;
7
+ ttlExpiration?: FirestoreTimestamp;
8
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./FirestoreNotificationEventDeliveryStateDocument.type";
@@ -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("./FirestoreNotificationEventDeliveryStateDocument.type"), exports);
@@ -18,7 +18,8 @@ export * from "./metrics";
18
18
  export * from "./onTaskExecutionState";
19
19
  export * from "./deviceTokens";
20
20
  export * from "./image";
21
- export * from "./notificationEvent";
21
+ export * from "./notificationEventDeliveryStates";
22
+ export * from "./notificationEventDeliveryAttempts";
22
23
  export * from "./ordersReviews";
23
24
  export * from "./walletsLedgerEntry";
24
25
  export * from "./wallets";
@@ -34,7 +34,8 @@ __exportStar(require("./metrics"), exports);
34
34
  __exportStar(require("./onTaskExecutionState"), exports);
35
35
  __exportStar(require("./deviceTokens"), exports);
36
36
  __exportStar(require("./image"), exports);
37
- __exportStar(require("./notificationEvent"), exports);
37
+ __exportStar(require("./notificationEventDeliveryStates"), exports);
38
+ __exportStar(require("./notificationEventDeliveryAttempts"), exports);
38
39
  __exportStar(require("./ordersReviews"), exports);
39
40
  __exportStar(require("./walletsLedgerEntry"), exports);
40
41
  __exportStar(require("./wallets"), exports);
@@ -0,0 +1,2 @@
1
+ import type { FirestoreNotificationEventDeliveryAttemptDocument } from "../../../types";
2
+ export declare function firestoreNotificationEventDeliveryAttemptDocumentStub(overwrite?: Partial<FirestoreNotificationEventDeliveryAttemptDocument>): FirestoreNotificationEventDeliveryAttemptDocument;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.firestoreNotificationEventDeliveryAttemptDocumentStub = firestoreNotificationEventDeliveryAttemptDocumentStub;
4
+ const enums_1 = require("../../../enums");
5
+ const firestoreTimestampStub_1 = require("../firestoreTimestampStub");
6
+ function firestoreNotificationEventDeliveryAttemptDocumentStub(overwrite = {}) {
7
+ return {
8
+ createdAt: (0, firestoreTimestampStub_1.firestoreTimestampStub)(),
9
+ updatedAt: (0, firestoreTimestampStub_1.firestoreTimestampStub)(),
10
+ status: enums_1.NotificationEventDeliveryAttemptStatus.PROCESSING,
11
+ channels: {
12
+ email: {
13
+ status: enums_1.NotificationEventDeliveryAttemptChannelStatus.PROCESSING,
14
+ },
15
+ push: {
16
+ status: enums_1.NotificationEventDeliveryAttemptChannelStatus.PROCESSING,
17
+ },
18
+ sms: {
19
+ status: enums_1.NotificationEventDeliveryAttemptChannelStatus.PROCESSING,
20
+ },
21
+ },
22
+ ...overwrite,
23
+ };
24
+ }
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.firestoreNotificationEventDeliveryStateDocumentStub = firestoreNotificationEventDeliveryStateDocumentStub;
4
- const enums_1 = require("../../../enums");
5
4
  const firestoreTimestampStub_1 = require("../firestoreTimestampStub");
6
5
  function firestoreNotificationEventDeliveryStateDocumentStub(overwrite = {}) {
7
6
  return {
@@ -9,7 +8,6 @@ function firestoreNotificationEventDeliveryStateDocumentStub(overwrite = {}) {
9
8
  updatedAt: (0, firestoreTimestampStub_1.firestoreTimestampStub)(),
10
9
  lastSentAt: (0, firestoreTimestampStub_1.firestoreTimestampStub)(),
11
10
  sentCount: 0,
12
- status: enums_1.NotificationEventDeliveryStateStatus.PENDING,
13
11
  ...overwrite,
14
12
  };
15
13
  }
@@ -1 +1,2 @@
1
- export * from "./firestoreNotificationEventChannelDeliveryRecordDocumentStub";
1
+ export * from "./firestoreNotificationEventDeliveryStateDocumentStub";
2
+ export * from "./firestoreNotificationEventDeliveryAttemptDocumentStub";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./firestoreNotificationEventChannelDeliveryRecordDocumentStub"), exports);
17
+ __exportStar(require("./firestoreNotificationEventDeliveryStateDocumentStub"), exports);
18
+ __exportStar(require("./firestoreNotificationEventDeliveryAttemptDocumentStub"), exports);
@@ -0,0 +1,2 @@
1
+ import type { FirestoreNotificationEventDeliveryAttemptDocument } from "../../../types";
2
+ export declare function firestoreNotificationEventDeliveryAttemptDocumentStub(overwrite?: Partial<FirestoreNotificationEventDeliveryAttemptDocument>): FirestoreNotificationEventDeliveryAttemptDocument;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.firestoreNotificationEventDeliveryAttemptDocumentStub = firestoreNotificationEventDeliveryAttemptDocumentStub;
4
+ const notificationEventDeliveryAttempts_1 = require("../../../enums/notificationEventDeliveryAttempts");
5
+ const firestoreTimestampStub_1 = require("../firestoreTimestampStub");
6
+ function firestoreNotificationEventDeliveryAttemptDocumentStub(overwrite = {}) {
7
+ return {
8
+ createdAt: (0, firestoreTimestampStub_1.firestoreTimestampStub)(),
9
+ updatedAt: (0, firestoreTimestampStub_1.firestoreTimestampStub)(),
10
+ status: notificationEventDeliveryAttempts_1.NotificationEventDeliveryAttemptStatus.PROCESSING,
11
+ channels: {
12
+ email: {
13
+ status: notificationEventDeliveryAttempts_1.NotificationEventDeliveryAttemptChannelStatus.PROCESSING,
14
+ },
15
+ push: {
16
+ status: notificationEventDeliveryAttempts_1.NotificationEventDeliveryAttemptChannelStatus.PROCESSING,
17
+ },
18
+ sms: {
19
+ status: notificationEventDeliveryAttempts_1.NotificationEventDeliveryAttemptChannelStatus.PROCESSING,
20
+ },
21
+ },
22
+ ...overwrite,
23
+ };
24
+ }
@@ -0,0 +1 @@
1
+ export * from "./firestoreNotificationEventDeliveryAttemptDocumentStub";
@@ -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("./firestoreNotificationEventDeliveryAttemptDocumentStub"), exports);
@@ -0,0 +1,2 @@
1
+ import type { FirestoreNotificationEventDeliveryStateDocument } from "../../../types";
2
+ export declare function firestoreNotificationEventDeliveryStateDocumentStub(overwrite?: Partial<FirestoreNotificationEventDeliveryStateDocument>): FirestoreNotificationEventDeliveryStateDocument;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.firestoreNotificationEventDeliveryStateDocumentStub = firestoreNotificationEventDeliveryStateDocumentStub;
4
+ const firestoreTimestampStub_1 = require("../firestoreTimestampStub");
5
+ function firestoreNotificationEventDeliveryStateDocumentStub(overwrite = {}) {
6
+ return {
7
+ createdAt: (0, firestoreTimestampStub_1.firestoreTimestampStub)(),
8
+ updatedAt: (0, firestoreTimestampStub_1.firestoreTimestampStub)(),
9
+ lastSentAt: (0, firestoreTimestampStub_1.firestoreTimestampStub)(),
10
+ sentCount: 0,
11
+ ...overwrite,
12
+ };
13
+ }
@@ -0,0 +1 @@
1
+ export * from "./firestoreNotificationEventDeliveryStateDocumentStub";
@@ -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("./firestoreNotificationEventDeliveryStateDocumentStub"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doctocar/tooling",
3
- "version": "0.3.1-42",
3
+ "version": "0.3.1-44",
4
4
  "description": "A set of tools for DoctoCar projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",