@pushwoosh/rpc-v2-http-api-data 0.2.436 → 0.2.437
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/data.js +6 -0
- package/feature_flags.d.ts +5 -1
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -18907,6 +18907,12 @@ export const data = {
|
|
|
18907
18907
|
"changes": {
|
|
18908
18908
|
"type": "pushwoosh.rpc_v2.feature_flags.FeatureFlagChange",
|
|
18909
18909
|
"array": true
|
|
18910
|
+
},
|
|
18911
|
+
"apiTokenName": {
|
|
18912
|
+
"type": "string"
|
|
18913
|
+
},
|
|
18914
|
+
"byApiToken": {
|
|
18915
|
+
"type": "boolean"
|
|
18910
18916
|
}
|
|
18911
18917
|
}
|
|
18912
18918
|
},
|
package/feature_flags.d.ts
CHANGED
|
@@ -337,14 +337,18 @@ export type FeatureFlagHistoryEntry = {
|
|
|
337
337
|
version: number;
|
|
338
338
|
/** create, update, set_percent, kill, unkill, archive, restore or reshuffle */
|
|
339
339
|
action: string;
|
|
340
|
+
/** 0 when the change came through an API token or a service */
|
|
340
341
|
userId: number;
|
|
341
|
-
/** empty when the user is gone or
|
|
342
|
+
/** empty when the user is gone or there is no user */
|
|
342
343
|
userEmail: string;
|
|
343
344
|
created: Date;
|
|
344
345
|
/** the flag right after the change */
|
|
345
346
|
flag: FeatureFlag;
|
|
346
347
|
/** against the previous version; empty for create and for the oldest entry kept */
|
|
347
348
|
changes: FeatureFlagChange[];
|
|
349
|
+
/** the name of the API token the change came through; empty for a change by a user */
|
|
350
|
+
apiTokenName: string;
|
|
351
|
+
byApiToken: boolean;
|
|
348
352
|
};
|
|
349
353
|
export type ListFeatureFlagHistoryResponse = {
|
|
350
354
|
entries: FeatureFlagHistoryEntry[];
|