@feelflow/ffid-sdk 6.0.0 → 7.1.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.
@@ -1304,6 +1304,151 @@ interface FFIDLeaveOrganizationResponse {
1304
1304
  message: string;
1305
1305
  }
1306
1306
 
1307
+ /**
1308
+ * Types for the organization profile + public logo-wall APIs (#5485 / #5547).
1309
+ *
1310
+ * Mirrors:
1311
+ * - `GET/PUT /api/v1/organizations/ext/profile`
1312
+ * - `POST /api/v1/organizations/ext/profile/logo`
1313
+ * - `GET /api/v1/organizations/logo-wall`
1314
+ *
1315
+ * Industry / company-size / logo MIME+size values are copied from the
1316
+ * server SSOT (`src/lib/organizations/profile/constants.ts`) so consumers
1317
+ * can build forms without importing the platform package. Machine-checked by
1318
+ * `scripts/verify-sdk-constants-sync.ts`. Pixel dimensions (64–4096) are
1319
+ * **server-only** and surface as `INVALID_IMAGE`. Request fields use the
1320
+ * unions; response `industry` / `companySize` stay `string | null` so a
1321
+ * server-side code added before the next SDK release still type-checks.
1322
+ */
1323
+ /**
1324
+ * Industry codes for the listing profile (select options).
1325
+ * Append-only: existing published profiles keep referencing these values.
1326
+ */
1327
+ declare const FFID_INDUSTRY_CODES: readonly ["agriculture", "construction", "manufacturing", "it-software", "telecom", "media", "retail", "wholesale", "finance-insurance", "real-estate", "transport-logistics", "hospitality-food", "healthcare", "education", "professional-services", "marketing-advertising", "energy-utilities", "public-sector", "nonprofit", "other"];
1328
+ /** Industry code accepted by `upsertOrganizationProfile`. */
1329
+ type FFIDIndustryCode = (typeof FFID_INDUSTRY_CODES)[number];
1330
+ /** Company-size codes (employee-count ranges). */
1331
+ declare const FFID_COMPANY_SIZE_CODES: readonly ["1-10", "11-50", "51-200", "201-500", "501-1000", "1001+"];
1332
+ /** Company-size code accepted by `upsertOrganizationProfile`. */
1333
+ type FFIDCompanySizeCode = (typeof FFID_COMPANY_SIZE_CODES)[number];
1334
+ /** Max logo file size in MB (shown in client-side error messages). */
1335
+ declare const FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_MB = 2;
1336
+ /** Max logo file size in bytes (matches the storage bucket limit). */
1337
+ declare const FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_BYTES: number;
1338
+ /**
1339
+ * Allowed logo MIME types. SVG is excluded (magic-byte / dimension checks
1340
+ * cannot run, and it can carry script). Empty `file.type` is allowed through
1341
+ * so the server can sniff magic bytes.
1342
+ */
1343
+ declare const FFID_ALLOWED_ORGANIZATION_LOGO_MIME_TYPES: readonly ["image/png", "image/jpeg", "image/webp"];
1344
+ /** Allowed logo MIME type. */
1345
+ type FFIDAllowedLogoMimeType = (typeof FFID_ALLOWED_ORGANIZATION_LOGO_MIME_TYPES)[number];
1346
+ /**
1347
+ * Domain error codes from the profile GET/PUT and logo POST routes
1348
+ * (`CONSENTED_BY_NOT_MEMBER`, `MISSING_FILE`, …). Auth / `DATABASE_ERROR` /
1349
+ * `INTERNAL_ERROR` still pass through as `FFIDError.code: string`.
1350
+ * Logo-wall failures are `INTERNAL_ERROR` only (not listed here).
1351
+ * Branch on these constants instead of string literals.
1352
+ */
1353
+ declare const FFID_ORGANIZATION_PROFILE_ERROR_CODES: {
1354
+ readonly VALIDATION_ERROR: "VALIDATION_ERROR";
1355
+ readonly ORGANIZATION_NOT_FOUND: "ORGANIZATION_NOT_FOUND";
1356
+ readonly CONSENTED_BY_NOT_MEMBER: "CONSENTED_BY_NOT_MEMBER";
1357
+ readonly MISSING_FILE: "MISSING_FILE";
1358
+ readonly INVALID_FILE_TYPE: "INVALID_FILE_TYPE";
1359
+ readonly FILE_TOO_LARGE: "FILE_TOO_LARGE";
1360
+ readonly INVALID_IMAGE: "INVALID_IMAGE";
1361
+ readonly LOGO_UPLOAD_FAILED: "LOGO_UPLOAD_FAILED";
1362
+ };
1363
+ /** Union of organization-profile server error code literals. */
1364
+ type FFIDOrganizationProfileErrorCode = (typeof FFID_ORGANIZATION_PROFILE_ERROR_CODES)[keyof typeof FFID_ORGANIZATION_PROFILE_ERROR_CODES];
1365
+ /** Organization listing profile (camelCase, matches the ext/profile wire). */
1366
+ interface FFIDOrganizationProfile {
1367
+ organizationId: string;
1368
+ displayName: string | null;
1369
+ industry: string | null;
1370
+ companySize: string | null;
1371
+ websiteUrl: string | null;
1372
+ logoPath: string | null;
1373
+ /** Public URL derived from `logoPath` (`null` when no logo is stored). */
1374
+ logoUrl: string | null;
1375
+ listingConsentedAt: string | null;
1376
+ listingConsentVersion: string | null;
1377
+ listingConsentedBy: string | null;
1378
+ listingRevokedAt: string | null;
1379
+ /** True when consent is recorded and not revoked. */
1380
+ listingActive: boolean;
1381
+ createdAt: string;
1382
+ updatedAt: string;
1383
+ }
1384
+ /**
1385
+ * Response from `getOrganizationProfile` / `upsertOrganizationProfile`.
1386
+ * GET: `profile` is `null` (HTTP 200) when the org exists but has no row yet.
1387
+ * PUT upsert always returns a profile object (empty body still inserts a row).
1388
+ */
1389
+ interface FFIDOrganizationProfileResponse {
1390
+ organizationId: string;
1391
+ profile: FFIDOrganizationProfile | null;
1392
+ }
1393
+ /**
1394
+ * Listing-consent mutation.
1395
+ *
1396
+ * - `{ consented: true, consentVersion, consentedByUserId }` records consent
1397
+ * (`consentedByUserId` must be an active member of the target org; otherwise
1398
+ * the server returns {@link FFID_ORGANIZATION_PROFILE_ERROR_CODES.CONSENTED_BY_NOT_MEMBER}).
1399
+ * - `{ consented: false }` revokes (no-op if never consented).
1400
+ * - Omit the field to leave consent unchanged.
1401
+ */
1402
+ type FFIDListingConsentInput = {
1403
+ consented: true;
1404
+ consentVersion: string;
1405
+ consentedByUserId: string;
1406
+ } | {
1407
+ consented: false;
1408
+ consentVersion?: never;
1409
+ consentedByUserId?: never;
1410
+ };
1411
+ /**
1412
+ * PUT body fields (all optional partial update).
1413
+ * `null` clears `displayName` / `industry` / `companySize` / `websiteUrl`.
1414
+ * Consent is not nullable — omit to leave unchanged, or pass
1415
+ * `{ consented: false }` to revoke.
1416
+ */
1417
+ interface FFIDUpsertOrganizationProfileRequest {
1418
+ displayName?: string | null;
1419
+ industry?: FFIDIndustryCode | null;
1420
+ companySize?: FFIDCompanySizeCode | null;
1421
+ websiteUrl?: string | null;
1422
+ listingConsent?: FFIDListingConsentInput;
1423
+ }
1424
+ /** Params for `upsertOrganizationProfile` (params-object form). */
1425
+ interface FFIDUpsertOrganizationProfileParams extends FFIDUpsertOrganizationProfileRequest {
1426
+ organizationId: string;
1427
+ }
1428
+ /** Params for `uploadOrganizationLogo` (params-object form). */
1429
+ interface FFIDUploadOrganizationLogoParams {
1430
+ organizationId: string;
1431
+ /** Image blob (`File` in browsers; `Blob` is enough in Node 18+). */
1432
+ file: Blob;
1433
+ }
1434
+ /** Response from `uploadOrganizationLogo`. */
1435
+ interface FFIDOrganizationLogoUploadResponse {
1436
+ organizationId: string;
1437
+ logoPath: string;
1438
+ logoUrl: string;
1439
+ }
1440
+ /** One public logo-wall entry (public listing fields only; omits consent metadata). */
1441
+ interface FFIDLogoWallEntry {
1442
+ displayName: string | null;
1443
+ logoUrl: string;
1444
+ websiteUrl: string | null;
1445
+ }
1446
+ /** Response from `getPublicLogoWall`. */
1447
+ interface FFIDLogoWallResponse {
1448
+ entries: FFIDLogoWallEntry[];
1449
+ count: number;
1450
+ }
1451
+
1307
1452
  /**
1308
1453
  * User profile types (ext API: `GET` / `PUT /api/v1/users/ext/me`).
1309
1454
  *
@@ -2237,6 +2382,21 @@ declare function createFFIDClient(config: FFIDConfig): {
2237
2382
  organizationId: string;
2238
2383
  userId: string;
2239
2384
  }) => Promise<FFIDApiResponse<FFIDRemoveMemberResponse>>;
2385
+ getOrganizationProfile: {
2386
+ (organizationId: string): Promise<FFIDApiResponse<FFIDOrganizationProfileResponse>>;
2387
+ (params: {
2388
+ organizationId: string;
2389
+ }): Promise<FFIDApiResponse<FFIDOrganizationProfileResponse>>;
2390
+ };
2391
+ upsertOrganizationProfile: {
2392
+ (organizationId: string, payload?: FFIDUpsertOrganizationProfileRequest): Promise<FFIDApiResponse<FFIDOrganizationProfileResponse>>;
2393
+ (params: FFIDUpsertOrganizationProfileParams): Promise<FFIDApiResponse<FFIDOrganizationProfileResponse>>;
2394
+ };
2395
+ uploadOrganizationLogo: {
2396
+ (organizationId: string, file: Blob): Promise<FFIDApiResponse<FFIDOrganizationLogoUploadResponse>>;
2397
+ (params: FFIDUploadOrganizationLogoParams): Promise<FFIDApiResponse<FFIDOrganizationLogoUploadResponse>>;
2398
+ };
2399
+ getPublicLogoWall: () => Promise<FFIDApiResponse<FFIDLogoWallResponse>>;
2240
2400
  provisionUser: (params: FFIDProvisionUserParams) => Promise<FFIDApiResponse<FFIDProvisionUserResponse>>;
2241
2401
  sendProvisionWelcomeEmail: (params: FFIDProvisionWelcomeEmailParams) => Promise<FFIDApiResponse<FFIDProvisionWelcomeEmailResponse>>;
2242
2402
  provisionOrganization: (params: FFIDProvisionOrganizationParams) => Promise<FFIDApiResponse<FFIDProvisionOrganizationResponse>>;
@@ -2329,4 +2489,4 @@ declare function createFFIDClient(config: FFIDConfig): {
2329
2489
  /** Type of the FFID client */
2330
2490
  type FFIDClient = ReturnType<typeof createFFIDClient>;
2331
2491
 
2332
- export { FFID_CATALOG_ENVIRONMENTS as $, type FFIDPasswordResetVerifyResponse as A, type FFIDProfileCallOptions as B, type FFIDProvisionMemberPlan as C, type FFIDProvisionMemberPlanStatus as D, type FFIDProvisionMemberResult as E, type FFIDLogger as F, type FFIDProvisionMemberStatus as G, type FFIDProvisionOrganizationDryRun as H, type FFIDProvisionOrganizationMemberInput as I, type FFIDProvisionOrganizationOutcome as J, type FFIDProvisionOrganizationParams as K, type FFIDProvisionOrganizationResponse as L, type FFIDProvisionUserDryRun as M, type FFIDProvisionUserOutcome as N, type FFIDProvisionUserParams as O, type FFIDProvisionUserProfileInput as P, type FFIDProvisionUserResponse as Q, type FFIDProvisionedOrganization as R, type FFIDProvisionedUser as S, type FFIDPublishedPlan as T, type FFIDRemoveMemberResponse as U, type FFIDResetSessionResponse as V, type FFIDSubscription as W, type FFIDUpdateMemberRoleResponse as X, type FFIDUpdateUserProfileRequest as Y, type FFIDUser as Z, type FFIDUserProfile as _, type FFIDError as a, FFID_CATALOG_PUBLICATION_STATUSES as a0, type TokenData as a1, type TokenStore as a2, createFFIDClient as a3, createTokenStore as a4, type FFIDCacheAdapter as b, type FFIDVerifyAccessTokenOptions as c, type FFIDApiResponse as d, type FFIDOAuthUserInfo as e, type FFIDCatalogEnvironment as f, type FFIDBillingInterval as g, type FFIDTaxBehavior as h, type FFIDPublishedCatalog as i, type FFIDAddMemberParams as j, type FFIDAddMemberRequest as k, type FFIDAddMemberResponse as l, type FFIDAssignableMemberRole as m, type FFIDCacheConfig as n, type FFIDCatalogPublication as o, type FFIDCatalogPublicationStatus as p, type FFIDClient as q, type FFIDConfig as r, type FFIDListMembersResponse as s, type FFIDMemberRole as t, type FFIDOrganization as u, type FFIDOrganizationMember as v, type FFIDOtpSendResponse as w, type FFIDOtpVerifyResponse as x, type FFIDPasswordResetConfirmResponse as y, type FFIDPasswordResetResponse as z };
2492
+ export { type FFIDProvisionedOrganization as $, type FFIDOrganization as A, type FFIDOrganizationLogoUploadResponse as B, type FFIDOrganizationMember as C, type FFIDOrganizationProfile as D, type FFIDOrganizationProfileErrorCode as E, type FFIDLogger as F, type FFIDOrganizationProfileResponse as G, type FFIDOtpSendResponse as H, type FFIDOtpVerifyResponse as I, type FFIDPasswordResetConfirmResponse as J, type FFIDPasswordResetResponse as K, type FFIDPasswordResetVerifyResponse as L, type FFIDProfileCallOptions as M, type FFIDProvisionMemberPlan as N, type FFIDProvisionMemberPlanStatus as O, type FFIDProvisionMemberResult as P, type FFIDProvisionMemberStatus as Q, type FFIDProvisionOrganizationDryRun as R, type FFIDProvisionOrganizationMemberInput as S, type FFIDProvisionOrganizationOutcome as T, type FFIDProvisionOrganizationParams as U, type FFIDProvisionOrganizationResponse as V, type FFIDProvisionUserDryRun as W, type FFIDProvisionUserOutcome as X, type FFIDProvisionUserParams as Y, type FFIDProvisionUserProfileInput as Z, type FFIDProvisionUserResponse as _, type FFIDError as a, type FFIDProvisionedUser as a0, type FFIDPublishedPlan as a1, type FFIDRemoveMemberResponse as a2, type FFIDResetSessionResponse as a3, type FFIDSubscription as a4, type FFIDUpdateMemberRoleResponse as a5, type FFIDUpdateUserProfileRequest as a6, type FFIDUploadOrganizationLogoParams as a7, type FFIDUpsertOrganizationProfileParams as a8, type FFIDUpsertOrganizationProfileRequest as a9, type FFIDUser as aa, type FFIDUserProfile as ab, FFID_ALLOWED_ORGANIZATION_LOGO_MIME_TYPES as ac, FFID_CATALOG_ENVIRONMENTS as ad, FFID_CATALOG_PUBLICATION_STATUSES as ae, FFID_COMPANY_SIZE_CODES as af, FFID_INDUSTRY_CODES as ag, FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_BYTES as ah, FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_MB as ai, FFID_ORGANIZATION_PROFILE_ERROR_CODES as aj, type TokenData as ak, type TokenStore as al, createFFIDClient as am, createTokenStore as an, type FFIDCacheAdapter as b, type FFIDVerifyAccessTokenOptions as c, type FFIDApiResponse as d, type FFIDOAuthUserInfo as e, type FFIDCatalogEnvironment as f, type FFIDBillingInterval as g, type FFIDTaxBehavior as h, type FFIDPublishedCatalog as i, type FFIDAddMemberParams as j, type FFIDAddMemberRequest as k, type FFIDAddMemberResponse as l, type FFIDAllowedLogoMimeType as m, type FFIDAssignableMemberRole as n, type FFIDCacheConfig as o, type FFIDCatalogPublication as p, type FFIDCatalogPublicationStatus as q, type FFIDClient as r, type FFIDCompanySizeCode as s, type FFIDConfig as t, type FFIDIndustryCode as u, type FFIDListMembersResponse as v, type FFIDListingConsentInput as w, type FFIDLogoWallEntry as x, type FFIDLogoWallResponse as y, type FFIDMemberRole as z };
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkCI6RBG77_cjs = require('./chunk-CI6RBG77.cjs');
4
- var chunkH5O2CCAY_cjs = require('./chunk-H5O2CCAY.cjs');
3
+ var chunkCI4N7KJK_cjs = require('./chunk-CI4N7KJK.cjs');
4
+ var chunkXELXXL2F_cjs = require('./chunk-XELXXL2F.cjs');
5
5
  var react = require('react');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
 
@@ -54,8 +54,8 @@ function defaultRedirect(url) {
54
54
  }
55
55
  function useRequireActiveSubscription(options) {
56
56
  const { redirectTo, allowGrace = true, onRedirect } = options;
57
- const { isLoading, error } = chunkCI6RBG77_cjs.useFFIDContext();
58
- const { effectiveStatus, isBlocked, isGrace } = chunkCI6RBG77_cjs.useSubscription();
57
+ const { isLoading, error } = chunkCI4N7KJK_cjs.useFFIDContext();
58
+ const { effectiveStatus, isBlocked, isGrace } = chunkCI4N7KJK_cjs.useSubscription();
59
59
  const hasFetchError = error !== null && effectiveStatus === null;
60
60
  const shouldRedirect = !isLoading && !hasFetchError && (isBlocked || !allowGrace && isGrace || effectiveStatus === null);
61
61
  react.useEffect(() => {
@@ -76,7 +76,7 @@ function useRequireActiveSubscription(options) {
76
76
  }
77
77
  function withFFIDAuth(Component, options = {}) {
78
78
  const WrappedComponent = (props) => {
79
- const { isLoading, isAuthenticated, login } = chunkCI6RBG77_cjs.useFFIDContext();
79
+ const { isLoading, isAuthenticated, login } = chunkCI4N7KJK_cjs.useFFIDContext();
80
80
  const hasRedirected = react.useRef(false);
81
81
  react.useEffect(() => {
82
82
  if (!isLoading && !isAuthenticated && options.redirectToLogin && !hasRedirected.current) {
@@ -105,299 +105,323 @@ var FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS = 1e3;
105
105
 
106
106
  Object.defineProperty(exports, "ACCESS_GRANTING_EFFECTIVE_STATUSES", {
107
107
  enumerable: true,
108
- get: function () { return chunkCI6RBG77_cjs.ACCESS_GRANTING_EFFECTIVE_STATUSES; }
108
+ get: function () { return chunkCI4N7KJK_cjs.ACCESS_GRANTING_EFFECTIVE_STATUSES; }
109
109
  });
110
110
  Object.defineProperty(exports, "BLOCKING_EFFECTIVE_STATUSES", {
111
111
  enumerable: true,
112
- get: function () { return chunkCI6RBG77_cjs.BLOCKING_EFFECTIVE_STATUSES; }
112
+ get: function () { return chunkCI4N7KJK_cjs.BLOCKING_EFFECTIVE_STATUSES; }
113
113
  });
114
114
  Object.defineProperty(exports, "CATALOG_HASH_PATTERN", {
115
115
  enumerable: true,
116
- get: function () { return chunkCI6RBG77_cjs.CATALOG_HASH_PATTERN; }
116
+ get: function () { return chunkCI4N7KJK_cjs.CATALOG_HASH_PATTERN; }
117
117
  });
118
118
  Object.defineProperty(exports, "DEFAULT_API_BASE_URL", {
119
119
  enumerable: true,
120
- get: function () { return chunkCI6RBG77_cjs.DEFAULT_API_BASE_URL; }
120
+ get: function () { return chunkCI4N7KJK_cjs.DEFAULT_API_BASE_URL; }
121
121
  });
122
122
  Object.defineProperty(exports, "DEFAULT_OAUTH_SCOPES", {
123
123
  enumerable: true,
124
- get: function () { return chunkCI6RBG77_cjs.DEFAULT_OAUTH_SCOPES; }
124
+ get: function () { return chunkCI4N7KJK_cjs.DEFAULT_OAUTH_SCOPES; }
125
125
  });
126
126
  Object.defineProperty(exports, "EFFECTIVE_SUBSCRIPTION_STATUSES", {
127
127
  enumerable: true,
128
- get: function () { return chunkCI6RBG77_cjs.EFFECTIVE_SUBSCRIPTION_STATUSES; }
128
+ get: function () { return chunkCI4N7KJK_cjs.EFFECTIVE_SUBSCRIPTION_STATUSES; }
129
129
  });
130
130
  Object.defineProperty(exports, "FFIDAnnouncementBadge", {
131
131
  enumerable: true,
132
- get: function () { return chunkCI6RBG77_cjs.FFIDAnnouncementBadge; }
132
+ get: function () { return chunkCI4N7KJK_cjs.FFIDAnnouncementBadge; }
133
133
  });
134
134
  Object.defineProperty(exports, "FFIDAnnouncementList", {
135
135
  enumerable: true,
136
- get: function () { return chunkCI6RBG77_cjs.FFIDAnnouncementList; }
136
+ get: function () { return chunkCI4N7KJK_cjs.FFIDAnnouncementList; }
137
137
  });
138
138
  Object.defineProperty(exports, "FFIDCatalogHashError", {
139
139
  enumerable: true,
140
- get: function () { return chunkCI6RBG77_cjs.FFIDCatalogHashError; }
140
+ get: function () { return chunkCI4N7KJK_cjs.FFIDCatalogHashError; }
141
141
  });
142
142
  Object.defineProperty(exports, "FFIDInquiryForm", {
143
143
  enumerable: true,
144
- get: function () { return chunkCI6RBG77_cjs.FFIDInquiryForm; }
144
+ get: function () { return chunkCI4N7KJK_cjs.FFIDInquiryForm; }
145
145
  });
146
146
  Object.defineProperty(exports, "FFIDLoginButton", {
147
147
  enumerable: true,
148
- get: function () { return chunkCI6RBG77_cjs.FFIDLoginButton; }
148
+ get: function () { return chunkCI4N7KJK_cjs.FFIDLoginButton; }
149
149
  });
150
150
  Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
151
151
  enumerable: true,
152
- get: function () { return chunkCI6RBG77_cjs.FFIDOrganizationSwitcher; }
152
+ get: function () { return chunkCI4N7KJK_cjs.FFIDOrganizationSwitcher; }
153
153
  });
154
154
  Object.defineProperty(exports, "FFIDProvider", {
155
155
  enumerable: true,
156
- get: function () { return chunkCI6RBG77_cjs.FFIDProvider; }
156
+ get: function () { return chunkCI4N7KJK_cjs.FFIDProvider; }
157
157
  });
158
158
  Object.defineProperty(exports, "FFIDSDKError", {
159
159
  enumerable: true,
160
- get: function () { return chunkCI6RBG77_cjs.FFIDSDKError; }
160
+ get: function () { return chunkCI4N7KJK_cjs.FFIDSDKError; }
161
161
  });
162
162
  Object.defineProperty(exports, "FFIDSubscriptionBadge", {
163
163
  enumerable: true,
164
- get: function () { return chunkCI6RBG77_cjs.FFIDSubscriptionBadge; }
164
+ get: function () { return chunkCI4N7KJK_cjs.FFIDSubscriptionBadge; }
165
165
  });
166
166
  Object.defineProperty(exports, "FFIDUserMenu", {
167
167
  enumerable: true,
168
- get: function () { return chunkCI6RBG77_cjs.FFIDUserMenu; }
168
+ get: function () { return chunkCI4N7KJK_cjs.FFIDUserMenu; }
169
+ });
170
+ Object.defineProperty(exports, "FFID_ALLOWED_ORGANIZATION_LOGO_MIME_TYPES", {
171
+ enumerable: true,
172
+ get: function () { return chunkCI4N7KJK_cjs.FFID_ALLOWED_ORGANIZATION_LOGO_MIME_TYPES; }
169
173
  });
170
174
  Object.defineProperty(exports, "FFID_ANNOUNCEMENTS_ERROR_CODES", {
171
175
  enumerable: true,
172
- get: function () { return chunkCI6RBG77_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
176
+ get: function () { return chunkCI4N7KJK_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
173
177
  });
174
178
  Object.defineProperty(exports, "FFID_CATALOG_ENVIRONMENTS", {
175
179
  enumerable: true,
176
- get: function () { return chunkCI6RBG77_cjs.FFID_CATALOG_ENVIRONMENTS; }
180
+ get: function () { return chunkCI4N7KJK_cjs.FFID_CATALOG_ENVIRONMENTS; }
177
181
  });
178
182
  Object.defineProperty(exports, "FFID_CATALOG_PUBLICATION_STATUSES", {
179
183
  enumerable: true,
180
- get: function () { return chunkCI6RBG77_cjs.FFID_CATALOG_PUBLICATION_STATUSES; }
184
+ get: function () { return chunkCI4N7KJK_cjs.FFID_CATALOG_PUBLICATION_STATUSES; }
185
+ });
186
+ Object.defineProperty(exports, "FFID_COMPANY_SIZE_CODES", {
187
+ enumerable: true,
188
+ get: function () { return chunkCI4N7KJK_cjs.FFID_COMPANY_SIZE_CODES; }
181
189
  });
182
190
  Object.defineProperty(exports, "FFID_ERROR_CODES", {
183
191
  enumerable: true,
184
- get: function () { return chunkCI6RBG77_cjs.FFID_ERROR_CODES; }
192
+ get: function () { return chunkCI4N7KJK_cjs.FFID_ERROR_CODES; }
193
+ });
194
+ Object.defineProperty(exports, "FFID_INDUSTRY_CODES", {
195
+ enumerable: true,
196
+ get: function () { return chunkCI4N7KJK_cjs.FFID_INDUSTRY_CODES; }
185
197
  });
186
198
  Object.defineProperty(exports, "FFID_INQUIRY_ACQUISITION_SOURCES", {
187
199
  enumerable: true,
188
- get: function () { return chunkCI6RBG77_cjs.FFID_INQUIRY_ACQUISITION_SOURCES; }
200
+ get: function () { return chunkCI4N7KJK_cjs.FFID_INQUIRY_ACQUISITION_SOURCES; }
189
201
  });
190
202
  Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES", {
191
203
  enumerable: true,
192
- get: function () { return chunkCI6RBG77_cjs.FFID_INQUIRY_CATEGORIES; }
204
+ get: function () { return chunkCI4N7KJK_cjs.FFID_INQUIRY_CATEGORIES; }
193
205
  });
194
206
  Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES_SITE_2026", {
195
207
  enumerable: true,
196
- get: function () { return chunkCI6RBG77_cjs.FFID_INQUIRY_CATEGORIES_SITE_2026; }
208
+ get: function () { return chunkCI4N7KJK_cjs.FFID_INQUIRY_CATEGORIES_SITE_2026; }
209
+ });
210
+ Object.defineProperty(exports, "FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_BYTES", {
211
+ enumerable: true,
212
+ get: function () { return chunkCI4N7KJK_cjs.FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_BYTES; }
213
+ });
214
+ Object.defineProperty(exports, "FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_MB", {
215
+ enumerable: true,
216
+ get: function () { return chunkCI4N7KJK_cjs.FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_MB; }
217
+ });
218
+ Object.defineProperty(exports, "FFID_ORGANIZATION_PROFILE_ERROR_CODES", {
219
+ enumerable: true,
220
+ get: function () { return chunkCI4N7KJK_cjs.FFID_ORGANIZATION_PROFILE_ERROR_CODES; }
197
221
  });
198
222
  Object.defineProperty(exports, "canonicalizeCatalogValue", {
199
223
  enumerable: true,
200
- get: function () { return chunkCI6RBG77_cjs.canonicalizeCatalogValue; }
224
+ get: function () { return chunkCI4N7KJK_cjs.canonicalizeCatalogValue; }
201
225
  });
202
226
  Object.defineProperty(exports, "clearState", {
203
227
  enumerable: true,
204
- get: function () { return chunkCI6RBG77_cjs.cleanupStateStorage; }
228
+ get: function () { return chunkCI4N7KJK_cjs.cleanupStateStorage; }
205
229
  });
206
230
  Object.defineProperty(exports, "computeEffectiveStatusFromSession", {
207
231
  enumerable: true,
208
- get: function () { return chunkCI6RBG77_cjs.computeEffectiveStatusFromSession; }
232
+ get: function () { return chunkCI4N7KJK_cjs.computeEffectiveStatusFromSession; }
209
233
  });
210
234
  Object.defineProperty(exports, "computeFFIDCheckoutCopyHash", {
211
235
  enumerable: true,
212
- get: function () { return chunkCI6RBG77_cjs.computeFFIDCheckoutCopyHash; }
236
+ get: function () { return chunkCI4N7KJK_cjs.computeFFIDCheckoutCopyHash; }
213
237
  });
214
238
  Object.defineProperty(exports, "computeLegalDisclosureHash", {
215
239
  enumerable: true,
216
- get: function () { return chunkCI6RBG77_cjs.computeLegalDisclosureHash; }
240
+ get: function () { return chunkCI4N7KJK_cjs.computeLegalDisclosureHash; }
217
241
  });
218
242
  Object.defineProperty(exports, "computePaymentConfigurationHash", {
219
243
  enumerable: true,
220
- get: function () { return chunkCI6RBG77_cjs.computePaymentConfigurationHash; }
244
+ get: function () { return chunkCI4N7KJK_cjs.computePaymentConfigurationHash; }
221
245
  });
222
246
  Object.defineProperty(exports, "computePraxisCopyHash", {
223
247
  enumerable: true,
224
- get: function () { return chunkCI6RBG77_cjs.computePraxisCopyHash; }
248
+ get: function () { return chunkCI4N7KJK_cjs.computePraxisCopyHash; }
225
249
  });
226
250
  Object.defineProperty(exports, "computeScopeHash", {
227
251
  enumerable: true,
228
- get: function () { return chunkCI6RBG77_cjs.computeScopeHash; }
252
+ get: function () { return chunkCI4N7KJK_cjs.computeScopeHash; }
229
253
  });
230
254
  Object.defineProperty(exports, "computeTaxConfigurationHash", {
231
255
  enumerable: true,
232
- get: function () { return chunkCI6RBG77_cjs.computeTaxConfigurationHash; }
256
+ get: function () { return chunkCI4N7KJK_cjs.computeTaxConfigurationHash; }
233
257
  });
234
258
  Object.defineProperty(exports, "createFFIDAnnouncementsClient", {
235
259
  enumerable: true,
236
- get: function () { return chunkCI6RBG77_cjs.createFFIDAnnouncementsClient; }
260
+ get: function () { return chunkCI4N7KJK_cjs.createFFIDAnnouncementsClient; }
237
261
  });
238
262
  Object.defineProperty(exports, "createFFIDClient", {
239
263
  enumerable: true,
240
- get: function () { return chunkCI6RBG77_cjs.createFFIDClient; }
264
+ get: function () { return chunkCI4N7KJK_cjs.createFFIDClient; }
241
265
  });
242
266
  Object.defineProperty(exports, "createTokenStore", {
243
267
  enumerable: true,
244
- get: function () { return chunkCI6RBG77_cjs.createTokenStore; }
268
+ get: function () { return chunkCI4N7KJK_cjs.createTokenStore; }
245
269
  });
246
270
  Object.defineProperty(exports, "generateCodeChallenge", {
247
271
  enumerable: true,
248
- get: function () { return chunkCI6RBG77_cjs.generateCodeChallenge; }
272
+ get: function () { return chunkCI4N7KJK_cjs.generateCodeChallenge; }
249
273
  });
250
274
  Object.defineProperty(exports, "generateCodeVerifier", {
251
275
  enumerable: true,
252
- get: function () { return chunkCI6RBG77_cjs.generateCodeVerifier; }
276
+ get: function () { return chunkCI4N7KJK_cjs.generateCodeVerifier; }
253
277
  });
254
278
  Object.defineProperty(exports, "handleRedirectCallback", {
255
279
  enumerable: true,
256
- get: function () { return chunkCI6RBG77_cjs.handleRedirectCallback; }
280
+ get: function () { return chunkCI4N7KJK_cjs.handleRedirectCallback; }
257
281
  });
258
282
  Object.defineProperty(exports, "hasAccessFromUserinfo", {
259
283
  enumerable: true,
260
- get: function () { return chunkCI6RBG77_cjs.hasAccessFromUserinfo; }
284
+ get: function () { return chunkCI4N7KJK_cjs.hasAccessFromUserinfo; }
261
285
  });
262
286
  Object.defineProperty(exports, "hashCanonicalJson", {
263
287
  enumerable: true,
264
- get: function () { return chunkCI6RBG77_cjs.hashCanonicalJson; }
288
+ get: function () { return chunkCI4N7KJK_cjs.hashCanonicalJson; }
265
289
  });
266
290
  Object.defineProperty(exports, "isBlockedFromUserinfo", {
267
291
  enumerable: true,
268
- get: function () { return chunkCI6RBG77_cjs.isBlockedFromUserinfo; }
292
+ get: function () { return chunkCI4N7KJK_cjs.isBlockedFromUserinfo; }
269
293
  });
270
294
  Object.defineProperty(exports, "isFFIDInquiryAcquisitionSource", {
271
295
  enumerable: true,
272
- get: function () { return chunkCI6RBG77_cjs.isFFIDInquiryAcquisitionSource; }
296
+ get: function () { return chunkCI4N7KJK_cjs.isFFIDInquiryAcquisitionSource; }
273
297
  });
274
298
  Object.defineProperty(exports, "isFFIDInquiryCategorySite2026", {
275
299
  enumerable: true,
276
- get: function () { return chunkCI6RBG77_cjs.isFFIDInquiryCategorySite2026; }
300
+ get: function () { return chunkCI4N7KJK_cjs.isFFIDInquiryCategorySite2026; }
277
301
  });
278
302
  Object.defineProperty(exports, "normalizeRedirectUri", {
279
303
  enumerable: true,
280
- get: function () { return chunkCI6RBG77_cjs.normalizeRedirectUri; }
304
+ get: function () { return chunkCI4N7KJK_cjs.normalizeRedirectUri; }
281
305
  });
282
306
  Object.defineProperty(exports, "retrieveCodeVerifier", {
283
307
  enumerable: true,
284
- get: function () { return chunkCI6RBG77_cjs.retrieveCodeVerifier; }
308
+ get: function () { return chunkCI4N7KJK_cjs.retrieveCodeVerifier; }
285
309
  });
286
310
  Object.defineProperty(exports, "retrieveState", {
287
311
  enumerable: true,
288
- get: function () { return chunkCI6RBG77_cjs.retrieveState; }
312
+ get: function () { return chunkCI4N7KJK_cjs.retrieveState; }
289
313
  });
290
314
  Object.defineProperty(exports, "sha256Hex", {
291
315
  enumerable: true,
292
- get: function () { return chunkCI6RBG77_cjs.sha256Hex; }
316
+ get: function () { return chunkCI4N7KJK_cjs.sha256Hex; }
293
317
  });
294
318
  Object.defineProperty(exports, "storeCodeVerifier", {
295
319
  enumerable: true,
296
- get: function () { return chunkCI6RBG77_cjs.storeCodeVerifier; }
320
+ get: function () { return chunkCI4N7KJK_cjs.storeCodeVerifier; }
297
321
  });
298
322
  Object.defineProperty(exports, "storeState", {
299
323
  enumerable: true,
300
- get: function () { return chunkCI6RBG77_cjs.storeState; }
324
+ get: function () { return chunkCI4N7KJK_cjs.storeState; }
301
325
  });
302
326
  Object.defineProperty(exports, "useFFID", {
303
327
  enumerable: true,
304
- get: function () { return chunkCI6RBG77_cjs.useFFID; }
328
+ get: function () { return chunkCI4N7KJK_cjs.useFFID; }
305
329
  });
306
330
  Object.defineProperty(exports, "useFFIDAnnouncements", {
307
331
  enumerable: true,
308
- get: function () { return chunkCI6RBG77_cjs.useFFIDAnnouncements; }
332
+ get: function () { return chunkCI4N7KJK_cjs.useFFIDAnnouncements; }
309
333
  });
310
334
  Object.defineProperty(exports, "useSubscription", {
311
335
  enumerable: true,
312
- get: function () { return chunkCI6RBG77_cjs.useSubscription; }
336
+ get: function () { return chunkCI4N7KJK_cjs.useSubscription; }
313
337
  });
314
338
  Object.defineProperty(exports, "validatePublishedCatalog", {
315
339
  enumerable: true,
316
- get: function () { return chunkCI6RBG77_cjs.validatePublishedCatalog; }
340
+ get: function () { return chunkCI4N7KJK_cjs.validatePublishedCatalog; }
317
341
  });
318
342
  Object.defineProperty(exports, "withSubscription", {
319
343
  enumerable: true,
320
- get: function () { return chunkCI6RBG77_cjs.withSubscription; }
344
+ get: function () { return chunkCI4N7KJK_cjs.withSubscription; }
321
345
  });
322
346
  Object.defineProperty(exports, "ALL_DENIED_EXCEPT_NECESSARY", {
323
347
  enumerable: true,
324
- get: function () { return chunkH5O2CCAY_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
348
+ get: function () { return chunkXELXXL2F_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
325
349
  });
326
350
  Object.defineProperty(exports, "CONSENT_COOKIE_NAME", {
327
351
  enumerable: true,
328
- get: function () { return chunkH5O2CCAY_cjs.CONSENT_COOKIE_NAME; }
352
+ get: function () { return chunkXELXXL2F_cjs.CONSENT_COOKIE_NAME; }
329
353
  });
330
354
  Object.defineProperty(exports, "CONSENT_DISMISSAL_TIMESTAMP_KEY", {
331
355
  enumerable: true,
332
- get: function () { return chunkH5O2CCAY_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
356
+ get: function () { return chunkXELXXL2F_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
333
357
  });
334
358
  Object.defineProperty(exports, "COOKIE_VERSION", {
335
359
  enumerable: true,
336
- get: function () { return chunkH5O2CCAY_cjs.COOKIE_VERSION; }
360
+ get: function () { return chunkXELXXL2F_cjs.COOKIE_VERSION; }
337
361
  });
338
362
  Object.defineProperty(exports, "DEFAULT_CONSENT_ERROR_MESSAGES", {
339
363
  enumerable: true,
340
- get: function () { return chunkH5O2CCAY_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
364
+ get: function () { return chunkXELXXL2F_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
341
365
  });
342
366
  Object.defineProperty(exports, "FFIDAnalyticsProvider", {
343
367
  enumerable: true,
344
- get: function () { return chunkH5O2CCAY_cjs.FFIDAnalyticsProvider; }
368
+ get: function () { return chunkXELXXL2F_cjs.FFIDAnalyticsProvider; }
345
369
  });
346
370
  Object.defineProperty(exports, "FFIDConsentError", {
347
371
  enumerable: true,
348
- get: function () { return chunkH5O2CCAY_cjs.FFIDConsentError; }
372
+ get: function () { return chunkXELXXL2F_cjs.FFIDConsentError; }
349
373
  });
350
374
  Object.defineProperty(exports, "FFIDCookieBanner", {
351
375
  enumerable: true,
352
- get: function () { return chunkH5O2CCAY_cjs.FFIDCookieBanner; }
376
+ get: function () { return chunkXELXXL2F_cjs.FFIDCookieBanner; }
353
377
  });
354
378
  Object.defineProperty(exports, "FFIDCookieLink", {
355
379
  enumerable: true,
356
- get: function () { return chunkH5O2CCAY_cjs.FFIDCookieLink; }
380
+ get: function () { return chunkXELXXL2F_cjs.FFIDCookieLink; }
357
381
  });
358
382
  Object.defineProperty(exports, "FFIDCookieSettings", {
359
383
  enumerable: true,
360
- get: function () { return chunkH5O2CCAY_cjs.FFIDCookieSettings; }
384
+ get: function () { return chunkXELXXL2F_cjs.FFIDCookieSettings; }
361
385
  });
362
386
  Object.defineProperty(exports, "FFID_CONSENT_ERROR_CODES", {
363
387
  enumerable: true,
364
- get: function () { return chunkH5O2CCAY_cjs.FFID_CONSENT_ERROR_CODES; }
388
+ get: function () { return chunkXELXXL2F_cjs.FFID_CONSENT_ERROR_CODES; }
365
389
  });
366
390
  Object.defineProperty(exports, "clearConsentDismissalTimestamp", {
367
391
  enumerable: true,
368
- get: function () { return chunkH5O2CCAY_cjs.clearConsentDismissalTimestamp; }
392
+ get: function () { return chunkXELXXL2F_cjs.clearConsentDismissalTimestamp; }
369
393
  });
370
394
  Object.defineProperty(exports, "decodeConsentCookie", {
371
395
  enumerable: true,
372
- get: function () { return chunkH5O2CCAY_cjs.decodeConsentCookie; }
396
+ get: function () { return chunkXELXXL2F_cjs.decodeConsentCookie; }
373
397
  });
374
398
  Object.defineProperty(exports, "encodeConsentCookie", {
375
399
  enumerable: true,
376
- get: function () { return chunkH5O2CCAY_cjs.encodeConsentCookie; }
400
+ get: function () { return chunkXELXXL2F_cjs.encodeConsentCookie; }
377
401
  });
378
402
  Object.defineProperty(exports, "readConsentCookie", {
379
403
  enumerable: true,
380
- get: function () { return chunkH5O2CCAY_cjs.readConsentCookie; }
404
+ get: function () { return chunkXELXXL2F_cjs.readConsentCookie; }
381
405
  });
382
406
  Object.defineProperty(exports, "readConsentDismissalTimestamp", {
383
407
  enumerable: true,
384
- get: function () { return chunkH5O2CCAY_cjs.readConsentDismissalTimestamp; }
408
+ get: function () { return chunkXELXXL2F_cjs.readConsentDismissalTimestamp; }
385
409
  });
386
410
  Object.defineProperty(exports, "useFFIDConsent", {
387
411
  enumerable: true,
388
- get: function () { return chunkH5O2CCAY_cjs.useFFIDConsent; }
412
+ get: function () { return chunkXELXXL2F_cjs.useFFIDConsent; }
389
413
  });
390
414
  Object.defineProperty(exports, "useFFIDConsentPreferences", {
391
415
  enumerable: true,
392
- get: function () { return chunkH5O2CCAY_cjs.useFFIDConsentPreferences; }
416
+ get: function () { return chunkXELXXL2F_cjs.useFFIDConsentPreferences; }
393
417
  });
394
418
  Object.defineProperty(exports, "writeConsentCookie", {
395
419
  enumerable: true,
396
- get: function () { return chunkH5O2CCAY_cjs.writeConsentCookie; }
420
+ get: function () { return chunkXELXXL2F_cjs.writeConsentCookie; }
397
421
  });
398
422
  Object.defineProperty(exports, "writeConsentDismissalTimestamp", {
399
423
  enumerable: true,
400
- get: function () { return chunkH5O2CCAY_cjs.writeConsentDismissalTimestamp; }
424
+ get: function () { return chunkXELXXL2F_cjs.writeConsentDismissalTimestamp; }
401
425
  });
402
426
  exports.FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS = FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS;
403
427
  exports.FFID_NEWSLETTER_TYPES = FFID_NEWSLETTER_TYPES;