@feelflow/ffid-sdk 10.1.0 → 11.0.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.
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkVHOIA25Y_cjs = require('./chunk-VHOIA25Y.cjs');
3
+ var chunkVR3QR64A_cjs = require('./chunk-VR3QR64A.cjs');
4
4
  var chunkRZCQ22GH_cjs = require('./chunk-RZCQ22GH.cjs');
5
5
  var react = require('react');
6
6
  var jsxRuntime = require('react/jsx-runtime');
@@ -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 } = chunkVHOIA25Y_cjs.useFFIDContext();
58
- const { effectiveStatus, isBlocked, isGrace } = chunkVHOIA25Y_cjs.useSubscription();
57
+ const { isLoading, error } = chunkVR3QR64A_cjs.useFFIDContext();
58
+ const { effectiveStatus, isBlocked, isGrace } = chunkVR3QR64A_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 } = chunkVHOIA25Y_cjs.useFFIDContext();
79
+ const { isLoading, isAuthenticated, login } = chunkVR3QR64A_cjs.useFFIDContext();
80
80
  const hasRedirected = react.useRef(false);
81
81
  react.useEffect(() => {
82
82
  if (!isLoading && !isAuthenticated && options.redirectToLogin && !hasRedirected.current) {
@@ -105,351 +105,351 @@ 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 chunkVHOIA25Y_cjs.ACCESS_GRANTING_EFFECTIVE_STATUSES; }
108
+ get: function () { return chunkVR3QR64A_cjs.ACCESS_GRANTING_EFFECTIVE_STATUSES; }
109
109
  });
110
110
  Object.defineProperty(exports, "AGENCY_INVITE_COOKIE_MAX_AGE_SEC", {
111
111
  enumerable: true,
112
- get: function () { return chunkVHOIA25Y_cjs.AGENCY_INVITE_COOKIE_MAX_AGE_SEC; }
112
+ get: function () { return chunkVR3QR64A_cjs.AGENCY_INVITE_COOKIE_MAX_AGE_SEC; }
113
113
  });
114
114
  Object.defineProperty(exports, "AGENCY_INVITE_COOKIE_NAME", {
115
115
  enumerable: true,
116
- get: function () { return chunkVHOIA25Y_cjs.AGENCY_INVITE_COOKIE_NAME; }
116
+ get: function () { return chunkVR3QR64A_cjs.AGENCY_INVITE_COOKIE_NAME; }
117
117
  });
118
118
  Object.defineProperty(exports, "AGENCY_INVITE_TOKEN_PARAM", {
119
119
  enumerable: true,
120
- get: function () { return chunkVHOIA25Y_cjs.AGENCY_INVITE_TOKEN_PARAM; }
120
+ get: function () { return chunkVR3QR64A_cjs.AGENCY_INVITE_TOKEN_PARAM; }
121
121
  });
122
122
  Object.defineProperty(exports, "AGENCY_INVITE_TOKEN_REDACTION", {
123
123
  enumerable: true,
124
- get: function () { return chunkVHOIA25Y_cjs.AGENCY_INVITE_TOKEN_REDACTION; }
124
+ get: function () { return chunkVR3QR64A_cjs.AGENCY_INVITE_TOKEN_REDACTION; }
125
125
  });
126
126
  Object.defineProperty(exports, "BLOCKING_EFFECTIVE_STATUSES", {
127
127
  enumerable: true,
128
- get: function () { return chunkVHOIA25Y_cjs.BLOCKING_EFFECTIVE_STATUSES; }
128
+ get: function () { return chunkVR3QR64A_cjs.BLOCKING_EFFECTIVE_STATUSES; }
129
129
  });
130
130
  Object.defineProperty(exports, "CATALOG_HASH_PATTERN", {
131
131
  enumerable: true,
132
- get: function () { return chunkVHOIA25Y_cjs.CATALOG_HASH_PATTERN; }
132
+ get: function () { return chunkVR3QR64A_cjs.CATALOG_HASH_PATTERN; }
133
133
  });
134
134
  Object.defineProperty(exports, "DEFAULT_API_BASE_URL", {
135
135
  enumerable: true,
136
- get: function () { return chunkVHOIA25Y_cjs.DEFAULT_API_BASE_URL; }
136
+ get: function () { return chunkVR3QR64A_cjs.DEFAULT_API_BASE_URL; }
137
137
  });
138
138
  Object.defineProperty(exports, "DEFAULT_OAUTH_SCOPES", {
139
139
  enumerable: true,
140
- get: function () { return chunkVHOIA25Y_cjs.DEFAULT_OAUTH_SCOPES; }
140
+ get: function () { return chunkVR3QR64A_cjs.DEFAULT_OAUTH_SCOPES; }
141
141
  });
142
142
  Object.defineProperty(exports, "EFFECTIVE_SUBSCRIPTION_STATUSES", {
143
143
  enumerable: true,
144
- get: function () { return chunkVHOIA25Y_cjs.EFFECTIVE_SUBSCRIPTION_STATUSES; }
144
+ get: function () { return chunkVR3QR64A_cjs.EFFECTIVE_SUBSCRIPTION_STATUSES; }
145
145
  });
146
146
  Object.defineProperty(exports, "FFIDAnnouncementBadge", {
147
147
  enumerable: true,
148
- get: function () { return chunkVHOIA25Y_cjs.FFIDAnnouncementBadge; }
148
+ get: function () { return chunkVR3QR64A_cjs.FFIDAnnouncementBadge; }
149
149
  });
150
150
  Object.defineProperty(exports, "FFIDAnnouncementList", {
151
151
  enumerable: true,
152
- get: function () { return chunkVHOIA25Y_cjs.FFIDAnnouncementList; }
152
+ get: function () { return chunkVR3QR64A_cjs.FFIDAnnouncementList; }
153
153
  });
154
154
  Object.defineProperty(exports, "FFIDCatalogHashError", {
155
155
  enumerable: true,
156
- get: function () { return chunkVHOIA25Y_cjs.FFIDCatalogHashError; }
156
+ get: function () { return chunkVR3QR64A_cjs.FFIDCatalogHashError; }
157
157
  });
158
158
  Object.defineProperty(exports, "FFIDInquiryForm", {
159
159
  enumerable: true,
160
- get: function () { return chunkVHOIA25Y_cjs.FFIDInquiryForm; }
160
+ get: function () { return chunkVR3QR64A_cjs.FFIDInquiryForm; }
161
161
  });
162
162
  Object.defineProperty(exports, "FFIDLoginButton", {
163
163
  enumerable: true,
164
- get: function () { return chunkVHOIA25Y_cjs.FFIDLoginButton; }
164
+ get: function () { return chunkVR3QR64A_cjs.FFIDLoginButton; }
165
165
  });
166
166
  Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
167
167
  enumerable: true,
168
- get: function () { return chunkVHOIA25Y_cjs.FFIDOrganizationSwitcher; }
168
+ get: function () { return chunkVR3QR64A_cjs.FFIDOrganizationSwitcher; }
169
169
  });
170
170
  Object.defineProperty(exports, "FFIDProvider", {
171
171
  enumerable: true,
172
- get: function () { return chunkVHOIA25Y_cjs.FFIDProvider; }
172
+ get: function () { return chunkVR3QR64A_cjs.FFIDProvider; }
173
173
  });
174
174
  Object.defineProperty(exports, "FFIDSDKError", {
175
175
  enumerable: true,
176
- get: function () { return chunkVHOIA25Y_cjs.FFIDSDKError; }
176
+ get: function () { return chunkVR3QR64A_cjs.FFIDSDKError; }
177
177
  });
178
178
  Object.defineProperty(exports, "FFIDSubscriptionBadge", {
179
179
  enumerable: true,
180
- get: function () { return chunkVHOIA25Y_cjs.FFIDSubscriptionBadge; }
180
+ get: function () { return chunkVR3QR64A_cjs.FFIDSubscriptionBadge; }
181
181
  });
182
182
  Object.defineProperty(exports, "FFIDUserMenu", {
183
183
  enumerable: true,
184
- get: function () { return chunkVHOIA25Y_cjs.FFIDUserMenu; }
184
+ get: function () { return chunkVR3QR64A_cjs.FFIDUserMenu; }
185
185
  });
186
186
  Object.defineProperty(exports, "FFID_ALLOWED_ORGANIZATION_LOGO_MIME_TYPES", {
187
187
  enumerable: true,
188
- get: function () { return chunkVHOIA25Y_cjs.FFID_ALLOWED_ORGANIZATION_LOGO_MIME_TYPES; }
188
+ get: function () { return chunkVR3QR64A_cjs.FFID_ALLOWED_ORGANIZATION_LOGO_MIME_TYPES; }
189
189
  });
190
190
  Object.defineProperty(exports, "FFID_ANNOUNCEMENTS_ERROR_CODES", {
191
191
  enumerable: true,
192
- get: function () { return chunkVHOIA25Y_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
192
+ get: function () { return chunkVR3QR64A_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
193
193
  });
194
194
  Object.defineProperty(exports, "FFID_CATALOG_ENVIRONMENTS", {
195
195
  enumerable: true,
196
- get: function () { return chunkVHOIA25Y_cjs.FFID_CATALOG_ENVIRONMENTS; }
196
+ get: function () { return chunkVR3QR64A_cjs.FFID_CATALOG_ENVIRONMENTS; }
197
197
  });
198
198
  Object.defineProperty(exports, "FFID_CATALOG_PUBLICATION_STATUSES", {
199
199
  enumerable: true,
200
- get: function () { return chunkVHOIA25Y_cjs.FFID_CATALOG_PUBLICATION_STATUSES; }
200
+ get: function () { return chunkVR3QR64A_cjs.FFID_CATALOG_PUBLICATION_STATUSES; }
201
201
  });
202
202
  Object.defineProperty(exports, "FFID_COMPANY_SIZE_CODES", {
203
203
  enumerable: true,
204
- get: function () { return chunkVHOIA25Y_cjs.FFID_COMPANY_SIZE_CODES; }
204
+ get: function () { return chunkVR3QR64A_cjs.FFID_COMPANY_SIZE_CODES; }
205
205
  });
206
206
  Object.defineProperty(exports, "FFID_CREDITS_CONSUME_MAX_AMOUNT", {
207
207
  enumerable: true,
208
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDITS_CONSUME_MAX_AMOUNT; }
208
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDITS_CONSUME_MAX_AMOUNT; }
209
209
  });
210
210
  Object.defineProperty(exports, "FFID_CREDITS_CONSUME_MIN_AMOUNT", {
211
211
  enumerable: true,
212
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDITS_CONSUME_MIN_AMOUNT; }
212
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDITS_CONSUME_MIN_AMOUNT; }
213
213
  });
214
214
  Object.defineProperty(exports, "FFID_CREDITS_ERROR_CODES", {
215
215
  enumerable: true,
216
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDITS_ERROR_CODES; }
216
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDITS_ERROR_CODES; }
217
217
  });
218
218
  Object.defineProperty(exports, "FFID_CREDITS_FEATURE_PATTERN", {
219
219
  enumerable: true,
220
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDITS_FEATURE_PATTERN; }
220
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDITS_FEATURE_PATTERN; }
221
221
  });
222
222
  Object.defineProperty(exports, "FFID_CREDITS_HISTORY_DEFAULT_LIMIT", {
223
223
  enumerable: true,
224
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDITS_HISTORY_DEFAULT_LIMIT; }
224
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDITS_HISTORY_DEFAULT_LIMIT; }
225
225
  });
226
226
  Object.defineProperty(exports, "FFID_CREDITS_HISTORY_MAX_LIMIT", {
227
227
  enumerable: true,
228
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDITS_HISTORY_MAX_LIMIT; }
228
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDITS_HISTORY_MAX_LIMIT; }
229
229
  });
230
230
  Object.defineProperty(exports, "FFID_CREDITS_HISTORY_MIN_LIMIT", {
231
231
  enumerable: true,
232
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDITS_HISTORY_MIN_LIMIT; }
232
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDITS_HISTORY_MIN_LIMIT; }
233
233
  });
234
234
  Object.defineProperty(exports, "FFID_CREDITS_IDEMPOTENCY_KEY_PATTERN", {
235
235
  enumerable: true,
236
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDITS_IDEMPOTENCY_KEY_PATTERN; }
236
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDITS_IDEMPOTENCY_KEY_PATTERN; }
237
237
  });
238
238
  Object.defineProperty(exports, "FFID_CREDITS_LOW_THRESHOLD_PERCENT", {
239
239
  enumerable: true,
240
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDITS_LOW_THRESHOLD_PERCENT; }
240
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDITS_LOW_THRESHOLD_PERCENT; }
241
241
  });
242
242
  Object.defineProperty(exports, "FFID_CREDITS_METADATA_MAX_BYTES", {
243
243
  enumerable: true,
244
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDITS_METADATA_MAX_BYTES; }
244
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDITS_METADATA_MAX_BYTES; }
245
245
  });
246
246
  Object.defineProperty(exports, "FFID_CREDIT_GRANT_KINDS", {
247
247
  enumerable: true,
248
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDIT_GRANT_KINDS; }
248
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDIT_GRANT_KINDS; }
249
249
  });
250
250
  Object.defineProperty(exports, "FFID_CREDIT_HISTORY_TYPES", {
251
251
  enumerable: true,
252
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDIT_HISTORY_TYPES; }
252
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDIT_HISTORY_TYPES; }
253
253
  });
254
254
  Object.defineProperty(exports, "FFID_CREDIT_PACK_MAX_QUANTITY", {
255
255
  enumerable: true,
256
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDIT_PACK_MAX_QUANTITY; }
256
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDIT_PACK_MAX_QUANTITY; }
257
257
  });
258
258
  Object.defineProperty(exports, "FFID_CREDIT_PACK_MIN_QUANTITY", {
259
259
  enumerable: true,
260
- get: function () { return chunkVHOIA25Y_cjs.FFID_CREDIT_PACK_MIN_QUANTITY; }
260
+ get: function () { return chunkVR3QR64A_cjs.FFID_CREDIT_PACK_MIN_QUANTITY; }
261
261
  });
262
262
  Object.defineProperty(exports, "FFID_ERROR_CODES", {
263
263
  enumerable: true,
264
- get: function () { return chunkVHOIA25Y_cjs.FFID_ERROR_CODES; }
264
+ get: function () { return chunkVR3QR64A_cjs.FFID_ERROR_CODES; }
265
265
  });
266
266
  Object.defineProperty(exports, "FFID_INDUSTRY_CODES", {
267
267
  enumerable: true,
268
- get: function () { return chunkVHOIA25Y_cjs.FFID_INDUSTRY_CODES; }
268
+ get: function () { return chunkVR3QR64A_cjs.FFID_INDUSTRY_CODES; }
269
269
  });
270
270
  Object.defineProperty(exports, "FFID_INQUIRY_ACQUISITION_SOURCES", {
271
271
  enumerable: true,
272
- get: function () { return chunkVHOIA25Y_cjs.FFID_INQUIRY_ACQUISITION_SOURCES; }
272
+ get: function () { return chunkVR3QR64A_cjs.FFID_INQUIRY_ACQUISITION_SOURCES; }
273
273
  });
274
274
  Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES", {
275
275
  enumerable: true,
276
- get: function () { return chunkVHOIA25Y_cjs.FFID_INQUIRY_CATEGORIES; }
276
+ get: function () { return chunkVR3QR64A_cjs.FFID_INQUIRY_CATEGORIES; }
277
277
  });
278
278
  Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES_SITE_2026", {
279
279
  enumerable: true,
280
- get: function () { return chunkVHOIA25Y_cjs.FFID_INQUIRY_CATEGORIES_SITE_2026; }
280
+ get: function () { return chunkVR3QR64A_cjs.FFID_INQUIRY_CATEGORIES_SITE_2026; }
281
281
  });
282
282
  Object.defineProperty(exports, "FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_BYTES", {
283
283
  enumerable: true,
284
- get: function () { return chunkVHOIA25Y_cjs.FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_BYTES; }
284
+ get: function () { return chunkVR3QR64A_cjs.FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_BYTES; }
285
285
  });
286
286
  Object.defineProperty(exports, "FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_MB", {
287
287
  enumerable: true,
288
- get: function () { return chunkVHOIA25Y_cjs.FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_MB; }
288
+ get: function () { return chunkVR3QR64A_cjs.FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_MB; }
289
289
  });
290
290
  Object.defineProperty(exports, "FFID_OAUTH_DENIAL_REASONS", {
291
291
  enumerable: true,
292
- get: function () { return chunkVHOIA25Y_cjs.FFID_OAUTH_DENIAL_REASONS; }
292
+ get: function () { return chunkVR3QR64A_cjs.FFID_OAUTH_DENIAL_REASONS; }
293
293
  });
294
294
  Object.defineProperty(exports, "FFID_ORGANIZATION_PROFILE_ERROR_CODES", {
295
295
  enumerable: true,
296
- get: function () { return chunkVHOIA25Y_cjs.FFID_ORGANIZATION_PROFILE_ERROR_CODES; }
296
+ get: function () { return chunkVR3QR64A_cjs.FFID_ORGANIZATION_PROFILE_ERROR_CODES; }
297
297
  });
298
298
  Object.defineProperty(exports, "FFID_SUBSCRIPTION_ERROR_CODES", {
299
299
  enumerable: true,
300
- get: function () { return chunkVHOIA25Y_cjs.FFID_SUBSCRIPTION_ERROR_CODES; }
300
+ get: function () { return chunkVR3QR64A_cjs.FFID_SUBSCRIPTION_ERROR_CODES; }
301
301
  });
302
302
  Object.defineProperty(exports, "canonicalizeCatalogValue", {
303
303
  enumerable: true,
304
- get: function () { return chunkVHOIA25Y_cjs.canonicalizeCatalogValue; }
304
+ get: function () { return chunkVR3QR64A_cjs.canonicalizeCatalogValue; }
305
305
  });
306
306
  Object.defineProperty(exports, "captureAgencyInviteToken", {
307
307
  enumerable: true,
308
- get: function () { return chunkVHOIA25Y_cjs.captureAgencyInviteToken; }
308
+ get: function () { return chunkVR3QR64A_cjs.captureAgencyInviteToken; }
309
309
  });
310
310
  Object.defineProperty(exports, "clearAgencyInviteToken", {
311
311
  enumerable: true,
312
- get: function () { return chunkVHOIA25Y_cjs.clearAgencyInviteToken; }
312
+ get: function () { return chunkVR3QR64A_cjs.clearAgencyInviteToken; }
313
313
  });
314
314
  Object.defineProperty(exports, "clearState", {
315
315
  enumerable: true,
316
- get: function () { return chunkVHOIA25Y_cjs.cleanupStateStorage; }
316
+ get: function () { return chunkVR3QR64A_cjs.cleanupStateStorage; }
317
317
  });
318
318
  Object.defineProperty(exports, "computeEffectiveStatusFromSession", {
319
319
  enumerable: true,
320
- get: function () { return chunkVHOIA25Y_cjs.computeEffectiveStatusFromSession; }
320
+ get: function () { return chunkVR3QR64A_cjs.computeEffectiveStatusFromSession; }
321
321
  });
322
322
  Object.defineProperty(exports, "computeFFIDCheckoutCopyHash", {
323
323
  enumerable: true,
324
- get: function () { return chunkVHOIA25Y_cjs.computeFFIDCheckoutCopyHash; }
324
+ get: function () { return chunkVR3QR64A_cjs.computeFFIDCheckoutCopyHash; }
325
325
  });
326
326
  Object.defineProperty(exports, "computeLegalDisclosureHash", {
327
327
  enumerable: true,
328
- get: function () { return chunkVHOIA25Y_cjs.computeLegalDisclosureHash; }
328
+ get: function () { return chunkVR3QR64A_cjs.computeLegalDisclosureHash; }
329
329
  });
330
330
  Object.defineProperty(exports, "computePaymentConfigurationHash", {
331
331
  enumerable: true,
332
- get: function () { return chunkVHOIA25Y_cjs.computePaymentConfigurationHash; }
332
+ get: function () { return chunkVR3QR64A_cjs.computePaymentConfigurationHash; }
333
333
  });
334
334
  Object.defineProperty(exports, "computePraxisCopyHash", {
335
335
  enumerable: true,
336
- get: function () { return chunkVHOIA25Y_cjs.computePraxisCopyHash; }
336
+ get: function () { return chunkVR3QR64A_cjs.computePraxisCopyHash; }
337
337
  });
338
338
  Object.defineProperty(exports, "computeScopeHash", {
339
339
  enumerable: true,
340
- get: function () { return chunkVHOIA25Y_cjs.computeScopeHash; }
340
+ get: function () { return chunkVR3QR64A_cjs.computeScopeHash; }
341
341
  });
342
342
  Object.defineProperty(exports, "computeTaxConfigurationHash", {
343
343
  enumerable: true,
344
- get: function () { return chunkVHOIA25Y_cjs.computeTaxConfigurationHash; }
344
+ get: function () { return chunkVR3QR64A_cjs.computeTaxConfigurationHash; }
345
345
  });
346
346
  Object.defineProperty(exports, "createFFIDAnnouncementsClient", {
347
347
  enumerable: true,
348
- get: function () { return chunkVHOIA25Y_cjs.createFFIDAnnouncementsClient; }
348
+ get: function () { return chunkVR3QR64A_cjs.createFFIDAnnouncementsClient; }
349
349
  });
350
350
  Object.defineProperty(exports, "createFFIDClient", {
351
351
  enumerable: true,
352
- get: function () { return chunkVHOIA25Y_cjs.createFFIDClient; }
352
+ get: function () { return chunkVR3QR64A_cjs.createFFIDClient; }
353
353
  });
354
354
  Object.defineProperty(exports, "createTokenStore", {
355
355
  enumerable: true,
356
- get: function () { return chunkVHOIA25Y_cjs.createTokenStore; }
356
+ get: function () { return chunkVR3QR64A_cjs.createTokenStore; }
357
357
  });
358
358
  Object.defineProperty(exports, "generateCodeChallenge", {
359
359
  enumerable: true,
360
- get: function () { return chunkVHOIA25Y_cjs.generateCodeChallenge; }
360
+ get: function () { return chunkVR3QR64A_cjs.generateCodeChallenge; }
361
361
  });
362
362
  Object.defineProperty(exports, "generateCodeVerifier", {
363
363
  enumerable: true,
364
- get: function () { return chunkVHOIA25Y_cjs.generateCodeVerifier; }
364
+ get: function () { return chunkVR3QR64A_cjs.generateCodeVerifier; }
365
365
  });
366
366
  Object.defineProperty(exports, "getFFIDAuthorizationError", {
367
367
  enumerable: true,
368
- get: function () { return chunkVHOIA25Y_cjs.getFFIDAuthorizationError; }
368
+ get: function () { return chunkVR3QR64A_cjs.getFFIDAuthorizationError; }
369
369
  });
370
370
  Object.defineProperty(exports, "handleRedirectCallback", {
371
371
  enumerable: true,
372
- get: function () { return chunkVHOIA25Y_cjs.handleRedirectCallback; }
372
+ get: function () { return chunkVR3QR64A_cjs.handleRedirectCallback; }
373
373
  });
374
374
  Object.defineProperty(exports, "hasAccessFromUserinfo", {
375
375
  enumerable: true,
376
- get: function () { return chunkVHOIA25Y_cjs.hasAccessFromUserinfo; }
376
+ get: function () { return chunkVR3QR64A_cjs.hasAccessFromUserinfo; }
377
377
  });
378
378
  Object.defineProperty(exports, "hashCanonicalJson", {
379
379
  enumerable: true,
380
- get: function () { return chunkVHOIA25Y_cjs.hashCanonicalJson; }
380
+ get: function () { return chunkVR3QR64A_cjs.hashCanonicalJson; }
381
381
  });
382
382
  Object.defineProperty(exports, "isBlockedFromUserinfo", {
383
383
  enumerable: true,
384
- get: function () { return chunkVHOIA25Y_cjs.isBlockedFromUserinfo; }
384
+ get: function () { return chunkVR3QR64A_cjs.isBlockedFromUserinfo; }
385
385
  });
386
386
  Object.defineProperty(exports, "isFFIDInquiryAcquisitionSource", {
387
387
  enumerable: true,
388
- get: function () { return chunkVHOIA25Y_cjs.isFFIDInquiryAcquisitionSource; }
388
+ get: function () { return chunkVR3QR64A_cjs.isFFIDInquiryAcquisitionSource; }
389
389
  });
390
390
  Object.defineProperty(exports, "isFFIDInquiryCategorySite2026", {
391
391
  enumerable: true,
392
- get: function () { return chunkVHOIA25Y_cjs.isFFIDInquiryCategorySite2026; }
392
+ get: function () { return chunkVR3QR64A_cjs.isFFIDInquiryCategorySite2026; }
393
393
  });
394
394
  Object.defineProperty(exports, "isFFIDOAuthDenialReason", {
395
395
  enumerable: true,
396
- get: function () { return chunkVHOIA25Y_cjs.isFFIDOAuthDenialReason; }
396
+ get: function () { return chunkVR3QR64A_cjs.isFFIDOAuthDenialReason; }
397
397
  });
398
398
  Object.defineProperty(exports, "normalizeRedirectUri", {
399
399
  enumerable: true,
400
- get: function () { return chunkVHOIA25Y_cjs.normalizeRedirectUri; }
400
+ get: function () { return chunkVR3QR64A_cjs.normalizeRedirectUri; }
401
401
  });
402
402
  Object.defineProperty(exports, "readAgencyInviteCookie", {
403
403
  enumerable: true,
404
- get: function () { return chunkVHOIA25Y_cjs.readAgencyInviteCookie; }
404
+ get: function () { return chunkVR3QR64A_cjs.readAgencyInviteCookie; }
405
405
  });
406
406
  Object.defineProperty(exports, "readAgencyInviteToken", {
407
407
  enumerable: true,
408
- get: function () { return chunkVHOIA25Y_cjs.readAgencyInviteToken; }
408
+ get: function () { return chunkVR3QR64A_cjs.readAgencyInviteToken; }
409
409
  });
410
410
  Object.defineProperty(exports, "redactAgencyInviteToken", {
411
411
  enumerable: true,
412
- get: function () { return chunkVHOIA25Y_cjs.redactAgencyInviteToken; }
412
+ get: function () { return chunkVR3QR64A_cjs.redactAgencyInviteToken; }
413
413
  });
414
414
  Object.defineProperty(exports, "retrieveCodeVerifier", {
415
415
  enumerable: true,
416
- get: function () { return chunkVHOIA25Y_cjs.retrieveCodeVerifier; }
416
+ get: function () { return chunkVR3QR64A_cjs.retrieveCodeVerifier; }
417
417
  });
418
418
  Object.defineProperty(exports, "retrieveState", {
419
419
  enumerable: true,
420
- get: function () { return chunkVHOIA25Y_cjs.retrieveState; }
420
+ get: function () { return chunkVR3QR64A_cjs.retrieveState; }
421
421
  });
422
422
  Object.defineProperty(exports, "sha256Hex", {
423
423
  enumerable: true,
424
- get: function () { return chunkVHOIA25Y_cjs.sha256Hex; }
424
+ get: function () { return chunkVR3QR64A_cjs.sha256Hex; }
425
425
  });
426
426
  Object.defineProperty(exports, "storeCodeVerifier", {
427
427
  enumerable: true,
428
- get: function () { return chunkVHOIA25Y_cjs.storeCodeVerifier; }
428
+ get: function () { return chunkVR3QR64A_cjs.storeCodeVerifier; }
429
429
  });
430
430
  Object.defineProperty(exports, "storeState", {
431
431
  enumerable: true,
432
- get: function () { return chunkVHOIA25Y_cjs.storeState; }
432
+ get: function () { return chunkVR3QR64A_cjs.storeState; }
433
433
  });
434
434
  Object.defineProperty(exports, "useFFID", {
435
435
  enumerable: true,
436
- get: function () { return chunkVHOIA25Y_cjs.useFFID; }
436
+ get: function () { return chunkVR3QR64A_cjs.useFFID; }
437
437
  });
438
438
  Object.defineProperty(exports, "useFFIDAnnouncements", {
439
439
  enumerable: true,
440
- get: function () { return chunkVHOIA25Y_cjs.useFFIDAnnouncements; }
440
+ get: function () { return chunkVR3QR64A_cjs.useFFIDAnnouncements; }
441
441
  });
442
442
  Object.defineProperty(exports, "useSubscription", {
443
443
  enumerable: true,
444
- get: function () { return chunkVHOIA25Y_cjs.useSubscription; }
444
+ get: function () { return chunkVR3QR64A_cjs.useSubscription; }
445
445
  });
446
446
  Object.defineProperty(exports, "validatePublishedCatalog", {
447
447
  enumerable: true,
448
- get: function () { return chunkVHOIA25Y_cjs.validatePublishedCatalog; }
448
+ get: function () { return chunkVR3QR64A_cjs.validatePublishedCatalog; }
449
449
  });
450
450
  Object.defineProperty(exports, "withSubscription", {
451
451
  enumerable: true,
452
- get: function () { return chunkVHOIA25Y_cjs.withSubscription; }
452
+ get: function () { return chunkVR3QR64A_cjs.withSubscription; }
453
453
  });
454
454
  Object.defineProperty(exports, "ALL_DENIED_EXCEPT_NECESSARY", {
455
455
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as FFIDOAuthUserInfoSubscription, a as FFIDAccountType, b as FFIDPrompt, c as FFIDConfig, d as FFIDApiResponse, e as FFIDSessionResponse, f as FFIDSignOutResult, g as FFIDError, h as FFIDSubscriptionCheckResponse, i as FFIDCheckServiceAccessParams, j as FFIDServiceAccessDecision, k as FFIDAnalyticsConfig, l as FFIDSeatsSummary, m as FFIDListPlansResponse, n as FFIDPublishedCatalog, o as FFIDSubscriptionDetail, p as FFIDSubscribeParams, q as FFIDSubscribeResponse, r as FFIDChangePlanParams, s as FFIDChangePlanResponse, t as FFIDCancelSubscriptionParams, u as FFIDCancelSubscriptionResponse, v as FFIDCancelPendingDowngradeResponse, w as FFIDPreviewPlanChangeParams, x as FFIDPlanChangePreviewResponse, y as FFIDPreviewSeatChangeParams, z as FFIDSeatChangePreviewResponse, A as FFIDVerifyAccessTokenOptions, B as FFIDOAuthUserInfo, C as FFIDInquiryCreateParams, D as FFIDInquiryCreateResponse, E as FFIDCreditBalance, G as FFIDListCreditHistoryOptions, H as FFIDCreditHistoryPage, I as FFIDCreditPackList, J as FFIDCreatePackCheckoutParams, K as FFIDCreditPackCheckout, L as FFIDCreditConsumeParams, M as FFIDCreditConsumeResult, N as FFIDBuyCreditsUrlParams, T as TokenStore, O as FFIDAuthMode, P as FFIDLogger, Q as FFIDCacheAdapter, R as FFIDUser, S as FFIDOrganization, U as FFIDSubscription, V as FFIDSubscriptionContextValue, W as EffectiveSubscriptionStatus, X as FFIDSubscriptionStatus, Y as FFIDCatalogEnvironment, Z as FFIDBillingInterval, _ as FFIDTaxBehavior, $ as FFIDAnnouncementsClientConfig, a0 as ListAnnouncementsOptions, a1 as FFIDAnnouncementsApiResponse, a2 as AnnouncementListResponse, a3 as FFIDAnnouncementsLogger } from './index-CWGoIgYL.cjs';
2
- export { a4 as Announcement, a5 as AnnouncementStatus, a6 as AnnouncementType, a7 as EFFECTIVE_SUBSCRIPTION_STATUSES, a8 as FFIDAnnouncementBadge, a9 as FFIDAnnouncementList, aa as FFIDAnnouncementsError, ab as FFIDAnnouncementsErrorCode, ac as FFIDAnnouncementsServerResponse, ad as FFIDApiResponseMeta, ae as FFIDCacheConfig, af as FFIDCatalogPublication, ag as FFIDCatalogPublicationStatus, ah as FFIDContextValue, ai as FFIDCreditBreakdown, aj as FFIDCreditGrantKind, ak as FFIDCreditHistoryItem, al as FFIDCreditHistoryType, am as FFIDCreditPack, an as FFIDCreditsInsufficientDetails, ao as FFIDInquiryAcquisitionSource, ap as FFIDInquiryCategory, aq as FFIDInquiryCategorySite2026, ar as FFIDInquiryForm, as as FFIDInquiryFormCategoryItem, at as FFIDInquiryFormClassNames, au as FFIDInquiryFormLegalLayout, av as FFIDInquiryFormOrganization, aw as FFIDInquiryFormPlaceholderContext, ax as FFIDInquiryFormPrefill, ay as FFIDInquiryFormProps, az as FFIDInquiryFormSubmitData, aA as FFIDInquiryFormSubmitResult, aB as FFIDJwtClaims, aC as FFIDLoginButton, aD as FFIDOAuthUserInfoMemberRole, aE as FFIDOrganizationSwitcher, aF as FFIDPlanChangeLineItem, aG as FFIDPlanChangePreview, aH as FFIDPlanInfo, aI as FFIDPricingModel, aJ as FFIDPublishedPlan, aK as FFIDSeatAssignmentClaim, aL as FFIDSeatAssignmentStatus, aM as FFIDSeatChangeLineItem, aN as FFIDSeatChangePreview, aO as FFIDSeatModel, aP as FFIDServiceAccessDenialReason, aQ as FFIDServiceAccessFailPolicy, aR as FFIDServiceInfo, aS as FFIDSubscriptionBadge, aT as FFIDSubscriptionCheckCredits, aU as FFIDSubscriptionSummary, aV as FFIDSupportedCurrency, aW as FFIDUserMenu, aX as FFID_CATALOG_ENVIRONMENTS, aY as FFID_CATALOG_PUBLICATION_STATUSES, aZ as FFID_CREDITS_CONSUME_MAX_AMOUNT, a_ as FFID_CREDITS_CONSUME_MIN_AMOUNT, a$ as FFID_CREDITS_FEATURE_PATTERN, b0 as FFID_CREDITS_HISTORY_DEFAULT_LIMIT, b1 as FFID_CREDITS_HISTORY_MAX_LIMIT, b2 as FFID_CREDITS_HISTORY_MIN_LIMIT, b3 as FFID_CREDITS_IDEMPOTENCY_KEY_PATTERN, b4 as FFID_CREDITS_LOW_THRESHOLD_PERCENT, b5 as FFID_CREDITS_METADATA_MAX_BYTES, b6 as FFID_CREDIT_GRANT_KINDS, b7 as FFID_CREDIT_HISTORY_TYPES, b8 as FFID_CREDIT_PACK_MAX_QUANTITY, b9 as FFID_CREDIT_PACK_MIN_QUANTITY, ba as FFID_INQUIRY_ACQUISITION_SOURCES, bb as FFID_INQUIRY_CATEGORIES, bc as FFID_INQUIRY_CATEGORIES_SITE_2026, bd as TokenData, be as UseFFIDAnnouncementsOptions, bf as UseFFIDAnnouncementsReturn, bg as createTokenStore, bh as isFFIDInquiryAcquisitionSource, bi as isFFIDInquiryCategorySite2026, bj as useFFIDAnnouncements } from './index-CWGoIgYL.cjs';
1
+ import { F as FFIDOAuthUserInfoSubscription, a as FFIDAccountType, b as FFIDPrompt, c as FFIDConfig, d as FFIDApiResponse, e as FFIDSessionResponse, f as FFIDSignOutResult, g as FFIDError, h as FFIDSubscriptionCheckResponse, i as FFIDCheckServiceAccessParams, j as FFIDServiceAccessDecision, k as FFIDAnalyticsConfig, l as FFIDSeatsSummary, m as FFIDListPlansResponse, n as FFIDPublishedCatalog, o as FFIDSubscriptionDetail, p as FFIDSubscribeParams, q as FFIDSubscribeResponse, r as FFIDChangePlanParams, s as FFIDChangePlanResponse, t as FFIDCancelSubscriptionParams, u as FFIDCancelSubscriptionResponse, v as FFIDCancelPendingDowngradeResponse, w as FFIDPreviewPlanChangeParams, x as FFIDPlanChangePreviewResponse, y as FFIDPreviewSeatChangeParams, z as FFIDSeatChangePreviewResponse, A as FFIDVerifyAccessTokenOptions, B as FFIDOAuthUserInfo, C as FFIDInquiryCreateParams, D as FFIDInquiryCreateResponse, E as FFIDCreditBalance, G as FFIDListCreditHistoryOptions, H as FFIDCreditHistoryPage, I as FFIDCreditPackList, J as FFIDCreatePackCheckoutParams, K as FFIDCreditPackCheckout, L as FFIDCreditConsumeParams, M as FFIDCreditConsumeResult, N as FFIDBuyCreditsUrlParams, T as TokenStore, O as FFIDAuthMode, P as FFIDLogger, Q as FFIDCacheAdapter, R as FFIDUser, S as FFIDOrganization, U as FFIDSubscription, V as FFIDSubscriptionContextValue, W as EffectiveSubscriptionStatus, X as FFIDSubscriptionStatus, Y as FFIDCatalogEnvironment, Z as FFIDBillingInterval, _ as FFIDTaxBehavior, $ as FFIDAnnouncementsClientConfig, a0 as ListAnnouncementsOptions, a1 as FFIDAnnouncementsApiResponse, a2 as AnnouncementListResponse, a3 as FFIDAnnouncementsLogger } from './index-BknVfXhZ.cjs';
2
+ export { a4 as Announcement, a5 as AnnouncementStatus, a6 as AnnouncementType, a7 as EFFECTIVE_SUBSCRIPTION_STATUSES, a8 as FFIDAnnouncementBadge, a9 as FFIDAnnouncementList, aa as FFIDAnnouncementsError, ab as FFIDAnnouncementsErrorCode, ac as FFIDAnnouncementsServerResponse, ad as FFIDApiResponseMeta, ae as FFIDCacheConfig, af as FFIDCatalogPublication, ag as FFIDCatalogPublicationStatus, ah as FFIDContextValue, ai as FFIDCreditBreakdown, aj as FFIDCreditGrantKind, ak as FFIDCreditHistoryItem, al as FFIDCreditHistoryType, am as FFIDCreditPack, an as FFIDCreditsInsufficientDetails, ao as FFIDInquiryAcquisitionSource, ap as FFIDInquiryCategory, aq as FFIDInquiryCategorySite2026, ar as FFIDInquiryForm, as as FFIDInquiryFormCategoryItem, at as FFIDInquiryFormClassNames, au as FFIDInquiryFormLegalLayout, av as FFIDInquiryFormOrganization, aw as FFIDInquiryFormPlaceholderContext, ax as FFIDInquiryFormPrefill, ay as FFIDInquiryFormProps, az as FFIDInquiryFormSubmitData, aA as FFIDInquiryFormSubmitResult, aB as FFIDJwtClaims, aC as FFIDLoginButton, aD as FFIDOAuthUserInfoMemberRole, aE as FFIDOrganizationSwitcher, aF as FFIDPlanChangeLineItem, aG as FFIDPlanChangePreview, aH as FFIDPlanInfo, aI as FFIDPricingModel, aJ as FFIDPublishedPlan, aK as FFIDSeatAssignmentClaim, aL as FFIDSeatAssignmentStatus, aM as FFIDSeatChangeLineItem, aN as FFIDSeatChangePreview, aO as FFIDSeatModel, aP as FFIDServiceAccessDenialReason, aQ as FFIDServiceAccessFailPolicy, aR as FFIDServiceInfo, aS as FFIDSubscriptionBadge, aT as FFIDSubscriptionCheckCredits, aU as FFIDSubscriptionSummary, aV as FFIDSupportedCurrency, aW as FFIDUserMenu, aX as FFID_CATALOG_ENVIRONMENTS, aY as FFID_CATALOG_PUBLICATION_STATUSES, aZ as FFID_CREDITS_CONSUME_MAX_AMOUNT, a_ as FFID_CREDITS_CONSUME_MIN_AMOUNT, a$ as FFID_CREDITS_FEATURE_PATTERN, b0 as FFID_CREDITS_HISTORY_DEFAULT_LIMIT, b1 as FFID_CREDITS_HISTORY_MAX_LIMIT, b2 as FFID_CREDITS_HISTORY_MIN_LIMIT, b3 as FFID_CREDITS_IDEMPOTENCY_KEY_PATTERN, b4 as FFID_CREDITS_LOW_THRESHOLD_PERCENT, b5 as FFID_CREDITS_METADATA_MAX_BYTES, b6 as FFID_CREDIT_GRANT_KINDS, b7 as FFID_CREDIT_HISTORY_TYPES, b8 as FFID_CREDIT_PACK_MAX_QUANTITY, b9 as FFID_CREDIT_PACK_MIN_QUANTITY, ba as FFID_INQUIRY_ACQUISITION_SOURCES, bb as FFID_INQUIRY_CATEGORIES, bc as FFID_INQUIRY_CATEGORIES_SITE_2026, bd as TokenData, be as UseFFIDAnnouncementsOptions, bf as UseFFIDAnnouncementsReturn, bg as createTokenStore, bh as isFFIDInquiryAcquisitionSource, bi as isFFIDInquiryCategorySite2026, bj as useFFIDAnnouncements } from './index-BknVfXhZ.cjs';
3
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, n as FFIDAnalyticsProvider, o as FFIDAnalyticsProviderProps, c as FFIDConsentCategories, q as FFIDConsentCategoryCode, e as FFIDConsentCategoryMetadata, v as FFIDConsentError, w as FFIDConsentErrorCode, x as FFIDConsentMergeStrategy, z as FFIDConsentMergeWarning, B as FFIDConsentMergeWarningEvent, F as FFIDConsentResult, H as FFIDConsentSource, a as FFIDConsentState, d as FFIDConsentSyncResult, L as FFIDCookieBanner, M as FFIDCookieBannerClassNames, N as FFIDCookieBannerProps, O as FFIDCookieLink, Q as FFIDCookieLinkProps, f as FFIDCookiePolicy, S as FFIDCookieSettings, T as FFIDCookieSettingsClassNames, U as FFIDCookieSettingsProps, Z as FFID_CONSENT_ERROR_CODES, ad as UseFFIDConsentPreferencesReturn, ae as UseFFIDConsentReturn, af as clearConsentDismissalTimestamp, ai as decodeConsentCookie, ak as encodeConsentCookie, am as readConsentCookie, an as readConsentDismissalTimestamp, ap as useFFIDConsent, aq as useFFIDConsentPreferences, ar as writeConsentCookie, as as writeConsentDismissalTimestamp } from './FFIDCookieLink-yt5SUr-W.cjs';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import { ReactNode, ComponentType, FC } from 'react';
@@ -207,9 +207,18 @@ interface FFIDAddMemberRequest {
207
207
  interface FFIDAddMemberParams extends FFIDAddMemberRequest {
208
208
  organizationId: string;
209
209
  }
210
+ /** Seat assignment outcome after membership creation; membership exists in every case. */
211
+ type FFIDMemberSeatAssignmentResult = 'assigned' | 'not_applicable' | 'member_limit_reached' | 'failed';
210
212
  /** Response from addMember (ext) */
211
213
  interface FFIDAddMemberResponse {
212
214
  member: FFIDOrganizationMember;
215
+ /**
216
+ * Membership creation can succeed even when seat assignment fails.
217
+ * Omitted by older servers. `not_applicable`/undefined do not prove an active seat.
218
+ * Check the authenticated user's hasAccess and seatAssigned before granting access;
219
+ * do not automatically restore a removed seat on a duplicate-member retry.
220
+ */
221
+ seatAssignment?: FFIDMemberSeatAssignmentResult;
213
222
  }
214
223
  /** Response from updateMemberRole (ext) */
215
224
  interface FFIDUpdateMemberRoleResponse {
@@ -737,6 +746,12 @@ interface FFIDInviteMemberRequest {
737
746
  email: string;
738
747
  /** Role to assign on acceptance (defaults to `member` server-side) */
739
748
  role?: FFIDAssignableMemberRole;
749
+ /**
750
+ * FFID user id recorded as the inviter (FFID #6279). Must be an active owner / admin
751
+ * of the organization. Omit in `token` mode (the signed-in user is recorded); when
752
+ * omitted in `service-key` mode the organization owner is recorded.
753
+ */
754
+ inviterUserId?: string;
740
755
  }
741
756
  /**
742
757
  * Response from inviteMember (ext).
@@ -1390,6 +1405,7 @@ type FFIDSubscriptionErrorCode = (typeof FFID_SUBSCRIPTION_ERROR_CODES)[keyof ty
1390
1405
  * Do not retry automatically; show the credit purchase path.
1391
1406
  * - `CREDITS_IDEMPOTENCY_CONFLICT` (409): the same idempotency key with another amount.
1392
1407
  * A caller bug — do not retry.
1408
+ * - `CREDITS_TURN_CANCELLED` (409): a failed chatbot attempt was cancelled; use a new attempt key.
1393
1409
  * - `CREDITS_NOT_APPLICABLE` (409): the contract's plan is per_seat (not credit-based).
1394
1410
  * - `CREDITS_BALANCE_CAP_EXCEEDED` (409): a grant would push the balance over the cap.
1395
1411
  * - `SEAT_BILLING_NOT_APPLICABLE` (409): seat-count changes on a flat contract.
@@ -1408,6 +1424,7 @@ type FFIDSubscriptionErrorCode = (typeof FFID_SUBSCRIPTION_ERROR_CODES)[keyof ty
1408
1424
  declare const FFID_CREDITS_ERROR_CODES: {
1409
1425
  readonly CREDITS_INSUFFICIENT: "CREDITS_INSUFFICIENT";
1410
1426
  readonly CREDITS_IDEMPOTENCY_CONFLICT: "CREDITS_IDEMPOTENCY_CONFLICT";
1427
+ readonly CREDITS_TURN_CANCELLED: "CREDITS_TURN_CANCELLED";
1411
1428
  readonly CREDITS_NOT_APPLICABLE: "CREDITS_NOT_APPLICABLE";
1412
1429
  readonly CREDITS_BALANCE_CAP_EXCEEDED: "CREDITS_BALANCE_CAP_EXCEEDED";
1413
1430
  readonly SEAT_BILLING_NOT_APPLICABLE: "SEAT_BILLING_NOT_APPLICABLE";
@@ -1498,6 +1515,7 @@ declare function createFFIDClient(config: FFIDConfig): {
1498
1515
  organizationId: string;
1499
1516
  email: string;
1500
1517
  role?: FFIDAssignableMemberRole;
1518
+ inviterUserId?: string;
1501
1519
  }) => Promise<FFIDApiResponse<FFIDInviteMemberResponse>>;
1502
1520
  leaveOrganization: (params: FFIDLeaveOrganizationParams) => Promise<FFIDApiResponse<FFIDLeaveOrganizationResponse>>;
1503
1521
  getAnalyticsConfig: (serviceCode: string, options?: FFIDProfileCallOptions) => Promise<FFIDApiResponse<FFIDAnalyticsConfig>>;
@@ -2958,4 +2976,4 @@ declare function createInquiryMethods(deps: InquiryMethodsDeps): {
2958
2976
  };
2959
2977
  type FFIDInquiryClient = ReturnType<typeof createInquiryMethods>;
2960
2978
 
2961
- export { ACCESS_GRANTING_EFFECTIVE_STATUSES, AGENCY_INVITE_COOKIE_MAX_AGE_SEC, AGENCY_INVITE_COOKIE_NAME, AGENCY_INVITE_TOKEN_PARAM, AGENCY_INVITE_TOKEN_REDACTION, type AgencyInviteCookieOptions, AnnouncementListResponse, BLOCKING_EFFECTIVE_STATUSES, CATALOG_HASH_PATTERN, type CaptureAgencyInviteTokenOptions, type CaptureAgencyInviteTokenResult, type ComputeEffectiveStatusInput, type ContractWizardFlowType, type ContractWizardResubscribeOptions, type ContractWizardSubscribeOptions, type ContractWizardSubscriptionOptions, DEFAULT_API_BASE_URL, DEFAULT_OAUTH_SCOPES, EffectiveSubscriptionStatus, type ExchangeCodeForTokensOptions, FFIDAccountType, type FFIDAddMemberParams, type FFIDAddMemberRequest, type FFIDAddMemberResponse, type FFIDAllowedLogoMimeType, FFIDAnnouncementsApiResponse, type FFIDAnnouncementsClient, FFIDAnnouncementsClientConfig, FFIDAnnouncementsLogger, FFIDApiResponse, type FFIDAssignableMemberRole, type FFIDAuthorizationError, type FFIDAuthorizationErrorDetails, FFIDBillingInterval, FFIDBuyCreditsUrlParams, FFIDCacheAdapter, FFIDCancelPendingDowngradeResponse, FFIDCancelSubscriptionParams, FFIDCancelSubscriptionResponse, type FFIDCanonicalJsonValue, FFIDCatalogEnvironment, FFIDCatalogHashError, FFIDChangePlanParams, FFIDChangePlanResponse, FFIDCheckServiceAccessParams, type FFIDCheckoutSessionResponse, type FFIDClient, type FFIDCompanySizeCode, FFIDConfig, type FFIDCreateCheckoutParams, FFIDCreatePackCheckoutParams, type FFIDCreatePortalParams, FFIDCreditBalance, FFIDCreditConsumeParams, FFIDCreditConsumeResult, FFIDCreditHistoryPage, FFIDCreditPackCheckout, FFIDCreditPackList, type FFIDCreditsClient, type FFIDCreditsErrorCode, FFIDError, type FFIDErrorCode, type FFIDIndustryCode, type FFIDInquiryClient, FFIDInquiryCreateParams, FFIDInquiryCreateResponse, type FFIDInvitationStatus, type FFIDInviteMemberRequest, type FFIDInviteMemberResponse, type FFIDLeaveOrganizationParams, type FFIDLeaveOrganizationResponse, FFIDListCreditHistoryOptions, type FFIDListMembersResponse, FFIDListPlansResponse, type FFIDListingConsentInput, FFIDLogger, type FFIDLoginHistoryEntry, type FFIDLoginHistoryResponse, type FFIDLogoWallEntry, type FFIDLogoWallResponse, 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, type FFIDOAuthDenialReason, type FFIDOAuthTokenResponse, FFIDOAuthUserInfo, FFIDOAuthUserInfoSubscription, FFIDOrganization, type FFIDOrganizationDomain, type FFIDOrganizationDomainsResponse, type FFIDOrganizationLogoUploadResponse, type FFIDOrganizationMember, type FFIDOrganizationNotificationPreferences, type FFIDOrganizationNotificationPreferencesResponse, type FFIDOrganizationProfile, type FFIDOrganizationProfileErrorCode, type FFIDOrganizationProfileResponse, type FFIDOtpSendResponse, type FFIDOtpVerifyResponse, type FFIDPasswordResetConfirmResponse, type FFIDPasswordResetResponse, type FFIDPasswordResetVerifyResponse, type FFIDPaymentConfiguration, FFIDPlanChangePreviewResponse, type FFIDPortalSessionResponse, FFIDPreviewPlanChangeParams, FFIDPreviewSeatChangeParams, type FFIDProfileCallOptions, FFIDProvider, type FFIDProviderProps, type FFIDProvisionMemberPlan, type FFIDProvisionMemberPlanStatus, type FFIDProvisionMemberResult, type FFIDProvisionMemberStatus, type FFIDProvisionOrganizationDryRun, type FFIDProvisionOrganizationMemberInput, type FFIDProvisionOrganizationOutcome, type FFIDProvisionOrganizationParams, type FFIDProvisionOrganizationResponse, type FFIDProvisionUserDryRun, type FFIDProvisionUserOutcome, type FFIDProvisionUserParams, type FFIDProvisionUserProfileInput, type FFIDProvisionUserResponse, type FFIDProvisionedOrganization, type FFIDProvisionedUser, FFIDPublishedCatalog, type FFIDRedirectErrorCode, type FFIDRedirectResult, type FFIDRemoveMemberResponse, type FFIDResetSessionResponse, FFIDSDKError, type FFIDScopeHashInput, type FFIDScopeHashPlan, FFIDSeatChangePreviewResponse, FFIDSeatsSummary, FFIDServiceAccessDecision, FFIDSessionResponse, FFIDSignOutResult, FFIDSubscribeParams, FFIDSubscribeResponse, FFIDSubscription, FFIDSubscriptionCheckResponse, FFIDSubscriptionContextValue, FFIDSubscriptionDetail, type FFIDSubscriptionErrorCode, FFIDSubscriptionStatus, FFIDTaxBehavior, type FFIDTaxConfiguration, type FFIDTokenIntrospectionResponse, type FFIDUpdateMemberRoleResponse, type FFIDUpdateNotificationPreferencesRequest, type FFIDUpdateUserProfileRequest, type FFIDUploadOrganizationLogoParams, type FFIDUpsertOrganizationProfileParams, type FFIDUpsertOrganizationProfileRequest, FFIDUser, type FFIDUserProfile, FFIDVerifyAccessTokenOptions, FFID_ALLOWED_ORGANIZATION_LOGO_MIME_TYPES, FFID_ANNOUNCEMENTS_ERROR_CODES, FFID_COMPANY_SIZE_CODES, FFID_CREDITS_ERROR_CODES, FFID_ERROR_CODES, FFID_INDUSTRY_CODES, FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_BYTES, FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_MB, FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS, FFID_NEWSLETTER_TYPES, FFID_OAUTH_DENIAL_REASONS, FFID_ORGANIZATION_PROFILE_ERROR_CODES, FFID_SUBSCRIPTION_ERROR_CODES, type HandleRedirectCallbackClient, type HandleRedirectCallbackOptions, type KVNamespaceLike, ListAnnouncementsOptions, type NormalizeRedirectUriResult, type ReadAgencyInviteTokenOptions, type RedirectToAuthorizeOptions, TokenStore, type UseFFIDReturn, type UseRequireActiveSubscriptionOptions, type UseRequireActiveSubscriptionReturn, type WithFFIDAuthOptions, type WithSubscriptionOptions, canonicalizeCatalogValue, captureAgencyInviteToken, clearAgencyInviteToken, cleanupStateStorage as clearState, computeEffectiveStatusFromSession, computeFFIDCheckoutCopyHash, computeLegalDisclosureHash, computePaymentConfigurationHash, computePraxisCopyHash, computeScopeHash, computeTaxConfigurationHash, createFFIDAnnouncementsClient, createFFIDClient, createKVCacheAdapter, createMemoryCacheAdapter, generateCodeChallenge, generateCodeVerifier, getFFIDAuthorizationError, handleRedirectCallback, hasAccessFromUserinfo, hashCanonicalJson, isBlockedFromUserinfo, isFFIDOAuthDenialReason, normalizeRedirectUri, readAgencyInviteCookie, readAgencyInviteToken, redactAgencyInviteToken, retrieveCodeVerifier, retrieveState, sha256Hex, storeCodeVerifier, storeState, useFFID, useRequireActiveSubscription, useSubscription, validatePublishedCatalog, withFFIDAuth, withSubscription };
2979
+ export { ACCESS_GRANTING_EFFECTIVE_STATUSES, AGENCY_INVITE_COOKIE_MAX_AGE_SEC, AGENCY_INVITE_COOKIE_NAME, AGENCY_INVITE_TOKEN_PARAM, AGENCY_INVITE_TOKEN_REDACTION, type AgencyInviteCookieOptions, AnnouncementListResponse, BLOCKING_EFFECTIVE_STATUSES, CATALOG_HASH_PATTERN, type CaptureAgencyInviteTokenOptions, type CaptureAgencyInviteTokenResult, type ComputeEffectiveStatusInput, type ContractWizardFlowType, type ContractWizardResubscribeOptions, type ContractWizardSubscribeOptions, type ContractWizardSubscriptionOptions, DEFAULT_API_BASE_URL, DEFAULT_OAUTH_SCOPES, EffectiveSubscriptionStatus, type ExchangeCodeForTokensOptions, FFIDAccountType, type FFIDAddMemberParams, type FFIDAddMemberRequest, type FFIDAddMemberResponse, type FFIDAllowedLogoMimeType, FFIDAnnouncementsApiResponse, type FFIDAnnouncementsClient, FFIDAnnouncementsClientConfig, FFIDAnnouncementsLogger, FFIDApiResponse, type FFIDAssignableMemberRole, type FFIDAuthorizationError, type FFIDAuthorizationErrorDetails, FFIDBillingInterval, FFIDBuyCreditsUrlParams, FFIDCacheAdapter, FFIDCancelPendingDowngradeResponse, FFIDCancelSubscriptionParams, FFIDCancelSubscriptionResponse, type FFIDCanonicalJsonValue, FFIDCatalogEnvironment, FFIDCatalogHashError, FFIDChangePlanParams, FFIDChangePlanResponse, FFIDCheckServiceAccessParams, type FFIDCheckoutSessionResponse, type FFIDClient, type FFIDCompanySizeCode, FFIDConfig, type FFIDCreateCheckoutParams, FFIDCreatePackCheckoutParams, type FFIDCreatePortalParams, FFIDCreditBalance, FFIDCreditConsumeParams, FFIDCreditConsumeResult, FFIDCreditHistoryPage, FFIDCreditPackCheckout, FFIDCreditPackList, type FFIDCreditsClient, type FFIDCreditsErrorCode, FFIDError, type FFIDErrorCode, type FFIDIndustryCode, type FFIDInquiryClient, FFIDInquiryCreateParams, FFIDInquiryCreateResponse, type FFIDInvitationStatus, type FFIDInviteMemberRequest, type FFIDInviteMemberResponse, type FFIDLeaveOrganizationParams, type FFIDLeaveOrganizationResponse, FFIDListCreditHistoryOptions, type FFIDListMembersResponse, FFIDListPlansResponse, type FFIDListingConsentInput, FFIDLogger, type FFIDLoginHistoryEntry, type FFIDLoginHistoryResponse, type FFIDLogoWallEntry, type FFIDLogoWallResponse, type FFIDMemberRole, type FFIDMemberSeatAssignmentResult, 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, type FFIDOAuthDenialReason, type FFIDOAuthTokenResponse, FFIDOAuthUserInfo, FFIDOAuthUserInfoSubscription, FFIDOrganization, type FFIDOrganizationDomain, type FFIDOrganizationDomainsResponse, type FFIDOrganizationLogoUploadResponse, type FFIDOrganizationMember, type FFIDOrganizationNotificationPreferences, type FFIDOrganizationNotificationPreferencesResponse, type FFIDOrganizationProfile, type FFIDOrganizationProfileErrorCode, type FFIDOrganizationProfileResponse, type FFIDOtpSendResponse, type FFIDOtpVerifyResponse, type FFIDPasswordResetConfirmResponse, type FFIDPasswordResetResponse, type FFIDPasswordResetVerifyResponse, type FFIDPaymentConfiguration, FFIDPlanChangePreviewResponse, type FFIDPortalSessionResponse, FFIDPreviewPlanChangeParams, FFIDPreviewSeatChangeParams, type FFIDProfileCallOptions, FFIDProvider, type FFIDProviderProps, type FFIDProvisionMemberPlan, type FFIDProvisionMemberPlanStatus, type FFIDProvisionMemberResult, type FFIDProvisionMemberStatus, type FFIDProvisionOrganizationDryRun, type FFIDProvisionOrganizationMemberInput, type FFIDProvisionOrganizationOutcome, type FFIDProvisionOrganizationParams, type FFIDProvisionOrganizationResponse, type FFIDProvisionUserDryRun, type FFIDProvisionUserOutcome, type FFIDProvisionUserParams, type FFIDProvisionUserProfileInput, type FFIDProvisionUserResponse, type FFIDProvisionedOrganization, type FFIDProvisionedUser, FFIDPublishedCatalog, type FFIDRedirectErrorCode, type FFIDRedirectResult, type FFIDRemoveMemberResponse, type FFIDResetSessionResponse, FFIDSDKError, type FFIDScopeHashInput, type FFIDScopeHashPlan, FFIDSeatChangePreviewResponse, FFIDSeatsSummary, FFIDServiceAccessDecision, FFIDSessionResponse, FFIDSignOutResult, FFIDSubscribeParams, FFIDSubscribeResponse, FFIDSubscription, FFIDSubscriptionCheckResponse, FFIDSubscriptionContextValue, FFIDSubscriptionDetail, type FFIDSubscriptionErrorCode, FFIDSubscriptionStatus, FFIDTaxBehavior, type FFIDTaxConfiguration, type FFIDTokenIntrospectionResponse, type FFIDUpdateMemberRoleResponse, type FFIDUpdateNotificationPreferencesRequest, type FFIDUpdateUserProfileRequest, type FFIDUploadOrganizationLogoParams, type FFIDUpsertOrganizationProfileParams, type FFIDUpsertOrganizationProfileRequest, FFIDUser, type FFIDUserProfile, FFIDVerifyAccessTokenOptions, FFID_ALLOWED_ORGANIZATION_LOGO_MIME_TYPES, FFID_ANNOUNCEMENTS_ERROR_CODES, FFID_COMPANY_SIZE_CODES, FFID_CREDITS_ERROR_CODES, FFID_ERROR_CODES, FFID_INDUSTRY_CODES, FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_BYTES, FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_MB, FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS, FFID_NEWSLETTER_TYPES, FFID_OAUTH_DENIAL_REASONS, FFID_ORGANIZATION_PROFILE_ERROR_CODES, FFID_SUBSCRIPTION_ERROR_CODES, type HandleRedirectCallbackClient, type HandleRedirectCallbackOptions, type KVNamespaceLike, ListAnnouncementsOptions, type NormalizeRedirectUriResult, type ReadAgencyInviteTokenOptions, type RedirectToAuthorizeOptions, TokenStore, type UseFFIDReturn, type UseRequireActiveSubscriptionOptions, type UseRequireActiveSubscriptionReturn, type WithFFIDAuthOptions, type WithSubscriptionOptions, canonicalizeCatalogValue, captureAgencyInviteToken, clearAgencyInviteToken, cleanupStateStorage as clearState, computeEffectiveStatusFromSession, computeFFIDCheckoutCopyHash, computeLegalDisclosureHash, computePaymentConfigurationHash, computePraxisCopyHash, computeScopeHash, computeTaxConfigurationHash, createFFIDAnnouncementsClient, createFFIDClient, createKVCacheAdapter, createMemoryCacheAdapter, generateCodeChallenge, generateCodeVerifier, getFFIDAuthorizationError, handleRedirectCallback, hasAccessFromUserinfo, hashCanonicalJson, isBlockedFromUserinfo, isFFIDOAuthDenialReason, normalizeRedirectUri, readAgencyInviteCookie, readAgencyInviteToken, redactAgencyInviteToken, retrieveCodeVerifier, retrieveState, sha256Hex, storeCodeVerifier, storeState, useFFID, useRequireActiveSubscription, useSubscription, validatePublishedCatalog, withFFIDAuth, withSubscription };