@uptime.app/contracts 1.0.38-rc.0 → 1.0.38-rc.10
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/cjs/b2b-content-access/b2b-content-access.d.ts +49 -0
- package/dist/cjs/b2b-content-access/b2b-content-access.d.ts.map +1 -0
- package/dist/cjs/b2b-content-access/b2b-content-access.js +3 -0
- package/dist/cjs/b2b-content-access/b2b-content-access.js.map +1 -0
- package/dist/cjs/b2b-organisation/b2b-carousel.d.ts +30 -0
- package/dist/cjs/b2b-organisation/b2b-carousel.d.ts.map +1 -0
- package/dist/cjs/b2b-organisation/b2b-carousel.js +3 -0
- package/dist/cjs/b2b-organisation/b2b-carousel.js.map +1 -0
- package/dist/cjs/b2b-organisation/b2b-organisation-invitation.d.ts +29 -0
- package/dist/cjs/b2b-organisation/b2b-organisation-invitation.d.ts.map +1 -0
- package/dist/cjs/b2b-organisation/b2b-organisation-invitation.js +3 -0
- package/dist/cjs/b2b-organisation/b2b-organisation-invitation.js.map +1 -0
- package/dist/cjs/b2b-organisation/b2b-organisation.d.ts +1 -0
- package/dist/cjs/b2b-organisation/b2b-organisation.d.ts.map +1 -1
- package/dist/cjs/catalogue/catalogue.d.ts +99 -0
- package/dist/cjs/catalogue/catalogue.d.ts.map +1 -0
- package/dist/cjs/catalogue/catalogue.js +3 -0
- package/dist/cjs/catalogue/catalogue.js.map +1 -0
- package/dist/cjs/creator/creator-events.d.ts +26 -0
- package/dist/cjs/creator/creator-events.d.ts.map +1 -0
- package/dist/cjs/creator/creator-events.js +3 -0
- package/dist/cjs/creator/creator-events.js.map +1 -0
- package/dist/cjs/creator/creator.d.ts +8 -0
- package/dist/cjs/creator/creator.d.ts.map +1 -0
- package/dist/cjs/creator/creator.js +3 -0
- package/dist/cjs/creator/creator.js.map +1 -0
- package/dist/cjs/entitlement/user-entitlements-commands.d.ts +29 -0
- package/dist/cjs/entitlement/user-entitlements-commands.d.ts.map +1 -0
- package/dist/cjs/entitlement/user-entitlements-commands.js +3 -0
- package/dist/cjs/entitlement/user-entitlements-commands.js.map +1 -0
- package/dist/cjs/entitlement/user-entitlements-events.d.ts +7 -0
- package/dist/cjs/entitlement/user-entitlements-events.d.ts.map +1 -1
- package/dist/cjs/index.d.ts +14 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +14 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/partner/partner-events.d.ts +18 -0
- package/dist/cjs/partner/partner-events.d.ts.map +1 -0
- package/dist/cjs/partner/partner-events.js +3 -0
- package/dist/cjs/partner/partner-events.js.map +1 -0
- package/dist/cjs/partner/partner.d.ts +8 -0
- package/dist/cjs/partner/partner.d.ts.map +1 -0
- package/dist/cjs/partner/partner.js +3 -0
- package/dist/cjs/partner/partner.js.map +1 -0
- package/dist/cjs/referral/referral-events.d.ts +34 -0
- package/dist/cjs/referral/referral-events.d.ts.map +1 -0
- package/dist/cjs/referral/referral-events.js +3 -0
- package/dist/cjs/referral/referral-events.js.map +1 -0
- package/dist/cjs/referral/referral.d.ts +69 -0
- package/dist/cjs/referral/referral.d.ts.map +1 -0
- package/dist/cjs/referral/referral.js +24 -0
- package/dist/cjs/referral/referral.js.map +1 -0
- package/dist/cjs/saved/saved-collection-events.d.ts +17 -0
- package/dist/cjs/saved/saved-collection-events.d.ts.map +1 -0
- package/dist/cjs/saved/saved-collection-events.js +3 -0
- package/dist/cjs/saved/saved-collection-events.js.map +1 -0
- package/dist/cjs/saved/saved-collection.d.ts +9 -0
- package/dist/cjs/saved/saved-collection.d.ts.map +1 -0
- package/dist/cjs/saved/saved-collection.js +3 -0
- package/dist/cjs/saved/saved-collection.js.map +1 -0
- package/dist/cjs/translation/translation-events.d.ts +2 -4
- package/dist/cjs/translation/translation-events.d.ts.map +1 -1
- package/dist/cjs/translation/translation.d.ts +3 -0
- package/dist/cjs/translation/translation.d.ts.map +1 -1
- package/dist/cjs/user/user-events.d.ts +24 -0
- package/dist/cjs/user/user-events.d.ts.map +1 -0
- package/dist/cjs/user/user-events.js +3 -0
- package/dist/cjs/user/user-events.js.map +1 -0
- package/dist/esm/b2b-content-access/b2b-content-access.d.ts +49 -0
- package/dist/esm/b2b-content-access/b2b-content-access.d.ts.map +1 -0
- package/dist/esm/b2b-content-access/b2b-content-access.js +2 -0
- package/dist/esm/b2b-content-access/b2b-content-access.js.map +1 -0
- package/dist/esm/b2b-organisation/b2b-carousel.d.ts +30 -0
- package/dist/esm/b2b-organisation/b2b-carousel.d.ts.map +1 -0
- package/dist/esm/b2b-organisation/b2b-carousel.js +2 -0
- package/dist/esm/b2b-organisation/b2b-carousel.js.map +1 -0
- package/dist/esm/b2b-organisation/b2b-organisation-invitation.d.ts +29 -0
- package/dist/esm/b2b-organisation/b2b-organisation-invitation.d.ts.map +1 -0
- package/dist/esm/b2b-organisation/b2b-organisation-invitation.js +2 -0
- package/dist/esm/b2b-organisation/b2b-organisation-invitation.js.map +1 -0
- package/dist/esm/b2b-organisation/b2b-organisation.d.ts +1 -0
- package/dist/esm/b2b-organisation/b2b-organisation.d.ts.map +1 -1
- package/dist/esm/catalogue/catalogue.d.ts +99 -0
- package/dist/esm/catalogue/catalogue.d.ts.map +1 -0
- package/dist/esm/catalogue/catalogue.js +2 -0
- package/dist/esm/catalogue/catalogue.js.map +1 -0
- package/dist/esm/creator/creator-events.d.ts +26 -0
- package/dist/esm/creator/creator-events.d.ts.map +1 -0
- package/dist/esm/creator/creator-events.js +2 -0
- package/dist/esm/creator/creator-events.js.map +1 -0
- package/dist/esm/creator/creator.d.ts +8 -0
- package/dist/esm/creator/creator.d.ts.map +1 -0
- package/dist/esm/creator/creator.js +2 -0
- package/dist/esm/creator/creator.js.map +1 -0
- package/dist/esm/entitlement/user-entitlements-commands.d.ts +29 -0
- package/dist/esm/entitlement/user-entitlements-commands.d.ts.map +1 -0
- package/dist/esm/entitlement/user-entitlements-commands.js +2 -0
- package/dist/esm/entitlement/user-entitlements-commands.js.map +1 -0
- package/dist/esm/entitlement/user-entitlements-events.d.ts +7 -0
- package/dist/esm/entitlement/user-entitlements-events.d.ts.map +1 -1
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +14 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/partner/partner-events.d.ts +18 -0
- package/dist/esm/partner/partner-events.d.ts.map +1 -0
- package/dist/esm/partner/partner-events.js +2 -0
- package/dist/esm/partner/partner-events.js.map +1 -0
- package/dist/esm/partner/partner.d.ts +8 -0
- package/dist/esm/partner/partner.d.ts.map +1 -0
- package/dist/esm/partner/partner.js +2 -0
- package/dist/esm/partner/partner.js.map +1 -0
- package/dist/esm/referral/referral-events.d.ts +34 -0
- package/dist/esm/referral/referral-events.d.ts.map +1 -0
- package/dist/esm/referral/referral-events.js +2 -0
- package/dist/esm/referral/referral-events.js.map +1 -0
- package/dist/esm/referral/referral.d.ts +69 -0
- package/dist/esm/referral/referral.d.ts.map +1 -0
- package/dist/esm/referral/referral.js +21 -0
- package/dist/esm/referral/referral.js.map +1 -0
- package/dist/esm/saved/saved-collection-events.d.ts +17 -0
- package/dist/esm/saved/saved-collection-events.d.ts.map +1 -0
- package/dist/esm/saved/saved-collection-events.js +2 -0
- package/dist/esm/saved/saved-collection-events.js.map +1 -0
- package/dist/esm/saved/saved-collection.d.ts +9 -0
- package/dist/esm/saved/saved-collection.d.ts.map +1 -0
- package/dist/esm/saved/saved-collection.js +2 -0
- package/dist/esm/saved/saved-collection.js.map +1 -0
- package/dist/esm/translation/translation-events.d.ts +2 -4
- package/dist/esm/translation/translation-events.d.ts.map +1 -1
- package/dist/esm/translation/translation.d.ts +3 -0
- package/dist/esm/translation/translation.d.ts.map +1 -1
- package/dist/esm/user/user-events.d.ts +24 -0
- package/dist/esm/user/user-events.d.ts.map +1 -0
- package/dist/esm/user/user-events.js +2 -0
- package/dist/esm/user/user-events.js.map +1 -0
- package/package.json +2 -2
- package/src/b2b-content-access/b2b-content-access.ts +57 -0
- package/src/b2b-organisation/b2b-carousel.ts +34 -0
- package/src/b2b-organisation/b2b-organisation-invitation.ts +31 -0
- package/src/b2b-organisation/b2b-organisation.ts +1 -0
- package/src/catalogue/catalogue.ts +118 -0
- package/src/creator/creator-events.ts +32 -0
- package/src/creator/creator.ts +7 -0
- package/src/entitlement/user-entitlements-commands.ts +33 -0
- package/src/entitlement/user-entitlements-events.ts +9 -1
- package/src/entitlement/user-entitlements.ts +1 -1
- package/src/index.ts +22 -0
- package/src/partner/partner-events.ts +21 -0
- package/src/partner/partner.ts +7 -0
- package/src/referral/referral-events.ts +41 -0
- package/src/referral/referral.ts +76 -0
- package/src/saved/saved-collection-events.ts +19 -0
- package/src/saved/saved-collection.ts +8 -0
- package/src/translation/translation-events.ts +2 -4
- package/src/translation/translation.ts +4 -0
- package/src/user/user-events.ts +27 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ReferralCredit, ReferralLink } from './referral';
|
|
2
|
+
export interface ReferralCreditCreatedEvent {
|
|
3
|
+
id: string;
|
|
4
|
+
type: 'ReferralCreditCreated';
|
|
5
|
+
payload: ReferralCredit;
|
|
6
|
+
}
|
|
7
|
+
export interface ReferralCreditUpdatedEvent {
|
|
8
|
+
id: string;
|
|
9
|
+
type: 'ReferralCreditUpdated';
|
|
10
|
+
payload: ReferralCredit;
|
|
11
|
+
}
|
|
12
|
+
export interface ReferralCreditDeletedEvent {
|
|
13
|
+
id: string;
|
|
14
|
+
type: 'ReferralCreditDeleted';
|
|
15
|
+
payload: ReferralCredit;
|
|
16
|
+
}
|
|
17
|
+
export type ReferralCreditChangedEvent = ReferralCreditCreatedEvent | ReferralCreditUpdatedEvent | ReferralCreditDeletedEvent;
|
|
18
|
+
export interface ReferralLinkCreatedEvent {
|
|
19
|
+
id: string;
|
|
20
|
+
type: 'ReferralLinkCreated';
|
|
21
|
+
payload: ReferralLink;
|
|
22
|
+
}
|
|
23
|
+
export interface ReferralLinkUpdatedEvent {
|
|
24
|
+
id: string;
|
|
25
|
+
type: 'ReferralLinkUpdated';
|
|
26
|
+
payload: ReferralLink;
|
|
27
|
+
}
|
|
28
|
+
export interface ReferralLinkDeletedEvent {
|
|
29
|
+
id: string;
|
|
30
|
+
type: 'ReferralLinkDeleted';
|
|
31
|
+
payload: ReferralLink;
|
|
32
|
+
}
|
|
33
|
+
export type ReferralLinkChangedEvent = ReferralLinkCreatedEvent | ReferralLinkUpdatedEvent | ReferralLinkDeletedEvent;
|
|
34
|
+
//# sourceMappingURL=referral-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"referral-events.d.ts","sourceRoot":"","sources":["../../../src/referral/referral-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1D,MAAM,WAAW,0BAA0B;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,uBAAuB,CAAC;IAC9B,OAAO,EAAE,cAAc,CAAC;CAC3B;AAED,MAAM,WAAW,0BAA0B;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,uBAAuB,CAAC;IAC9B,OAAO,EAAE,cAAc,CAAC;CAC3B;AAED,MAAM,WAAW,0BAA0B;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,uBAAuB,CAAC;IAC9B,OAAO,EAAE,cAAc,CAAC;CAC3B;AAED,MAAM,MAAM,0BAA0B,GAAG,0BAA0B,GAAG,0BAA0B,GAAG,0BAA0B,CAAC;AAE9H,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,qBAAqB,CAAC;IAC5B,OAAO,EAAE,YAAY,CAAC;CACzB;AAED,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,qBAAqB,CAAC;IAC5B,OAAO,EAAE,YAAY,CAAC;CACzB;AAED,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,qBAAqB,CAAC;IAC5B,OAAO,EAAE,YAAY,CAAC;CACzB;AAED,MAAM,MAAM,wBAAwB,GAAG,wBAAwB,GAAG,wBAAwB,GAAG,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"referral-events.js","sourceRoot":"","sources":["../../../src/referral/referral-events.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export interface ReferredUserPurchase {
|
|
2
|
+
/** The price the referred user paid in their currency */
|
|
3
|
+
price: number;
|
|
4
|
+
/** The currency the referred user paid in */
|
|
5
|
+
currency: string;
|
|
6
|
+
/** The price they paid in United States Dollars (USD) */
|
|
7
|
+
priceInUSD: number;
|
|
8
|
+
/** The RevenueCat transaction ID */
|
|
9
|
+
transactionId: string;
|
|
10
|
+
/** The RevenueCat original transaction ID */
|
|
11
|
+
originalTransactionId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ReferralCredit {
|
|
14
|
+
/** The unique identifier of a referral credit */
|
|
15
|
+
id: string;
|
|
16
|
+
v: number;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
updatedAt: string;
|
|
19
|
+
/** The ID of the user who shared the referral link */
|
|
20
|
+
referrerUserId: string;
|
|
21
|
+
/** If the referrer is a creator, this contains their creator ID */
|
|
22
|
+
referrerCreatorId?: string;
|
|
23
|
+
/** If the referrer is a partner of Uptime, this contains their partner ID */
|
|
24
|
+
referrerPartnerId?: string;
|
|
25
|
+
/** The unique device ID of the user who shared the referral link */
|
|
26
|
+
referrerUniqueDeviceId?: string;
|
|
27
|
+
/** The purchase the referred user made (if applicable) */
|
|
28
|
+
referredUserPurchase?: ReferredUserPurchase;
|
|
29
|
+
/** The ID of the user who clicked on the referral link and triggered the referral */
|
|
30
|
+
referredUserId?: string;
|
|
31
|
+
/** The unique device ID of the user who clicked on the referral link and triggered the referral */
|
|
32
|
+
referredUserUniqueDeviceId?: string;
|
|
33
|
+
/** The ISO 8601 UTC timestamp of the successful referral event */
|
|
34
|
+
eventTimestamp: string;
|
|
35
|
+
/** The source of the successful referral event e.g. Branch */
|
|
36
|
+
eventSource: string;
|
|
37
|
+
/** The action that triggered the successful referral event e.g. a user sign-up */
|
|
38
|
+
eventTrigger: string;
|
|
39
|
+
}
|
|
40
|
+
export interface ReferralLink {
|
|
41
|
+
/** The unique identifier of a referral link */
|
|
42
|
+
id: string;
|
|
43
|
+
v: number;
|
|
44
|
+
createdAt: string;
|
|
45
|
+
updatedAt: string;
|
|
46
|
+
/** The ID of the user who will share the link and be credited if it is used */
|
|
47
|
+
referrerUserId: string;
|
|
48
|
+
/** The URL of the referral deep link */
|
|
49
|
+
url: string;
|
|
50
|
+
/** The source of the referral link e.g. Branch */
|
|
51
|
+
source: string;
|
|
52
|
+
/** The action that triggers a successful referral e.g. a user sign-up */
|
|
53
|
+
trigger: string;
|
|
54
|
+
}
|
|
55
|
+
export declare enum ReferralEventSource {
|
|
56
|
+
Branch = "branch",
|
|
57
|
+
RevenueCat = "revenue-cat"
|
|
58
|
+
}
|
|
59
|
+
export declare enum ReferralEventTrigger {
|
|
60
|
+
/** A new user clicks on a deep link, downloads the Uptime app and registers. */
|
|
61
|
+
SignUp = "sign-up",
|
|
62
|
+
/** A user clicks on a deep link and starts a trial during that session. */
|
|
63
|
+
TrialStarted = "trial-started",
|
|
64
|
+
/** A trial-started referred user converts to premium during their trial. */
|
|
65
|
+
TrialConverted = "trial-converted",
|
|
66
|
+
/** A user clicks a on deep link and pays for premium during that session. */
|
|
67
|
+
PaidSubscription = "paid-subscription"
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=referral.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"referral.d.ts","sourceRoot":"","sources":["../../../src/referral/referral.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACjC,yDAAyD;IACzD,KAAK,EAAE,MA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,MAAM,WAAW;IACjB,UAAU,gBAAgB;CAC7B;AAMD,oBAAY,oBAAoB;IAC5B,gFAAgF;IAChF,MAAM,YAAY;IAClB,2EAA2E;IAC3E,YAAY,kBAAkB;IAC9B,4EAA4E;IAC5E,cAAc,oBAAoB;IAClC,6EAA6E;IAC7E,gBAAgB,sBAAsB;CACzC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReferralEventTrigger = exports.ReferralEventSource = void 0;
|
|
4
|
+
var ReferralEventSource;
|
|
5
|
+
(function (ReferralEventSource) {
|
|
6
|
+
ReferralEventSource["Branch"] = "branch";
|
|
7
|
+
ReferralEventSource["RevenueCat"] = "revenue-cat";
|
|
8
|
+
})(ReferralEventSource || (exports.ReferralEventSource = ReferralEventSource = {}));
|
|
9
|
+
/* None of these events are mututally exlusive. For example, a single premium payment could
|
|
10
|
+
* yield both a 'trial-converted' and a 'paid-subscription' referral credit, and it's possible
|
|
11
|
+
* they could be attributed to different referrers, so we need to track both.
|
|
12
|
+
*/
|
|
13
|
+
var ReferralEventTrigger;
|
|
14
|
+
(function (ReferralEventTrigger) {
|
|
15
|
+
/** A new user clicks on a deep link, downloads the Uptime app and registers. */
|
|
16
|
+
ReferralEventTrigger["SignUp"] = "sign-up";
|
|
17
|
+
/** A user clicks on a deep link and starts a trial during that session. */
|
|
18
|
+
ReferralEventTrigger["TrialStarted"] = "trial-started";
|
|
19
|
+
/** A trial-started referred user converts to premium during their trial. */
|
|
20
|
+
ReferralEventTrigger["TrialConverted"] = "trial-converted";
|
|
21
|
+
/** A user clicks a on deep link and pays for premium during that session. */
|
|
22
|
+
ReferralEventTrigger["PaidSubscription"] = "paid-subscription";
|
|
23
|
+
})(ReferralEventTrigger || (exports.ReferralEventTrigger = ReferralEventTrigger = {}));
|
|
24
|
+
//# sourceMappingURL=referral.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"referral.js","sourceRoot":"","sources":["../../../src/referral/referral.ts"],"names":[],"mappings":";;;AAyDA,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,wCAAiB,CAAA;IACjB,iDAA0B,CAAA;AAC9B,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AAED;;;GAGG;AACH,IAAY,oBASX;AATD,WAAY,oBAAoB;IAC5B,gFAAgF;IAChF,0CAAkB,CAAA;IAClB,2EAA2E;IAC3E,sDAA8B,CAAA;IAC9B,4EAA4E;IAC5E,0DAAkC,CAAA;IAClC,6EAA6E;IAC7E,8DAAsC,CAAA;AAC1C,CAAC,EATW,oBAAoB,oCAApB,oBAAoB,QAS/B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SavedCollection } from './saved-collection';
|
|
2
|
+
export interface SavedCollectionCreatedEvent {
|
|
3
|
+
id: string;
|
|
4
|
+
type: 'SavedCollectionCreated';
|
|
5
|
+
payload: SavedCollection;
|
|
6
|
+
}
|
|
7
|
+
export interface SavedCollectionUpdatedEvent {
|
|
8
|
+
id: string;
|
|
9
|
+
type: 'SavedCollectionUpdated';
|
|
10
|
+
payload: SavedCollection;
|
|
11
|
+
}
|
|
12
|
+
export interface SavedCollectionDeletedEvent {
|
|
13
|
+
id: string;
|
|
14
|
+
type: 'SavedCollectionDeleted';
|
|
15
|
+
payload: SavedCollection;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=saved-collection-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saved-collection-events.d.ts","sourceRoot":"","sources":["../../../src/saved/saved-collection-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,WAAW,2BAA2B;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,wBAAwB,CAAC;IAC/B,OAAO,EAAE,eAAe,CAAC;CAC5B;AAED,MAAM,WAAW,2BAA2B;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,wBAAwB,CAAC;IAC/B,OAAO,EAAE,eAAe,CAAC;CAC5B;AAED,MAAM,WAAW,2BAA2B;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,wBAAwB,CAAC;IAC/B,OAAO,EAAE,eAAe,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saved-collection-events.js","sourceRoot":"","sources":["../../../src/saved/saved-collection-events.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saved-collection.d.ts","sourceRoot":"","sources":["../../../src/saved/saved-collection.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saved-collection.js","sourceRoot":"","sources":["../../../src/saved/saved-collection.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SupportedLocale } from '../localisation/supported-locales';
|
|
2
|
-
import { ObjectToTranslate } from './translation';
|
|
2
|
+
import { ObjectToTranslate, TextWithTranslation } from './translation';
|
|
3
|
+
import { Text } from './translation';
|
|
3
4
|
export interface TextTranslatedEvent {
|
|
4
5
|
id: string;
|
|
5
6
|
type: 'TextTranslated';
|
|
@@ -10,9 +11,6 @@ export interface TextTranslatedEvent {
|
|
|
10
11
|
text: TextWithTranslation[];
|
|
11
12
|
};
|
|
12
13
|
}
|
|
13
|
-
export interface TextWithTranslation extends Text {
|
|
14
|
-
translation: string;
|
|
15
|
-
}
|
|
16
14
|
export interface ObjectsTranslatedEvent {
|
|
17
15
|
id: string;
|
|
18
16
|
type: 'ObjectsTranslated';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation-events.d.ts","sourceRoot":"","sources":["../../../src/translation/translation-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"translation-events.d.ts","sourceRoot":"","sources":["../../../src/translation/translation-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,EAAE;QACL,SAAS,EAAE,MAAM,CAAC;QAClB,UAAU,EAAE,MAAM,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,mBAAmB,EAAE,CAAC;KAC/B,CAAC;CACL;AAED,MAAM,WAAW,sBAAsB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,mBAAmB,CAAC;IAC1B,OAAO,EAAE;QACL,SAAS,EAAE,MAAM,CAAC;QAClB,UAAU,EAAE,MAAM,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC;QACjB,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;KACzC,CAAC;CACL;AAED,MAAM,WAAW,gBAAgB;IAC7B,gBAAgB,EAAE,GAAG,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,EAAE,8BAA8B,CAAC;CAC3C;AAED,MAAM,WAAW,8BAA8B;IAC3C;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,eAAe,CAAC;IAC5B,QAAQ,EAAE,eAAe,CAAC;IAC1B,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IACxC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,oBAAoB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE,2BAA2B,CAAA;CACvC;AAED,MAAM,WAAW,2BAA2B;IACxC;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,IAAI,EAAE,CAAC;CAChB"}
|
|
@@ -18,4 +18,7 @@ export interface ObjectToTranslate {
|
|
|
18
18
|
/** additional text that will be added to the GPT prompt when requesting translation */
|
|
19
19
|
promptAdditions?: string;
|
|
20
20
|
}
|
|
21
|
+
export interface TextWithTranslation extends Text {
|
|
22
|
+
translation: string;
|
|
23
|
+
}
|
|
21
24
|
//# sourceMappingURL=translation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../src/translation/translation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACjB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,iBAAiB,EAAE,GAAG,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,6BAA6B;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,wFAAwF;IACxF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B"}
|
|
1
|
+
{"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../src/translation/translation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACjB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,iBAAiB,EAAE,GAAG,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,6BAA6B;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,wFAAwF;IACxF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAoB,SAAQ,IAAI;IAC7C,WAAW,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface UserEventPayload {
|
|
2
|
+
id: string;
|
|
3
|
+
v: number;
|
|
4
|
+
createdAt: string;
|
|
5
|
+
updatedAt: string;
|
|
6
|
+
deletedAt?: string;
|
|
7
|
+
reasonForLeavingUptime?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface UserCreatedEvent {
|
|
10
|
+
id: string;
|
|
11
|
+
type: 'UserCreated';
|
|
12
|
+
payload: UserEventPayload;
|
|
13
|
+
}
|
|
14
|
+
export interface UserUpdatedEvent {
|
|
15
|
+
id: string;
|
|
16
|
+
type: 'UserUpdated';
|
|
17
|
+
payload: UserEventPayload;
|
|
18
|
+
}
|
|
19
|
+
export interface UserDeletedEvent {
|
|
20
|
+
id: string;
|
|
21
|
+
type: 'UserDeleted';
|
|
22
|
+
payload: UserEventPayload;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=user-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-events.d.ts","sourceRoot":"","sources":["../../../src/user/user-events.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAElB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,gBAAgB,CAAC;CAC7B;AAED,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,gBAAgB,CAAC;CAC7B;AAED,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,gBAAgB,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-events.js","sourceRoot":"","sources":["../../../src/user/user-events.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export interface B2BContentAccess {
|
|
2
|
+
id: string;
|
|
3
|
+
v: number;
|
|
4
|
+
createdAt: string;
|
|
5
|
+
updatedAt: string;
|
|
6
|
+
name: string;
|
|
7
|
+
blacklistedSubjects: string[];
|
|
8
|
+
}
|
|
9
|
+
export interface B2BContentAccessCreatedEvent {
|
|
10
|
+
id: string;
|
|
11
|
+
type: 'B2BContentAccessCreated';
|
|
12
|
+
payload: B2BContentAccess;
|
|
13
|
+
}
|
|
14
|
+
export interface B2BContentAccessUpdatedEvent {
|
|
15
|
+
id: string;
|
|
16
|
+
type: 'B2BContentAccessUpdated';
|
|
17
|
+
payload: B2BContentAccess;
|
|
18
|
+
}
|
|
19
|
+
export interface B2BContentAccessDeletedEvent {
|
|
20
|
+
id: string;
|
|
21
|
+
type: 'B2BContentAccessDeleted';
|
|
22
|
+
payload: B2BContentAccess;
|
|
23
|
+
}
|
|
24
|
+
export declare type B2BContentAccessChangedEvent = B2BContentAccessCreatedEvent | B2BContentAccessUpdatedEvent | B2BContentAccessDeletedEvent;
|
|
25
|
+
export interface ContentAccessB2BOrgEntry {
|
|
26
|
+
id: string;
|
|
27
|
+
v: number;
|
|
28
|
+
createdAt: string;
|
|
29
|
+
updatedAt: string;
|
|
30
|
+
b2bContentAccessId: string;
|
|
31
|
+
b2bOrgId: string;
|
|
32
|
+
}
|
|
33
|
+
export interface ContentAccessB2BOrgEntryCreatedEvent {
|
|
34
|
+
id: string;
|
|
35
|
+
type: 'ContentAccessB2BOrgEntryCreated';
|
|
36
|
+
payload: ContentAccessB2BOrgEntry;
|
|
37
|
+
}
|
|
38
|
+
export interface ContentAccessB2BOrgEntryUpdatedEvent {
|
|
39
|
+
id: string;
|
|
40
|
+
type: 'ContentAccessB2BOrgEntryUpdated';
|
|
41
|
+
payload: ContentAccessB2BOrgEntry;
|
|
42
|
+
}
|
|
43
|
+
export interface ContentAccessB2BOrgEntryDeletedEvent {
|
|
44
|
+
id: string;
|
|
45
|
+
type: 'ContentAccessB2BOrgEntryDeleted';
|
|
46
|
+
payload: ContentAccessB2BOrgEntry;
|
|
47
|
+
}
|
|
48
|
+
export type ContentAccessB2BOrgEntryChangedEvent = ContentAccessB2BOrgEntryCreatedEvent | ContentAccessB2BOrgEntryUpdatedEvent | ContentAccessB2BOrgEntryDeletedEvent;
|
|
49
|
+
//# sourceMappingURL=b2b-content-access.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"b2b-content-access.d.ts","sourceRoot":"","sources":["../../../src/b2b-content-access/b2b-content-access.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,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b2b-content-access.js","sourceRoot":"","sources":["../../../src/b2b-content-access/b2b-content-access.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface B2BCarousel {
|
|
2
|
+
id: string;
|
|
3
|
+
v: number;
|
|
4
|
+
createdAt: string;
|
|
5
|
+
updatedAt: string;
|
|
6
|
+
owner: string;
|
|
7
|
+
items: B2BCarouselItem[];
|
|
8
|
+
}
|
|
9
|
+
export interface B2BCarouselItem {
|
|
10
|
+
/** type of the item in the carousel. Currently only collection is supported */
|
|
11
|
+
type: 'collection';
|
|
12
|
+
id: string;
|
|
13
|
+
}
|
|
14
|
+
export interface B2BCarouselCreatedEvent {
|
|
15
|
+
id: string;
|
|
16
|
+
type: 'B2BCarouselCreated';
|
|
17
|
+
payload: B2BCarousel;
|
|
18
|
+
}
|
|
19
|
+
export interface B2BCarouselUpdatedEvent {
|
|
20
|
+
id: string;
|
|
21
|
+
type: 'B2BCarouselUpdated';
|
|
22
|
+
payload: B2BCarousel;
|
|
23
|
+
}
|
|
24
|
+
export interface B2BCarouselDeletedEvent {
|
|
25
|
+
id: string;
|
|
26
|
+
type: 'B2BCarouselDeleted';
|
|
27
|
+
payload: B2BCarousel;
|
|
28
|
+
}
|
|
29
|
+
export type B2BCarouselChangedEvent = B2BCarouselCreatedEvent | B2BCarouselUpdatedEvent | B2BCarouselDeletedEvent;
|
|
30
|
+
//# sourceMappingURL=b2b-carousel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"b2b-carousel.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-carousel.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,eAAe,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,eAAe;IAC5B,+EAA+E;IAC/E,IAAI,EAAE,YAAY,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,MAAM,uBAAuB,GAAG,uBAAuB,GAAG,uBAAuB,GAAG,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"b2b-carousel.js","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-carousel.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface B2BInvitation {
|
|
2
|
+
id: string;
|
|
3
|
+
v: number;
|
|
4
|
+
updatedAt: string;
|
|
5
|
+
createdAt: string;
|
|
6
|
+
name: string;
|
|
7
|
+
lastName: string;
|
|
8
|
+
email: string;
|
|
9
|
+
code: string;
|
|
10
|
+
organisationId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface B2BInvitationEventPayload {
|
|
13
|
+
id: string;
|
|
14
|
+
v: number;
|
|
15
|
+
createdAt: string;
|
|
16
|
+
updatedAt: string;
|
|
17
|
+
organisationId: string;
|
|
18
|
+
}
|
|
19
|
+
export interface B2BOrganisationInvitationCreatedEvent {
|
|
20
|
+
id: string;
|
|
21
|
+
type: 'B2BOrganisationInvitationCreated';
|
|
22
|
+
payload: B2BInvitationEventPayload;
|
|
23
|
+
}
|
|
24
|
+
export interface B2BOrganisationInvitationDeletedEvent {
|
|
25
|
+
id: string;
|
|
26
|
+
type: 'B2BOrganisationInvitationDeleted';
|
|
27
|
+
payload: B2BInvitationEventPayload;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=b2b-organisation-invitation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"b2b-organisation-invitation.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation-invitation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,yBAAyB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,qCAAqC;IAClD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,kCAAkC,CAAC;IACzC,OAAO,EAAE,yBAAyB,CAAC;CACtC;AAED,MAAM,WAAW,qCAAqC;IAClD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,kCAAkC,CAAC;IACzC,OAAO,EAAE,yBAAyB,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"b2b-organisation-invitation.js","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation-invitation.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"b2b-organisation.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"b2b-organisation.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
export interface Catalogue {
|
|
2
|
+
id: string;
|
|
3
|
+
owner: string;
|
|
4
|
+
v: number;
|
|
5
|
+
createdAt: string;
|
|
6
|
+
updatedAt: string;
|
|
7
|
+
name: string;
|
|
8
|
+
accessType: CatalogueAccessType;
|
|
9
|
+
}
|
|
10
|
+
export type CatalogueAccessType = 'include' | 'exclude';
|
|
11
|
+
export interface CatalogueCreatedEvent {
|
|
12
|
+
id: string;
|
|
13
|
+
type: 'CatalogueCreated';
|
|
14
|
+
payload: Catalogue;
|
|
15
|
+
}
|
|
16
|
+
export interface CatalogueUpdatedEvent {
|
|
17
|
+
id: string;
|
|
18
|
+
type: 'CatalogueUpdated';
|
|
19
|
+
payload: Catalogue;
|
|
20
|
+
}
|
|
21
|
+
export interface CatalogueDeletedEvent {
|
|
22
|
+
id: string;
|
|
23
|
+
type: 'CatalogueDeleted';
|
|
24
|
+
payload: Catalogue;
|
|
25
|
+
}
|
|
26
|
+
export type CatalogueChangedEvent = CatalogueCreatedEvent | CatalogueUpdatedEvent | CatalogueDeletedEvent;
|
|
27
|
+
export interface CatalogueHackEntry {
|
|
28
|
+
id: string;
|
|
29
|
+
v: number;
|
|
30
|
+
createdAt: string;
|
|
31
|
+
updatedAt: string;
|
|
32
|
+
catalogueId: string;
|
|
33
|
+
baseLocaleHackId: string;
|
|
34
|
+
}
|
|
35
|
+
export interface CatalogueHackEntryCreatedEvent {
|
|
36
|
+
id: string;
|
|
37
|
+
type: 'CatalogueHackEntryCreated';
|
|
38
|
+
payload: CatalogueHackEntry;
|
|
39
|
+
}
|
|
40
|
+
export interface CatalogueHackEntryUpdatedEvent {
|
|
41
|
+
id: string;
|
|
42
|
+
type: 'CatalogueHackEntryUpdated';
|
|
43
|
+
payload: CatalogueHackEntry;
|
|
44
|
+
}
|
|
45
|
+
export interface CatalogueHackEntryDeletedEvent {
|
|
46
|
+
id: string;
|
|
47
|
+
type: 'CatalogueHackEntryDeleted';
|
|
48
|
+
payload: CatalogueHackEntry;
|
|
49
|
+
}
|
|
50
|
+
export type CatalogueHackEntryChangedEvent = CatalogueHackEntryCreatedEvent | CatalogueHackEntryUpdatedEvent | CatalogueHackEntryDeletedEvent;
|
|
51
|
+
export interface CatalogueCollectionEntry {
|
|
52
|
+
id: string;
|
|
53
|
+
v: number;
|
|
54
|
+
createdAt: string;
|
|
55
|
+
updatedAt: string;
|
|
56
|
+
catalogueId: string;
|
|
57
|
+
baseLocaleCollectionId: string;
|
|
58
|
+
}
|
|
59
|
+
export interface CatalogueCollectionEntryCreatedEvent {
|
|
60
|
+
id: string;
|
|
61
|
+
type: 'CatalogueCollectionEntryCreated';
|
|
62
|
+
payload: CatalogueCollectionEntry;
|
|
63
|
+
}
|
|
64
|
+
export interface CatalogueCollectionEntryUpdatedEvent {
|
|
65
|
+
id: string;
|
|
66
|
+
type: 'CatalogueCollectionEntryUpdated';
|
|
67
|
+
payload: CatalogueCollectionEntry;
|
|
68
|
+
}
|
|
69
|
+
export interface CatalogueCollectionEntryDeletedEvent {
|
|
70
|
+
id: string;
|
|
71
|
+
type: 'CatalogueCollectionEntryDeleted';
|
|
72
|
+
payload: CatalogueCollectionEntry;
|
|
73
|
+
}
|
|
74
|
+
export type CatalogueCollectionEntryChangedEvent = CatalogueCollectionEntryCreatedEvent | CatalogueCollectionEntryUpdatedEvent | CatalogueCollectionEntryDeletedEvent;
|
|
75
|
+
export interface CatalogueB2BOrgEntry {
|
|
76
|
+
id: string;
|
|
77
|
+
v: number;
|
|
78
|
+
createdAt: string;
|
|
79
|
+
updatedAt: string;
|
|
80
|
+
catalogueId: string;
|
|
81
|
+
b2bOrgId: string;
|
|
82
|
+
}
|
|
83
|
+
export interface CatalogueB2BOrgEntryCreatedEvent {
|
|
84
|
+
id: string;
|
|
85
|
+
type: 'CatalogueB2BOrgEntryCreated';
|
|
86
|
+
payload: CatalogueB2BOrgEntry;
|
|
87
|
+
}
|
|
88
|
+
export interface CatalogueB2BOrgEntryUpdatedEvent {
|
|
89
|
+
id: string;
|
|
90
|
+
type: 'CatalogueB2BOrgEntryUpdated';
|
|
91
|
+
payload: CatalogueB2BOrgEntry;
|
|
92
|
+
}
|
|
93
|
+
export interface CatalogueB2BOrgEntryDeletedEvent {
|
|
94
|
+
id: string;
|
|
95
|
+
type: 'CatalogueB2BOrgEntryDeleted';
|
|
96
|
+
payload: CatalogueB2BOrgEntry;
|
|
97
|
+
}
|
|
98
|
+
export type CatalogueB2BOrgEntryChangedEvent = CatalogueB2BOrgEntryCreatedEvent | CatalogueB2BOrgEntryUpdatedEvent | CatalogueB2BOrgEntryDeletedEvent;
|
|
99
|
+
//# sourceMappingURL=catalogue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogue.d.ts","sourceRoot":"","sources":["../../../src/catalogue/catalogue.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,mBAAmB,CAAC;CACnC;AAED,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,SAAS,CAAC;AAExD,MAAM,WAAW,qBAAqB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,MAAM,qBAAqB,GAAG,qBAAqB,GAAG,qBAAqB,GAAG,qBAAqB,CAAC;AAE1G,MAAM,WAAW,kBAAkB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EA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C;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,gCAAgC;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,6BAA6B,CAAC;IACpC,OAAO,EAAE,oBAAoB,CAAC;CACjC;AAED,MAAM,WAAW,gCAAgC;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,6BAA6B,CAAC;IACpC,OAAO,EAAE,oBAAoB,CAAC;CACjC;AAED,MAAM,WAAW,gCAAgC;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,6BAA6B,CAAC;IACpC,OAAO,EAAE,oBAAoB,CAAC;CACjC;AAED,MAAM,MAAM,gCAAgC,GAAG,gCAAgC,GAAG,gCAAgC,GAAG,gCAAgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogue.js","sourceRoot":"","sources":["../../../src/catalogue/catalogue.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Creator } from './creator';
|
|
2
|
+
export interface CreatorCreatedEvent {
|
|
3
|
+
id: string;
|
|
4
|
+
type: 'CreatorCreated';
|
|
5
|
+
payload: Creator;
|
|
6
|
+
}
|
|
7
|
+
export interface CreatorUpdatedEvent {
|
|
8
|
+
id: string;
|
|
9
|
+
type: 'CreatorUpdated';
|
|
10
|
+
payload: Creator;
|
|
11
|
+
}
|
|
12
|
+
export interface CreatorDeletedEvent {
|
|
13
|
+
id: string;
|
|
14
|
+
type: 'CreatorDeleted';
|
|
15
|
+
payload: Creator;
|
|
16
|
+
}
|
|
17
|
+
export type CreatorChangedEvent = CreatorCreatedEvent | CreatorUpdatedEvent | CreatorDeletedEvent;
|
|
18
|
+
export interface BecomeACreatorCommandPayload {
|
|
19
|
+
userId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface BecomeACreatorCommand {
|
|
22
|
+
id: string;
|
|
23
|
+
type: 'BecomeACreator';
|
|
24
|
+
payload: BecomeACreatorCommandPayload;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=creator-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creator-events.d.ts","sourceRoot":"","sources":["../../../src/creator/creator-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;CACpB;AAGD,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,mBAAmB,CAAC;AAElG,MAAM,WAAW,4BAA4B;IACzC,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,qBAAqB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,EAAE,4BAA4B,CAAC;CACzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creator-events.js","sourceRoot":"","sources":["../../../src/creator/creator-events.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creator.d.ts","sourceRoot":"","sources":["../../../src/creator/creator.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creator.js","sourceRoot":"","sources":["../../../src/creator/creator.ts"],"names":[],"mappings":""}
|