@uptime.app/contracts 2.0.49 → 2.0.51
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-member.d.ts +6 -0
- package/dist/cjs/b2b-organisation/b2b-organisation-member.d.ts.map +1 -1
- package/dist/cjs/b2b-organisation/b2b-organisation-member.js +7 -0
- package/dist/cjs/b2b-organisation/b2b-organisation-member.js.map +1 -1
- package/dist/cjs/enriched-b2b-organisation/enriched-b2b-organisation.d.ts +2 -2
- package/dist/cjs/enriched-b2b-organisation/enriched-b2b-organisation.js +2 -2
- package/dist/esm/b2b-organisation/b2b-organisation-member.d.ts +6 -0
- package/dist/esm/b2b-organisation/b2b-organisation-member.d.ts.map +1 -1
- package/dist/esm/b2b-organisation/b2b-organisation-member.js +6 -1
- package/dist/esm/b2b-organisation/b2b-organisation-member.js.map +1 -1
- package/dist/esm/enriched-b2b-organisation/enriched-b2b-organisation.d.ts +2 -2
- package/dist/esm/enriched-b2b-organisation/enriched-b2b-organisation.js +2 -2
- package/package.json +2 -2
- package/src/b2b-organisation/b2b-organisation-member.ts +8 -0
- package/src/enriched-b2b-organisation/enriched-b2b-organisation.ts +2 -2
|
@@ -9,5 +9,11 @@ export interface B2BOrganisationMember {
|
|
|
9
9
|
/** Added Nov 2024. AppRole.B2bAdmin or AppRole.B2bMember */
|
|
10
10
|
role: string;
|
|
11
11
|
profileId?: string;
|
|
12
|
+
joinedVia?: B2BOrganisationMemberJoinedVia;
|
|
13
|
+
}
|
|
14
|
+
export declare enum B2BOrganisationMemberJoinedVia {
|
|
15
|
+
INVITATION = "INVITATION",
|
|
16
|
+
PUBLIC_LINK = "PUBLIC_LINK",
|
|
17
|
+
SSO = "SSO"
|
|
12
18
|
}
|
|
13
19
|
//# sourceMappingURL=b2b-organisation-member.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"b2b-organisation-member.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation-member.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IAClC,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,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"b2b-organisation-member.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation-member.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IAClC,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,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,8BAA8B,CAAC;CAE9C;AAED,oBAAY,8BAA8B;IACtC,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,GAAG,QAAQ;CACd"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.B2BOrganisationMemberJoinedVia = void 0;
|
|
4
|
+
var B2BOrganisationMemberJoinedVia;
|
|
5
|
+
(function (B2BOrganisationMemberJoinedVia) {
|
|
6
|
+
B2BOrganisationMemberJoinedVia["INVITATION"] = "INVITATION";
|
|
7
|
+
B2BOrganisationMemberJoinedVia["PUBLIC_LINK"] = "PUBLIC_LINK";
|
|
8
|
+
B2BOrganisationMemberJoinedVia["SSO"] = "SSO";
|
|
9
|
+
})(B2BOrganisationMemberJoinedVia || (exports.B2BOrganisationMemberJoinedVia = B2BOrganisationMemberJoinedVia = {}));
|
|
3
10
|
//# sourceMappingURL=b2b-organisation-member.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"b2b-organisation-member.js","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation-member.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"b2b-organisation-member.js","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation-member.ts"],"names":[],"mappings":";;;AAeA,IAAY,8BAIX;AAJD,WAAY,8BAA8B;IACtC,2DAAyB,CAAA;IACzB,6DAA2B,CAAA;IAC3B,6CAAW,CAAA;AACf,CAAC,EAJW,8BAA8B,8CAA9B,8BAA8B,QAIzC"}
|
|
@@ -17,7 +17,7 @@ export interface EnrichedB2BOrganisationIdentityProvider {
|
|
|
17
17
|
}
|
|
18
18
|
export declare enum SSOEnforcement {
|
|
19
19
|
/**
|
|
20
|
-
* Means that no identity provider
|
|
20
|
+
* Means that no identity provider is configured for the organisation
|
|
21
21
|
*/
|
|
22
22
|
NONE = "NONE",
|
|
23
23
|
/**
|
|
@@ -25,7 +25,7 @@ export declare enum SSOEnforcement {
|
|
|
25
25
|
*/
|
|
26
26
|
OPTIONAL = "OPTIONAL",
|
|
27
27
|
/**
|
|
28
|
-
* Means it has at least 1 identity provider and that all identity providers enforceIdpAuth
|
|
28
|
+
* Means it has at least 1 identity provider and that all identity providers enforceIdpAuth
|
|
29
29
|
*/
|
|
30
30
|
ENFORCED = "ENFORCED"
|
|
31
31
|
}
|
|
@@ -4,7 +4,7 @@ exports.SSOEnforcement = void 0;
|
|
|
4
4
|
var SSOEnforcement;
|
|
5
5
|
(function (SSOEnforcement) {
|
|
6
6
|
/**
|
|
7
|
-
* Means that no identity provider
|
|
7
|
+
* Means that no identity provider is configured for the organisation
|
|
8
8
|
*/
|
|
9
9
|
SSOEnforcement["NONE"] = "NONE";
|
|
10
10
|
/**
|
|
@@ -12,7 +12,7 @@ var SSOEnforcement;
|
|
|
12
12
|
*/
|
|
13
13
|
SSOEnforcement["OPTIONAL"] = "OPTIONAL";
|
|
14
14
|
/**
|
|
15
|
-
* Means it has at least 1 identity provider and that all identity providers enforceIdpAuth
|
|
15
|
+
* Means it has at least 1 identity provider and that all identity providers enforceIdpAuth
|
|
16
16
|
*/
|
|
17
17
|
SSOEnforcement["ENFORCED"] = "ENFORCED";
|
|
18
18
|
})(SSOEnforcement || (exports.SSOEnforcement = SSOEnforcement = {}));
|
|
@@ -9,5 +9,11 @@ export interface B2BOrganisationMember {
|
|
|
9
9
|
/** Added Nov 2024. AppRole.B2bAdmin or AppRole.B2bMember */
|
|
10
10
|
role: string;
|
|
11
11
|
profileId?: string;
|
|
12
|
+
joinedVia?: B2BOrganisationMemberJoinedVia;
|
|
13
|
+
}
|
|
14
|
+
export declare enum B2BOrganisationMemberJoinedVia {
|
|
15
|
+
INVITATION = "INVITATION",
|
|
16
|
+
PUBLIC_LINK = "PUBLIC_LINK",
|
|
17
|
+
SSO = "SSO"
|
|
12
18
|
}
|
|
13
19
|
//# sourceMappingURL=b2b-organisation-member.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"b2b-organisation-member.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation-member.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IAClC,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,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"b2b-organisation-member.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation-member.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IAClC,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,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,8BAA8B,CAAC;CAE9C;AAED,oBAAY,8BAA8B;IACtC,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,GAAG,QAAQ;CACd"}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var B2BOrganisationMemberJoinedVia;
|
|
2
|
+
(function (B2BOrganisationMemberJoinedVia) {
|
|
3
|
+
B2BOrganisationMemberJoinedVia["INVITATION"] = "INVITATION";
|
|
4
|
+
B2BOrganisationMemberJoinedVia["PUBLIC_LINK"] = "PUBLIC_LINK";
|
|
5
|
+
B2BOrganisationMemberJoinedVia["SSO"] = "SSO";
|
|
6
|
+
})(B2BOrganisationMemberJoinedVia || (B2BOrganisationMemberJoinedVia = {}));
|
|
2
7
|
//# sourceMappingURL=b2b-organisation-member.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"b2b-organisation-member.js","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation-member.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"b2b-organisation-member.js","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation-member.ts"],"names":[],"mappings":"AAeA,MAAM,CAAN,IAAY,8BAIX;AAJD,WAAY,8BAA8B;IACtC,2DAAyB,CAAA;IACzB,6DAA2B,CAAA;IAC3B,6CAAW,CAAA;AACf,CAAC,EAJW,8BAA8B,KAA9B,8BAA8B,QAIzC"}
|
|
@@ -17,7 +17,7 @@ export interface EnrichedB2BOrganisationIdentityProvider {
|
|
|
17
17
|
}
|
|
18
18
|
export declare enum SSOEnforcement {
|
|
19
19
|
/**
|
|
20
|
-
* Means that no identity provider
|
|
20
|
+
* Means that no identity provider is configured for the organisation
|
|
21
21
|
*/
|
|
22
22
|
NONE = "NONE",
|
|
23
23
|
/**
|
|
@@ -25,7 +25,7 @@ export declare enum SSOEnforcement {
|
|
|
25
25
|
*/
|
|
26
26
|
OPTIONAL = "OPTIONAL",
|
|
27
27
|
/**
|
|
28
|
-
* Means it has at least 1 identity provider and that all identity providers enforceIdpAuth
|
|
28
|
+
* Means it has at least 1 identity provider and that all identity providers enforceIdpAuth
|
|
29
29
|
*/
|
|
30
30
|
ENFORCED = "ENFORCED"
|
|
31
31
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export var SSOEnforcement;
|
|
2
2
|
(function (SSOEnforcement) {
|
|
3
3
|
/**
|
|
4
|
-
* Means that no identity provider
|
|
4
|
+
* Means that no identity provider is configured for the organisation
|
|
5
5
|
*/
|
|
6
6
|
SSOEnforcement["NONE"] = "NONE";
|
|
7
7
|
/**
|
|
@@ -9,7 +9,7 @@ export var SSOEnforcement;
|
|
|
9
9
|
*/
|
|
10
10
|
SSOEnforcement["OPTIONAL"] = "OPTIONAL";
|
|
11
11
|
/**
|
|
12
|
-
* Means it has at least 1 identity provider and that all identity providers enforceIdpAuth
|
|
12
|
+
* Means it has at least 1 identity provider and that all identity providers enforceIdpAuth
|
|
13
13
|
*/
|
|
14
14
|
SSOEnforcement["ENFORCED"] = "ENFORCED";
|
|
15
15
|
})(SSOEnforcement || (SSOEnforcement = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uptime.app/contracts",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.51",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"types": "./dist/esm/index.d.ts",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"typescript": "^5.4.3"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "228f4296776758dac8c195022a78f2cb52fd54b0"
|
|
18
18
|
}
|
|
@@ -9,4 +9,12 @@ export interface B2BOrganisationMember {
|
|
|
9
9
|
/** Added Nov 2024. AppRole.B2bAdmin or AppRole.B2bMember */
|
|
10
10
|
role: string;
|
|
11
11
|
profileId?: string;
|
|
12
|
+
joinedVia?: B2BOrganisationMemberJoinedVia;
|
|
13
|
+
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export enum B2BOrganisationMemberJoinedVia {
|
|
17
|
+
INVITATION = 'INVITATION',
|
|
18
|
+
PUBLIC_LINK = 'PUBLIC_LINK',
|
|
19
|
+
SSO = 'SSO',
|
|
12
20
|
}
|
|
@@ -20,7 +20,7 @@ export interface EnrichedB2BOrganisationIdentityProvider {
|
|
|
20
20
|
|
|
21
21
|
export enum SSOEnforcement {
|
|
22
22
|
/**
|
|
23
|
-
* Means that no identity provider
|
|
23
|
+
* Means that no identity provider is configured for the organisation
|
|
24
24
|
*/
|
|
25
25
|
NONE = 'NONE',
|
|
26
26
|
/**
|
|
@@ -28,7 +28,7 @@ export enum SSOEnforcement {
|
|
|
28
28
|
*/
|
|
29
29
|
OPTIONAL = 'OPTIONAL',
|
|
30
30
|
/**
|
|
31
|
-
* Means it has at least 1 identity provider and that all identity providers enforceIdpAuth
|
|
31
|
+
* Means it has at least 1 identity provider and that all identity providers enforceIdpAuth
|
|
32
32
|
*/
|
|
33
33
|
ENFORCED = 'ENFORCED'
|
|
34
34
|
}
|