@feelflow/ffid-sdk 5.9.0 → 5.12.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 (33) hide show
  1. package/dist/{FFIDCookieLink-CE01gYc4.d.cts → FFIDCookieLink-D1WwE_ZO.d.cts} +5 -0
  2. package/dist/{FFIDCookieLink-CE01gYc4.d.ts → FFIDCookieLink-D1WwE_ZO.d.ts} +5 -0
  3. package/dist/{chunk-A6MOPB7D.cjs → chunk-AOJDV3UO.cjs} +88 -3
  4. package/dist/{chunk-KENJXMSG.js → chunk-KB2JG64Z.js} +88 -4
  5. package/dist/{chunk-KJ7FUNA6.js → chunk-M4N2PUX6.js} +64 -32
  6. package/dist/{chunk-Q5SZVLNB.cjs → chunk-R5WSZMUL.cjs} +64 -32
  7. package/dist/components/index.cjs +8 -8
  8. package/dist/components/index.d.cts +1 -1
  9. package/dist/components/index.d.ts +1 -1
  10. package/dist/components/index.js +1 -1
  11. package/dist/consent/index.cjs +64 -64
  12. package/dist/consent/index.d.cts +2 -2
  13. package/dist/consent/index.d.ts +2 -2
  14. package/dist/consent/index.js +1 -1
  15. package/dist/{ffid-client-gboJROw0.d.ts → ffid-client-5IprSUVR.d.ts} +169 -42
  16. package/dist/{ffid-client-DRjzfAaS.d.cts → ffid-client-Dx4oc4Cw.d.cts} +169 -42
  17. package/dist/{index-DSvX4q8E.d.cts → index-DqsWKU16.d.cts} +11 -43
  18. package/dist/{index-DSvX4q8E.d.ts → index-DqsWKU16.d.ts} +11 -43
  19. package/dist/index.cjs +61 -57
  20. package/dist/index.d.cts +172 -4
  21. package/dist/index.d.ts +172 -4
  22. package/dist/index.js +3 -3
  23. package/dist/server/index.cjs +78 -3
  24. package/dist/server/index.d.cts +3 -3
  25. package/dist/server/index.d.ts +3 -3
  26. package/dist/server/index.js +78 -3
  27. package/dist/server/test/index.d.cts +2 -2
  28. package/dist/server/test/index.d.ts +2 -2
  29. package/dist/{types-BYdtyO_2.d.cts → types-BeVl-z12.d.cts} +10 -1
  30. package/dist/{types-BYdtyO_2.d.ts → types-BeVl-z12.d.ts} +10 -1
  31. package/dist/webhooks/index.d.cts +1 -1
  32. package/dist/webhooks/index.d.ts +1 -1
  33. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkA6MOPB7D_cjs = require('./chunk-A6MOPB7D.cjs');
4
- var chunkQ5SZVLNB_cjs = require('./chunk-Q5SZVLNB.cjs');
3
+ var chunkAOJDV3UO_cjs = require('./chunk-AOJDV3UO.cjs');
4
+ var chunkR5WSZMUL_cjs = require('./chunk-R5WSZMUL.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 } = chunkA6MOPB7D_cjs.useFFIDContext();
58
- const { effectiveStatus, isBlocked, isGrace } = chunkA6MOPB7D_cjs.useSubscription();
57
+ const { isLoading, error } = chunkAOJDV3UO_cjs.useFFIDContext();
58
+ const { effectiveStatus, isBlocked, isGrace } = chunkAOJDV3UO_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 } = chunkA6MOPB7D_cjs.useFFIDContext();
79
+ const { isLoading, isAuthenticated, login } = chunkAOJDV3UO_cjs.useFFIDContext();
80
80
  const hasRedirected = react.useRef(false);
81
81
  react.useEffect(() => {
82
82
  if (!isLoading && !isAuthenticated && options.redirectToLogin && !hasRedirected.current) {
@@ -105,211 +105,215 @@ 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 chunkA6MOPB7D_cjs.ACCESS_GRANTING_EFFECTIVE_STATUSES; }
108
+ get: function () { return chunkAOJDV3UO_cjs.ACCESS_GRANTING_EFFECTIVE_STATUSES; }
109
109
  });
110
110
  Object.defineProperty(exports, "BLOCKING_EFFECTIVE_STATUSES", {
111
111
  enumerable: true,
112
- get: function () { return chunkA6MOPB7D_cjs.BLOCKING_EFFECTIVE_STATUSES; }
112
+ get: function () { return chunkAOJDV3UO_cjs.BLOCKING_EFFECTIVE_STATUSES; }
113
113
  });
114
114
  Object.defineProperty(exports, "DEFAULT_API_BASE_URL", {
115
115
  enumerable: true,
116
- get: function () { return chunkA6MOPB7D_cjs.DEFAULT_API_BASE_URL; }
116
+ get: function () { return chunkAOJDV3UO_cjs.DEFAULT_API_BASE_URL; }
117
117
  });
118
118
  Object.defineProperty(exports, "DEFAULT_OAUTH_SCOPES", {
119
119
  enumerable: true,
120
- get: function () { return chunkA6MOPB7D_cjs.DEFAULT_OAUTH_SCOPES; }
120
+ get: function () { return chunkAOJDV3UO_cjs.DEFAULT_OAUTH_SCOPES; }
121
+ });
122
+ Object.defineProperty(exports, "EFFECTIVE_SUBSCRIPTION_STATUSES", {
123
+ enumerable: true,
124
+ get: function () { return chunkAOJDV3UO_cjs.EFFECTIVE_SUBSCRIPTION_STATUSES; }
121
125
  });
122
126
  Object.defineProperty(exports, "FFIDAnnouncementBadge", {
123
127
  enumerable: true,
124
- get: function () { return chunkA6MOPB7D_cjs.FFIDAnnouncementBadge; }
128
+ get: function () { return chunkAOJDV3UO_cjs.FFIDAnnouncementBadge; }
125
129
  });
126
130
  Object.defineProperty(exports, "FFIDAnnouncementList", {
127
131
  enumerable: true,
128
- get: function () { return chunkA6MOPB7D_cjs.FFIDAnnouncementList; }
132
+ get: function () { return chunkAOJDV3UO_cjs.FFIDAnnouncementList; }
129
133
  });
130
134
  Object.defineProperty(exports, "FFIDInquiryForm", {
131
135
  enumerable: true,
132
- get: function () { return chunkA6MOPB7D_cjs.FFIDInquiryForm; }
136
+ get: function () { return chunkAOJDV3UO_cjs.FFIDInquiryForm; }
133
137
  });
134
138
  Object.defineProperty(exports, "FFIDLoginButton", {
135
139
  enumerable: true,
136
- get: function () { return chunkA6MOPB7D_cjs.FFIDLoginButton; }
140
+ get: function () { return chunkAOJDV3UO_cjs.FFIDLoginButton; }
137
141
  });
138
142
  Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
139
143
  enumerable: true,
140
- get: function () { return chunkA6MOPB7D_cjs.FFIDOrganizationSwitcher; }
144
+ get: function () { return chunkAOJDV3UO_cjs.FFIDOrganizationSwitcher; }
141
145
  });
142
146
  Object.defineProperty(exports, "FFIDProvider", {
143
147
  enumerable: true,
144
- get: function () { return chunkA6MOPB7D_cjs.FFIDProvider; }
148
+ get: function () { return chunkAOJDV3UO_cjs.FFIDProvider; }
145
149
  });
146
150
  Object.defineProperty(exports, "FFIDSDKError", {
147
151
  enumerable: true,
148
- get: function () { return chunkA6MOPB7D_cjs.FFIDSDKError; }
152
+ get: function () { return chunkAOJDV3UO_cjs.FFIDSDKError; }
149
153
  });
150
154
  Object.defineProperty(exports, "FFIDSubscriptionBadge", {
151
155
  enumerable: true,
152
- get: function () { return chunkA6MOPB7D_cjs.FFIDSubscriptionBadge; }
156
+ get: function () { return chunkAOJDV3UO_cjs.FFIDSubscriptionBadge; }
153
157
  });
154
158
  Object.defineProperty(exports, "FFIDUserMenu", {
155
159
  enumerable: true,
156
- get: function () { return chunkA6MOPB7D_cjs.FFIDUserMenu; }
160
+ get: function () { return chunkAOJDV3UO_cjs.FFIDUserMenu; }
157
161
  });
158
162
  Object.defineProperty(exports, "FFID_ANNOUNCEMENTS_ERROR_CODES", {
159
163
  enumerable: true,
160
- get: function () { return chunkA6MOPB7D_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
164
+ get: function () { return chunkAOJDV3UO_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
161
165
  });
162
166
  Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES", {
163
167
  enumerable: true,
164
- get: function () { return chunkA6MOPB7D_cjs.FFID_INQUIRY_CATEGORIES; }
168
+ get: function () { return chunkAOJDV3UO_cjs.FFID_INQUIRY_CATEGORIES; }
165
169
  });
166
170
  Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES_SITE_2026", {
167
171
  enumerable: true,
168
- get: function () { return chunkA6MOPB7D_cjs.FFID_INQUIRY_CATEGORIES_SITE_2026; }
172
+ get: function () { return chunkAOJDV3UO_cjs.FFID_INQUIRY_CATEGORIES_SITE_2026; }
169
173
  });
170
174
  Object.defineProperty(exports, "computeEffectiveStatusFromSession", {
171
175
  enumerable: true,
172
- get: function () { return chunkA6MOPB7D_cjs.computeEffectiveStatusFromSession; }
176
+ get: function () { return chunkAOJDV3UO_cjs.computeEffectiveStatusFromSession; }
173
177
  });
174
178
  Object.defineProperty(exports, "createFFIDAnnouncementsClient", {
175
179
  enumerable: true,
176
- get: function () { return chunkA6MOPB7D_cjs.createFFIDAnnouncementsClient; }
180
+ get: function () { return chunkAOJDV3UO_cjs.createFFIDAnnouncementsClient; }
177
181
  });
178
182
  Object.defineProperty(exports, "createFFIDClient", {
179
183
  enumerable: true,
180
- get: function () { return chunkA6MOPB7D_cjs.createFFIDClient; }
184
+ get: function () { return chunkAOJDV3UO_cjs.createFFIDClient; }
181
185
  });
182
186
  Object.defineProperty(exports, "createTokenStore", {
183
187
  enumerable: true,
184
- get: function () { return chunkA6MOPB7D_cjs.createTokenStore; }
188
+ get: function () { return chunkAOJDV3UO_cjs.createTokenStore; }
185
189
  });
186
190
  Object.defineProperty(exports, "generateCodeChallenge", {
187
191
  enumerable: true,
188
- get: function () { return chunkA6MOPB7D_cjs.generateCodeChallenge; }
192
+ get: function () { return chunkAOJDV3UO_cjs.generateCodeChallenge; }
189
193
  });
190
194
  Object.defineProperty(exports, "generateCodeVerifier", {
191
195
  enumerable: true,
192
- get: function () { return chunkA6MOPB7D_cjs.generateCodeVerifier; }
196
+ get: function () { return chunkAOJDV3UO_cjs.generateCodeVerifier; }
193
197
  });
194
198
  Object.defineProperty(exports, "hasAccessFromUserinfo", {
195
199
  enumerable: true,
196
- get: function () { return chunkA6MOPB7D_cjs.hasAccessFromUserinfo; }
200
+ get: function () { return chunkAOJDV3UO_cjs.hasAccessFromUserinfo; }
197
201
  });
198
202
  Object.defineProperty(exports, "isBlockedFromUserinfo", {
199
203
  enumerable: true,
200
- get: function () { return chunkA6MOPB7D_cjs.isBlockedFromUserinfo; }
204
+ get: function () { return chunkAOJDV3UO_cjs.isBlockedFromUserinfo; }
201
205
  });
202
206
  Object.defineProperty(exports, "isFFIDInquiryCategorySite2026", {
203
207
  enumerable: true,
204
- get: function () { return chunkA6MOPB7D_cjs.isFFIDInquiryCategorySite2026; }
208
+ get: function () { return chunkAOJDV3UO_cjs.isFFIDInquiryCategorySite2026; }
205
209
  });
206
210
  Object.defineProperty(exports, "normalizeRedirectUri", {
207
211
  enumerable: true,
208
- get: function () { return chunkA6MOPB7D_cjs.normalizeRedirectUri; }
212
+ get: function () { return chunkAOJDV3UO_cjs.normalizeRedirectUri; }
209
213
  });
210
214
  Object.defineProperty(exports, "retrieveCodeVerifier", {
211
215
  enumerable: true,
212
- get: function () { return chunkA6MOPB7D_cjs.retrieveCodeVerifier; }
216
+ get: function () { return chunkAOJDV3UO_cjs.retrieveCodeVerifier; }
213
217
  });
214
218
  Object.defineProperty(exports, "storeCodeVerifier", {
215
219
  enumerable: true,
216
- get: function () { return chunkA6MOPB7D_cjs.storeCodeVerifier; }
220
+ get: function () { return chunkAOJDV3UO_cjs.storeCodeVerifier; }
217
221
  });
218
222
  Object.defineProperty(exports, "useFFID", {
219
223
  enumerable: true,
220
- get: function () { return chunkA6MOPB7D_cjs.useFFID; }
224
+ get: function () { return chunkAOJDV3UO_cjs.useFFID; }
221
225
  });
222
226
  Object.defineProperty(exports, "useFFIDAnnouncements", {
223
227
  enumerable: true,
224
- get: function () { return chunkA6MOPB7D_cjs.useFFIDAnnouncements; }
228
+ get: function () { return chunkAOJDV3UO_cjs.useFFIDAnnouncements; }
225
229
  });
226
230
  Object.defineProperty(exports, "useSubscription", {
227
231
  enumerable: true,
228
- get: function () { return chunkA6MOPB7D_cjs.useSubscription; }
232
+ get: function () { return chunkAOJDV3UO_cjs.useSubscription; }
229
233
  });
230
234
  Object.defineProperty(exports, "withSubscription", {
231
235
  enumerable: true,
232
- get: function () { return chunkA6MOPB7D_cjs.withSubscription; }
236
+ get: function () { return chunkAOJDV3UO_cjs.withSubscription; }
233
237
  });
234
238
  Object.defineProperty(exports, "ALL_DENIED_EXCEPT_NECESSARY", {
235
239
  enumerable: true,
236
- get: function () { return chunkQ5SZVLNB_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
240
+ get: function () { return chunkR5WSZMUL_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
237
241
  });
238
242
  Object.defineProperty(exports, "CONSENT_COOKIE_NAME", {
239
243
  enumerable: true,
240
- get: function () { return chunkQ5SZVLNB_cjs.CONSENT_COOKIE_NAME; }
244
+ get: function () { return chunkR5WSZMUL_cjs.CONSENT_COOKIE_NAME; }
241
245
  });
242
246
  Object.defineProperty(exports, "CONSENT_DISMISSAL_TIMESTAMP_KEY", {
243
247
  enumerable: true,
244
- get: function () { return chunkQ5SZVLNB_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
248
+ get: function () { return chunkR5WSZMUL_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
245
249
  });
246
250
  Object.defineProperty(exports, "COOKIE_VERSION", {
247
251
  enumerable: true,
248
- get: function () { return chunkQ5SZVLNB_cjs.COOKIE_VERSION; }
252
+ get: function () { return chunkR5WSZMUL_cjs.COOKIE_VERSION; }
249
253
  });
250
254
  Object.defineProperty(exports, "DEFAULT_CONSENT_ERROR_MESSAGES", {
251
255
  enumerable: true,
252
- get: function () { return chunkQ5SZVLNB_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
256
+ get: function () { return chunkR5WSZMUL_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
253
257
  });
254
258
  Object.defineProperty(exports, "FFIDAnalyticsProvider", {
255
259
  enumerable: true,
256
- get: function () { return chunkQ5SZVLNB_cjs.FFIDAnalyticsProvider; }
260
+ get: function () { return chunkR5WSZMUL_cjs.FFIDAnalyticsProvider; }
257
261
  });
258
262
  Object.defineProperty(exports, "FFIDConsentError", {
259
263
  enumerable: true,
260
- get: function () { return chunkQ5SZVLNB_cjs.FFIDConsentError; }
264
+ get: function () { return chunkR5WSZMUL_cjs.FFIDConsentError; }
261
265
  });
262
266
  Object.defineProperty(exports, "FFIDCookieBanner", {
263
267
  enumerable: true,
264
- get: function () { return chunkQ5SZVLNB_cjs.FFIDCookieBanner; }
268
+ get: function () { return chunkR5WSZMUL_cjs.FFIDCookieBanner; }
265
269
  });
266
270
  Object.defineProperty(exports, "FFIDCookieLink", {
267
271
  enumerable: true,
268
- get: function () { return chunkQ5SZVLNB_cjs.FFIDCookieLink; }
272
+ get: function () { return chunkR5WSZMUL_cjs.FFIDCookieLink; }
269
273
  });
270
274
  Object.defineProperty(exports, "FFIDCookieSettings", {
271
275
  enumerable: true,
272
- get: function () { return chunkQ5SZVLNB_cjs.FFIDCookieSettings; }
276
+ get: function () { return chunkR5WSZMUL_cjs.FFIDCookieSettings; }
273
277
  });
274
278
  Object.defineProperty(exports, "FFID_CONSENT_ERROR_CODES", {
275
279
  enumerable: true,
276
- get: function () { return chunkQ5SZVLNB_cjs.FFID_CONSENT_ERROR_CODES; }
280
+ get: function () { return chunkR5WSZMUL_cjs.FFID_CONSENT_ERROR_CODES; }
277
281
  });
278
282
  Object.defineProperty(exports, "clearConsentDismissalTimestamp", {
279
283
  enumerable: true,
280
- get: function () { return chunkQ5SZVLNB_cjs.clearConsentDismissalTimestamp; }
284
+ get: function () { return chunkR5WSZMUL_cjs.clearConsentDismissalTimestamp; }
281
285
  });
282
286
  Object.defineProperty(exports, "decodeConsentCookie", {
283
287
  enumerable: true,
284
- get: function () { return chunkQ5SZVLNB_cjs.decodeConsentCookie; }
288
+ get: function () { return chunkR5WSZMUL_cjs.decodeConsentCookie; }
285
289
  });
286
290
  Object.defineProperty(exports, "encodeConsentCookie", {
287
291
  enumerable: true,
288
- get: function () { return chunkQ5SZVLNB_cjs.encodeConsentCookie; }
292
+ get: function () { return chunkR5WSZMUL_cjs.encodeConsentCookie; }
289
293
  });
290
294
  Object.defineProperty(exports, "readConsentCookie", {
291
295
  enumerable: true,
292
- get: function () { return chunkQ5SZVLNB_cjs.readConsentCookie; }
296
+ get: function () { return chunkR5WSZMUL_cjs.readConsentCookie; }
293
297
  });
294
298
  Object.defineProperty(exports, "readConsentDismissalTimestamp", {
295
299
  enumerable: true,
296
- get: function () { return chunkQ5SZVLNB_cjs.readConsentDismissalTimestamp; }
300
+ get: function () { return chunkR5WSZMUL_cjs.readConsentDismissalTimestamp; }
297
301
  });
298
302
  Object.defineProperty(exports, "useFFIDConsent", {
299
303
  enumerable: true,
300
- get: function () { return chunkQ5SZVLNB_cjs.useFFIDConsent; }
304
+ get: function () { return chunkR5WSZMUL_cjs.useFFIDConsent; }
301
305
  });
302
306
  Object.defineProperty(exports, "useFFIDConsentPreferences", {
303
307
  enumerable: true,
304
- get: function () { return chunkQ5SZVLNB_cjs.useFFIDConsentPreferences; }
308
+ get: function () { return chunkR5WSZMUL_cjs.useFFIDConsentPreferences; }
305
309
  });
306
310
  Object.defineProperty(exports, "writeConsentCookie", {
307
311
  enumerable: true,
308
- get: function () { return chunkQ5SZVLNB_cjs.writeConsentCookie; }
312
+ get: function () { return chunkR5WSZMUL_cjs.writeConsentCookie; }
309
313
  });
310
314
  Object.defineProperty(exports, "writeConsentDismissalTimestamp", {
311
315
  enumerable: true,
312
- get: function () { return chunkQ5SZVLNB_cjs.writeConsentDismissalTimestamp; }
316
+ get: function () { return chunkR5WSZMUL_cjs.writeConsentDismissalTimestamp; }
313
317
  });
314
318
  exports.FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS = FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS;
315
319
  exports.FFID_NEWSLETTER_TYPES = FFID_NEWSLETTER_TYPES;
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { F as FFIDSubscriptionStatus, a as FFIDConfig, b as FFIDApiResponse, c as FFIDSessionResponse, d as FFIDRedirectResult, e as FFIDError, f as FFIDSubscriptionCheckResponse, g as FFIDCheckServiceAccessParams, h as FFIDServiceAccessDecision, i as FFIDProfileCallOptions, j as FFIDUserProfile, k as FFIDUpdateUserProfileRequest, l as FFIDAnalyticsConfig, m as FFIDCreateCheckoutParams, n as FFIDCheckoutSessionResponse, o as FFIDCreatePortalParams, p as FFIDPortalSessionResponse, q as FFIDVerifyAccessTokenOptions, r as FFIDOAuthUserInfo, s as FFIDInquiryCreateParams, t as FFIDInquiryCreateResponse, u as FFIDAuthMode, v as FFIDLogger, w as FFIDCacheAdapter, x as FFIDUser, y as FFIDOrganization, z as FFIDSubscription, A as FFIDSubscriptionContextValue, E as EffectiveSubscriptionStatus, B as FFIDOAuthUserInfoSubscription, C as FFIDAnnouncementsClientConfig, L as ListAnnouncementsOptions, D as FFIDAnnouncementsApiResponse, G as AnnouncementListResponse, H as FFIDAnnouncementsLogger } from './index-DSvX4q8E.cjs';
2
- export { I as Announcement, J as AnnouncementStatus, K as AnnouncementType, M as FFIDAnnouncementBadge, N as FFIDAnnouncementList, O as FFIDAnnouncementsError, P as FFIDAnnouncementsErrorCode, Q as FFIDAnnouncementsServerResponse, R as FFIDCacheConfig, S as FFIDContextValue, T as FFIDInquiryCategory, U as FFIDInquiryCategorySite2026, V as FFIDInquiryForm, W as FFIDInquiryFormCategoryItem, X as FFIDInquiryFormClassNames, Y as FFIDInquiryFormLegalLayout, Z as FFIDInquiryFormOrganization, _ as FFIDInquiryFormPlaceholderContext, $ as FFIDInquiryFormPrefill, a0 as FFIDInquiryFormProps, a1 as FFIDInquiryFormSubmitData, a2 as FFIDInquiryFormSubmitResult, a3 as FFIDJwtClaims, a4 as FFIDLoginButton, a5 as FFIDOAuthTokenResponse, a6 as FFIDOAuthUserInfoMemberRole, a7 as FFIDOrganizationSwitcher, a8 as FFIDRedirectErrorCode, a9 as FFIDSeatModel, aa as FFIDServiceAccessDenialReason, ab as FFIDServiceAccessFailPolicy, ac as FFIDSubscriptionBadge, ad as FFIDTokenIntrospectionResponse, ae as FFIDUserMenu, af as FFID_INQUIRY_CATEGORIES, ag as FFID_INQUIRY_CATEGORIES_SITE_2026, ah as UseFFIDAnnouncementsOptions, ai as UseFFIDAnnouncementsReturn, aj as isFFIDInquiryCategorySite2026, ak as useFFIDAnnouncements } from './index-DSvX4q8E.cjs';
3
- export { A as ALL_DENIED_EXCEPT_NECESSARY, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, c as FFIDConsentCategories, r as FFIDConsentCategoryCode, e as FFIDConsentCategoryMetadata, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, F as FFIDConsentResult, I as FFIDConsentSource, a as FFIDConsentState, d as FFIDConsentSyncResult, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, f as FFIDCookiePolicy, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, _ as FFID_CONSENT_ERROR_CODES, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, aj as decodeConsentCookie, al as encodeConsentCookie, an as readConsentCookie, ao as readConsentDismissalTimestamp, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp } from './FFIDCookieLink-CE01gYc4.cjs';
1
+ import { F as FFIDSubscriptionStatus, a as FFIDConfig, b as FFIDApiResponse, c as FFIDSessionResponse, d as FFIDRedirectResult, e as FFIDError, f as FFIDSubscriptionCheckResponse, g as FFIDCheckServiceAccessParams, h as FFIDServiceAccessDecision, i as FFIDProfileCallOptions, j as FFIDUserProfile, k as FFIDUpdateUserProfileRequest, l as FFIDAnalyticsConfig, m as FFIDVerifyAccessTokenOptions, n as FFIDOAuthUserInfo, o as FFIDInquiryCreateParams, p as FFIDInquiryCreateResponse, q as FFIDAuthMode, r as FFIDLogger, s as FFIDCacheAdapter, t as FFIDUser, u as FFIDOrganization, v as FFIDSubscription, w as FFIDSubscriptionContextValue, E as EffectiveSubscriptionStatus, x as FFIDOAuthUserInfoSubscription, y as FFIDAnnouncementsClientConfig, L as ListAnnouncementsOptions, z as FFIDAnnouncementsApiResponse, A as AnnouncementListResponse, B as FFIDAnnouncementsLogger } from './index-DqsWKU16.cjs';
2
+ export { C as Announcement, D as AnnouncementStatus, G as AnnouncementType, H as EFFECTIVE_SUBSCRIPTION_STATUSES, I as FFIDAnnouncementBadge, J as FFIDAnnouncementList, K as FFIDAnnouncementsError, M as FFIDAnnouncementsErrorCode, N as FFIDAnnouncementsServerResponse, O as FFIDCacheConfig, P as FFIDContextValue, Q as FFIDInquiryCategory, R as FFIDInquiryCategorySite2026, S as FFIDInquiryForm, T as FFIDInquiryFormCategoryItem, U as FFIDInquiryFormClassNames, V as FFIDInquiryFormLegalLayout, W as FFIDInquiryFormOrganization, X as FFIDInquiryFormPlaceholderContext, Y as FFIDInquiryFormPrefill, Z as FFIDInquiryFormProps, _ as FFIDInquiryFormSubmitData, $ as FFIDInquiryFormSubmitResult, a0 as FFIDJwtClaims, a1 as FFIDLoginButton, a2 as FFIDOAuthTokenResponse, a3 as FFIDOAuthUserInfoMemberRole, a4 as FFIDOrganizationSwitcher, a5 as FFIDRedirectErrorCode, a6 as FFIDSeatModel, a7 as FFIDServiceAccessDenialReason, a8 as FFIDServiceAccessFailPolicy, a9 as FFIDSubscriptionBadge, aa as FFIDTokenIntrospectionResponse, ab as FFIDUserMenu, ac as FFID_INQUIRY_CATEGORIES, ad as FFID_INQUIRY_CATEGORIES_SITE_2026, ae as UseFFIDAnnouncementsOptions, af as UseFFIDAnnouncementsReturn, ag as isFFIDInquiryCategorySite2026, ah as useFFIDAnnouncements } from './index-DqsWKU16.cjs';
3
+ export { A as ALL_DENIED_EXCEPT_NECESSARY, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, c as FFIDConsentCategories, r as FFIDConsentCategoryCode, e as FFIDConsentCategoryMetadata, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, F as FFIDConsentResult, I as FFIDConsentSource, a as FFIDConsentState, d as FFIDConsentSyncResult, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, f as FFIDCookiePolicy, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, _ as FFID_CONSENT_ERROR_CODES, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, aj as decodeConsentCookie, al as encodeConsentCookie, an as readConsentCookie, ao as readConsentDismissalTimestamp, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp } from './FFIDCookieLink-D1WwE_ZO.cjs';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import { ReactNode, ComponentType, FC } from 'react';
6
6
  import 'zod';
@@ -122,6 +122,52 @@ declare function storeCodeVerifier(verifier: string, logger?: PKCELogger): boole
122
122
  */
123
123
  declare function retrieveCodeVerifier(logger?: PKCELogger): string | null;
124
124
 
125
+ /**
126
+ * Billing checkout / portal session types.
127
+ *
128
+ * types/index.ts のサイズ上限対応で切り出し(中身は逐語移設、#3787 Phase A)。
129
+ */
130
+ /**
131
+ * Checkout session response from billing checkout endpoint
132
+ */
133
+ interface FFIDCheckoutSessionResponse {
134
+ /** Stripe Checkout session ID */
135
+ sessionId: string;
136
+ /** Stripe Checkout session URL (null if session creation had issues) */
137
+ url: string | null;
138
+ }
139
+ /**
140
+ * Portal session response from billing portal endpoint
141
+ */
142
+ interface FFIDPortalSessionResponse {
143
+ /** Stripe Billing Portal URL */
144
+ url: string;
145
+ }
146
+ /**
147
+ * Parameters for creating a checkout session
148
+ */
149
+ interface FFIDCreateCheckoutParams {
150
+ /** Organization ID (UUID) */
151
+ organizationId: string;
152
+ /** Subscription ID (UUID) */
153
+ subscriptionId: string;
154
+ /** URL to redirect after successful checkout */
155
+ successUrl: string;
156
+ /** URL to redirect after cancelled checkout */
157
+ cancelUrl: string;
158
+ /** Optional plan ID for upgrade or resubscription */
159
+ planId?: string;
160
+ }
161
+ /**
162
+ * Parameters for creating a billing portal session
163
+ */
164
+ interface FFIDCreatePortalParams {
165
+ /** Organization ID (UUID) */
166
+ organizationId: string;
167
+ /** URL to redirect when user exits the portal */
168
+ returnUrl: string;
169
+ }
170
+
125
171
  /** Billing interval for subscriptions */
126
172
  type FFIDBillingInterval = 'monthly' | 'yearly';
127
173
  /**
@@ -489,6 +535,122 @@ interface FFIDRemoveMemberResponse {
489
535
  message: string;
490
536
  }
491
537
 
538
+ /**
539
+ * Contract resource types (#3787 Phase A)
540
+ *
541
+ * シート割り当て・請求書・支払い再試行の ext API 型。
542
+ * サーバー側の sanitize 済みレスポンス(Stripe 内部 ID を含まない)と対になる。
543
+ */
544
+ /** シート割り当て 1 件(ユーザー情報付き、一覧用) */
545
+ interface FFIDSeatAssignmentWithUser {
546
+ userId: string;
547
+ email: string;
548
+ name: string | null;
549
+ role: string;
550
+ assignedAt: string;
551
+ assignedBy: string | null;
552
+ }
553
+ /** シート割り当てレコード(割り当て直後のレスポンス用) */
554
+ interface FFIDSeatAssignmentRecord {
555
+ id: string;
556
+ subscriptionId: string;
557
+ userId: string;
558
+ assignedBy: string | null;
559
+ assignedAt: string;
560
+ createdAt: string;
561
+ updatedAt: string;
562
+ }
563
+ /** GET /api/v1/subscriptions/ext/{id}/seats/assignments のレスポンス */
564
+ interface FFIDListSeatAssignmentsResponse {
565
+ assignments: FFIDSeatAssignmentWithUser[];
566
+ totalSeats: number;
567
+ assignedSeats: number;
568
+ availableSeats: number;
569
+ }
570
+ /** listSeatAssignments のパラメータ */
571
+ interface FFIDListSeatAssignmentsParams {
572
+ subscriptionId: string;
573
+ }
574
+ /** assignSeats のパラメータ */
575
+ interface FFIDAssignSeatsParams {
576
+ subscriptionId: string;
577
+ userIds: string[];
578
+ }
579
+ /** POST /api/v1/subscriptions/ext/{id}/seats/assignments のレスポンス */
580
+ interface FFIDAssignSeatsResponse {
581
+ message: string;
582
+ assignments: FFIDSeatAssignmentRecord[];
583
+ }
584
+ /** unassignSeat のパラメータ */
585
+ interface FFIDUnassignSeatParams {
586
+ subscriptionId: string;
587
+ userId: string;
588
+ }
589
+ /** DELETE /api/v1/subscriptions/ext/{id}/seats/assignments/{userId} のレスポンス */
590
+ interface FFIDUnassignSeatResponse {
591
+ message: string;
592
+ }
593
+ /** 請求書サマリー(一覧用) */
594
+ interface FFIDInvoiceSummary {
595
+ id: string;
596
+ organizationId: string;
597
+ subscriptionId: string | null;
598
+ invoiceNumber: string;
599
+ description: string | null;
600
+ subtotal: number;
601
+ taxRate: number;
602
+ taxAmount: number;
603
+ totalAmount: number;
604
+ currency: string;
605
+ status: string;
606
+ issuedAt: string | null;
607
+ dueDate: string | null;
608
+ paidAt: string | null;
609
+ pdfUrl: string | null;
610
+ createdAt: string;
611
+ }
612
+ /** 請求書詳細(請求先情報・備考を含む) */
613
+ interface FFIDInvoiceDetail extends FFIDInvoiceSummary {
614
+ billingName: string | null;
615
+ billingEmail: string | null;
616
+ notes: string | null;
617
+ }
618
+ /** listInvoices のパラメータ */
619
+ interface FFIDListInvoicesParams {
620
+ organizationId: string;
621
+ }
622
+ /** GET /api/v1/billing/ext/invoices のレスポンス */
623
+ interface FFIDListInvoicesResponse {
624
+ invoices: FFIDInvoiceSummary[];
625
+ count: number;
626
+ }
627
+ /** getInvoice のパラメータ */
628
+ interface FFIDGetInvoiceParams {
629
+ invoiceId: string;
630
+ }
631
+ /** GET /api/v1/billing/ext/invoices/{id} のレスポンス */
632
+ interface FFIDGetInvoiceResponse {
633
+ invoice: FFIDInvoiceDetail;
634
+ }
635
+ /** retryPayment のパラメータ */
636
+ interface FFIDRetryPaymentParams {
637
+ organizationId: string;
638
+ }
639
+ /** 再試行に失敗した契約の詳細 */
640
+ interface FFIDRetryPaymentFailure {
641
+ subscriptionId: string;
642
+ reason: string;
643
+ stripeCode?: string;
644
+ }
645
+ /** POST /api/v1/billing/ext/retry-payment のレスポンス */
646
+ interface FFIDRetryPaymentSummary {
647
+ totalAttempted: number;
648
+ succeeded: number;
649
+ failed: number;
650
+ noOpenInvoice: number;
651
+ failures: FFIDRetryPaymentFailure[];
652
+ }
653
+
492
654
  /** OTP / magic link methods - sendOtp / verifyOtp */
493
655
 
494
656
  /** Response from sendOtp */
@@ -622,6 +784,12 @@ declare function createFFIDClient(config: FFIDConfig): {
622
784
  getAnalyticsConfig: (serviceCode: string, options?: FFIDProfileCallOptions) => Promise<FFIDApiResponse<FFIDAnalyticsConfig>>;
623
785
  createCheckoutSession: (params: FFIDCreateCheckoutParams) => Promise<FFIDApiResponse<FFIDCheckoutSessionResponse>>;
624
786
  createPortalSession: (params: FFIDCreatePortalParams) => Promise<FFIDApiResponse<FFIDPortalSessionResponse>>;
787
+ listInvoices: (params: FFIDListInvoicesParams) => Promise<FFIDApiResponse<FFIDListInvoicesResponse>>;
788
+ getInvoice: (params: FFIDGetInvoiceParams) => Promise<FFIDApiResponse<FFIDGetInvoiceResponse>>;
789
+ retryPayment: (params: FFIDRetryPaymentParams) => Promise<FFIDApiResponse<FFIDRetryPaymentSummary>>;
790
+ listSeatAssignments: (params: FFIDListSeatAssignmentsParams) => Promise<FFIDApiResponse<FFIDListSeatAssignmentsResponse>>;
791
+ assignSeats: (params: FFIDAssignSeatsParams) => Promise<FFIDApiResponse<FFIDAssignSeatsResponse>>;
792
+ unassignSeat: (params: FFIDUnassignSeatParams) => Promise<FFIDApiResponse<FFIDUnassignSeatResponse>>;
625
793
  listPlans: () => Promise<FFIDApiResponse<FFIDListPlansResponse>>;
626
794
  getSubscription: (subscriptionId: string) => Promise<FFIDApiResponse<FFIDSubscriptionDetail>>;
627
795
  subscribe: (params: FFIDSubscribeParams) => Promise<FFIDApiResponse<FFIDSubscribeResponse>>;
@@ -1397,4 +1565,4 @@ declare function createInquiryMethods(deps: InquiryMethodsDeps): {
1397
1565
  };
1398
1566
  type FFIDInquiryClient = ReturnType<typeof createInquiryMethods>;
1399
1567
 
1400
- export { ACCESS_GRANTING_EFFECTIVE_STATUSES, AnnouncementListResponse, BLOCKING_EFFECTIVE_STATUSES, type ComputeEffectiveStatusInput, type ContractWizardFlowType, type ContractWizardResubscribeOptions, type ContractWizardSubscribeOptions, type ContractWizardSubscriptionOptions, DEFAULT_API_BASE_URL, DEFAULT_OAUTH_SCOPES, EffectiveSubscriptionStatus, type FFIDAddMemberParams, type FFIDAddMemberRequest, type FFIDAddMemberResponse, FFIDAnnouncementsApiResponse, type FFIDAnnouncementsClient, FFIDAnnouncementsClientConfig, FFIDAnnouncementsLogger, FFIDApiResponse, type FFIDAssignableMemberRole, type FFIDBillingInterval, FFIDCacheAdapter, type FFIDCancelPendingDowngradeResponse, type FFIDCancelSubscriptionParams, type FFIDCancelSubscriptionResponse, type FFIDChangePlanParams, type FFIDChangePlanResponse, FFIDCheckServiceAccessParams, FFIDCheckoutSessionResponse, type FFIDClient, FFIDConfig, FFIDCreateCheckoutParams, FFIDCreatePortalParams, FFIDError, type FFIDInquiryClient, FFIDInquiryCreateParams, FFIDInquiryCreateResponse, type FFIDListMembersResponse, type FFIDListPlansResponse, FFIDLogger, type FFIDMemberRole, type FFIDMemberStatus, type FFIDNewsletterBodySource, type FFIDNewsletterCampaignStatus, type FFIDNewsletterClient, type FFIDNewsletterConfirmParams, type FFIDNewsletterConfirmResponse, type FFIDNewsletterDispatchParams, type FFIDNewsletterDispatchResponse, type FFIDNewsletterSegment, type FFIDNewsletterSubscribeParams, type FFIDNewsletterSubscribeResponse, type FFIDNewsletterType, type FFIDNewsletterUnsubscribeParams, type FFIDNewsletterUnsubscribeResponse, FFIDOAuthUserInfo, FFIDOAuthUserInfoSubscription, FFIDOrganization, type FFIDOrganizationMember, type FFIDOtpSendResponse, type FFIDOtpVerifyResponse, type FFIDPasswordResetConfirmResponse, type FFIDPasswordResetResponse, type FFIDPasswordResetVerifyResponse, type FFIDPlanChangeLineItem, type FFIDPlanChangePreview, type FFIDPlanChangePreviewResponse, type FFIDPlanInfo, FFIDPortalSessionResponse, type FFIDPreviewPlanChangeParams, type FFIDPreviewSeatChangeParams, FFIDProfileCallOptions, FFIDProvider, type FFIDProviderProps, FFIDRedirectResult, type FFIDRemoveMemberResponse, type FFIDResetSessionResponse, FFIDSDKError, type FFIDSeatChangeLineItem, type FFIDSeatChangePreview, type FFIDSeatChangePreviewResponse, FFIDServiceAccessDecision, type FFIDServiceInfo, FFIDSessionResponse, type FFIDSubscribeParams, type FFIDSubscribeResponse, FFIDSubscription, FFIDSubscriptionCheckResponse, FFIDSubscriptionContextValue, type FFIDSubscriptionDetail, FFIDSubscriptionStatus, type FFIDSubscriptionSummary, type FFIDSupportedCurrency, type FFIDUpdateMemberRoleResponse, FFIDUpdateUserProfileRequest, FFIDUser, FFIDUserProfile, FFIDVerifyAccessTokenOptions, FFID_ANNOUNCEMENTS_ERROR_CODES, FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS, FFID_NEWSLETTER_TYPES, type KVNamespaceLike, ListAnnouncementsOptions, type NormalizeRedirectUriResult, type RedirectToAuthorizeOptions, type TokenData, type TokenStore, type UseFFIDReturn, type UseRequireActiveSubscriptionOptions, type UseRequireActiveSubscriptionReturn, type WithFFIDAuthOptions, type WithSubscriptionOptions, computeEffectiveStatusFromSession, createFFIDAnnouncementsClient, createFFIDClient, createKVCacheAdapter, createMemoryCacheAdapter, createTokenStore, generateCodeChallenge, generateCodeVerifier, hasAccessFromUserinfo, isBlockedFromUserinfo, normalizeRedirectUri, retrieveCodeVerifier, storeCodeVerifier, useFFID, useRequireActiveSubscription, useSubscription, withFFIDAuth, withSubscription };
1568
+ export { ACCESS_GRANTING_EFFECTIVE_STATUSES, AnnouncementListResponse, BLOCKING_EFFECTIVE_STATUSES, type ComputeEffectiveStatusInput, type ContractWizardFlowType, type ContractWizardResubscribeOptions, type ContractWizardSubscribeOptions, type ContractWizardSubscriptionOptions, DEFAULT_API_BASE_URL, DEFAULT_OAUTH_SCOPES, EffectiveSubscriptionStatus, type FFIDAddMemberParams, type FFIDAddMemberRequest, type FFIDAddMemberResponse, FFIDAnnouncementsApiResponse, type FFIDAnnouncementsClient, FFIDAnnouncementsClientConfig, FFIDAnnouncementsLogger, FFIDApiResponse, type FFIDAssignableMemberRole, type FFIDBillingInterval, FFIDCacheAdapter, type FFIDCancelPendingDowngradeResponse, type FFIDCancelSubscriptionParams, type FFIDCancelSubscriptionResponse, type FFIDChangePlanParams, type FFIDChangePlanResponse, FFIDCheckServiceAccessParams, type FFIDCheckoutSessionResponse, type FFIDClient, FFIDConfig, type FFIDCreateCheckoutParams, type FFIDCreatePortalParams, FFIDError, type FFIDInquiryClient, FFIDInquiryCreateParams, FFIDInquiryCreateResponse, type FFIDListMembersResponse, type FFIDListPlansResponse, FFIDLogger, type FFIDMemberRole, type FFIDMemberStatus, type FFIDNewsletterBodySource, type FFIDNewsletterCampaignStatus, type FFIDNewsletterClient, type FFIDNewsletterConfirmParams, type FFIDNewsletterConfirmResponse, type FFIDNewsletterDispatchParams, type FFIDNewsletterDispatchResponse, type FFIDNewsletterSegment, type FFIDNewsletterSubscribeParams, type FFIDNewsletterSubscribeResponse, type FFIDNewsletterType, type FFIDNewsletterUnsubscribeParams, type FFIDNewsletterUnsubscribeResponse, FFIDOAuthUserInfo, FFIDOAuthUserInfoSubscription, FFIDOrganization, type FFIDOrganizationMember, type FFIDOtpSendResponse, type FFIDOtpVerifyResponse, type FFIDPasswordResetConfirmResponse, type FFIDPasswordResetResponse, type FFIDPasswordResetVerifyResponse, type FFIDPlanChangeLineItem, type FFIDPlanChangePreview, type FFIDPlanChangePreviewResponse, type FFIDPlanInfo, type FFIDPortalSessionResponse, type FFIDPreviewPlanChangeParams, type FFIDPreviewSeatChangeParams, FFIDProfileCallOptions, FFIDProvider, type FFIDProviderProps, FFIDRedirectResult, type FFIDRemoveMemberResponse, type FFIDResetSessionResponse, FFIDSDKError, type FFIDSeatChangeLineItem, type FFIDSeatChangePreview, type FFIDSeatChangePreviewResponse, FFIDServiceAccessDecision, type FFIDServiceInfo, FFIDSessionResponse, type FFIDSubscribeParams, type FFIDSubscribeResponse, FFIDSubscription, FFIDSubscriptionCheckResponse, FFIDSubscriptionContextValue, type FFIDSubscriptionDetail, FFIDSubscriptionStatus, type FFIDSubscriptionSummary, type FFIDSupportedCurrency, type FFIDUpdateMemberRoleResponse, FFIDUpdateUserProfileRequest, FFIDUser, FFIDUserProfile, FFIDVerifyAccessTokenOptions, FFID_ANNOUNCEMENTS_ERROR_CODES, FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS, FFID_NEWSLETTER_TYPES, type KVNamespaceLike, ListAnnouncementsOptions, type NormalizeRedirectUriResult, type RedirectToAuthorizeOptions, type TokenData, type TokenStore, type UseFFIDReturn, type UseRequireActiveSubscriptionOptions, type UseRequireActiveSubscriptionReturn, type WithFFIDAuthOptions, type WithSubscriptionOptions, computeEffectiveStatusFromSession, createFFIDAnnouncementsClient, createFFIDClient, createKVCacheAdapter, createMemoryCacheAdapter, createTokenStore, generateCodeChallenge, generateCodeVerifier, hasAccessFromUserinfo, isBlockedFromUserinfo, normalizeRedirectUri, retrieveCodeVerifier, storeCodeVerifier, useFFID, useRequireActiveSubscription, useSubscription, withFFIDAuth, withSubscription };