@pushwoosh/rpc-v2-http-api-data 0.2.427 → 0.2.428
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
CHANGED
|
@@ -28349,6 +28349,32 @@ export const data = {
|
|
|
28349
28349
|
}
|
|
28350
28350
|
}
|
|
28351
28351
|
},
|
|
28352
|
+
"pushwoosh.objects.filters.v1.FilterExpression.FeatureFlag.State": {
|
|
28353
|
+
"type": "E",
|
|
28354
|
+
"values": [
|
|
28355
|
+
"STATE_UNSPECIFIED",
|
|
28356
|
+
"STATE_ENABLED",
|
|
28357
|
+
"STATE_DISABLED",
|
|
28358
|
+
"STATE_IN_RULE"
|
|
28359
|
+
]
|
|
28360
|
+
},
|
|
28361
|
+
"pushwoosh.objects.filters.v1.FilterExpression.FeatureFlag": {
|
|
28362
|
+
"type": "I",
|
|
28363
|
+
"fields": {
|
|
28364
|
+
"application": {
|
|
28365
|
+
"type": "string"
|
|
28366
|
+
},
|
|
28367
|
+
"key": {
|
|
28368
|
+
"type": "string"
|
|
28369
|
+
},
|
|
28370
|
+
"state": {
|
|
28371
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.FeatureFlag.State"
|
|
28372
|
+
},
|
|
28373
|
+
"ruleId": {
|
|
28374
|
+
"type": "string"
|
|
28375
|
+
}
|
|
28376
|
+
}
|
|
28377
|
+
},
|
|
28352
28378
|
"pushwoosh.objects.filters.v1.FilterExpression": {
|
|
28353
28379
|
"type": "I",
|
|
28354
28380
|
"fields": {
|
|
@@ -28387,6 +28413,9 @@ export const data = {
|
|
|
28387
28413
|
},
|
|
28388
28414
|
"externalSegment": {
|
|
28389
28415
|
"type": "pushwoosh.objects.filters.v1.FilterExpression.ExternalSegment"
|
|
28416
|
+
},
|
|
28417
|
+
"featureFlag": {
|
|
28418
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.FeatureFlag"
|
|
28390
28419
|
}
|
|
28391
28420
|
},
|
|
28392
28421
|
"oneofs": {
|
|
@@ -28403,7 +28432,8 @@ export const data = {
|
|
|
28403
28432
|
"tagDateMatch",
|
|
28404
28433
|
"segment",
|
|
28405
28434
|
"list",
|
|
28406
|
-
"externalSegment"
|
|
28435
|
+
"externalSegment",
|
|
28436
|
+
"featureFlag"
|
|
28407
28437
|
]
|
|
28408
28438
|
}
|
|
28409
28439
|
}
|
|
@@ -29396,6 +29426,21 @@ export const data = {
|
|
|
29396
29426
|
}
|
|
29397
29427
|
}
|
|
29398
29428
|
},
|
|
29429
|
+
"pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.MaxAIImagesPerDay": {
|
|
29430
|
+
"type": "I",
|
|
29431
|
+
"fields": {
|
|
29432
|
+
"operator": {
|
|
29433
|
+
"type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.Operator"
|
|
29434
|
+
},
|
|
29435
|
+
"value": {
|
|
29436
|
+
"type": "number"
|
|
29437
|
+
},
|
|
29438
|
+
"values": {
|
|
29439
|
+
"type": "number",
|
|
29440
|
+
"array": true
|
|
29441
|
+
}
|
|
29442
|
+
}
|
|
29443
|
+
},
|
|
29399
29444
|
"pushwoosh.objects.restrictionValues.v1.LogicExpression.Field": {
|
|
29400
29445
|
"type": "I",
|
|
29401
29446
|
"fields": {
|
|
@@ -29584,6 +29629,9 @@ export const data = {
|
|
|
29584
29629
|
},
|
|
29585
29630
|
"CondMaxFeatureFlags": {
|
|
29586
29631
|
"type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.MaxFeatureFlags"
|
|
29632
|
+
},
|
|
29633
|
+
"CondMaxAIImagesPerDay": {
|
|
29634
|
+
"type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.MaxAIImagesPerDay"
|
|
29587
29635
|
}
|
|
29588
29636
|
},
|
|
29589
29637
|
"oneofs": {
|
|
@@ -29650,7 +29698,8 @@ export const data = {
|
|
|
29650
29698
|
"CondAllowCaseInsensitiveUserID",
|
|
29651
29699
|
"CondAllowJourneyLoopPoint",
|
|
29652
29700
|
"CondAllowFeatureFlags",
|
|
29653
|
-
"CondMaxFeatureFlags"
|
|
29701
|
+
"CondMaxFeatureFlags",
|
|
29702
|
+
"CondMaxAIImagesPerDay"
|
|
29654
29703
|
]
|
|
29655
29704
|
}
|
|
29656
29705
|
}
|
|
@@ -30178,6 +30227,12 @@ export const data = {
|
|
|
30178
30227
|
"response": "{}",
|
|
30179
30228
|
"method": "patch",
|
|
30180
30229
|
"path": "/v1/objects/restrictionValues/ID/{ID}/update/MaxFeatureFlags"
|
|
30230
|
+
},
|
|
30231
|
+
"UpdateMaxAIImagesPerDay": {
|
|
30232
|
+
"request": "pushwoosh.objects.restrictionValues.v1.UpdateMaxAIImagesPerDayRequest",
|
|
30233
|
+
"response": "{}",
|
|
30234
|
+
"method": "patch",
|
|
30235
|
+
"path": "/v1/objects/restrictionValues/ID/{ID}/update/MaxAIImagesPerDay"
|
|
30181
30236
|
}
|
|
30182
30237
|
}
|
|
30183
30238
|
},
|
|
@@ -30366,6 +30421,9 @@ export const data = {
|
|
|
30366
30421
|
},
|
|
30367
30422
|
"MaxFeatureFlags": {
|
|
30368
30423
|
"type": "number"
|
|
30424
|
+
},
|
|
30425
|
+
"MaxAIImagesPerDay": {
|
|
30426
|
+
"type": "number"
|
|
30369
30427
|
}
|
|
30370
30428
|
}
|
|
30371
30429
|
},
|
|
@@ -31206,6 +31264,17 @@ export const data = {
|
|
|
31206
31264
|
}
|
|
31207
31265
|
}
|
|
31208
31266
|
},
|
|
31267
|
+
"pushwoosh.objects.restrictionValues.v1.UpdateMaxAIImagesPerDayRequest": {
|
|
31268
|
+
"type": "I",
|
|
31269
|
+
"fields": {
|
|
31270
|
+
"ID": {
|
|
31271
|
+
"type": "number"
|
|
31272
|
+
},
|
|
31273
|
+
"value": {
|
|
31274
|
+
"type": "number"
|
|
31275
|
+
}
|
|
31276
|
+
}
|
|
31277
|
+
},
|
|
31209
31278
|
"pushwoosh.objects.restrictionValues.v1.GetRequest": {
|
|
31210
31279
|
"type": "I",
|
|
31211
31280
|
"fields": {
|
|
@@ -31421,6 +31490,9 @@ export const data = {
|
|
|
31421
31490
|
},
|
|
31422
31491
|
"MaxFeatureFlags": {
|
|
31423
31492
|
"type": "number"
|
|
31493
|
+
},
|
|
31494
|
+
"MaxAIImagesPerDay": {
|
|
31495
|
+
"type": "number"
|
|
31424
31496
|
}
|
|
31425
31497
|
}
|
|
31426
31498
|
},
|
package/package.json
CHANGED
|
@@ -1407,6 +1407,14 @@ export type FilterExpression_TagDateMatch = {
|
|
|
1407
1407
|
day: number;
|
|
1408
1408
|
addDays: number;
|
|
1409
1409
|
};
|
|
1410
|
+
export type FilterExpression_FeatureFlag_State = 'STATE_UNSPECIFIED' | 'STATE_ENABLED' | 'STATE_DISABLED' | 'STATE_IN_RULE';
|
|
1411
|
+
/** FeatureFlag specifies devices by their last feature flag assignment */
|
|
1412
|
+
export type FilterExpression_FeatureFlag = {
|
|
1413
|
+
application: string;
|
|
1414
|
+
key: string;
|
|
1415
|
+
state: FilterExpression_FeatureFlag_State;
|
|
1416
|
+
ruleId: string;
|
|
1417
|
+
};
|
|
1410
1418
|
export type FilterExpression_kind_operation = {
|
|
1411
1419
|
type: 'operation';
|
|
1412
1420
|
data: FilterExpression_Operation;
|
|
@@ -1455,7 +1463,11 @@ export type FilterExpression_kind_externalSegment = {
|
|
|
1455
1463
|
type: 'externalSegment';
|
|
1456
1464
|
data: FilterExpression_ExternalSegment;
|
|
1457
1465
|
};
|
|
1458
|
-
export type
|
|
1466
|
+
export type FilterExpression_kind_featureFlag = {
|
|
1467
|
+
type: 'featureFlag';
|
|
1468
|
+
data: FilterExpression_FeatureFlag;
|
|
1469
|
+
};
|
|
1470
|
+
export type FilterExpression_kind = FilterExpression_kind_operation | FilterExpression_kind_application | FilterExpression_kind_tag | FilterExpression_kind_geo | FilterExpression_kind_static | FilterExpression_kind_event | FilterExpression_kind_updated | FilterExpression_kind_bestTimeToSend | FilterExpression_kind_tagDateMatch | FilterExpression_kind_segment | FilterExpression_kind_list | FilterExpression_kind_externalSegment | FilterExpression_kind_featureFlag;
|
|
1459
1471
|
/** FilterExpression describes structures for querying devices from the database */
|
|
1460
1472
|
export type FilterExpression = {
|
|
1461
1473
|
kind: FilterExpression_kind;
|
|
@@ -362,6 +362,11 @@ export type LogicExpression_Field_MaxFeatureFlags = {
|
|
|
362
362
|
value: number;
|
|
363
363
|
values: number[];
|
|
364
364
|
};
|
|
365
|
+
export type LogicExpression_Field_MaxAIImagesPerDay = {
|
|
366
|
+
operator: LogicExpression_Field_Operator;
|
|
367
|
+
value: number;
|
|
368
|
+
values: number[];
|
|
369
|
+
};
|
|
365
370
|
export type LogicExpression_Field_kind_CondID = {
|
|
366
371
|
type: 'CondID';
|
|
367
372
|
data: LogicExpression_Field_ID;
|
|
@@ -610,7 +615,11 @@ export type LogicExpression_Field_kind_CondMaxFeatureFlags = {
|
|
|
610
615
|
type: 'CondMaxFeatureFlags';
|
|
611
616
|
data: LogicExpression_Field_MaxFeatureFlags;
|
|
612
617
|
};
|
|
613
|
-
export type
|
|
618
|
+
export type LogicExpression_Field_kind_CondMaxAIImagesPerDay = {
|
|
619
|
+
type: 'CondMaxAIImagesPerDay';
|
|
620
|
+
data: LogicExpression_Field_MaxAIImagesPerDay;
|
|
621
|
+
};
|
|
622
|
+
export type LogicExpression_Field_kind = LogicExpression_Field_kind_CondID | LogicExpression_Field_kind_CondIsLocked | LogicExpression_Field_kind_CondMaxDevices | LogicExpression_Field_kind_CondMaxUsers | LogicExpression_Field_kind_CondMaxPreparedFilters | LogicExpression_Field_kind_CondDevicesInactivityLimit | LogicExpression_Field_kind_CondAllowApi | LogicExpression_Field_kind_CondMinSendRate | LogicExpression_Field_kind_CondMaxSendRate | LogicExpression_Field_kind_CondAllowIePlatformUsage | LogicExpression_Field_kind_CondMaxVerifyingEmails | LogicExpression_Field_kind_CondMaxVerifyingDomains | LogicExpression_Field_kind_CondAllowMetadata | LogicExpression_Field_kind_CondMaxPushOnEventDelayInDays | LogicExpression_Field_kind_CondAllowEventStatisticsApi | LogicExpression_Field_kind_CondAllowTagNotSetFilter | LogicExpression_Field_kind_CondAllowTrackUninstalls | LogicExpression_Field_kind_CondEmailRateCounterAggregatePeriod | LogicExpression_Field_kind_CondEmailBounceRateLimit | LogicExpression_Field_kind_CondEmailComplaintRateLimit | LogicExpression_Field_kind_CondAllowFrequencyCapping | LogicExpression_Field_kind_CondEmailsFreeLimit | LogicExpression_Field_kind_CondEmailsLimited | LogicExpression_Field_kind_CondAllowContentTemplates | LogicExpression_Field_kind_CondAllowBaiduAndroidPlatformUsage | LogicExpression_Field_kind_CondMaxInboxTtlDays | LogicExpression_Field_kind_CondMessageHistoryStorePeriod | LogicExpression_Field_kind_CondAllowApiGetMessageLog | LogicExpression_Field_kind_CondDetailActionHistoryStorePeriod | LogicExpression_Field_kind_CondAllowShowDeliveryStatistics | LogicExpression_Field_kind_CondAllowRFMSegments | LogicExpression_Field_kind_CondAllowBestTimeToSend | LogicExpression_Field_kind_CondAllowEventSegmentation | LogicExpression_Field_kind_CondAllowSegmentsGroups | LogicExpression_Field_kind_CondAllowCjSMS | LogicExpression_Field_kind_CondAllowCjDynamicSetTagsInUpdateProfile | LogicExpression_Field_kind_CondAllowCjAddBranchesInWaitForTrigger | LogicExpression_Field_kind_CondAllowEventsFunnel | LogicExpression_Field_kind_CondAllowChannelsSection | LogicExpression_Field_kind_CondAllowCjEmailBcc | LogicExpression_Field_kind_CondEmailFileStorePeriod | LogicExpression_Field_kind_CondAllowWhatsApp | LogicExpression_Field_kind_CondAllowCjAlternativeGoalsStats | LogicExpression_Field_kind_CondAllowCjListenUserIdChanged | LogicExpression_Field_kind_CondAllowLine | LogicExpression_Field_kind_CondAllowPostEventInApp | LogicExpression_Field_kind_CondAllowAIAssistant | LogicExpression_Field_kind_CondAllowKeepUserWithoutDevice | LogicExpression_Field_kind_CondAllowCJSplitterDeviceCheck | LogicExpression_Field_kind_CondAllowTagsAutoCreation | LogicExpression_Field_kind_CondAllowAIWalletBilling | LogicExpression_Field_kind_CondApplicationSpecificFilters | LogicExpression_Field_kind_CondAllowCloudPages | LogicExpression_Field_kind_CondAllowLaoDeletePolicy | LogicExpression_Field_kind_CondAllowJourneyVersioning | LogicExpression_Field_kind_CondAllowJourneyPointTemplates | LogicExpression_Field_kind_CondRequireContentApproval | LogicExpression_Field_kind_CondAllowEmailAds | LogicExpression_Field_kind_CondAllowCaseInsensitiveUserID | LogicExpression_Field_kind_CondAllowJourneyLoopPoint | LogicExpression_Field_kind_CondAllowFeatureFlags | LogicExpression_Field_kind_CondMaxFeatureFlags | LogicExpression_Field_kind_CondMaxAIImagesPerDay;
|
|
614
623
|
export type LogicExpression_Field = {
|
|
615
624
|
kind: LogicExpression_Field_kind;
|
|
616
625
|
};
|
|
@@ -722,6 +731,7 @@ export type RestrictionValuesCrudService_UpdateAllowCaseInsensitiveUserID = RpcM
|
|
|
722
731
|
export type RestrictionValuesCrudService_UpdateAllowJourneyLoopPoint = RpcMethod<UpdateAllowJourneyLoopPointRequest, {}>;
|
|
723
732
|
export type RestrictionValuesCrudService_UpdateAllowFeatureFlags = RpcMethod<UpdateAllowFeatureFlagsRequest, {}>;
|
|
724
733
|
export type RestrictionValuesCrudService_UpdateMaxFeatureFlags = RpcMethod<UpdateMaxFeatureFlagsRequest, {}>;
|
|
734
|
+
export type RestrictionValuesCrudService_UpdateMaxAIImagesPerDay = RpcMethod<UpdateMaxAIImagesPerDayRequest, {}>;
|
|
725
735
|
export interface RestrictionValuesCrudService {
|
|
726
736
|
Create: RestrictionValuesCrudService_Create;
|
|
727
737
|
CreateMany: RestrictionValuesCrudService_CreateMany;
|
|
@@ -798,6 +808,7 @@ export interface RestrictionValuesCrudService {
|
|
|
798
808
|
UpdateAllowJourneyLoopPoint: RestrictionValuesCrudService_UpdateAllowJourneyLoopPoint;
|
|
799
809
|
UpdateAllowFeatureFlags: RestrictionValuesCrudService_UpdateAllowFeatureFlags;
|
|
800
810
|
UpdateMaxFeatureFlags: RestrictionValuesCrudService_UpdateMaxFeatureFlags;
|
|
811
|
+
UpdateMaxAIImagesPerDay: RestrictionValuesCrudService_UpdateMaxAIImagesPerDay;
|
|
801
812
|
}
|
|
802
813
|
export type CreateRequest = {
|
|
803
814
|
IsLocked?: boolean;
|
|
@@ -861,6 +872,7 @@ export type CreateRequest = {
|
|
|
861
872
|
AllowJourneyLoopPoint?: boolean;
|
|
862
873
|
AllowFeatureFlags?: boolean;
|
|
863
874
|
MaxFeatureFlags?: number;
|
|
875
|
+
MaxAIImagesPerDay?: number;
|
|
864
876
|
};
|
|
865
877
|
export type CreateResponse = {
|
|
866
878
|
restrictionValue: RestrictionValue;
|
|
@@ -1165,6 +1177,10 @@ export type UpdateMaxFeatureFlagsRequest = {
|
|
|
1165
1177
|
ID?: number;
|
|
1166
1178
|
value?: number;
|
|
1167
1179
|
};
|
|
1180
|
+
export type UpdateMaxAIImagesPerDayRequest = {
|
|
1181
|
+
ID?: number;
|
|
1182
|
+
value?: number;
|
|
1183
|
+
};
|
|
1168
1184
|
export type GetRequest = {
|
|
1169
1185
|
ID?: number;
|
|
1170
1186
|
};
|
|
@@ -1243,4 +1259,5 @@ export type RestrictionValue = {
|
|
|
1243
1259
|
AllowJourneyLoopPoint: boolean;
|
|
1244
1260
|
AllowFeatureFlags: boolean;
|
|
1245
1261
|
MaxFeatureFlags: number;
|
|
1262
|
+
MaxAIImagesPerDay: number;
|
|
1246
1263
|
};
|