@doctocar/tooling 0.3.1-43 → 0.3.1-45
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/FirestoreCollections.enum.d.ts +1 -1
- package/dist/firebase/firestore/enums/FirestoreCollections.enum.js +1 -1
- package/dist/firebase/firestore/enums/index.d.ts +1 -1
- package/dist/firebase/firestore/enums/index.js +1 -1
- package/dist/firebase/firestore/enums/notificationEvent/index.d.ts +0 -1
- package/dist/firebase/firestore/enums/notificationEvent/index.js +0 -1
- package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptChannelStatus.enum.d.ts +6 -0
- package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptChannelStatus.enum.js +10 -0
- package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptStatus.enum.d.ts +6 -0
- package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/NotificationEventDeliveryAttemptStatus.enum.js +10 -0
- package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/index.d.ts +2 -0
- package/dist/firebase/firestore/enums/notificationEventDeliveryAttempts/index.js +18 -0
- package/dist/firebase/firestore/maps/FirestoreCollectionDocumentTypeMap.d.ts +2 -2
- package/dist/firebase/firestore/types/index.d.ts +2 -1
- package/dist/firebase/firestore/types/index.js +2 -1
- package/dist/firebase/firestore/types/notificationEvent/FirestoreNotificationEventDeliveryStateDocument.type.d.ts +0 -2
- package/dist/firebase/firestore/types/notificationEvent/index.d.ts +1 -1
- package/dist/firebase/firestore/types/notificationEvent/index.js +1 -1
- package/dist/firebase/firestore/types/notificationEventDeliveryAttempts/FirestoreNotificationEventDeliveryAttemptDocument.type.d.ts +22 -0
- package/dist/firebase/firestore/types/notificationEventDeliveryAttempts/FirestoreNotificationEventDeliveryAttemptDocument.type.js +2 -0
- package/dist/firebase/firestore/types/notificationEventDeliveryAttempts/index.d.ts +1 -0
- package/dist/firebase/firestore/types/notificationEventDeliveryAttempts/index.js +17 -0
- package/dist/firebase/firestore/types/notificationEventDeliveryStates/FirestoreNotificationEventDeliveryStateDocument.type.d.ts +8 -0
- package/dist/firebase/firestore/types/notificationEventDeliveryStates/FirestoreNotificationEventDeliveryStateDocument.type.js +2 -0
- package/dist/firebase/firestore/types/notificationEventDeliveryStates/index.d.ts +1 -0
- package/dist/firebase/firestore/types/notificationEventDeliveryStates/index.js +17 -0
- package/dist/firebase/firestore/utils/stubs/index.d.ts +2 -1
- package/dist/firebase/firestore/utils/stubs/index.js +2 -1
- package/dist/firebase/firestore/utils/stubs/notificationEvent/firestoreNotificationEventDeliveryStateDocumentStub.js +0 -2
- package/dist/firebase/firestore/utils/stubs/notificationEvent/index.d.ts +1 -1
- package/dist/firebase/firestore/utils/stubs/notificationEvent/index.js +1 -1
- package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryAttempts/firestoreNotificationEventDeliveryAttemptDocumentStub.d.ts +2 -0
- package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryAttempts/firestoreNotificationEventDeliveryAttemptDocumentStub.js +24 -0
- package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryAttempts/index.d.ts +1 -0
- package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryAttempts/index.js +17 -0
- package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryStates/firestoreNotificationEventDeliveryStateDocumentStub.d.ts +2 -0
- package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryStates/firestoreNotificationEventDeliveryStateDocumentStub.js +13 -0
- package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryStates/index.d.ts +1 -0
- package/dist/firebase/firestore/utils/stubs/notificationEventDeliveryStates/index.js +17 -0
- package/package.json +1 -1
|
@@ -28,7 +28,7 @@ export declare enum FirestoreCollections {
|
|
|
28
28
|
PROMO_CODES = "promo_codes",
|
|
29
29
|
PROMO_CODE_REDEMPTIONS = "promo_code_redemptions",
|
|
30
30
|
COUNTERS = "counters",
|
|
31
|
-
|
|
31
|
+
NOTIFICATION_EVENT_DELIVERY_STATES = "notification_event_delivery_states",
|
|
32
32
|
NOTIFICATION_EVENT_DELIVERY_ATTEMPTS = "notification_event_delivery_attempts",
|
|
33
33
|
WALLETS = "wallets",
|
|
34
34
|
WALLETS_LEDGER_ENTRIES = "wallets_ledger_entries",
|
|
@@ -32,7 +32,7 @@ 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["
|
|
35
|
+
FirestoreCollections["NOTIFICATION_EVENT_DELIVERY_STATES"] = "notification_event_delivery_states";
|
|
36
36
|
FirestoreCollections["NOTIFICATION_EVENT_DELIVERY_ATTEMPTS"] = "notification_event_delivery_attempts";
|
|
37
37
|
FirestoreCollections["WALLETS"] = "wallets";
|
|
38
38
|
FirestoreCollections["WALLETS_LEDGER_ENTRIES"] = "wallets_ledger_entries";
|
|
@@ -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 "./
|
|
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("./
|
|
43
|
+
__exportStar(require("./notificationEventDeliveryAttempts"), exports);
|
|
44
44
|
__exportStar(require("./serviceProviderUsers"), exports);
|
|
45
45
|
__exportStar(require("./customers"), exports);
|
|
46
46
|
__exportStar(require("./legal"), exports);
|
|
@@ -14,6 +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);
|
|
18
17
|
__exportStar(require("./NotificationEventDeliveryAttemptChannelStatus.enum"), exports);
|
|
19
18
|
__exportStar(require("./NotificationEventDeliveryAttemptStatus.enum"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
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["SKIPPED"] = "SKIPPED";
|
|
10
|
+
})(NotificationEventDeliveryAttemptChannelStatus || (exports.NotificationEventDeliveryAttemptChannelStatus = NotificationEventDeliveryAttemptChannelStatus = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
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["SKIPPED"] = "SKIPPED";
|
|
10
|
+
})(NotificationEventDeliveryAttemptStatus || (exports.NotificationEventDeliveryAttemptStatus = NotificationEventDeliveryAttemptStatus = {}));
|
|
@@ -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,
|
|
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,7 @@ type FirestoreCollectionDocumentTypeMapBase = {
|
|
|
31
31
|
[FirestoreCollections.PROMO_CODES]: FirestorePromoCodeDocument;
|
|
32
32
|
[FirestoreCollections.PROMO_CODE_REDEMPTIONS]: FirestorePromoCodeRedemptionDocument;
|
|
33
33
|
[FirestoreCollections.COUNTERS]: FirestoreInvoiceCounterDocument;
|
|
34
|
-
[FirestoreCollections.
|
|
34
|
+
[FirestoreCollections.NOTIFICATION_EVENT_DELIVERY_STATES]: FirestoreNotificationEventDeliveryStateDocument;
|
|
35
35
|
[FirestoreCollections.NOTIFICATION_EVENT_DELIVERY_ATTEMPTS]: FirestoreNotificationEventDeliveryAttemptDocument;
|
|
36
36
|
[FirestoreCollections.FUNCTIONS_DEPLOYMENT_RUNS]: FirestoreFunctionsDeploymentRunsDocument;
|
|
37
37
|
[FirestoreCollections.MARKETPLACE_FINANCIAL_REPORTS]: FirestoreMarketplaceFinancialReportsDocument;
|
|
@@ -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 "./
|
|
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("./
|
|
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);
|
|
@@ -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,2 +1,2 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./FirestoreNotificationEventDeliveryStateDocument.type";
|
|
2
2
|
export * from "./FirestoreNotificationEventDeliveryAttemptDocument.type";
|
|
@@ -14,5 +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("./
|
|
17
|
+
__exportStar(require("./FirestoreNotificationEventDeliveryStateDocument.type"), exports);
|
|
18
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 @@
|
|
|
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 @@
|
|
|
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 "./
|
|
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("./
|
|
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);
|
|
@@ -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,2 +1,2 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./firestoreNotificationEventDeliveryStateDocumentStub";
|
|
2
2
|
export * from "./firestoreNotificationEventDeliveryAttemptDocumentStub";
|
|
@@ -14,5 +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("./
|
|
17
|
+
__exportStar(require("./firestoreNotificationEventDeliveryStateDocumentStub"), exports);
|
|
18
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);
|