@uptime.app/contracts 2.0.80 → 2.0.82-UPM-7894.0
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/enriched-b2b-organisation/enriched-b2b-organisation.d.ts +4 -7
- package/dist/cjs/enriched-b2b-organisation/enriched-b2b-organisation.d.ts.map +1 -1
- package/dist/cjs/enriched-b2b-organisation/enriched-b2b-organisation.js.map +1 -1
- package/dist/esm/enriched-b2b-organisation/enriched-b2b-organisation.d.ts +4 -7
- package/dist/esm/enriched-b2b-organisation/enriched-b2b-organisation.d.ts.map +1 -1
- package/dist/esm/enriched-b2b-organisation/enriched-b2b-organisation.js.map +1 -1
- package/package.json +2 -2
- package/src/enriched-b2b-organisation/enriched-b2b-organisation.ts +4 -8
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { B2BOrganisation } from '../b2b-organisation/b2b-organisation';
|
|
2
|
+
import { SupportedLocale } from '../localisation/supported-locales';
|
|
2
3
|
/**
|
|
3
4
|
* An enriched model of B2BOrganisation containing data that can be consumed by a public (unauthenticated) endpoint
|
|
4
5
|
*/
|
|
@@ -6,8 +7,10 @@ export interface EnrichedB2BOrganisation extends B2BOrganisation {
|
|
|
6
7
|
identityProviders: EnrichedB2BOrganisationIdentityProvider[];
|
|
7
8
|
skinId?: string;
|
|
8
9
|
brandWebAppDomain?: string;
|
|
10
|
+
brandAppName?: {
|
|
11
|
+
[K in SupportedLocale]?: string;
|
|
12
|
+
};
|
|
9
13
|
ssoEnforcement?: SSOEnforcement;
|
|
10
|
-
uptimeLearnUponPortal?: EnrichedB2BOrganisationUptimeLearnUponPortal;
|
|
11
14
|
}
|
|
12
15
|
export interface EnrichedB2BOrganisationIdentityProvider {
|
|
13
16
|
id?: string;
|
|
@@ -16,12 +19,6 @@ export interface EnrichedB2BOrganisationIdentityProvider {
|
|
|
16
19
|
/** Matching verifiedDomains should require to be authenticated via IdP or not */
|
|
17
20
|
enforceIdpAuth: boolean;
|
|
18
21
|
}
|
|
19
|
-
export interface EnrichedB2BOrganisationUptimeLearnUponPortal {
|
|
20
|
-
id: string;
|
|
21
|
-
learnUponPortalId: number;
|
|
22
|
-
learnUponSubdomain: string;
|
|
23
|
-
whiteLabelDomain?: string;
|
|
24
|
-
}
|
|
25
22
|
export declare enum SSOEnforcement {
|
|
26
23
|
/**
|
|
27
24
|
* Means that no identity provider is configured for the organisation
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enriched-b2b-organisation.d.ts","sourceRoot":"","sources":["../../../src/enriched-b2b-organisation/enriched-b2b-organisation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"enriched-b2b-organisation.d.ts","sourceRoot":"","sources":["../../../src/enriched-b2b-organisation/enriched-b2b-organisation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,eAAe;IAC5D,iBAAiB,EAAE,uCAAuC,EAAE,CAAC;IAC7D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE;SACV,CAAC,IAAI,eAAe,CAAC,CAAC,EAAE,MAAM;KAClC,CAAC;IACF,cAAc,CAAC,EAAE,cAAc,CAAC;CACnC;AAED,MAAM,WAAW,uCAAuC;IACpD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,iFAAiF;IACjF,cAAc,EAAE,OAAO,CAAC;CAC3B;AAED,oBAAY,cAAc;IACtB;;OAEG;IACH,IAAI,SAAS;IACb;;OAEG;IACH,QAAQ,aAAa;IACrB;;OAEG;IACH,QAAQ,aAAa;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enriched-b2b-organisation.js","sourceRoot":"","sources":["../../../src/enriched-b2b-organisation/enriched-b2b-organisation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"enriched-b2b-organisation.js","sourceRoot":"","sources":["../../../src/enriched-b2b-organisation/enriched-b2b-organisation.ts"],"names":[],"mappings":";;;AAwBA,IAAY,cAaX;AAbD,WAAY,cAAc;IACtB;;OAEG;IACH,+BAAa,CAAA;IACb;;OAEG;IACH,uCAAqB,CAAA;IACrB;;OAEG;IACH,uCAAqB,CAAA;AACzB,CAAC,EAbW,cAAc,8BAAd,cAAc,QAazB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { B2BOrganisation } from '../b2b-organisation/b2b-organisation';
|
|
2
|
+
import { SupportedLocale } from '../localisation/supported-locales';
|
|
2
3
|
/**
|
|
3
4
|
* An enriched model of B2BOrganisation containing data that can be consumed by a public (unauthenticated) endpoint
|
|
4
5
|
*/
|
|
@@ -6,8 +7,10 @@ export interface EnrichedB2BOrganisation extends B2BOrganisation {
|
|
|
6
7
|
identityProviders: EnrichedB2BOrganisationIdentityProvider[];
|
|
7
8
|
skinId?: string;
|
|
8
9
|
brandWebAppDomain?: string;
|
|
10
|
+
brandAppName?: {
|
|
11
|
+
[K in SupportedLocale]?: string;
|
|
12
|
+
};
|
|
9
13
|
ssoEnforcement?: SSOEnforcement;
|
|
10
|
-
uptimeLearnUponPortal?: EnrichedB2BOrganisationUptimeLearnUponPortal;
|
|
11
14
|
}
|
|
12
15
|
export interface EnrichedB2BOrganisationIdentityProvider {
|
|
13
16
|
id?: string;
|
|
@@ -16,12 +19,6 @@ export interface EnrichedB2BOrganisationIdentityProvider {
|
|
|
16
19
|
/** Matching verifiedDomains should require to be authenticated via IdP or not */
|
|
17
20
|
enforceIdpAuth: boolean;
|
|
18
21
|
}
|
|
19
|
-
export interface EnrichedB2BOrganisationUptimeLearnUponPortal {
|
|
20
|
-
id: string;
|
|
21
|
-
learnUponPortalId: number;
|
|
22
|
-
learnUponSubdomain: string;
|
|
23
|
-
whiteLabelDomain?: string;
|
|
24
|
-
}
|
|
25
22
|
export declare enum SSOEnforcement {
|
|
26
23
|
/**
|
|
27
24
|
* Means that no identity provider is configured for the organisation
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enriched-b2b-organisation.d.ts","sourceRoot":"","sources":["../../../src/enriched-b2b-organisation/enriched-b2b-organisation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"enriched-b2b-organisation.d.ts","sourceRoot":"","sources":["../../../src/enriched-b2b-organisation/enriched-b2b-organisation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,eAAe;IAC5D,iBAAiB,EAAE,uCAAuC,EAAE,CAAC;IAC7D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE;SACV,CAAC,IAAI,eAAe,CAAC,CAAC,EAAE,MAAM;KAClC,CAAC;IACF,cAAc,CAAC,EAAE,cAAc,CAAC;CACnC;AAED,MAAM,WAAW,uCAAuC;IACpD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,iFAAiF;IACjF,cAAc,EAAE,OAAO,CAAC;CAC3B;AAED,oBAAY,cAAc;IACtB;;OAEG;IACH,IAAI,SAAS;IACb;;OAEG;IACH,QAAQ,aAAa;IACrB;;OAEG;IACH,QAAQ,aAAa;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enriched-b2b-organisation.js","sourceRoot":"","sources":["../../../src/enriched-b2b-organisation/enriched-b2b-organisation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"enriched-b2b-organisation.js","sourceRoot":"","sources":["../../../src/enriched-b2b-organisation/enriched-b2b-organisation.ts"],"names":[],"mappings":"AAwBA,MAAM,CAAN,IAAY,cAaX;AAbD,WAAY,cAAc;IACtB;;OAEG;IACH,+BAAa,CAAA;IACb;;OAEG;IACH,uCAAqB,CAAA;IACrB;;OAEG;IACH,uCAAqB,CAAA;AACzB,CAAC,EAbW,cAAc,KAAd,cAAc,QAazB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uptime.app/contracts",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.82-UPM-7894.0",
|
|
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": "0590f6338da5e2d634482b32cf76d0573f9e0c71"
|
|
18
18
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { B2BOrganisation } from '../b2b-organisation/b2b-organisation';
|
|
2
|
+
import { SupportedLocale } from '../localisation/supported-locales';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* An enriched model of B2BOrganisation containing data that can be consumed by a public (unauthenticated) endpoint
|
|
@@ -7,8 +8,10 @@ export interface EnrichedB2BOrganisation extends B2BOrganisation {
|
|
|
7
8
|
identityProviders: EnrichedB2BOrganisationIdentityProvider[];
|
|
8
9
|
skinId?: string;
|
|
9
10
|
brandWebAppDomain?: string;
|
|
11
|
+
brandAppName?: {
|
|
12
|
+
[K in SupportedLocale]?: string
|
|
13
|
+
};
|
|
10
14
|
ssoEnforcement?: SSOEnforcement;
|
|
11
|
-
uptimeLearnUponPortal?: EnrichedB2BOrganisationUptimeLearnUponPortal;
|
|
12
15
|
}
|
|
13
16
|
|
|
14
17
|
export interface EnrichedB2BOrganisationIdentityProvider {
|
|
@@ -19,13 +22,6 @@ export interface EnrichedB2BOrganisationIdentityProvider {
|
|
|
19
22
|
enforceIdpAuth: boolean;
|
|
20
23
|
}
|
|
21
24
|
|
|
22
|
-
export interface EnrichedB2BOrganisationUptimeLearnUponPortal {
|
|
23
|
-
id: string;
|
|
24
|
-
learnUponPortalId: number;
|
|
25
|
-
learnUponSubdomain: string;
|
|
26
|
-
whiteLabelDomain?: string;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
25
|
export enum SSOEnforcement {
|
|
30
26
|
/**
|
|
31
27
|
* Means that no identity provider is configured for the organisation
|