@feelflow/ffid-sdk 12.1.0 → 12.2.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/README.md +29 -0
- package/dist/{chunk-3MYUVPLD.js → chunk-75ISD4I4.js} +68 -10
- package/dist/{chunk-62MINYOA.cjs → chunk-LT7FQ7BT.cjs} +69 -9
- package/dist/components/index.cjs +8 -8
- package/dist/components/index.js +1 -1
- package/dist/{ffid-client-aUNBn5SW.d.cts → ffid-client-DMwmK8mM.d.cts} +15 -2
- package/dist/{ffid-client-5dVFeHt8.d.ts → ffid-client-Dr2KVlIZ.d.ts} +15 -2
- package/dist/index.cjs +99 -97
- package/dist/index.d.cts +17 -4
- package/dist/index.d.ts +17 -4
- package/dist/index.js +3 -7
- package/dist/server/index.cjs +66 -9
- package/dist/server/index.d.cts +2 -2
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +66 -9
- package/dist/server/test/index.d.cts +1 -1
- package/dist/server/test/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLT7FQ7BT_cjs = require('./chunk-LT7FQ7BT.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 } =
|
|
58
|
-
const { effectiveStatus, isBlocked, isGrace } =
|
|
57
|
+
const { isLoading, error } = chunkLT7FQ7BT_cjs.useFFIDContext();
|
|
58
|
+
const { effectiveStatus, isBlocked, isGrace } = chunkLT7FQ7BT_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 } =
|
|
79
|
+
const { isLoading, isAuthenticated, login } = chunkLT7FQ7BT_cjs.useFFIDContext();
|
|
80
80
|
const hasRedirected = react.useRef(false);
|
|
81
81
|
react.useEffect(() => {
|
|
82
82
|
if (!isLoading && !isAuthenticated && options.redirectToLogin && !hasRedirected.current) {
|
|
@@ -99,357 +99,361 @@ function withFFIDAuth(Component, options = {}) {
|
|
|
99
99
|
return WrappedComponent;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
// src/newsletter/types.ts
|
|
103
|
-
var FFID_NEWSLETTER_TYPES = ["inquiry_followup", "general"];
|
|
104
|
-
var FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS = 1e3;
|
|
105
|
-
|
|
106
102
|
Object.defineProperty(exports, "ACCESS_GRANTING_EFFECTIVE_STATUSES", {
|
|
107
103
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkLT7FQ7BT_cjs.ACCESS_GRANTING_EFFECTIVE_STATUSES; }
|
|
109
105
|
});
|
|
110
106
|
Object.defineProperty(exports, "AGENCY_INVITE_COOKIE_MAX_AGE_SEC", {
|
|
111
107
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkLT7FQ7BT_cjs.AGENCY_INVITE_COOKIE_MAX_AGE_SEC; }
|
|
113
109
|
});
|
|
114
110
|
Object.defineProperty(exports, "AGENCY_INVITE_COOKIE_NAME", {
|
|
115
111
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkLT7FQ7BT_cjs.AGENCY_INVITE_COOKIE_NAME; }
|
|
117
113
|
});
|
|
118
114
|
Object.defineProperty(exports, "AGENCY_INVITE_TOKEN_PARAM", {
|
|
119
115
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkLT7FQ7BT_cjs.AGENCY_INVITE_TOKEN_PARAM; }
|
|
121
117
|
});
|
|
122
118
|
Object.defineProperty(exports, "AGENCY_INVITE_TOKEN_REDACTION", {
|
|
123
119
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkLT7FQ7BT_cjs.AGENCY_INVITE_TOKEN_REDACTION; }
|
|
125
121
|
});
|
|
126
122
|
Object.defineProperty(exports, "BLOCKING_EFFECTIVE_STATUSES", {
|
|
127
123
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkLT7FQ7BT_cjs.BLOCKING_EFFECTIVE_STATUSES; }
|
|
129
125
|
});
|
|
130
126
|
Object.defineProperty(exports, "CATALOG_HASH_PATTERN", {
|
|
131
127
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkLT7FQ7BT_cjs.CATALOG_HASH_PATTERN; }
|
|
133
129
|
});
|
|
134
130
|
Object.defineProperty(exports, "DEFAULT_API_BASE_URL", {
|
|
135
131
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkLT7FQ7BT_cjs.DEFAULT_API_BASE_URL; }
|
|
137
133
|
});
|
|
138
134
|
Object.defineProperty(exports, "DEFAULT_OAUTH_SCOPES", {
|
|
139
135
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkLT7FQ7BT_cjs.DEFAULT_OAUTH_SCOPES; }
|
|
141
137
|
});
|
|
142
138
|
Object.defineProperty(exports, "EFFECTIVE_SUBSCRIPTION_STATUSES", {
|
|
143
139
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkLT7FQ7BT_cjs.EFFECTIVE_SUBSCRIPTION_STATUSES; }
|
|
145
141
|
});
|
|
146
142
|
Object.defineProperty(exports, "FFIDAnnouncementBadge", {
|
|
147
143
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFIDAnnouncementBadge; }
|
|
149
145
|
});
|
|
150
146
|
Object.defineProperty(exports, "FFIDAnnouncementList", {
|
|
151
147
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFIDAnnouncementList; }
|
|
153
149
|
});
|
|
154
150
|
Object.defineProperty(exports, "FFIDCatalogHashError", {
|
|
155
151
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFIDCatalogHashError; }
|
|
157
153
|
});
|
|
158
154
|
Object.defineProperty(exports, "FFIDInquiryForm", {
|
|
159
155
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFIDInquiryForm; }
|
|
161
157
|
});
|
|
162
158
|
Object.defineProperty(exports, "FFIDLoginButton", {
|
|
163
159
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFIDLoginButton; }
|
|
165
161
|
});
|
|
166
162
|
Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
|
|
167
163
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFIDOrganizationSwitcher; }
|
|
169
165
|
});
|
|
170
166
|
Object.defineProperty(exports, "FFIDProvider", {
|
|
171
167
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFIDProvider; }
|
|
173
169
|
});
|
|
174
170
|
Object.defineProperty(exports, "FFIDSDKError", {
|
|
175
171
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFIDSDKError; }
|
|
177
173
|
});
|
|
178
174
|
Object.defineProperty(exports, "FFIDSubscriptionBadge", {
|
|
179
175
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFIDSubscriptionBadge; }
|
|
181
177
|
});
|
|
182
178
|
Object.defineProperty(exports, "FFIDUserMenu", {
|
|
183
179
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFIDUserMenu; }
|
|
185
181
|
});
|
|
186
182
|
Object.defineProperty(exports, "FFID_ALLOWED_ORGANIZATION_LOGO_MIME_TYPES", {
|
|
187
183
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_ALLOWED_ORGANIZATION_LOGO_MIME_TYPES; }
|
|
189
185
|
});
|
|
190
186
|
Object.defineProperty(exports, "FFID_ANNOUNCEMENTS_ERROR_CODES", {
|
|
191
187
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
|
|
193
189
|
});
|
|
194
190
|
Object.defineProperty(exports, "FFID_CATALOG_ENVIRONMENTS", {
|
|
195
191
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CATALOG_ENVIRONMENTS; }
|
|
197
193
|
});
|
|
198
194
|
Object.defineProperty(exports, "FFID_CATALOG_PUBLICATION_STATUSES", {
|
|
199
195
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CATALOG_PUBLICATION_STATUSES; }
|
|
201
197
|
});
|
|
202
198
|
Object.defineProperty(exports, "FFID_COMPANY_SIZE_CODES", {
|
|
203
199
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_COMPANY_SIZE_CODES; }
|
|
205
201
|
});
|
|
206
202
|
Object.defineProperty(exports, "FFID_CREDITS_CONSUME_MAX_AMOUNT", {
|
|
207
203
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDITS_CONSUME_MAX_AMOUNT; }
|
|
209
205
|
});
|
|
210
206
|
Object.defineProperty(exports, "FFID_CREDITS_CONSUME_MIN_AMOUNT", {
|
|
211
207
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDITS_CONSUME_MIN_AMOUNT; }
|
|
213
209
|
});
|
|
214
210
|
Object.defineProperty(exports, "FFID_CREDITS_ERROR_CODES", {
|
|
215
211
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDITS_ERROR_CODES; }
|
|
217
213
|
});
|
|
218
214
|
Object.defineProperty(exports, "FFID_CREDITS_FEATURE_PATTERN", {
|
|
219
215
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDITS_FEATURE_PATTERN; }
|
|
221
217
|
});
|
|
222
218
|
Object.defineProperty(exports, "FFID_CREDITS_HISTORY_DEFAULT_LIMIT", {
|
|
223
219
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDITS_HISTORY_DEFAULT_LIMIT; }
|
|
225
221
|
});
|
|
226
222
|
Object.defineProperty(exports, "FFID_CREDITS_HISTORY_MAX_LIMIT", {
|
|
227
223
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDITS_HISTORY_MAX_LIMIT; }
|
|
229
225
|
});
|
|
230
226
|
Object.defineProperty(exports, "FFID_CREDITS_HISTORY_MIN_LIMIT", {
|
|
231
227
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDITS_HISTORY_MIN_LIMIT; }
|
|
233
229
|
});
|
|
234
230
|
Object.defineProperty(exports, "FFID_CREDITS_IDEMPOTENCY_KEY_PATTERN", {
|
|
235
231
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDITS_IDEMPOTENCY_KEY_PATTERN; }
|
|
237
233
|
});
|
|
238
234
|
Object.defineProperty(exports, "FFID_CREDITS_LOW_THRESHOLD_PERCENT", {
|
|
239
235
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDITS_LOW_THRESHOLD_PERCENT; }
|
|
241
237
|
});
|
|
242
238
|
Object.defineProperty(exports, "FFID_CREDITS_METADATA_MAX_BYTES", {
|
|
243
239
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDITS_METADATA_MAX_BYTES; }
|
|
245
241
|
});
|
|
246
242
|
Object.defineProperty(exports, "FFID_CREDIT_GRANT_KINDS", {
|
|
247
243
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDIT_GRANT_KINDS; }
|
|
249
245
|
});
|
|
250
246
|
Object.defineProperty(exports, "FFID_CREDIT_HISTORY_TYPES", {
|
|
251
247
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDIT_HISTORY_TYPES; }
|
|
253
249
|
});
|
|
254
250
|
Object.defineProperty(exports, "FFID_CREDIT_PACK_MAX_QUANTITY", {
|
|
255
251
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDIT_PACK_MAX_QUANTITY; }
|
|
257
253
|
});
|
|
258
254
|
Object.defineProperty(exports, "FFID_CREDIT_PACK_MIN_QUANTITY", {
|
|
259
255
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_CREDIT_PACK_MIN_QUANTITY; }
|
|
261
257
|
});
|
|
262
258
|
Object.defineProperty(exports, "FFID_ERROR_CODES", {
|
|
263
259
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_ERROR_CODES; }
|
|
265
261
|
});
|
|
266
262
|
Object.defineProperty(exports, "FFID_INDUSTRY_CODES", {
|
|
267
263
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_INDUSTRY_CODES; }
|
|
269
265
|
});
|
|
270
266
|
Object.defineProperty(exports, "FFID_INQUIRY_ACQUISITION_SOURCES", {
|
|
271
267
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_INQUIRY_ACQUISITION_SOURCES; }
|
|
273
269
|
});
|
|
274
270
|
Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES", {
|
|
275
271
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_INQUIRY_CATEGORIES; }
|
|
277
273
|
});
|
|
278
274
|
Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES_SITE_2026", {
|
|
279
275
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_INQUIRY_CATEGORIES_SITE_2026; }
|
|
281
277
|
});
|
|
282
278
|
Object.defineProperty(exports, "FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_BYTES", {
|
|
283
279
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_BYTES; }
|
|
285
281
|
});
|
|
286
282
|
Object.defineProperty(exports, "FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_MB", {
|
|
287
283
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_MAX_ORGANIZATION_LOGO_FILE_SIZE_MB; }
|
|
285
|
+
});
|
|
286
|
+
Object.defineProperty(exports, "FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS", {
|
|
287
|
+
enumerable: true,
|
|
288
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS; }
|
|
289
|
+
});
|
|
290
|
+
Object.defineProperty(exports, "FFID_NEWSLETTER_TYPES", {
|
|
291
|
+
enumerable: true,
|
|
292
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_NEWSLETTER_TYPES; }
|
|
289
293
|
});
|
|
290
294
|
Object.defineProperty(exports, "FFID_OAUTH_DENIAL_REASONS", {
|
|
291
295
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_OAUTH_DENIAL_REASONS; }
|
|
293
297
|
});
|
|
294
298
|
Object.defineProperty(exports, "FFID_ORGANIZATION_PROFILE_ERROR_CODES", {
|
|
295
299
|
enumerable: true,
|
|
296
|
-
get: function () { return
|
|
300
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_ORGANIZATION_PROFILE_ERROR_CODES; }
|
|
297
301
|
});
|
|
298
302
|
Object.defineProperty(exports, "FFID_SUBSCRIPTION_ERROR_CODES", {
|
|
299
303
|
enumerable: true,
|
|
300
|
-
get: function () { return
|
|
304
|
+
get: function () { return chunkLT7FQ7BT_cjs.FFID_SUBSCRIPTION_ERROR_CODES; }
|
|
301
305
|
});
|
|
302
306
|
Object.defineProperty(exports, "canonicalizeCatalogValue", {
|
|
303
307
|
enumerable: true,
|
|
304
|
-
get: function () { return
|
|
308
|
+
get: function () { return chunkLT7FQ7BT_cjs.canonicalizeCatalogValue; }
|
|
305
309
|
});
|
|
306
310
|
Object.defineProperty(exports, "captureAgencyInviteToken", {
|
|
307
311
|
enumerable: true,
|
|
308
|
-
get: function () { return
|
|
312
|
+
get: function () { return chunkLT7FQ7BT_cjs.captureAgencyInviteToken; }
|
|
309
313
|
});
|
|
310
314
|
Object.defineProperty(exports, "clearAgencyInviteToken", {
|
|
311
315
|
enumerable: true,
|
|
312
|
-
get: function () { return
|
|
316
|
+
get: function () { return chunkLT7FQ7BT_cjs.clearAgencyInviteToken; }
|
|
313
317
|
});
|
|
314
318
|
Object.defineProperty(exports, "clearState", {
|
|
315
319
|
enumerable: true,
|
|
316
|
-
get: function () { return
|
|
320
|
+
get: function () { return chunkLT7FQ7BT_cjs.cleanupStateStorage; }
|
|
317
321
|
});
|
|
318
322
|
Object.defineProperty(exports, "computeEffectiveStatusFromSession", {
|
|
319
323
|
enumerable: true,
|
|
320
|
-
get: function () { return
|
|
324
|
+
get: function () { return chunkLT7FQ7BT_cjs.computeEffectiveStatusFromSession; }
|
|
321
325
|
});
|
|
322
326
|
Object.defineProperty(exports, "computeFFIDCheckoutCopyHash", {
|
|
323
327
|
enumerable: true,
|
|
324
|
-
get: function () { return
|
|
328
|
+
get: function () { return chunkLT7FQ7BT_cjs.computeFFIDCheckoutCopyHash; }
|
|
325
329
|
});
|
|
326
330
|
Object.defineProperty(exports, "computeLegalDisclosureHash", {
|
|
327
331
|
enumerable: true,
|
|
328
|
-
get: function () { return
|
|
332
|
+
get: function () { return chunkLT7FQ7BT_cjs.computeLegalDisclosureHash; }
|
|
329
333
|
});
|
|
330
334
|
Object.defineProperty(exports, "computePaymentConfigurationHash", {
|
|
331
335
|
enumerable: true,
|
|
332
|
-
get: function () { return
|
|
336
|
+
get: function () { return chunkLT7FQ7BT_cjs.computePaymentConfigurationHash; }
|
|
333
337
|
});
|
|
334
338
|
Object.defineProperty(exports, "computePraxisCopyHash", {
|
|
335
339
|
enumerable: true,
|
|
336
|
-
get: function () { return
|
|
340
|
+
get: function () { return chunkLT7FQ7BT_cjs.computePraxisCopyHash; }
|
|
337
341
|
});
|
|
338
342
|
Object.defineProperty(exports, "computeScopeHash", {
|
|
339
343
|
enumerable: true,
|
|
340
|
-
get: function () { return
|
|
344
|
+
get: function () { return chunkLT7FQ7BT_cjs.computeScopeHash; }
|
|
341
345
|
});
|
|
342
346
|
Object.defineProperty(exports, "computeTaxConfigurationHash", {
|
|
343
347
|
enumerable: true,
|
|
344
|
-
get: function () { return
|
|
348
|
+
get: function () { return chunkLT7FQ7BT_cjs.computeTaxConfigurationHash; }
|
|
345
349
|
});
|
|
346
350
|
Object.defineProperty(exports, "createFFIDAnnouncementsClient", {
|
|
347
351
|
enumerable: true,
|
|
348
|
-
get: function () { return
|
|
352
|
+
get: function () { return chunkLT7FQ7BT_cjs.createFFIDAnnouncementsClient; }
|
|
349
353
|
});
|
|
350
354
|
Object.defineProperty(exports, "createFFIDClient", {
|
|
351
355
|
enumerable: true,
|
|
352
|
-
get: function () { return
|
|
356
|
+
get: function () { return chunkLT7FQ7BT_cjs.createFFIDClient; }
|
|
353
357
|
});
|
|
354
358
|
Object.defineProperty(exports, "createTokenStore", {
|
|
355
359
|
enumerable: true,
|
|
356
|
-
get: function () { return
|
|
360
|
+
get: function () { return chunkLT7FQ7BT_cjs.createTokenStore; }
|
|
357
361
|
});
|
|
358
362
|
Object.defineProperty(exports, "generateCodeChallenge", {
|
|
359
363
|
enumerable: true,
|
|
360
|
-
get: function () { return
|
|
364
|
+
get: function () { return chunkLT7FQ7BT_cjs.generateCodeChallenge; }
|
|
361
365
|
});
|
|
362
366
|
Object.defineProperty(exports, "generateCodeVerifier", {
|
|
363
367
|
enumerable: true,
|
|
364
|
-
get: function () { return
|
|
368
|
+
get: function () { return chunkLT7FQ7BT_cjs.generateCodeVerifier; }
|
|
365
369
|
});
|
|
366
370
|
Object.defineProperty(exports, "getFFIDAuthorizationError", {
|
|
367
371
|
enumerable: true,
|
|
368
|
-
get: function () { return
|
|
372
|
+
get: function () { return chunkLT7FQ7BT_cjs.getFFIDAuthorizationError; }
|
|
369
373
|
});
|
|
370
374
|
Object.defineProperty(exports, "handleRedirectCallback", {
|
|
371
375
|
enumerable: true,
|
|
372
|
-
get: function () { return
|
|
376
|
+
get: function () { return chunkLT7FQ7BT_cjs.handleRedirectCallback; }
|
|
373
377
|
});
|
|
374
378
|
Object.defineProperty(exports, "hasAccessFromUserinfo", {
|
|
375
379
|
enumerable: true,
|
|
376
|
-
get: function () { return
|
|
380
|
+
get: function () { return chunkLT7FQ7BT_cjs.hasAccessFromUserinfo; }
|
|
377
381
|
});
|
|
378
382
|
Object.defineProperty(exports, "hashCanonicalJson", {
|
|
379
383
|
enumerable: true,
|
|
380
|
-
get: function () { return
|
|
384
|
+
get: function () { return chunkLT7FQ7BT_cjs.hashCanonicalJson; }
|
|
381
385
|
});
|
|
382
386
|
Object.defineProperty(exports, "isBlockedFromUserinfo", {
|
|
383
387
|
enumerable: true,
|
|
384
|
-
get: function () { return
|
|
388
|
+
get: function () { return chunkLT7FQ7BT_cjs.isBlockedFromUserinfo; }
|
|
385
389
|
});
|
|
386
390
|
Object.defineProperty(exports, "isFFIDInquiryAcquisitionSource", {
|
|
387
391
|
enumerable: true,
|
|
388
|
-
get: function () { return
|
|
392
|
+
get: function () { return chunkLT7FQ7BT_cjs.isFFIDInquiryAcquisitionSource; }
|
|
389
393
|
});
|
|
390
394
|
Object.defineProperty(exports, "isFFIDInquiryCategorySite2026", {
|
|
391
395
|
enumerable: true,
|
|
392
|
-
get: function () { return
|
|
396
|
+
get: function () { return chunkLT7FQ7BT_cjs.isFFIDInquiryCategorySite2026; }
|
|
393
397
|
});
|
|
394
398
|
Object.defineProperty(exports, "isFFIDOAuthDenialReason", {
|
|
395
399
|
enumerable: true,
|
|
396
|
-
get: function () { return
|
|
400
|
+
get: function () { return chunkLT7FQ7BT_cjs.isFFIDOAuthDenialReason; }
|
|
397
401
|
});
|
|
398
402
|
Object.defineProperty(exports, "normalizeRedirectUri", {
|
|
399
403
|
enumerable: true,
|
|
400
|
-
get: function () { return
|
|
404
|
+
get: function () { return chunkLT7FQ7BT_cjs.normalizeRedirectUri; }
|
|
401
405
|
});
|
|
402
406
|
Object.defineProperty(exports, "readAgencyInviteCookie", {
|
|
403
407
|
enumerable: true,
|
|
404
|
-
get: function () { return
|
|
408
|
+
get: function () { return chunkLT7FQ7BT_cjs.readAgencyInviteCookie; }
|
|
405
409
|
});
|
|
406
410
|
Object.defineProperty(exports, "readAgencyInviteToken", {
|
|
407
411
|
enumerable: true,
|
|
408
|
-
get: function () { return
|
|
412
|
+
get: function () { return chunkLT7FQ7BT_cjs.readAgencyInviteToken; }
|
|
409
413
|
});
|
|
410
414
|
Object.defineProperty(exports, "redactAgencyInviteToken", {
|
|
411
415
|
enumerable: true,
|
|
412
|
-
get: function () { return
|
|
416
|
+
get: function () { return chunkLT7FQ7BT_cjs.redactAgencyInviteToken; }
|
|
413
417
|
});
|
|
414
418
|
Object.defineProperty(exports, "retrieveCodeVerifier", {
|
|
415
419
|
enumerable: true,
|
|
416
|
-
get: function () { return
|
|
420
|
+
get: function () { return chunkLT7FQ7BT_cjs.retrieveCodeVerifier; }
|
|
417
421
|
});
|
|
418
422
|
Object.defineProperty(exports, "retrieveState", {
|
|
419
423
|
enumerable: true,
|
|
420
|
-
get: function () { return
|
|
424
|
+
get: function () { return chunkLT7FQ7BT_cjs.retrieveState; }
|
|
421
425
|
});
|
|
422
426
|
Object.defineProperty(exports, "sha256Hex", {
|
|
423
427
|
enumerable: true,
|
|
424
|
-
get: function () { return
|
|
428
|
+
get: function () { return chunkLT7FQ7BT_cjs.sha256Hex; }
|
|
425
429
|
});
|
|
426
430
|
Object.defineProperty(exports, "storeCodeVerifier", {
|
|
427
431
|
enumerable: true,
|
|
428
|
-
get: function () { return
|
|
432
|
+
get: function () { return chunkLT7FQ7BT_cjs.storeCodeVerifier; }
|
|
429
433
|
});
|
|
430
434
|
Object.defineProperty(exports, "storeState", {
|
|
431
435
|
enumerable: true,
|
|
432
|
-
get: function () { return
|
|
436
|
+
get: function () { return chunkLT7FQ7BT_cjs.storeState; }
|
|
433
437
|
});
|
|
434
438
|
Object.defineProperty(exports, "useFFID", {
|
|
435
439
|
enumerable: true,
|
|
436
|
-
get: function () { return
|
|
440
|
+
get: function () { return chunkLT7FQ7BT_cjs.useFFID; }
|
|
437
441
|
});
|
|
438
442
|
Object.defineProperty(exports, "useFFIDAnnouncements", {
|
|
439
443
|
enumerable: true,
|
|
440
|
-
get: function () { return
|
|
444
|
+
get: function () { return chunkLT7FQ7BT_cjs.useFFIDAnnouncements; }
|
|
441
445
|
});
|
|
442
446
|
Object.defineProperty(exports, "useSubscription", {
|
|
443
447
|
enumerable: true,
|
|
444
|
-
get: function () { return
|
|
448
|
+
get: function () { return chunkLT7FQ7BT_cjs.useSubscription; }
|
|
445
449
|
});
|
|
446
450
|
Object.defineProperty(exports, "validatePublishedCatalog", {
|
|
447
451
|
enumerable: true,
|
|
448
|
-
get: function () { return
|
|
452
|
+
get: function () { return chunkLT7FQ7BT_cjs.validatePublishedCatalog; }
|
|
449
453
|
});
|
|
450
454
|
Object.defineProperty(exports, "withSubscription", {
|
|
451
455
|
enumerable: true,
|
|
452
|
-
get: function () { return
|
|
456
|
+
get: function () { return chunkLT7FQ7BT_cjs.withSubscription; }
|
|
453
457
|
});
|
|
454
458
|
Object.defineProperty(exports, "ALL_DENIED_EXCEPT_NECESSARY", {
|
|
455
459
|
enumerable: true,
|
|
@@ -531,8 +535,6 @@ Object.defineProperty(exports, "writeConsentDismissalTimestamp", {
|
|
|
531
535
|
enumerable: true,
|
|
532
536
|
get: function () { return chunkRZCQ22GH_cjs.writeConsentDismissalTimestamp; }
|
|
533
537
|
});
|
|
534
|
-
exports.FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS = FFID_NEWSLETTER_DISPATCH_MAX_RECIPIENTS;
|
|
535
|
-
exports.FFID_NEWSLETTER_TYPES = FFID_NEWSLETTER_TYPES;
|
|
536
538
|
exports.createKVCacheAdapter = createKVCacheAdapter;
|
|
537
539
|
exports.createMemoryCacheAdapter = createMemoryCacheAdapter;
|
|
538
540
|
exports.useRequireActiveSubscription = useRequireActiveSubscription;
|
package/dist/index.d.cts
CHANGED
|
@@ -1578,7 +1578,7 @@ declare function createFFIDClient(config: FFIDConfig): {
|
|
|
1578
1578
|
}) => Promise<FFIDApiResponse<FFIDOtpVerifyResponse>>;
|
|
1579
1579
|
/** Newsletter methods (subscribe / confirm / unsubscribe) */
|
|
1580
1580
|
newsletter: {
|
|
1581
|
-
subscribe: (params: FFIDNewsletterSubscribeParams) => Promise<FFIDApiResponse<FFIDNewsletterSubscribeResponse>>;
|
|
1581
|
+
subscribe: (params: FFIDNewsletterSubscribeParams, options?: FFIDNewsletterSubscribeOptions) => Promise<FFIDApiResponse<FFIDNewsletterSubscribeResponse>>;
|
|
1582
1582
|
confirm: (params: FFIDNewsletterConfirmParams) => Promise<FFIDApiResponse<FFIDNewsletterConfirmResponse>>;
|
|
1583
1583
|
unsubscribe: (params: FFIDNewsletterUnsubscribeParams) => Promise<FFIDApiResponse<FFIDNewsletterUnsubscribeResponse>>;
|
|
1584
1584
|
dispatch: (params: FFIDNewsletterDispatchParams) => Promise<FFIDApiResponse<FFIDNewsletterDispatchResponse>>;
|
|
@@ -2886,7 +2886,7 @@ type FFIDAnnouncementsClient = ReturnType<typeof createFFIDAnnouncementsClient>;
|
|
|
2886
2886
|
* Newsletter types exposed by the FFID SDK.
|
|
2887
2887
|
*
|
|
2888
2888
|
* 2-layer newsletter model (#2078):
|
|
2889
|
-
* - `inquiry_followup`:
|
|
2889
|
+
* - `inquiry_followup`: 資料請求・お問い合わせ後のご案内 (Type A)
|
|
2890
2890
|
* - `general`: 定期ニュースレター (Type B)
|
|
2891
2891
|
*
|
|
2892
2892
|
* FFID account holders' preferences live in `user_marketing_preferences`;
|
|
@@ -2905,6 +2905,12 @@ interface FFIDNewsletterSubscribeParams {
|
|
|
2905
2905
|
/** ISO 639-1 locale (e.g. 'ja', 'en') */
|
|
2906
2906
|
locale?: string;
|
|
2907
2907
|
}
|
|
2908
|
+
interface FFIDNewsletterSubscribeOptions {
|
|
2909
|
+
/** UUID for one intentional registration. Reuse unchanged across retries;
|
|
2910
|
+
* create a new key when the registration changes or a new request is intended.
|
|
2911
|
+
* Transport-only: sent as Idempotency-Key, never added to the consent body. */
|
|
2912
|
+
idempotencyKey?: string | undefined;
|
|
2913
|
+
}
|
|
2908
2914
|
interface FFIDNewsletterSubscribeResponse {
|
|
2909
2915
|
ok: true;
|
|
2910
2916
|
/** True when a double opt-in confirmation email was sent */
|
|
@@ -2912,6 +2918,11 @@ interface FFIDNewsletterSubscribeResponse {
|
|
|
2912
2918
|
/** True when the email matched an existing FFID account; the caller
|
|
2913
2919
|
* must sign in to update preferences. Preferences are NOT modified. */
|
|
2914
2920
|
requiresSignIn: boolean;
|
|
2921
|
+
/** True when confirmation could not be sent; subscription is still pending.
|
|
2922
|
+
* This flag does not promise an automatic resend. */
|
|
2923
|
+
confirmationEmailPending: boolean;
|
|
2924
|
+
/** Present only when the independent owner acknowledged a durable registration intent. */
|
|
2925
|
+
requestId?: string | undefined;
|
|
2915
2926
|
}
|
|
2916
2927
|
interface FFIDNewsletterConfirmParams {
|
|
2917
2928
|
/** Confirmation token received in the double opt-in email */
|
|
@@ -2923,6 +2934,8 @@ interface FFIDNewsletterConfirmResponse {
|
|
|
2923
2934
|
interface FFIDNewsletterUnsubscribeParams {
|
|
2924
2935
|
/** Unsubscribe token received in the newsletter footer / List-Unsubscribe header */
|
|
2925
2936
|
token: string;
|
|
2937
|
+
/** Stop only the selected purpose. Omission preserves legacy all-purpose links. */
|
|
2938
|
+
type?: FFIDNewsletterType | undefined;
|
|
2926
2939
|
}
|
|
2927
2940
|
interface FFIDNewsletterUnsubscribeResponse {
|
|
2928
2941
|
ok: true;
|
|
@@ -2972,7 +2985,7 @@ interface NewsletterMethodsDeps {
|
|
|
2972
2985
|
createError: (code: string, message: string) => FFIDError;
|
|
2973
2986
|
}
|
|
2974
2987
|
declare function createNewsletterMethods(deps: NewsletterMethodsDeps): {
|
|
2975
|
-
subscribe: (params: FFIDNewsletterSubscribeParams) => Promise<FFIDApiResponse<FFIDNewsletterSubscribeResponse>>;
|
|
2988
|
+
subscribe: (params: FFIDNewsletterSubscribeParams, options?: FFIDNewsletterSubscribeOptions) => Promise<FFIDApiResponse<FFIDNewsletterSubscribeResponse>>;
|
|
2976
2989
|
confirm: (params: FFIDNewsletterConfirmParams) => Promise<FFIDApiResponse<FFIDNewsletterConfirmResponse>>;
|
|
2977
2990
|
unsubscribe: (params: FFIDNewsletterUnsubscribeParams) => Promise<FFIDApiResponse<FFIDNewsletterUnsubscribeResponse>>;
|
|
2978
2991
|
dispatch: (params: FFIDNewsletterDispatchParams) => Promise<FFIDApiResponse<FFIDNewsletterDispatchResponse>>;
|
|
@@ -2990,4 +3003,4 @@ declare function createInquiryMethods(deps: InquiryMethodsDeps): {
|
|
|
2990
3003
|
};
|
|
2991
3004
|
type FFIDInquiryClient = ReturnType<typeof createInquiryMethods>;
|
|
2992
3005
|
|
|
2993
|
-
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 };
|
|
3006
|
+
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 FFIDNewsletterSubscribeOptions, 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 };
|