@atlasauth/backend 0.5.0 → 0.6.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.
Files changed (113) hide show
  1. package/README.md +187 -0
  2. package/dist/client/activity.d.ts +104 -0
  3. package/dist/client/activity.js +29 -0
  4. package/dist/client/activity.js.map +1 -0
  5. package/dist/client/audit-events.d.ts +103 -0
  6. package/dist/client/audit-events.js +43 -0
  7. package/dist/client/audit-events.js.map +1 -0
  8. package/dist/client/billing-plans.d.ts +43 -0
  9. package/dist/client/billing-plans.js +26 -0
  10. package/dist/client/billing-plans.js.map +1 -1
  11. package/dist/client/connectors.d.ts +174 -0
  12. package/dist/client/connectors.js +54 -0
  13. package/dist/client/connectors.js.map +1 -0
  14. package/dist/client/data-subject-requests.d.ts +21 -0
  15. package/dist/client/data-subject-requests.js +15 -0
  16. package/dist/client/data-subject-requests.js.map +1 -1
  17. package/dist/client/design.d.ts +295 -0
  18. package/dist/client/design.js +76 -0
  19. package/dist/client/design.js.map +1 -0
  20. package/dist/client/diagnostics.d.ts +53 -0
  21. package/dist/client/diagnostics.js +24 -0
  22. package/dist/client/diagnostics.js.map +1 -0
  23. package/dist/client/email-addresses.d.ts +22 -0
  24. package/dist/client/email-addresses.js +17 -0
  25. package/dist/client/email-addresses.js.map +1 -0
  26. package/dist/client/entitlement-overrides.d.ts +50 -0
  27. package/dist/client/entitlement-overrides.js +20 -0
  28. package/dist/client/entitlement-overrides.js.map +1 -0
  29. package/dist/client/error.d.ts +28 -0
  30. package/dist/client/error.js +27 -1
  31. package/dist/client/error.js.map +1 -1
  32. package/dist/client/index.d.ts +458 -16
  33. package/dist/client/index.js +76 -2
  34. package/dist/client/index.js.map +1 -1
  35. package/dist/client/instance.d.ts +54 -0
  36. package/dist/client/instance.js +18 -0
  37. package/dist/client/instance.js.map +1 -1
  38. package/dist/client/invitations.d.ts +14 -0
  39. package/dist/client/invitations.js +9 -0
  40. package/dist/client/invitations.js.map +1 -1
  41. package/dist/client/legacy-auth.d.ts +45 -0
  42. package/dist/client/legacy-auth.js +18 -0
  43. package/dist/client/legacy-auth.js.map +1 -0
  44. package/dist/client/mcp.d.ts +86 -0
  45. package/dist/client/mcp.js +47 -0
  46. package/dist/client/mcp.js.map +1 -0
  47. package/dist/client/notifications.d.ts +92 -0
  48. package/dist/client/notifications.js +55 -0
  49. package/dist/client/notifications.js.map +1 -0
  50. package/dist/client/oauth-clients.d.ts +46 -2
  51. package/dist/client/oauth-clients.js +4 -0
  52. package/dist/client/oauth-clients.js.map +1 -1
  53. package/dist/client/oauth-providers.d.ts +67 -7
  54. package/dist/client/oauth-providers.js +7 -2
  55. package/dist/client/oauth-providers.js.map +1 -1
  56. package/dist/client/openfga.d.ts +137 -0
  57. package/dist/client/openfga.js +72 -0
  58. package/dist/client/openfga.js.map +1 -0
  59. package/dist/client/org-ldap-connections.d.ts +75 -0
  60. package/dist/client/org-ldap-connections.js +36 -0
  61. package/dist/client/org-ldap-connections.js.map +1 -0
  62. package/dist/client/organization-settings-schema.d.ts +24 -0
  63. package/dist/client/organization-settings-schema.js +30 -0
  64. package/dist/client/organization-settings-schema.js.map +1 -0
  65. package/dist/client/organizations.d.ts +205 -4
  66. package/dist/client/organizations.js +109 -0
  67. package/dist/client/organizations.js.map +1 -1
  68. package/dist/client/pca.d.ts +59 -0
  69. package/dist/client/pca.js +40 -0
  70. package/dist/client/pca.js.map +1 -0
  71. package/dist/client/platform.d.ts +328 -0
  72. package/dist/client/platform.js +187 -0
  73. package/dist/client/platform.js.map +1 -0
  74. package/dist/client/redirect-urls.d.ts +23 -0
  75. package/dist/client/redirect-urls.js +22 -0
  76. package/dist/client/redirect-urls.js.map +1 -0
  77. package/dist/client/request.d.ts +45 -0
  78. package/dist/client/request.js +35 -2
  79. package/dist/client/request.js.map +1 -1
  80. package/dist/client/session-exchange-apps.d.ts +43 -0
  81. package/dist/client/session-exchange-apps.js +25 -0
  82. package/dist/client/session-exchange-apps.js.map +1 -0
  83. package/dist/client/sessions.d.ts +12 -0
  84. package/dist/client/sessions.js +10 -0
  85. package/dist/client/sessions.js.map +1 -1
  86. package/dist/client/sign-in-tokens.d.ts +13 -1
  87. package/dist/client/sign-in-tokens.js +11 -0
  88. package/dist/client/sign-in-tokens.js.map +1 -1
  89. package/dist/client/test-mode.d.ts +44 -0
  90. package/dist/client/test-mode.js +26 -0
  91. package/dist/client/test-mode.js.map +1 -0
  92. package/dist/client/tickets.d.ts +49 -0
  93. package/dist/client/tickets.js +19 -0
  94. package/dist/client/tickets.js.map +1 -0
  95. package/dist/client/users.d.ts +346 -0
  96. package/dist/client/users.js +228 -0
  97. package/dist/client/users.js.map +1 -1
  98. package/dist/client/waitlist.d.ts +21 -0
  99. package/dist/client/waitlist.js +16 -0
  100. package/dist/client/waitlist.js.map +1 -1
  101. package/dist/client/webhooks.d.ts +60 -6
  102. package/dist/client/webhooks.js +36 -2
  103. package/dist/client/webhooks.js.map +1 -1
  104. package/dist/index.d.ts +2 -0
  105. package/dist/index.js +9 -1
  106. package/dist/index.js.map +1 -1
  107. package/dist/logout-token.d.ts +97 -0
  108. package/dist/logout-token.js +182 -0
  109. package/dist/logout-token.js.map +1 -0
  110. package/dist/verify.d.ts +7 -0
  111. package/dist/verify.js +13 -0
  112. package/dist/verify.js.map +1 -1
  113. package/package.json +1 -1
@@ -0,0 +1,53 @@
1
+ import type { RequestFn } from './request';
2
+ export interface LoginReadinessParams {
3
+ /** The app origin to probe, e.g. `https://app.acme.com`. */
4
+ origin: string;
5
+ /** Round-trip the published JWKS for the signing check instead of inferring it. */
6
+ live?: boolean;
7
+ }
8
+ export interface LoginReadinessCheck {
9
+ name: string;
10
+ pass: boolean;
11
+ observed: unknown;
12
+ /** What was seen, and the fix when it fails. */
13
+ detail: string;
14
+ }
15
+ export interface LoginReadiness {
16
+ object: 'login_readiness';
17
+ origin: string;
18
+ live: boolean;
19
+ data_region?: string | null;
20
+ ready: boolean;
21
+ checks: LoginReadinessCheck[];
22
+ }
23
+ export interface RequestInspectorParams {
24
+ /** The browser origin making the request. */
25
+ origin: string;
26
+ /** Default `POST`. */
27
+ method?: string;
28
+ /** Default `/v1/client/sign_ins`. */
29
+ path?: string;
30
+ /** A session JWT to verify against this instance. */
31
+ token?: string;
32
+ }
33
+ export interface RequestInspectionFinding {
34
+ check: string;
35
+ /** Whether this finding alone rejects the request. */
36
+ blocks: boolean;
37
+ observed: unknown;
38
+ detail: string;
39
+ }
40
+ export interface RequestInspection {
41
+ object: 'request_inspection';
42
+ origin: string;
43
+ method: string;
44
+ path: string;
45
+ would_be_rejected: boolean;
46
+ findings: RequestInspectionFinding[];
47
+ }
48
+ export declare function diagnosticsResource(request: RequestFn): {
49
+ /** Will a browser sign-in from `origin` work? CORS, cookie, email claim and signing, each with a fix. */
50
+ loginReadiness(params: LoginReadinessParams): Promise<LoginReadiness>;
51
+ /** Why would this browser request be rejected? Each finding says whether it blocks. */
52
+ requestInspector(params: RequestInspectorParams): Promise<RequestInspection>;
53
+ };
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.diagnosticsResource = diagnosticsResource;
4
+ function diagnosticsResource(request) {
5
+ return {
6
+ /** Will a browser sign-in from `origin` work? CORS, cookie, email claim and signing, each with a fix. */
7
+ loginReadiness(params) {
8
+ return request({
9
+ method: 'GET',
10
+ path: '/v1/diagnostics/login_readiness',
11
+ query: { origin: params.origin, live: params.live },
12
+ });
13
+ },
14
+ /** Why would this browser request be rejected? Each finding says whether it blocks. */
15
+ requestInspector(params) {
16
+ return request({
17
+ method: 'GET',
18
+ path: '/v1/diagnostics/request_inspector',
19
+ query: { ...params },
20
+ });
21
+ },
22
+ };
23
+ }
24
+ //# sourceMappingURL=diagnostics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"diagnostics.js","sourceRoot":"","sources":["../../src/client/diagnostics.ts"],"names":[],"mappings":";;AAsDA,kDAmBC;AAnBD,SAAgB,mBAAmB,CAAC,OAAkB;IACpD,OAAO;QACL,yGAAyG;QACzG,cAAc,CAAC,MAA4B;YACzC,OAAO,OAAO,CAAC;gBACb,MAAM,EAAE,KAAK;gBACb,IAAI,EAAE,iCAAiC;gBACvC,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE;aACpD,CAAC,CAAC;QACL,CAAC;QACD,uFAAuF;QACvF,gBAAgB,CAAC,MAA8B;YAC7C,OAAO,OAAO,CAAC;gBACb,MAAM,EAAE,KAAK;gBACb,IAAI,EAAE,mCAAmC;gBACzC,KAAK,EAAE,EAAE,GAAG,MAAM,EAAE;aACrB,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { type RequestFn } from './request';
2
+ /**
3
+ * An email address addressed by its own id. The owning user is derived from
4
+ * the address, so these calls need no user id (the `users.verifyEmail` /
5
+ * `users.setPrimaryEmail` forms do the same with one).
6
+ */
7
+ export interface EmailAddressRecord {
8
+ object: 'email_address';
9
+ id: string;
10
+ email_address: string;
11
+ verification: {
12
+ status: 'verified' | 'unverified';
13
+ };
14
+ verified: boolean;
15
+ primary: boolean;
16
+ }
17
+ export declare function emailAddressesResource(request: RequestFn): {
18
+ /** `POST /v1/email_addresses/:id/verify` — mark the address verified. */
19
+ verify(id: string): Promise<EmailAddressRecord>;
20
+ /** `POST /v1/email_addresses/:id/primary` — make a verified address the user's primary. */
21
+ setPrimary(id: string): Promise<EmailAddressRecord>;
22
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.emailAddressesResource = emailAddressesResource;
4
+ const request_1 = require("./request");
5
+ function emailAddressesResource(request) {
6
+ return {
7
+ /** `POST /v1/email_addresses/:id/verify` — mark the address verified. */
8
+ verify(id) {
9
+ return request({ method: 'POST', path: `/v1/email_addresses/${(0, request_1.enc)(id)}/verify` });
10
+ },
11
+ /** `POST /v1/email_addresses/:id/primary` — make a verified address the user's primary. */
12
+ setPrimary(id) {
13
+ return request({ method: 'POST', path: `/v1/email_addresses/${(0, request_1.enc)(id)}/primary` });
14
+ },
15
+ };
16
+ }
17
+ //# sourceMappingURL=email-addresses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-addresses.js","sourceRoot":"","sources":["../../src/client/email-addresses.ts"],"names":[],"mappings":";;AAgBA,wDAWC;AA3BD,uCAAgD;AAgBhD,SAAgB,sBAAsB,CAAC,OAAkB;IACvD,OAAO;QACL,yEAAyE;QACzE,MAAM,CAAC,EAAU;YACf,OAAO,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,IAAA,aAAG,EAAC,EAAE,CAAC,SAAS,EAAE,CAAC,CAAC;QACpF,CAAC;QACD,2FAA2F;QAC3F,UAAU,CAAC,EAAU;YACnB,OAAO,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,IAAA,aAAG,EAAC,EAAE,CAAC,UAAU,EAAE,CAAC,CAAC;QACrF,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { type RequestFn } from './request';
2
+ import type { ListPage } from './types';
3
+ export type EntitlementOverrideSubjectType = 'user' | 'org';
4
+ /**
5
+ * A sales-led entitlement override: a plan / features / limits pinned onto a
6
+ * user or organization without Stripe (e.g. an Enterprise contract). A
7
+ * non-expired override wins over the Stripe-derived entitlement and reaches the
8
+ * session claims on the next session.
9
+ */
10
+ export interface EntitlementOverride {
11
+ object: 'entitlement_override';
12
+ id: string;
13
+ subject_type: EntitlementOverrideSubjectType;
14
+ subject_id: string;
15
+ /** Pinned plan slug, or null when only features/limits are overridden. */
16
+ plan: string | null;
17
+ features: string[] | null;
18
+ limits: Record<string, unknown> | null;
19
+ /** Epoch ms when the override lapses, or null for open-ended. */
20
+ expires_at: number | null;
21
+ created_by: string | null;
22
+ created_at: number;
23
+ }
24
+ /** At least one of `plan`, `features` or `limits` is required. */
25
+ export interface CreateEntitlementOverrideBody {
26
+ subject_type: EntitlementOverrideSubjectType;
27
+ subject_id: string;
28
+ plan?: string | null;
29
+ /** Replaces (does not add to) the resolved feature set. */
30
+ features?: string[] | null;
31
+ /** Numeric limits, e.g. `{ max_devices: 50 }`. */
32
+ limits?: Record<string, unknown> | null;
33
+ /** Epoch ms; omit or null for open-ended. */
34
+ expires_at?: number | null;
35
+ }
36
+ export interface ListEntitlementOverridesParams {
37
+ subject_type?: EntitlementOverrideSubjectType;
38
+ subject_id?: string;
39
+ }
40
+ export declare function entitlementOverridesResource(request: RequestFn): {
41
+ create(body: CreateEntitlementOverrideBody, idempotencyKey?: string): Promise<EntitlementOverride>;
42
+ /** Includes expired overrides (kept for audit; they no longer apply). */
43
+ list(params?: ListEntitlementOverridesParams): Promise<ListPage<EntitlementOverride>>;
44
+ /** Revoke: the subject reverts to its Stripe-derived entitlement on the next session. */
45
+ delete(id: string): Promise<{
46
+ object: "entitlement_override";
47
+ id: string;
48
+ deleted: true;
49
+ }>;
50
+ };
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.entitlementOverridesResource = entitlementOverridesResource;
4
+ const request_1 = require("./request");
5
+ function entitlementOverridesResource(request) {
6
+ return {
7
+ create(body, idempotencyKey) {
8
+ return request({ method: 'POST', path: '/v1/entitlement_overrides', body, idempotencyKey });
9
+ },
10
+ /** Includes expired overrides (kept for audit; they no longer apply). */
11
+ list(params = {}) {
12
+ return request({ method: 'GET', path: '/v1/entitlement_overrides', query: { ...params } });
13
+ },
14
+ /** Revoke: the subject reverts to its Stripe-derived entitlement on the next session. */
15
+ delete(id) {
16
+ return request({ method: 'DELETE', path: `/v1/entitlement_overrides/${(0, request_1.enc)(id)}` });
17
+ },
18
+ };
19
+ }
20
+ //# sourceMappingURL=entitlement-overrides.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entitlement-overrides.js","sourceRoot":"","sources":["../../src/client/entitlement-overrides.ts"],"names":[],"mappings":";;AA4CA,oEAmBC;AA/DD,uCAAgD;AA4ChD,SAAgB,4BAA4B,CAAC,OAAkB;IAC7D,OAAO;QACL,MAAM,CACJ,IAAmC,EACnC,cAAuB;YAEvB,OAAO,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,2BAA2B,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;QAC9F,CAAC;QACD,yEAAyE;QACzE,IAAI,CACF,SAAyC,EAAE;YAE3C,OAAO,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,2BAA2B,EAAE,KAAK,EAAE,EAAE,GAAG,MAAM,EAAE,EAAE,CAAC,CAAC;QAC7F,CAAC;QACD,yFAAyF;QACzF,MAAM,CAAC,EAAU;YACf,OAAO,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,6BAA6B,IAAA,aAAG,EAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACrF,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -29,3 +29,31 @@ export declare class AtlasApiError extends Error {
29
29
  /** True when any error in the envelope carries the given stable code. */
30
30
  hasCode(code: string): boolean;
31
31
  }
32
+ /**
33
+ * Stable error codes worth branching on, as named constants. Any `code` string
34
+ * Atlas returns can be compared with `error.code` / `error.hasCode()` directly;
35
+ * these just save typing them.
36
+ */
37
+ export declare const AtlasErrorCodes: {
38
+ /** Emails cannot be sent: no email provider is configured for the instance. */
39
+ readonly EMAIL_DELIVERY_NOT_CONFIGURED: "EMAIL_DELIVERY_NOT_CONFIGURED";
40
+ /** This setting needs your own email provider configured first. */
41
+ readonly EMAIL_PROVIDER_REQUIRED: "EMAIL_PROVIDER_REQUIRED";
42
+ /** Strict mode: the body had a field this endpoint does not accept (`param` names it). */
43
+ readonly UNKNOWN_FIELD: "UNKNOWN_FIELD";
44
+ /** The billing plan still has subscribers and cannot be removed. */
45
+ readonly PLAN_IN_USE: "PLAN_IN_USE";
46
+ /** The key is valid but for another API surface (e.g. a platform key on the Backend API). */
47
+ readonly WRONG_KEY_SURFACE: "WRONG_KEY_SURFACE";
48
+ /** The key is unknown, revoked or malformed. */
49
+ readonly INVALID_KEY: "INVALID_KEY";
50
+ readonly NOT_FOUND: "NOT_FOUND";
51
+ readonly VALIDATION_FAILED: "VALIDATION_FAILED";
52
+ readonly RATE_LIMITED: "RATE_LIMITED";
53
+ readonly IDEMPOTENCY_CONFLICT: "IDEMPOTENCY_CONFLICT";
54
+ readonly SCOPE_MISSING: "SCOPE_MISSING";
55
+ readonly FORBIDDEN: "FORBIDDEN";
56
+ readonly CONFLICT: "CONFLICT";
57
+ };
58
+ /** One of the named {@link AtlasErrorCodes}. */
59
+ export type AtlasErrorCode = (typeof AtlasErrorCodes)[keyof typeof AtlasErrorCodes];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AtlasApiError = void 0;
3
+ exports.AtlasErrorCodes = exports.AtlasApiError = void 0;
4
4
  class AtlasApiError extends Error {
5
5
  name = 'AtlasApiError';
6
6
  /** HTTP status of the failed response. */
@@ -25,4 +25,30 @@ class AtlasApiError extends Error {
25
25
  }
26
26
  }
27
27
  exports.AtlasApiError = AtlasApiError;
28
+ /**
29
+ * Stable error codes worth branching on, as named constants. Any `code` string
30
+ * Atlas returns can be compared with `error.code` / `error.hasCode()` directly;
31
+ * these just save typing them.
32
+ */
33
+ exports.AtlasErrorCodes = {
34
+ /** Emails cannot be sent: no email provider is configured for the instance. */
35
+ EMAIL_DELIVERY_NOT_CONFIGURED: 'EMAIL_DELIVERY_NOT_CONFIGURED',
36
+ /** This setting needs your own email provider configured first. */
37
+ EMAIL_PROVIDER_REQUIRED: 'EMAIL_PROVIDER_REQUIRED',
38
+ /** Strict mode: the body had a field this endpoint does not accept (`param` names it). */
39
+ UNKNOWN_FIELD: 'UNKNOWN_FIELD',
40
+ /** The billing plan still has subscribers and cannot be removed. */
41
+ PLAN_IN_USE: 'PLAN_IN_USE',
42
+ /** The key is valid but for another API surface (e.g. a platform key on the Backend API). */
43
+ WRONG_KEY_SURFACE: 'WRONG_KEY_SURFACE',
44
+ /** The key is unknown, revoked or malformed. */
45
+ INVALID_KEY: 'INVALID_KEY',
46
+ NOT_FOUND: 'NOT_FOUND',
47
+ VALIDATION_FAILED: 'VALIDATION_FAILED',
48
+ RATE_LIMITED: 'RATE_LIMITED',
49
+ IDEMPOTENCY_CONFLICT: 'IDEMPOTENCY_CONFLICT',
50
+ SCOPE_MISSING: 'SCOPE_MISSING',
51
+ FORBIDDEN: 'FORBIDDEN',
52
+ CONFLICT: 'CONFLICT',
53
+ };
28
54
  //# sourceMappingURL=error.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error.js","sourceRoot":"","sources":["../../src/client/error.ts"],"names":[],"mappings":";;;AAoBA,MAAa,aAAc,SAAQ,KAAK;IACpB,IAAI,GAAG,eAAe,CAAC;IACzC,0CAA0C;IACjC,MAAM,CAAS;IACxB,8CAA8C;IACrC,MAAM,CAAmB;IAElC,YAAY,MAAc,EAAE,MAAwB,EAAE,OAAgB;QACpE,KAAK,CAAC,OAAO,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,IAAI,wCAAwC,MAAM,EAAE,CAAC,CAAC;QACzF,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,uEAAuE;QACvE,sEAAsE;QACtE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACvD,CAAC;IAED,uEAAuE;IACvE,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC;IAC9B,CAAC;IAED,yEAAyE;IACzE,OAAO,CAAC,IAAY;QAClB,OAAO,IAAI,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