@feelflow/ffid-sdk 5.2.3 → 5.3.1

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.
@@ -1,258 +1,258 @@
1
1
  'use strict';
2
2
 
3
- var chunk3NSKF6TB_cjs = require('../chunk-3NSKF6TB.cjs');
3
+ var chunkQZN4WZCV_cjs = require('../chunk-QZN4WZCV.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "ALL_DENIED_EXCEPT_NECESSARY", {
8
8
  enumerable: true,
9
- get: function () { return chunk3NSKF6TB_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
9
+ get: function () { return chunkQZN4WZCV_cjs.ALL_DENIED_EXCEPT_NECESSARY; }
10
10
  });
11
11
  Object.defineProperty(exports, "CONSENT_COOKIE_MAX_AGE_SEC", {
12
12
  enumerable: true,
13
- get: function () { return chunk3NSKF6TB_cjs.CONSENT_COOKIE_MAX_AGE_SEC; }
13
+ get: function () { return chunkQZN4WZCV_cjs.CONSENT_COOKIE_MAX_AGE_SEC; }
14
14
  });
15
15
  Object.defineProperty(exports, "CONSENT_COOKIE_NAME", {
16
16
  enumerable: true,
17
- get: function () { return chunk3NSKF6TB_cjs.CONSENT_COOKIE_NAME; }
17
+ get: function () { return chunkQZN4WZCV_cjs.CONSENT_COOKIE_NAME; }
18
18
  });
19
19
  Object.defineProperty(exports, "CONSENT_DISMISSAL_TIMESTAMP_KEY", {
20
20
  enumerable: true,
21
- get: function () { return chunk3NSKF6TB_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
21
+ get: function () { return chunkQZN4WZCV_cjs.CONSENT_DISMISSAL_TIMESTAMP_KEY; }
22
22
  });
23
23
  Object.defineProperty(exports, "CONSENT_SESSION_STORAGE_KEY", {
24
24
  enumerable: true,
25
- get: function () { return chunk3NSKF6TB_cjs.CONSENT_SESSION_STORAGE_KEY; }
25
+ get: function () { return chunkQZN4WZCV_cjs.CONSENT_SESSION_STORAGE_KEY; }
26
26
  });
27
27
  Object.defineProperty(exports, "COOKIE_VERSION", {
28
28
  enumerable: true,
29
- get: function () { return chunk3NSKF6TB_cjs.COOKIE_VERSION; }
29
+ get: function () { return chunkQZN4WZCV_cjs.COOKIE_VERSION; }
30
30
  });
31
31
  Object.defineProperty(exports, "DEFAULT_CONSENT_ERROR_MESSAGES", {
32
32
  enumerable: true,
33
- get: function () { return chunk3NSKF6TB_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
33
+ get: function () { return chunkQZN4WZCV_cjs.DEFAULT_CONSENT_ERROR_MESSAGES; }
34
34
  });
35
35
  Object.defineProperty(exports, "DEFAULT_MERGE_WARNING_MESSAGES", {
36
36
  enumerable: true,
37
- get: function () { return chunk3NSKF6TB_cjs.DEFAULT_MERGE_WARNING_MESSAGES; }
37
+ get: function () { return chunkQZN4WZCV_cjs.DEFAULT_MERGE_WARNING_MESSAGES; }
38
38
  });
39
39
  Object.defineProperty(exports, "DEVICE_ID_LOCAL_STORAGE_KEY", {
40
40
  enumerable: true,
41
- get: function () { return chunk3NSKF6TB_cjs.DEVICE_ID_LOCAL_STORAGE_KEY; }
41
+ get: function () { return chunkQZN4WZCV_cjs.DEVICE_ID_LOCAL_STORAGE_KEY; }
42
42
  });
43
43
  Object.defineProperty(exports, "DEVICE_ID_SESSION_STORAGE_KEY", {
44
44
  enumerable: true,
45
- get: function () { return chunk3NSKF6TB_cjs.DEVICE_ID_SESSION_STORAGE_KEY; }
45
+ get: function () { return chunkQZN4WZCV_cjs.DEVICE_ID_SESSION_STORAGE_KEY; }
46
46
  });
47
47
  Object.defineProperty(exports, "DeviceIdSchema", {
48
48
  enumerable: true,
49
- get: function () { return chunk3NSKF6TB_cjs.DeviceIdSchema; }
49
+ get: function () { return chunkQZN4WZCV_cjs.DeviceIdSchema; }
50
50
  });
51
51
  Object.defineProperty(exports, "FFIDAnalyticsProvider", {
52
52
  enumerable: true,
53
- get: function () { return chunk3NSKF6TB_cjs.FFIDAnalyticsProvider; }
53
+ get: function () { return chunkQZN4WZCV_cjs.FFIDAnalyticsProvider; }
54
54
  });
55
55
  Object.defineProperty(exports, "FFIDConsentCategoriesSchema", {
56
56
  enumerable: true,
57
- get: function () { return chunk3NSKF6TB_cjs.FFIDConsentCategoriesSchema; }
57
+ get: function () { return chunkQZN4WZCV_cjs.FFIDConsentCategoriesSchema; }
58
58
  });
59
59
  Object.defineProperty(exports, "FFIDConsentCategoryCodeSchema", {
60
60
  enumerable: true,
61
- get: function () { return chunk3NSKF6TB_cjs.FFIDConsentCategoryCodeSchema; }
61
+ get: function () { return chunkQZN4WZCV_cjs.FFIDConsentCategoryCodeSchema; }
62
62
  });
63
63
  Object.defineProperty(exports, "FFIDConsentCategoryMetadataSchema", {
64
64
  enumerable: true,
65
- get: function () { return chunk3NSKF6TB_cjs.FFIDConsentCategoryMetadataSchema; }
65
+ get: function () { return chunkQZN4WZCV_cjs.FFIDConsentCategoryMetadataSchema; }
66
66
  });
67
67
  Object.defineProperty(exports, "FFIDConsentContext", {
68
68
  enumerable: true,
69
- get: function () { return chunk3NSKF6TB_cjs.FFIDConsentContext; }
69
+ get: function () { return chunkQZN4WZCV_cjs.FFIDConsentContext; }
70
70
  });
71
71
  Object.defineProperty(exports, "FFIDConsentError", {
72
72
  enumerable: true,
73
- get: function () { return chunk3NSKF6TB_cjs.FFIDConsentError; }
73
+ get: function () { return chunkQZN4WZCV_cjs.FFIDConsentError; }
74
74
  });
75
75
  Object.defineProperty(exports, "FFIDConsentMergeStrategySchema", {
76
76
  enumerable: true,
77
- get: function () { return chunk3NSKF6TB_cjs.FFIDConsentMergeStrategySchema; }
77
+ get: function () { return chunkQZN4WZCV_cjs.FFIDConsentMergeStrategySchema; }
78
78
  });
79
79
  Object.defineProperty(exports, "FFIDConsentMergeWarningSchema", {
80
80
  enumerable: true,
81
- get: function () { return chunk3NSKF6TB_cjs.FFIDConsentMergeWarningSchema; }
81
+ get: function () { return chunkQZN4WZCV_cjs.FFIDConsentMergeWarningSchema; }
82
82
  });
83
83
  Object.defineProperty(exports, "FFIDConsentSourceSchema", {
84
84
  enumerable: true,
85
- get: function () { return chunk3NSKF6TB_cjs.FFIDConsentSourceSchema; }
85
+ get: function () { return chunkQZN4WZCV_cjs.FFIDConsentSourceSchema; }
86
86
  });
87
87
  Object.defineProperty(exports, "FFIDConsentStateSchema", {
88
88
  enumerable: true,
89
- get: function () { return chunk3NSKF6TB_cjs.FFIDConsentStateSchema; }
89
+ get: function () { return chunkQZN4WZCV_cjs.FFIDConsentStateSchema; }
90
90
  });
91
91
  Object.defineProperty(exports, "FFIDConsentUpdateSchema", {
92
92
  enumerable: true,
93
- get: function () { return chunk3NSKF6TB_cjs.FFIDConsentUpdateSchema; }
93
+ get: function () { return chunkQZN4WZCV_cjs.FFIDConsentUpdateSchema; }
94
94
  });
95
95
  Object.defineProperty(exports, "FFIDCookieBanner", {
96
96
  enumerable: true,
97
- get: function () { return chunk3NSKF6TB_cjs.FFIDCookieBanner; }
97
+ get: function () { return chunkQZN4WZCV_cjs.FFIDCookieBanner; }
98
98
  });
99
99
  Object.defineProperty(exports, "FFIDCookieLink", {
100
100
  enumerable: true,
101
- get: function () { return chunk3NSKF6TB_cjs.FFIDCookieLink; }
101
+ get: function () { return chunkQZN4WZCV_cjs.FFIDCookieLink; }
102
102
  });
103
103
  Object.defineProperty(exports, "FFIDCookiePolicySchema", {
104
104
  enumerable: true,
105
- get: function () { return chunk3NSKF6TB_cjs.FFIDCookiePolicySchema; }
105
+ get: function () { return chunkQZN4WZCV_cjs.FFIDCookiePolicySchema; }
106
106
  });
107
107
  Object.defineProperty(exports, "FFIDCookieSettings", {
108
108
  enumerable: true,
109
- get: function () { return chunk3NSKF6TB_cjs.FFIDCookieSettings; }
109
+ get: function () { return chunkQZN4WZCV_cjs.FFIDCookieSettings; }
110
110
  });
111
111
  Object.defineProperty(exports, "FFIDInternalConsentSourceSchema", {
112
112
  enumerable: true,
113
- get: function () { return chunk3NSKF6TB_cjs.FFIDInternalConsentSourceSchema; }
113
+ get: function () { return chunkQZN4WZCV_cjs.FFIDInternalConsentSourceSchema; }
114
114
  });
115
115
  Object.defineProperty(exports, "FFIDPublicConsentSourceSchema", {
116
116
  enumerable: true,
117
- get: function () { return chunk3NSKF6TB_cjs.FFIDPublicConsentSourceSchema; }
117
+ get: function () { return chunkQZN4WZCV_cjs.FFIDPublicConsentSourceSchema; }
118
118
  });
119
119
  Object.defineProperty(exports, "FFID_CONSENT_ERROR_CODES", {
120
120
  enumerable: true,
121
- get: function () { return chunk3NSKF6TB_cjs.FFID_CONSENT_ERROR_CODES; }
121
+ get: function () { return chunkQZN4WZCV_cjs.FFID_CONSENT_ERROR_CODES; }
122
122
  });
123
123
  Object.defineProperty(exports, "FFID_CONSENT_NOT_DECIDED_STATE", {
124
124
  enumerable: true,
125
- get: function () { return chunk3NSKF6TB_cjs.FFID_CONSENT_NOT_DECIDED_STATE; }
125
+ get: function () { return chunkQZN4WZCV_cjs.FFID_CONSENT_NOT_DECIDED_STATE; }
126
126
  });
127
127
  Object.defineProperty(exports, "GetCategoriesWireSchema", {
128
128
  enumerable: true,
129
- get: function () { return chunk3NSKF6TB_cjs.GetCategoriesWireSchema; }
129
+ get: function () { return chunkQZN4WZCV_cjs.GetCategoriesWireSchema; }
130
130
  });
131
131
  Object.defineProperty(exports, "GetConsentMeWireSchema", {
132
132
  enumerable: true,
133
- get: function () { return chunk3NSKF6TB_cjs.GetConsentMeWireSchema; }
133
+ get: function () { return chunkQZN4WZCV_cjs.GetConsentMeWireSchema; }
134
134
  });
135
135
  Object.defineProperty(exports, "GetDocumentWireSchema", {
136
136
  enumerable: true,
137
- get: function () { return chunk3NSKF6TB_cjs.GetDocumentWireSchema; }
137
+ get: function () { return chunkQZN4WZCV_cjs.GetDocumentWireSchema; }
138
138
  });
139
139
  Object.defineProperty(exports, "PostConsentRequestSchema", {
140
140
  enumerable: true,
141
- get: function () { return chunk3NSKF6TB_cjs.PostConsentRequestSchema; }
141
+ get: function () { return chunkQZN4WZCV_cjs.PostConsentRequestSchema; }
142
142
  });
143
143
  Object.defineProperty(exports, "PostConsentWireSchema", {
144
144
  enumerable: true,
145
- get: function () { return chunk3NSKF6TB_cjs.PostConsentWireSchema; }
145
+ get: function () { return chunkQZN4WZCV_cjs.PostConsentWireSchema; }
146
146
  });
147
147
  Object.defineProperty(exports, "PostSyncRequestSchema", {
148
148
  enumerable: true,
149
- get: function () { return chunk3NSKF6TB_cjs.PostSyncRequestSchema; }
149
+ get: function () { return chunkQZN4WZCV_cjs.PostSyncRequestSchema; }
150
150
  });
151
151
  Object.defineProperty(exports, "PostSyncWireSchema", {
152
152
  enumerable: true,
153
- get: function () { return chunk3NSKF6TB_cjs.PostSyncWireSchema; }
153
+ get: function () { return chunkQZN4WZCV_cjs.PostSyncWireSchema; }
154
154
  });
155
155
  Object.defineProperty(exports, "PostWithdrawWireSchema", {
156
156
  enumerable: true,
157
- get: function () { return chunk3NSKF6TB_cjs.PostWithdrawWireSchema; }
157
+ get: function () { return chunkQZN4WZCV_cjs.PostWithdrawWireSchema; }
158
158
  });
159
159
  Object.defineProperty(exports, "clearConsentDismissalTimestamp", {
160
160
  enumerable: true,
161
- get: function () { return chunk3NSKF6TB_cjs.clearConsentDismissalTimestamp; }
161
+ get: function () { return chunkQZN4WZCV_cjs.clearConsentDismissalTimestamp; }
162
162
  });
163
163
  Object.defineProperty(exports, "clearConsentSessionMirror", {
164
164
  enumerable: true,
165
- get: function () { return chunk3NSKF6TB_cjs.clearConsentSessionMirror; }
165
+ get: function () { return chunkQZN4WZCV_cjs.clearConsentSessionMirror; }
166
166
  });
167
167
  Object.defineProperty(exports, "clearDeviceId", {
168
168
  enumerable: true,
169
- get: function () { return chunk3NSKF6TB_cjs.clearDeviceId; }
169
+ get: function () { return chunkQZN4WZCV_cjs.clearDeviceId; }
170
170
  });
171
171
  Object.defineProperty(exports, "createConsentClient", {
172
172
  enumerable: true,
173
- get: function () { return chunk3NSKF6TB_cjs.createConsentClient; }
173
+ get: function () { return chunkQZN4WZCV_cjs.createConsentClient; }
174
174
  });
175
175
  Object.defineProperty(exports, "createGtagBridge", {
176
176
  enumerable: true,
177
- get: function () { return chunk3NSKF6TB_cjs.createGtagBridge; }
177
+ get: function () { return chunkQZN4WZCV_cjs.createGtagBridge; }
178
178
  });
179
179
  Object.defineProperty(exports, "decodeConsentCookie", {
180
180
  enumerable: true,
181
- get: function () { return chunk3NSKF6TB_cjs.decodeConsentCookie; }
181
+ get: function () { return chunkQZN4WZCV_cjs.decodeConsentCookie; }
182
182
  });
183
183
  Object.defineProperty(exports, "deleteConsentCookie", {
184
184
  enumerable: true,
185
- get: function () { return chunk3NSKF6TB_cjs.deleteConsentCookie; }
185
+ get: function () { return chunkQZN4WZCV_cjs.deleteConsentCookie; }
186
186
  });
187
187
  Object.defineProperty(exports, "encodeConsentCookie", {
188
188
  enumerable: true,
189
- get: function () { return chunk3NSKF6TB_cjs.encodeConsentCookie; }
189
+ get: function () { return chunkQZN4WZCV_cjs.encodeConsentCookie; }
190
190
  });
191
191
  Object.defineProperty(exports, "generateDeviceId", {
192
192
  enumerable: true,
193
- get: function () { return chunk3NSKF6TB_cjs.generateDeviceId; }
193
+ get: function () { return chunkQZN4WZCV_cjs.generateDeviceId; }
194
194
  });
195
195
  Object.defineProperty(exports, "getOrCreateDeviceId", {
196
196
  enumerable: true,
197
- get: function () { return chunk3NSKF6TB_cjs.getOrCreateDeviceId; }
197
+ get: function () { return chunkQZN4WZCV_cjs.getOrCreateDeviceId; }
198
198
  });
199
199
  Object.defineProperty(exports, "isUuidV7", {
200
200
  enumerable: true,
201
- get: function () { return chunk3NSKF6TB_cjs.isUuidV7; }
201
+ get: function () { return chunkQZN4WZCV_cjs.isUuidV7; }
202
202
  });
203
203
  Object.defineProperty(exports, "isValidDeviceId", {
204
204
  enumerable: true,
205
- get: function () { return chunk3NSKF6TB_cjs.isValidDeviceId; }
205
+ get: function () { return chunkQZN4WZCV_cjs.isValidDeviceId; }
206
206
  });
207
207
  Object.defineProperty(exports, "mapCategoriesToGtagParams", {
208
208
  enumerable: true,
209
- get: function () { return chunk3NSKF6TB_cjs.mapCategoriesToGtagParams; }
209
+ get: function () { return chunkQZN4WZCV_cjs.mapCategoriesToGtagParams; }
210
210
  });
211
211
  Object.defineProperty(exports, "mapConsentWireToState", {
212
212
  enumerable: true,
213
- get: function () { return chunk3NSKF6TB_cjs.mapConsentWireToState; }
213
+ get: function () { return chunkQZN4WZCV_cjs.mapConsentWireToState; }
214
214
  });
215
215
  Object.defineProperty(exports, "mapMeWireToState", {
216
216
  enumerable: true,
217
- get: function () { return chunk3NSKF6TB_cjs.mapMeWireToState; }
217
+ get: function () { return chunkQZN4WZCV_cjs.mapMeWireToState; }
218
218
  });
219
219
  Object.defineProperty(exports, "mapSyncWireToResult", {
220
220
  enumerable: true,
221
- get: function () { return chunk3NSKF6TB_cjs.mapSyncWireToResult; }
221
+ get: function () { return chunkQZN4WZCV_cjs.mapSyncWireToResult; }
222
222
  });
223
223
  Object.defineProperty(exports, "mapWithdrawWireToState", {
224
224
  enumerable: true,
225
- get: function () { return chunk3NSKF6TB_cjs.mapWithdrawWireToState; }
225
+ get: function () { return chunkQZN4WZCV_cjs.mapWithdrawWireToState; }
226
226
  });
227
227
  Object.defineProperty(exports, "readConsentCookie", {
228
228
  enumerable: true,
229
- get: function () { return chunk3NSKF6TB_cjs.readConsentCookie; }
229
+ get: function () { return chunkQZN4WZCV_cjs.readConsentCookie; }
230
230
  });
231
231
  Object.defineProperty(exports, "readConsentDismissalTimestamp", {
232
232
  enumerable: true,
233
- get: function () { return chunk3NSKF6TB_cjs.readConsentDismissalTimestamp; }
233
+ get: function () { return chunkQZN4WZCV_cjs.readConsentDismissalTimestamp; }
234
234
  });
235
235
  Object.defineProperty(exports, "readConsentSessionMirror", {
236
236
  enumerable: true,
237
- get: function () { return chunk3NSKF6TB_cjs.readConsentSessionMirror; }
237
+ get: function () { return chunkQZN4WZCV_cjs.readConsentSessionMirror; }
238
238
  });
239
239
  Object.defineProperty(exports, "useFFIDConsent", {
240
240
  enumerable: true,
241
- get: function () { return chunk3NSKF6TB_cjs.useFFIDConsent; }
241
+ get: function () { return chunkQZN4WZCV_cjs.useFFIDConsent; }
242
242
  });
243
243
  Object.defineProperty(exports, "useFFIDConsentPreferences", {
244
244
  enumerable: true,
245
- get: function () { return chunk3NSKF6TB_cjs.useFFIDConsentPreferences; }
245
+ get: function () { return chunkQZN4WZCV_cjs.useFFIDConsentPreferences; }
246
246
  });
247
247
  Object.defineProperty(exports, "writeConsentCookie", {
248
248
  enumerable: true,
249
- get: function () { return chunk3NSKF6TB_cjs.writeConsentCookie; }
249
+ get: function () { return chunkQZN4WZCV_cjs.writeConsentCookie; }
250
250
  });
251
251
  Object.defineProperty(exports, "writeConsentDismissalTimestamp", {
252
252
  enumerable: true,
253
- get: function () { return chunk3NSKF6TB_cjs.writeConsentDismissalTimestamp; }
253
+ get: function () { return chunkQZN4WZCV_cjs.writeConsentDismissalTimestamp; }
254
254
  });
255
255
  Object.defineProperty(exports, "writeConsentSessionMirror", {
256
256
  enumerable: true,
257
- get: function () { return chunk3NSKF6TB_cjs.writeConsentSessionMirror; }
257
+ get: function () { return chunkQZN4WZCV_cjs.writeConsentSessionMirror; }
258
258
  });
@@ -1 +1 @@
1
- export { ALL_DENIED_EXCEPT_NECESSARY, CONSENT_COOKIE_MAX_AGE_SEC, CONSENT_COOKIE_NAME, CONSENT_DISMISSAL_TIMESTAMP_KEY, CONSENT_SESSION_STORAGE_KEY, COOKIE_VERSION, DEFAULT_CONSENT_ERROR_MESSAGES, DEFAULT_MERGE_WARNING_MESSAGES, DEVICE_ID_LOCAL_STORAGE_KEY, DEVICE_ID_SESSION_STORAGE_KEY, DeviceIdSchema, FFIDAnalyticsProvider, FFIDConsentCategoriesSchema, FFIDConsentCategoryCodeSchema, FFIDConsentCategoryMetadataSchema, FFIDConsentContext, FFIDConsentError, FFIDConsentMergeStrategySchema, FFIDConsentMergeWarningSchema, FFIDConsentSourceSchema, FFIDConsentStateSchema, FFIDConsentUpdateSchema, FFIDCookieBanner, FFIDCookieLink, FFIDCookiePolicySchema, FFIDCookieSettings, FFIDInternalConsentSourceSchema, FFIDPublicConsentSourceSchema, FFID_CONSENT_ERROR_CODES, FFID_CONSENT_NOT_DECIDED_STATE, GetCategoriesWireSchema, GetConsentMeWireSchema, GetDocumentWireSchema, PostConsentRequestSchema, PostConsentWireSchema, PostSyncRequestSchema, PostSyncWireSchema, PostWithdrawWireSchema, clearConsentDismissalTimestamp, clearConsentSessionMirror, clearDeviceId, createConsentClient, createGtagBridge, decodeConsentCookie, deleteConsentCookie, encodeConsentCookie, generateDeviceId, getOrCreateDeviceId, isUuidV7, isValidDeviceId, mapCategoriesToGtagParams, mapConsentWireToState, mapMeWireToState, mapSyncWireToResult, mapWithdrawWireToState, readConsentCookie, readConsentDismissalTimestamp, readConsentSessionMirror, useFFIDConsent, useFFIDConsentPreferences, writeConsentCookie, writeConsentDismissalTimestamp, writeConsentSessionMirror } from '../chunk-HF3BM6K6.js';
1
+ export { ALL_DENIED_EXCEPT_NECESSARY, CONSENT_COOKIE_MAX_AGE_SEC, CONSENT_COOKIE_NAME, CONSENT_DISMISSAL_TIMESTAMP_KEY, CONSENT_SESSION_STORAGE_KEY, COOKIE_VERSION, DEFAULT_CONSENT_ERROR_MESSAGES, DEFAULT_MERGE_WARNING_MESSAGES, DEVICE_ID_LOCAL_STORAGE_KEY, DEVICE_ID_SESSION_STORAGE_KEY, DeviceIdSchema, FFIDAnalyticsProvider, FFIDConsentCategoriesSchema, FFIDConsentCategoryCodeSchema, FFIDConsentCategoryMetadataSchema, FFIDConsentContext, FFIDConsentError, FFIDConsentMergeStrategySchema, FFIDConsentMergeWarningSchema, FFIDConsentSourceSchema, FFIDConsentStateSchema, FFIDConsentUpdateSchema, FFIDCookieBanner, FFIDCookieLink, FFIDCookiePolicySchema, FFIDCookieSettings, FFIDInternalConsentSourceSchema, FFIDPublicConsentSourceSchema, FFID_CONSENT_ERROR_CODES, FFID_CONSENT_NOT_DECIDED_STATE, GetCategoriesWireSchema, GetConsentMeWireSchema, GetDocumentWireSchema, PostConsentRequestSchema, PostConsentWireSchema, PostSyncRequestSchema, PostSyncWireSchema, PostWithdrawWireSchema, clearConsentDismissalTimestamp, clearConsentSessionMirror, clearDeviceId, createConsentClient, createGtagBridge, decodeConsentCookie, deleteConsentCookie, encodeConsentCookie, generateDeviceId, getOrCreateDeviceId, isUuidV7, isValidDeviceId, mapCategoriesToGtagParams, mapConsentWireToState, mapMeWireToState, mapSyncWireToResult, mapWithdrawWireToState, readConsentCookie, readConsentDismissalTimestamp, readConsentSessionMirror, useFFIDConsent, useFFIDConsentPreferences, writeConsentCookie, writeConsentDismissalTimestamp, writeConsentSessionMirror } from '../chunk-IVKFKMLQ.js';
@@ -674,13 +674,27 @@ interface FFIDSubscription {
674
674
  interface FFIDOAuthUserInfoSubscription {
675
675
  subscriptionId: string | null;
676
676
  status: FFIDSubscriptionStatus | null;
677
+ /**
678
+ * Access-control-oriented effective status (since SDK 5.3.0 / FFID #3353).
679
+ *
680
+ * Mirrors `computeEffectiveStatus` on FFID so external callers can branch on
681
+ * a single value without re-implementing grace-period math. Will be `null`
682
+ * when serving an older FFID that does not populate the field.
683
+ */
684
+ effectiveStatus: EffectiveSubscriptionStatus | null;
677
685
  planCode: string | null;
678
686
  seatModel: FFIDSeatModel | null;
679
687
  memberRole: FFIDOAuthUserInfoMemberRole | null;
680
688
  organizationId: string | null;
681
689
  hasSeatAssignment: boolean | null;
682
690
  }
683
- /** OAuth userinfo response exposed by FFID */
691
+ /**
692
+ * Unified user-identity shape returned by `getSession()` (→ `/oauth/userinfo`)
693
+ * and `verifyAccessToken()` (JWT or introspect path). `subscription` and
694
+ * `organizationId` are scope-gated on `/oauth/userinfo` (FFID #3380, requires
695
+ * `subscription:read`); JWT-verify additionally omits `subscription` always.
696
+ * See per-field JSDoc — misreading `undefined` is a security regression.
697
+ */
684
698
  interface FFIDOAuthUserInfo {
685
699
  sub: string;
686
700
  email: string | null;
@@ -690,7 +704,28 @@ interface FFIDOAuthUserInfo {
690
704
  department?: string | null | undefined;
691
705
  position?: string | null | undefined;
692
706
  phoneNumber?: string | null | undefined;
707
+ /**
708
+ * Organization UUID, `null` if token is not org-bound, or `undefined` if the
709
+ * granted scope omits `subscription:read` (FFID #3380; widen scope to receive
710
+ * — NOT "no organization").
711
+ */
693
712
  organizationId?: string | null | undefined;
713
+ /**
714
+ * Subscription summary for `(user, service, organization)`. Branch on
715
+ * `effectiveStatus` (5.3.0+) for access decisions.
716
+ *
717
+ * `undefined` here means either (a) `/oauth/userinfo` granted scope omits
718
+ * `subscription:read` (FFID #3380), or (b) caller used `verifyAccessToken`
719
+ * with `verifyStrategy: 'jwt'` (and no `includeProfile: true`) — JWT payload
720
+ * does not carry subscription claims. NEITHER means "no contract":
721
+ * contractless users hit HTTP 403 upstream and never reach this field.
722
+ * Treating `undefined` as "no contract" is a **security regression** that
723
+ * would grant non-paying UX to a paying user. `DEFAULT_OAUTH_SCOPES` grants
724
+ * `subscription:read`; narrow-scope or jwt-only callers should branch
725
+ * explicitly instead of `userinfo.subscription!`.
726
+ *
727
+ * @see {@link FFIDOAuthUserInfoSubscription.effectiveStatus}
728
+ */
694
729
  subscription?: FFIDOAuthUserInfoSubscription | undefined;
695
730
  }
696
731
  /** Options for verifyAccessToken */
@@ -674,13 +674,27 @@ interface FFIDSubscription {
674
674
  interface FFIDOAuthUserInfoSubscription {
675
675
  subscriptionId: string | null;
676
676
  status: FFIDSubscriptionStatus | null;
677
+ /**
678
+ * Access-control-oriented effective status (since SDK 5.3.0 / FFID #3353).
679
+ *
680
+ * Mirrors `computeEffectiveStatus` on FFID so external callers can branch on
681
+ * a single value without re-implementing grace-period math. Will be `null`
682
+ * when serving an older FFID that does not populate the field.
683
+ */
684
+ effectiveStatus: EffectiveSubscriptionStatus | null;
677
685
  planCode: string | null;
678
686
  seatModel: FFIDSeatModel | null;
679
687
  memberRole: FFIDOAuthUserInfoMemberRole | null;
680
688
  organizationId: string | null;
681
689
  hasSeatAssignment: boolean | null;
682
690
  }
683
- /** OAuth userinfo response exposed by FFID */
691
+ /**
692
+ * Unified user-identity shape returned by `getSession()` (→ `/oauth/userinfo`)
693
+ * and `verifyAccessToken()` (JWT or introspect path). `subscription` and
694
+ * `organizationId` are scope-gated on `/oauth/userinfo` (FFID #3380, requires
695
+ * `subscription:read`); JWT-verify additionally omits `subscription` always.
696
+ * See per-field JSDoc — misreading `undefined` is a security regression.
697
+ */
684
698
  interface FFIDOAuthUserInfo {
685
699
  sub: string;
686
700
  email: string | null;
@@ -690,7 +704,28 @@ interface FFIDOAuthUserInfo {
690
704
  department?: string | null | undefined;
691
705
  position?: string | null | undefined;
692
706
  phoneNumber?: string | null | undefined;
707
+ /**
708
+ * Organization UUID, `null` if token is not org-bound, or `undefined` if the
709
+ * granted scope omits `subscription:read` (FFID #3380; widen scope to receive
710
+ * — NOT "no organization").
711
+ */
693
712
  organizationId?: string | null | undefined;
713
+ /**
714
+ * Subscription summary for `(user, service, organization)`. Branch on
715
+ * `effectiveStatus` (5.3.0+) for access decisions.
716
+ *
717
+ * `undefined` here means either (a) `/oauth/userinfo` granted scope omits
718
+ * `subscription:read` (FFID #3380), or (b) caller used `verifyAccessToken`
719
+ * with `verifyStrategy: 'jwt'` (and no `includeProfile: true`) — JWT payload
720
+ * does not carry subscription claims. NEITHER means "no contract":
721
+ * contractless users hit HTTP 403 upstream and never reach this field.
722
+ * Treating `undefined` as "no contract" is a **security regression** that
723
+ * would grant non-paying UX to a paying user. `DEFAULT_OAUTH_SCOPES` grants
724
+ * `subscription:read`; narrow-scope or jwt-only callers should branch
725
+ * explicitly instead of `userinfo.subscription!`.
726
+ *
727
+ * @see {@link FFIDOAuthUserInfoSubscription.effectiveStatus}
728
+ */
694
729
  subscription?: FFIDOAuthUserInfoSubscription | undefined;
695
730
  }
696
731
  /** Options for verifyAccessToken */
@@ -241,13 +241,27 @@ interface FFIDSubscription {
241
241
  interface FFIDOAuthUserInfoSubscription {
242
242
  subscriptionId: string | null;
243
243
  status: FFIDSubscriptionStatus | null;
244
+ /**
245
+ * Access-control-oriented effective status (since SDK 5.3.0 / FFID #3353).
246
+ *
247
+ * Mirrors `computeEffectiveStatus` on FFID so external callers can branch on
248
+ * a single value without re-implementing grace-period math. Will be `null`
249
+ * when serving an older FFID that does not populate the field.
250
+ */
251
+ effectiveStatus: EffectiveSubscriptionStatus | null;
244
252
  planCode: string | null;
245
253
  seatModel: FFIDSeatModel | null;
246
254
  memberRole: FFIDOAuthUserInfoMemberRole | null;
247
255
  organizationId: string | null;
248
256
  hasSeatAssignment: boolean | null;
249
257
  }
250
- /** OAuth userinfo response exposed by FFID */
258
+ /**
259
+ * Unified user-identity shape returned by `getSession()` (→ `/oauth/userinfo`)
260
+ * and `verifyAccessToken()` (JWT or introspect path). `subscription` and
261
+ * `organizationId` are scope-gated on `/oauth/userinfo` (FFID #3380, requires
262
+ * `subscription:read`); JWT-verify additionally omits `subscription` always.
263
+ * See per-field JSDoc — misreading `undefined` is a security regression.
264
+ */
251
265
  interface FFIDOAuthUserInfo {
252
266
  sub: string;
253
267
  email: string | null;
@@ -257,7 +271,28 @@ interface FFIDOAuthUserInfo {
257
271
  department?: string | null | undefined;
258
272
  position?: string | null | undefined;
259
273
  phoneNumber?: string | null | undefined;
274
+ /**
275
+ * Organization UUID, `null` if token is not org-bound, or `undefined` if the
276
+ * granted scope omits `subscription:read` (FFID #3380; widen scope to receive
277
+ * — NOT "no organization").
278
+ */
260
279
  organizationId?: string | null | undefined;
280
+ /**
281
+ * Subscription summary for `(user, service, organization)`. Branch on
282
+ * `effectiveStatus` (5.3.0+) for access decisions.
283
+ *
284
+ * `undefined` here means either (a) `/oauth/userinfo` granted scope omits
285
+ * `subscription:read` (FFID #3380), or (b) caller used `verifyAccessToken`
286
+ * with `verifyStrategy: 'jwt'` (and no `includeProfile: true`) — JWT payload
287
+ * does not carry subscription claims. NEITHER means "no contract":
288
+ * contractless users hit HTTP 403 upstream and never reach this field.
289
+ * Treating `undefined` as "no contract" is a **security regression** that
290
+ * would grant non-paying UX to a paying user. `DEFAULT_OAUTH_SCOPES` grants
291
+ * `subscription:read`; narrow-scope or jwt-only callers should branch
292
+ * explicitly instead of `userinfo.subscription!`.
293
+ *
294
+ * @see {@link FFIDOAuthUserInfoSubscription.effectiveStatus}
295
+ */
261
296
  subscription?: FFIDOAuthUserInfoSubscription | undefined;
262
297
  }
263
298
  /** Options for verifyAccessToken */
@@ -826,6 +861,8 @@ interface FFIDTokenIntrospectionResponse {
826
861
  subscription?: {
827
862
  subscription_id: string | null;
828
863
  status: FFIDOAuthUserInfoSubscription['status'];
864
+ /** Optional for backward compat with older FFID (< 5.3.0 / #3353). */
865
+ effective_status?: FFIDOAuthUserInfoSubscription['effectiveStatus'];
829
866
  plan_code: string | null;
830
867
  seat_model: FFIDOAuthUserInfoSubscription['seatModel'];
831
868
  member_role: FFIDOAuthUserInfoSubscription['memberRole'];
@@ -241,13 +241,27 @@ interface FFIDSubscription {
241
241
  interface FFIDOAuthUserInfoSubscription {
242
242
  subscriptionId: string | null;
243
243
  status: FFIDSubscriptionStatus | null;
244
+ /**
245
+ * Access-control-oriented effective status (since SDK 5.3.0 / FFID #3353).
246
+ *
247
+ * Mirrors `computeEffectiveStatus` on FFID so external callers can branch on
248
+ * a single value without re-implementing grace-period math. Will be `null`
249
+ * when serving an older FFID that does not populate the field.
250
+ */
251
+ effectiveStatus: EffectiveSubscriptionStatus | null;
244
252
  planCode: string | null;
245
253
  seatModel: FFIDSeatModel | null;
246
254
  memberRole: FFIDOAuthUserInfoMemberRole | null;
247
255
  organizationId: string | null;
248
256
  hasSeatAssignment: boolean | null;
249
257
  }
250
- /** OAuth userinfo response exposed by FFID */
258
+ /**
259
+ * Unified user-identity shape returned by `getSession()` (→ `/oauth/userinfo`)
260
+ * and `verifyAccessToken()` (JWT or introspect path). `subscription` and
261
+ * `organizationId` are scope-gated on `/oauth/userinfo` (FFID #3380, requires
262
+ * `subscription:read`); JWT-verify additionally omits `subscription` always.
263
+ * See per-field JSDoc — misreading `undefined` is a security regression.
264
+ */
251
265
  interface FFIDOAuthUserInfo {
252
266
  sub: string;
253
267
  email: string | null;
@@ -257,7 +271,28 @@ interface FFIDOAuthUserInfo {
257
271
  department?: string | null | undefined;
258
272
  position?: string | null | undefined;
259
273
  phoneNumber?: string | null | undefined;
274
+ /**
275
+ * Organization UUID, `null` if token is not org-bound, or `undefined` if the
276
+ * granted scope omits `subscription:read` (FFID #3380; widen scope to receive
277
+ * — NOT "no organization").
278
+ */
260
279
  organizationId?: string | null | undefined;
280
+ /**
281
+ * Subscription summary for `(user, service, organization)`. Branch on
282
+ * `effectiveStatus` (5.3.0+) for access decisions.
283
+ *
284
+ * `undefined` here means either (a) `/oauth/userinfo` granted scope omits
285
+ * `subscription:read` (FFID #3380), or (b) caller used `verifyAccessToken`
286
+ * with `verifyStrategy: 'jwt'` (and no `includeProfile: true`) — JWT payload
287
+ * does not carry subscription claims. NEITHER means "no contract":
288
+ * contractless users hit HTTP 403 upstream and never reach this field.
289
+ * Treating `undefined` as "no contract" is a **security regression** that
290
+ * would grant non-paying UX to a paying user. `DEFAULT_OAUTH_SCOPES` grants
291
+ * `subscription:read`; narrow-scope or jwt-only callers should branch
292
+ * explicitly instead of `userinfo.subscription!`.
293
+ *
294
+ * @see {@link FFIDOAuthUserInfoSubscription.effectiveStatus}
295
+ */
261
296
  subscription?: FFIDOAuthUserInfoSubscription | undefined;
262
297
  }
263
298
  /** Options for verifyAccessToken */
@@ -826,6 +861,8 @@ interface FFIDTokenIntrospectionResponse {
826
861
  subscription?: {
827
862
  subscription_id: string | null;
828
863
  status: FFIDOAuthUserInfoSubscription['status'];
864
+ /** Optional for backward compat with older FFID (< 5.3.0 / #3353). */
865
+ effective_status?: FFIDOAuthUserInfoSubscription['effectiveStatus'];
829
866
  plan_code: string | null;
830
867
  seat_model: FFIDOAuthUserInfoSubscription['seatModel'];
831
868
  member_role: FFIDOAuthUserInfoSubscription['memberRole'];