@smartytalent/api-client 0.7.1 → 0.7.2
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/models/TenantAttributesSchema.d.ts +14 -3
- package/dist/models/TenantAttributesSchema.d.ts.map +1 -1
- package/dist/models/TenantAttributesSchema.js +11 -0
- package/dist/models/TenantAttributesSchema.js.map +1 -1
- package/dist/models/TenantSsoAttributesSchema.d.ts +1 -1
- package/package.json +1 -1
|
@@ -85,11 +85,11 @@ export interface TenantAttributesSchema {
|
|
|
85
85
|
*/
|
|
86
86
|
settings?: TenantAttributesSettingsSchema;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
89
|
-
* @type {
|
|
88
|
+
* Billing plan. The API Gateway authorizer maps custom:userPlan onto a usage plan key and falls back to `system` - the PLATFORM's own plan - for anything it does not recognise, so an invented name does not fail, it silently meters that customer against our internal quota. `enterprise` was such a name (a second word for `corporate`) and was folded into it 2026-07-27. NOTE: the server checks this list explicitly, because validate_item honours type/pattern/length but IGNORES enum.
|
|
89
|
+
* @type {TenantAttributesSchemaPlanEnum}
|
|
90
90
|
* @memberof TenantAttributesSchema
|
|
91
91
|
*/
|
|
92
|
-
plan:
|
|
92
|
+
plan: TenantAttributesSchemaPlanEnum;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @type {Array<string>}
|
|
@@ -135,6 +135,17 @@ export interface TenantAttributesSchema {
|
|
|
135
135
|
*/
|
|
136
136
|
defaultFormId?: string | null;
|
|
137
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* @export
|
|
140
|
+
*/
|
|
141
|
+
export declare const TenantAttributesSchemaPlanEnum: {
|
|
142
|
+
readonly Startup: "startup";
|
|
143
|
+
readonly Growth: "growth";
|
|
144
|
+
readonly Expansion: "expansion";
|
|
145
|
+
readonly Corporate: "corporate";
|
|
146
|
+
readonly System: "system";
|
|
147
|
+
};
|
|
148
|
+
export type TenantAttributesSchemaPlanEnum = typeof TenantAttributesSchemaPlanEnum[keyof typeof TenantAttributesSchemaPlanEnum];
|
|
138
149
|
/**
|
|
139
150
|
* Check if a given object implements the TenantAttributesSchema interface.
|
|
140
151
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TenantAttributesSchema.d.ts","sourceRoot":"","sources":["../../src/models/TenantAttributesSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOrF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAOvF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE,6BAA6B,CAAC;IACxC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,8BAA8B,CAAC;IAC1C;;;;OAIG;IACH,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"TenantAttributesSchema.d.ts","sourceRoot":"","sources":["../../src/models/TenantAttributesSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,K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D;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;CAMjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAC,MAAM,OAAO,8BAA8B,CAAC,CAAC;AAGhI;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAK/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CA0BnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA2BlI"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.TenantAttributesSchemaPlanEnum = void 0;
|
|
16
17
|
exports.instanceOfTenantAttributesSchema = instanceOfTenantAttributesSchema;
|
|
17
18
|
exports.TenantAttributesSchemaFromJSON = TenantAttributesSchemaFromJSON;
|
|
18
19
|
exports.TenantAttributesSchemaFromJSONTyped = TenantAttributesSchemaFromJSONTyped;
|
|
@@ -21,6 +22,16 @@ exports.TenantAttributesSchemaToJSONTyped = TenantAttributesSchemaToJSONTyped;
|
|
|
21
22
|
const TenantAttributesAddressSchema_1 = require("./TenantAttributesAddressSchema");
|
|
22
23
|
const TenantAttributesSettingsSchema_1 = require("./TenantAttributesSettingsSchema");
|
|
23
24
|
const ResourceTimestampsSchema_1 = require("./ResourceTimestampsSchema");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.TenantAttributesSchemaPlanEnum = {
|
|
29
|
+
Startup: 'startup',
|
|
30
|
+
Growth: 'growth',
|
|
31
|
+
Expansion: 'expansion',
|
|
32
|
+
Corporate: 'corporate',
|
|
33
|
+
System: 'system'
|
|
34
|
+
};
|
|
24
35
|
/**
|
|
25
36
|
* Check if a given object implements the TenantAttributesSchema interface.
|
|
26
37
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TenantAttributesSchema.js","sourceRoot":"","sources":["../../src/models/TenantAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG
|
|
1
|
+
{"version":3,"file":"TenantAttributesSchema.js","sourceRoot":"","sources":["../../src/models/TenantAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAsKH,4EAKC;AAED,wEAEC;AAED,kFA0BC;AAED,oEAEC;AAED,8EA2BC;AAxOD,mFAKyC;AAEzC,qFAK0C;AAE1C,yEAKoC;AA+HpC;;GAEG;AACU,QAAA,8BAA8B,GAAG;IAC1C,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACV,CAAC;AAIX;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;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AAI,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,WAAW,EAAE;QACvH,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;KAC1C,CAAC;AACN,CAAC"}
|
|
@@ -83,7 +83,7 @@ export interface TenantSsoAttributesSchema {
|
|
|
83
83
|
*/
|
|
84
84
|
readonly domainsReleased?: Array<string>;
|
|
85
85
|
/**
|
|
86
|
-
* Ready-made login link for this customer's employees (a tile in their Entra My Apps, an intranet bookmark, the welcome email).
|
|
86
|
+
* Ready-made login link for this customer's employees (a tile in their Entra My Apps, an intranet bookmark, the welcome email), of the form https://myaccount.{domain}/sso?idp=ms-{shortCode}. It points at the APP, never at Cognito's authorize endpoint: nextauth refuses a callback it did not initiate, because the state, nonce and PKCE verifier it validates against live in cookies it sets while building the authorize URL itself - a hand-assembled Cognito link fails with 'State cookie was missing' however correct its parameters are. The page forwards idp as identity_provider, which also keeps the enterprise client's hosted page from drawing a button for every customer IdP on it. There is deliberately no email-domain discovery endpoint: Cognito's own domain routing is SAML-only, and a public discovery endpoint would be an oracle for whether a given company is our customer. Lands in the myaccount app, which every role can reach - a JIT employee in the pending state has no role yet, so a role-scoped app would refuse them and the link would look broken. Derived on read, never stored.
|
|
87
87
|
* @type {string}
|
|
88
88
|
* @memberof TenantSsoAttributesSchema
|
|
89
89
|
*/
|