@pushwoosh/rpc-v2-http-api-data 0.2.394 → 0.2.396

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
@@ -21670,6 +21670,9 @@ export const data = {
21670
21670
  "fields": {
21671
21671
  "redirectUri": {
21672
21672
  "type": "string"
21673
+ },
21674
+ "returnTo": {
21675
+ "type": "string"
21673
21676
  }
21674
21677
  }
21675
21678
  },
@@ -21886,6 +21889,9 @@ export const data = {
21886
21889
  "fields": {
21887
21890
  "redirectUri": {
21888
21891
  "type": "string"
21892
+ },
21893
+ "returnTo": {
21894
+ "type": "string"
21889
21895
  }
21890
21896
  }
21891
21897
  },
@@ -28770,6 +28776,36 @@ export const data = {
28770
28776
  }
28771
28777
  }
28772
28778
  },
28779
+ "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.AllowFeatureFlags": {
28780
+ "type": "I",
28781
+ "fields": {
28782
+ "operator": {
28783
+ "type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.Operator"
28784
+ },
28785
+ "value": {
28786
+ "type": "boolean"
28787
+ },
28788
+ "values": {
28789
+ "type": "boolean",
28790
+ "array": true
28791
+ }
28792
+ }
28793
+ },
28794
+ "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.MaxFeatureFlags": {
28795
+ "type": "I",
28796
+ "fields": {
28797
+ "operator": {
28798
+ "type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.Operator"
28799
+ },
28800
+ "value": {
28801
+ "type": "number"
28802
+ },
28803
+ "values": {
28804
+ "type": "number",
28805
+ "array": true
28806
+ }
28807
+ }
28808
+ },
28773
28809
  "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field": {
28774
28810
  "type": "I",
28775
28811
  "fields": {
@@ -28952,6 +28988,12 @@ export const data = {
28952
28988
  },
28953
28989
  "CondAllowJourneyLoopPoint": {
28954
28990
  "type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.AllowJourneyLoopPoint"
28991
+ },
28992
+ "CondAllowFeatureFlags": {
28993
+ "type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.AllowFeatureFlags"
28994
+ },
28995
+ "CondMaxFeatureFlags": {
28996
+ "type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.MaxFeatureFlags"
28955
28997
  }
28956
28998
  },
28957
28999
  "oneofs": {
@@ -29016,7 +29058,9 @@ export const data = {
29016
29058
  "CondRequireContentApproval",
29017
29059
  "CondAllowEmailAds",
29018
29060
  "CondAllowCaseInsensitiveUserID",
29019
- "CondAllowJourneyLoopPoint"
29061
+ "CondAllowJourneyLoopPoint",
29062
+ "CondAllowFeatureFlags",
29063
+ "CondMaxFeatureFlags"
29020
29064
  ]
29021
29065
  }
29022
29066
  }
@@ -29532,6 +29576,18 @@ export const data = {
29532
29576
  "response": "{}",
29533
29577
  "method": "patch",
29534
29578
  "path": "/v1/objects/restrictionValues/ID/{ID}/update/AllowJourneyLoopPoint"
29579
+ },
29580
+ "UpdateAllowFeatureFlags": {
29581
+ "request": "pushwoosh.objects.restrictionValues.v1.UpdateAllowFeatureFlagsRequest",
29582
+ "response": "{}",
29583
+ "method": "patch",
29584
+ "path": "/v1/objects/restrictionValues/ID/{ID}/update/AllowFeatureFlags"
29585
+ },
29586
+ "UpdateMaxFeatureFlags": {
29587
+ "request": "pushwoosh.objects.restrictionValues.v1.UpdateMaxFeatureFlagsRequest",
29588
+ "response": "{}",
29589
+ "method": "patch",
29590
+ "path": "/v1/objects/restrictionValues/ID/{ID}/update/MaxFeatureFlags"
29535
29591
  }
29536
29592
  }
29537
29593
  },
@@ -29714,6 +29770,12 @@ export const data = {
29714
29770
  },
29715
29771
  "AllowJourneyLoopPoint": {
29716
29772
  "type": "boolean"
29773
+ },
29774
+ "AllowFeatureFlags": {
29775
+ "type": "boolean"
29776
+ },
29777
+ "MaxFeatureFlags": {
29778
+ "type": "number"
29717
29779
  }
29718
29780
  }
29719
29781
  },
@@ -30532,6 +30594,28 @@ export const data = {
30532
30594
  }
30533
30595
  }
30534
30596
  },
30597
+ "pushwoosh.objects.restrictionValues.v1.UpdateAllowFeatureFlagsRequest": {
30598
+ "type": "I",
30599
+ "fields": {
30600
+ "ID": {
30601
+ "type": "number"
30602
+ },
30603
+ "value": {
30604
+ "type": "boolean"
30605
+ }
30606
+ }
30607
+ },
30608
+ "pushwoosh.objects.restrictionValues.v1.UpdateMaxFeatureFlagsRequest": {
30609
+ "type": "I",
30610
+ "fields": {
30611
+ "ID": {
30612
+ "type": "number"
30613
+ },
30614
+ "value": {
30615
+ "type": "number"
30616
+ }
30617
+ }
30618
+ },
30535
30619
  "pushwoosh.objects.restrictionValues.v1.GetRequest": {
30536
30620
  "type": "I",
30537
30621
  "fields": {
@@ -30741,6 +30825,12 @@ export const data = {
30741
30825
  },
30742
30826
  "AllowJourneyLoopPoint": {
30743
30827
  "type": "boolean"
30828
+ },
30829
+ "AllowFeatureFlags": {
30830
+ "type": "boolean"
30831
+ },
30832
+ "MaxFeatureFlags": {
30833
+ "type": "number"
30744
30834
  }
30745
30835
  }
30746
30836
  },
package/integrations.d.ts CHANGED
@@ -354,6 +354,8 @@ export type GetShopifyConfigurationResponse = {
354
354
  export type GetStripeAuthURLRequest = {
355
355
  /** URI Stripe redirects back to after authorization */
356
356
  redirectUri?: string;
357
+ /** https control panel URL the callback sends the user back to, with the code in the fragment */
358
+ returnTo?: string;
357
359
  };
358
360
  export type GetStripeAuthURLResponse = {
359
361
  authUrl: string;
@@ -453,6 +455,8 @@ export type DeleteOAuthIntegrationResponse = {};
453
455
  export type GetMetaAuthURLRequest = {
454
456
  /** URI Meta redirects back to after authorization */
455
457
  redirectUri?: string;
458
+ /** https control panel URL the callback sends the user back to, with the code in the fragment */
459
+ returnTo?: string;
456
460
  };
457
461
  export type GetMetaAuthURLResponse = {
458
462
  authUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.394",
3
+ "version": "0.2.396",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -352,6 +352,16 @@ export type LogicExpression_Field_AllowJourneyLoopPoint = {
352
352
  value: boolean;
353
353
  values: boolean[];
354
354
  };
355
+ export type LogicExpression_Field_AllowFeatureFlags = {
356
+ operator: LogicExpression_Field_Operator;
357
+ value: boolean;
358
+ values: boolean[];
359
+ };
360
+ export type LogicExpression_Field_MaxFeatureFlags = {
361
+ operator: LogicExpression_Field_Operator;
362
+ value: number;
363
+ values: number[];
364
+ };
355
365
  export type LogicExpression_Field_kind_CondID = {
356
366
  type: 'CondID';
357
367
  data: LogicExpression_Field_ID;
@@ -592,7 +602,15 @@ export type LogicExpression_Field_kind_CondAllowJourneyLoopPoint = {
592
602
  type: 'CondAllowJourneyLoopPoint';
593
603
  data: LogicExpression_Field_AllowJourneyLoopPoint;
594
604
  };
595
- 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;
605
+ export type LogicExpression_Field_kind_CondAllowFeatureFlags = {
606
+ type: 'CondAllowFeatureFlags';
607
+ data: LogicExpression_Field_AllowFeatureFlags;
608
+ };
609
+ export type LogicExpression_Field_kind_CondMaxFeatureFlags = {
610
+ type: 'CondMaxFeatureFlags';
611
+ data: LogicExpression_Field_MaxFeatureFlags;
612
+ };
613
+ 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;
596
614
  export type LogicExpression_Field = {
597
615
  kind: LogicExpression_Field_kind;
598
616
  };
@@ -702,6 +720,8 @@ export type RestrictionValuesCrudService_UpdateRequireContentApproval = RpcMetho
702
720
  export type RestrictionValuesCrudService_UpdateAllowEmailAds = RpcMethod<UpdateAllowEmailAdsRequest, {}>;
703
721
  export type RestrictionValuesCrudService_UpdateAllowCaseInsensitiveUserID = RpcMethod<UpdateAllowCaseInsensitiveUserIDRequest, {}>;
704
722
  export type RestrictionValuesCrudService_UpdateAllowJourneyLoopPoint = RpcMethod<UpdateAllowJourneyLoopPointRequest, {}>;
723
+ export type RestrictionValuesCrudService_UpdateAllowFeatureFlags = RpcMethod<UpdateAllowFeatureFlagsRequest, {}>;
724
+ export type RestrictionValuesCrudService_UpdateMaxFeatureFlags = RpcMethod<UpdateMaxFeatureFlagsRequest, {}>;
705
725
  export interface RestrictionValuesCrudService {
706
726
  Create: RestrictionValuesCrudService_Create;
707
727
  CreateMany: RestrictionValuesCrudService_CreateMany;
@@ -776,6 +796,8 @@ export interface RestrictionValuesCrudService {
776
796
  UpdateAllowEmailAds: RestrictionValuesCrudService_UpdateAllowEmailAds;
777
797
  UpdateAllowCaseInsensitiveUserID: RestrictionValuesCrudService_UpdateAllowCaseInsensitiveUserID;
778
798
  UpdateAllowJourneyLoopPoint: RestrictionValuesCrudService_UpdateAllowJourneyLoopPoint;
799
+ UpdateAllowFeatureFlags: RestrictionValuesCrudService_UpdateAllowFeatureFlags;
800
+ UpdateMaxFeatureFlags: RestrictionValuesCrudService_UpdateMaxFeatureFlags;
779
801
  }
780
802
  export type CreateRequest = {
781
803
  IsLocked?: boolean;
@@ -837,6 +859,8 @@ export type CreateRequest = {
837
859
  AllowEmailAds?: boolean;
838
860
  AllowCaseInsensitiveUserID?: boolean;
839
861
  AllowJourneyLoopPoint?: boolean;
862
+ AllowFeatureFlags?: boolean;
863
+ MaxFeatureFlags?: number;
840
864
  };
841
865
  export type CreateResponse = {
842
866
  restrictionValue: RestrictionValue;
@@ -1133,6 +1157,14 @@ export type UpdateAllowJourneyLoopPointRequest = {
1133
1157
  ID?: number;
1134
1158
  value?: boolean;
1135
1159
  };
1160
+ export type UpdateAllowFeatureFlagsRequest = {
1161
+ ID?: number;
1162
+ value?: boolean;
1163
+ };
1164
+ export type UpdateMaxFeatureFlagsRequest = {
1165
+ ID?: number;
1166
+ value?: number;
1167
+ };
1136
1168
  export type GetRequest = {
1137
1169
  ID?: number;
1138
1170
  };
@@ -1209,4 +1241,6 @@ export type RestrictionValue = {
1209
1241
  AllowEmailAds: boolean;
1210
1242
  AllowCaseInsensitiveUserID: boolean;
1211
1243
  AllowJourneyLoopPoint: boolean;
1244
+ AllowFeatureFlags: boolean;
1245
+ MaxFeatureFlags: number;
1212
1246
  };