@boxyhq/saml-jackson 1.9.0 → 1.9.2-beta.6087

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.
Files changed (49) hide show
  1. package/dist/controller/admin.d.ts +7 -3
  2. package/dist/controller/admin.js +17 -1
  3. package/dist/controller/admin.js.map +1 -1
  4. package/dist/controller/connection/saml.js +2 -5
  5. package/dist/controller/connection/saml.js.map +1 -1
  6. package/dist/controller/oauth.d.ts +3 -1
  7. package/dist/controller/oauth.js +321 -211
  8. package/dist/controller/oauth.js.map +1 -1
  9. package/dist/controller/saml-handler.d.ts +1 -0
  10. package/dist/controller/saml-handler.js +4 -2
  11. package/dist/controller/saml-handler.js.map +1 -1
  12. package/dist/controller/utils.d.ts +2 -1
  13. package/dist/controller/utils.js +1 -0
  14. package/dist/controller/utils.js.map +1 -1
  15. package/dist/directory-sync/DirectoryUsers.js +15 -14
  16. package/dist/directory-sync/DirectoryUsers.js.map +1 -1
  17. package/dist/directory-sync/types.d.ts +15 -0
  18. package/dist/directory-sync/utils.d.ts +13 -9
  19. package/dist/directory-sync/utils.js +60 -28
  20. package/dist/directory-sync/utils.js.map +1 -1
  21. package/dist/ee/branding/index.d.ts +15 -0
  22. package/dist/ee/branding/index.js +49 -0
  23. package/dist/ee/branding/index.js.map +1 -0
  24. package/dist/ee/federated-saml/app.d.ts +12 -5
  25. package/dist/ee/federated-saml/app.js +19 -12
  26. package/dist/ee/federated-saml/app.js.map +1 -1
  27. package/dist/ee/federated-saml/index.d.ts +3 -2
  28. package/dist/ee/federated-saml/index.js +2 -2
  29. package/dist/ee/federated-saml/index.js.map +1 -1
  30. package/dist/ee/federated-saml/sso.d.ts +4 -1
  31. package/dist/ee/federated-saml/sso.js +70 -45
  32. package/dist/ee/federated-saml/sso.js.map +1 -1
  33. package/dist/ee/federated-saml/types.d.ts +3 -0
  34. package/dist/index.d.ts +3 -0
  35. package/dist/index.js +12 -2
  36. package/dist/index.js.map +1 -1
  37. package/dist/saml/lib.d.ts +1 -0
  38. package/dist/saml/lib.js +3 -2
  39. package/dist/saml/lib.js.map +1 -1
  40. package/dist/saml-tracer/index.d.ts +14 -0
  41. package/dist/saml-tracer/index.js +87 -0
  42. package/dist/saml-tracer/index.js.map +1 -0
  43. package/dist/saml-tracer/types.d.ts +31 -0
  44. package/dist/saml-tracer/types.js +3 -0
  45. package/dist/saml-tracer/types.js.map +1 -0
  46. package/dist/typings.d.ts +12 -0
  47. package/dist/typings.js +1 -0
  48. package/dist/typings.js.map +1 -1
  49. package/package.json +9 -7
package/dist/typings.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import type { JWK } from 'jose';
2
2
  import type { IssuerMetadata } from 'openid-client';
3
3
  export * from './ee/federated-saml/types';
4
+ export * from './saml-tracer/types';
4
5
  export * from './directory-sync/types';
5
6
  interface SSOConnection {
6
7
  defaultRedirectUrl: string;
@@ -144,6 +145,8 @@ export interface IOAuthController {
144
145
  }
145
146
  export interface IAdminController {
146
147
  getAllConnection(pageOffset?: number, pageLimit?: number): any;
148
+ getAllSAMLTraces(pageOffset: number, pageLimit: number): any;
149
+ getSAMLTraceById(traceId: string): any;
147
150
  }
148
151
  export interface IHealthCheckController {
149
152
  status(): Promise<{
@@ -400,3 +403,12 @@ export type SetupLink = {
400
403
  validTill: number;
401
404
  };
402
405
  export type SetupLinkService = 'sso' | 'dsync';
406
+ export type AdminPortalSettings = {
407
+ branding: AdminPortalBranding;
408
+ };
409
+ export type AdminPortalBranding = {
410
+ logoUrl: string | null;
411
+ faviconUrl: string | null;
412
+ primaryColor: string | null;
413
+ companyName: string | null;
414
+ };
package/dist/typings.js CHANGED
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ee/federated-saml/types"), exports);
18
+ __exportStar(require("./saml-tracer/types"), exports);
18
19
  __exportStar(require("./directory-sync/types"), exports);
19
20
  //# sourceMappingURL=typings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"typings.js","sourceRoot":"","sources":["../src/typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,4DAA0C;AAC1C,yDAAuC"}
1
+ {"version":3,"file":"typings.js","sourceRoot":"","sources":["../src/typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,4DAA0C;AAC1C,sDAAoC;AACpC,yDAAuC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boxyhq/saml-jackson",
3
- "version": "1.9.0",
3
+ "version": "1.9.2-beta.6087",
4
4
  "description": "SAML Jackson library",
5
5
  "keywords": [
6
6
  "SAML 2.0"
@@ -40,19 +40,21 @@
40
40
  "statements": 70
41
41
  },
42
42
  "dependencies": {
43
+ "@aws-sdk/credential-providers": "3.289.0",
44
+ "@boxyhq/error-code-mnemonic": "0.1.0",
43
45
  "@boxyhq/saml20": "1.1.3",
44
46
  "@opentelemetry/api": "1.4.0",
45
- "@aws-sdk/credential-providers": "3.279.0",
46
47
  "axios": "1.3.4",
47
- "jose": "4.12.0",
48
+ "jose": "4.13.1",
49
+ "lodash": "4.17.21",
48
50
  "marked": "4.2.12",
49
51
  "mixpanel": "0.17.0",
50
52
  "mongodb": "5.1.0",
51
53
  "mssql": "9.1.1",
52
- "mysql2": "3.1.2",
54
+ "mysql2": "3.2.0",
53
55
  "node-forge": "1.3.1",
54
56
  "openid-client": "5.4.0",
55
- "pg": "8.9.0",
57
+ "pg": "8.10.0",
56
58
  "redis": "4.6.5",
57
59
  "reflect-metadata": "0.1.13",
58
60
  "ripemd160": "2.0.2",
@@ -62,11 +64,11 @@
62
64
  },
63
65
  "devDependencies": {
64
66
  "@faker-js/faker": "7.6.0",
65
- "@types/node": "18.14.2",
67
+ "@types/node": "18.15.1",
66
68
  "@types/sinon": "10.0.13",
67
69
  "@types/tap": "15.0.8",
68
70
  "cross-env": "7.0.3",
69
- "sinon": "15.0.1",
71
+ "sinon": "15.0.2",
70
72
  "tap": "16.3.4",
71
73
  "ts-node": "10.9.1",
72
74
  "tsconfig-paths": "4.1.2",