@uptime.app/contracts 2.0.12 → 2.0.14
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-organisation/b2b-organisation-invitation.d.ts +3 -0
- package/dist/cjs/b2b-organisation/b2b-organisation-invitation.d.ts.map +1 -1
- package/dist/cjs/profile/profile.d.ts +2 -1
- package/dist/cjs/profile/profile.d.ts.map +1 -1
- package/dist/esm/b2b-organisation/b2b-organisation-invitation.d.ts +3 -0
- package/dist/esm/b2b-organisation/b2b-organisation-invitation.d.ts.map +1 -1
- package/dist/esm/profile/profile.d.ts +2 -1
- package/dist/esm/profile/profile.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/b2b-organisation/b2b-organisation-invitation.ts +4 -0
- package/src/profile/profile.ts +2 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SupportedLocale } from '../localisation/supported-locales';
|
|
1
2
|
export interface B2BInvitation {
|
|
2
3
|
id: string;
|
|
3
4
|
v: number;
|
|
@@ -14,6 +15,7 @@ export interface B2BInvitation {
|
|
|
14
15
|
/** AppRole.B2bAdmin or AppRole.B2bMember. If not defined then treat as AppRole.B2bMember */
|
|
15
16
|
role?: string;
|
|
16
17
|
organisationId: string;
|
|
18
|
+
locale: SupportedLocale;
|
|
17
19
|
}
|
|
18
20
|
export interface B2BInvitationEventPayload {
|
|
19
21
|
id: string;
|
|
@@ -25,6 +27,7 @@ export interface B2BInvitationEventPayload {
|
|
|
25
27
|
organisationId: string;
|
|
26
28
|
/** AppRole.B2bAdmin or AppRole.B2bMember. If not defined then treat as AppRole.B2bMember */
|
|
27
29
|
role?: string;
|
|
30
|
+
locale: SupportedLocale;
|
|
28
31
|
}
|
|
29
32
|
export interface B2BOrganisationInvitationCreatedEvent {
|
|
30
33
|
id: string;
|
|
@@ -1 +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,aAAa;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kBAAkB;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"b2b-organisation-invitation.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation-invitation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kBAAkB;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,eAAe,CAAC;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,eAAe,CAAC;CAC3B;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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/profile/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/profile/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0GAA0G;IAC1G,MAAM,EAAE,eAAe,CAAC;CAC3B;AAED,MAAM,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAAC;AAE9D,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,CAAC;IAC7H,GAAG,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SupportedLocale } from '../localisation/supported-locales';
|
|
1
2
|
export interface B2BInvitation {
|
|
2
3
|
id: string;
|
|
3
4
|
v: number;
|
|
@@ -14,6 +15,7 @@ export interface B2BInvitation {
|
|
|
14
15
|
/** AppRole.B2bAdmin or AppRole.B2bMember. If not defined then treat as AppRole.B2bMember */
|
|
15
16
|
role?: string;
|
|
16
17
|
organisationId: string;
|
|
18
|
+
locale: SupportedLocale;
|
|
17
19
|
}
|
|
18
20
|
export interface B2BInvitationEventPayload {
|
|
19
21
|
id: string;
|
|
@@ -25,6 +27,7 @@ export interface B2BInvitationEventPayload {
|
|
|
25
27
|
organisationId: string;
|
|
26
28
|
/** AppRole.B2bAdmin or AppRole.B2bMember. If not defined then treat as AppRole.B2bMember */
|
|
27
29
|
role?: string;
|
|
30
|
+
locale: SupportedLocale;
|
|
28
31
|
}
|
|
29
32
|
export interface B2BOrganisationInvitationCreatedEvent {
|
|
30
33
|
id: string;
|
|
@@ -1 +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,aAAa;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kBAAkB;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"b2b-organisation-invitation.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation-invitation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kBAAkB;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,eAAe,CAAC;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,eAAe,CAAC;CAC3B;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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/profile/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/profile/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0GAA0G;IAC1G,MAAM,EAAE,eAAe,CAAC;CAC3B;AAED,MAAM,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAAC;AAE9D,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,CAAC;IAC7H,GAAG,EAAE,MAAM,CAAC;CACf"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uptime.app/contracts",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"types": "./dist/esm/index.d.ts",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"typescript": "^5.4.3"
|
|
15
15
|
},
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "66a28497d136f7f149f3727d57af24a555b89571"
|
|
17
17
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { SupportedLocale } from '../localisation/supported-locales';
|
|
2
|
+
|
|
1
3
|
export interface B2BInvitation {
|
|
2
4
|
id: string;
|
|
3
5
|
v: number;
|
|
@@ -14,6 +16,7 @@ export interface B2BInvitation {
|
|
|
14
16
|
/** AppRole.B2bAdmin or AppRole.B2bMember. If not defined then treat as AppRole.B2bMember */
|
|
15
17
|
role?: string;
|
|
16
18
|
organisationId: string;
|
|
19
|
+
locale: SupportedLocale;
|
|
17
20
|
}
|
|
18
21
|
|
|
19
22
|
export interface B2BInvitationEventPayload {
|
|
@@ -26,6 +29,7 @@ export interface B2BInvitationEventPayload {
|
|
|
26
29
|
organisationId: string;
|
|
27
30
|
/** AppRole.B2bAdmin or AppRole.B2bMember. If not defined then treat as AppRole.B2bMember */
|
|
28
31
|
role?: string;
|
|
32
|
+
locale: SupportedLocale;
|
|
29
33
|
}
|
|
30
34
|
|
|
31
35
|
export interface B2BOrganisationInvitationCreatedEvent {
|
package/src/profile/profile.ts
CHANGED
|
@@ -8,7 +8,8 @@ export interface StoredProfile {
|
|
|
8
8
|
avatarUrl: string;
|
|
9
9
|
name: string;
|
|
10
10
|
owner: string;
|
|
11
|
-
|
|
11
|
+
/** Added and backfilled in March 2025 */
|
|
12
|
+
tenant: string;
|
|
12
13
|
handle: string;
|
|
13
14
|
_sanitisedHandle?: string; // use to determinate uniqueness for a handle, despite the case of it
|
|
14
15
|
headerImageUrl?: string;
|