@pushwoosh/rpc-gateway-journey-data 0.27.216 → 0.27.218
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/commonTypes.d.ts +21 -0
- package/data.js +22 -44
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +2680 -122
- package/pushwoosh_cj_journey_category.d.ts +42 -4
- package/pushwoosh_objects_filters_v1.d.ts +139 -32
- package/types.d.ts +13 -0
- package/types.js +2 -0
package/commonTypes.d.ts
CHANGED
|
@@ -1 +1,22 @@
|
|
|
1
1
|
export type Duration = number;
|
|
2
|
+
/** Arbitrary JSON value (google.protobuf.Value). */
|
|
3
|
+
export type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
4
|
+
[key: string]: JsonValue;
|
|
5
|
+
};
|
|
6
|
+
/** Arbitrary JSON object (google.protobuf.Struct). */
|
|
7
|
+
export type JsonObject = {
|
|
8
|
+
[key: string]: JsonValue;
|
|
9
|
+
};
|
|
10
|
+
/** Per-call options accepted by every method. */
|
|
11
|
+
export type RpcCallOptions = {
|
|
12
|
+
signal?: AbortSignal;
|
|
13
|
+
};
|
|
14
|
+
export type RpcMethod<Req, Res> = ((request: Req, options?: RpcCallOptions) => Promise<Res>) & {
|
|
15
|
+
safe(request: Req, options?: RpcCallOptions): Promise<[{
|
|
16
|
+
error: unknown;
|
|
17
|
+
}, null] | [null, Res]>;
|
|
18
|
+
};
|
|
19
|
+
export type RpcMethodV3<Req, Res, Err> = ((request: Req, options?: RpcCallOptions) => Promise<Res>) & {
|
|
20
|
+
safe(request: Req, options?: RpcCallOptions): Promise<[Err, null] | [null, Res]>;
|
|
21
|
+
parseError(e: unknown): Err;
|
|
22
|
+
};
|
package/data.js
CHANGED
|
@@ -1906,8 +1906,7 @@ export const data = {
|
|
|
1906
1906
|
"view": {
|
|
1907
1907
|
"type": "pushwoosh.cj.journey.JourneyListView"
|
|
1908
1908
|
}
|
|
1909
|
-
}
|
|
1910
|
-
"oneofs": {}
|
|
1909
|
+
}
|
|
1911
1910
|
},
|
|
1912
1911
|
"pushwoosh.cj.journey.JourneyListView": {
|
|
1913
1912
|
"type": "E",
|
|
@@ -2718,8 +2717,7 @@ export const data = {
|
|
|
2718
2717
|
"type": "number",
|
|
2719
2718
|
"optional": true
|
|
2720
2719
|
}
|
|
2721
|
-
}
|
|
2722
|
-
"oneofs": {}
|
|
2720
|
+
}
|
|
2723
2721
|
},
|
|
2724
2722
|
"pushwoosh.cj.journey.User": {
|
|
2725
2723
|
"type": "I",
|
|
@@ -3194,8 +3192,7 @@ export const data = {
|
|
|
3194
3192
|
"vouchersParams": {
|
|
3195
3193
|
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
3196
3194
|
}
|
|
3197
|
-
}
|
|
3198
|
-
"oneofs": {}
|
|
3195
|
+
}
|
|
3199
3196
|
},
|
|
3200
3197
|
"pushwoosh.cj.journey.SmartContentArm": {
|
|
3201
3198
|
"type": "I",
|
|
@@ -3532,8 +3529,7 @@ export const data = {
|
|
|
3532
3529
|
"useLatestUserDevice": {
|
|
3533
3530
|
"type": "boolean"
|
|
3534
3531
|
}
|
|
3535
|
-
}
|
|
3536
|
-
"oneofs": {}
|
|
3532
|
+
}
|
|
3537
3533
|
},
|
|
3538
3534
|
"pushwoosh.cj.journey.PointParamsSendSms": {
|
|
3539
3535
|
"type": "I",
|
|
@@ -3580,8 +3576,7 @@ export const data = {
|
|
|
3580
3576
|
"type": "pushwoosh.cj.journey.MessageType",
|
|
3581
3577
|
"optional": true
|
|
3582
3578
|
}
|
|
3583
|
-
}
|
|
3584
|
-
"oneofs": {}
|
|
3579
|
+
}
|
|
3585
3580
|
},
|
|
3586
3581
|
"pushwoosh.cj.journey.PointParamsSendLine": {
|
|
3587
3582
|
"type": "I",
|
|
@@ -3621,8 +3616,7 @@ export const data = {
|
|
|
3621
3616
|
"vouchersParams": {
|
|
3622
3617
|
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
3623
3618
|
}
|
|
3624
|
-
}
|
|
3625
|
-
"oneofs": {}
|
|
3619
|
+
}
|
|
3626
3620
|
},
|
|
3627
3621
|
"pushwoosh.cj.journey.PointParamsSendKakao": {
|
|
3628
3622
|
"type": "I",
|
|
@@ -3656,8 +3650,7 @@ export const data = {
|
|
|
3656
3650
|
"sendRate": {
|
|
3657
3651
|
"type": "pushwoosh.cj.journey.SendRate"
|
|
3658
3652
|
}
|
|
3659
|
-
}
|
|
3660
|
-
"oneofs": {}
|
|
3653
|
+
}
|
|
3661
3654
|
},
|
|
3662
3655
|
"pushwoosh.cj.journey.PointParamsSendTelegram": {
|
|
3663
3656
|
"type": "I",
|
|
@@ -3691,8 +3684,7 @@ export const data = {
|
|
|
3691
3684
|
"sendRate": {
|
|
3692
3685
|
"type": "pushwoosh.cj.journey.SendRate"
|
|
3693
3686
|
}
|
|
3694
|
-
}
|
|
3695
|
-
"oneofs": {}
|
|
3687
|
+
}
|
|
3696
3688
|
},
|
|
3697
3689
|
"pushwoosh.cj.journey.PointParamsSendFBMessenger": {
|
|
3698
3690
|
"type": "I",
|
|
@@ -3732,8 +3724,7 @@ export const data = {
|
|
|
3732
3724
|
"presetCode": {
|
|
3733
3725
|
"type": "string"
|
|
3734
3726
|
}
|
|
3735
|
-
}
|
|
3736
|
-
"oneofs": {}
|
|
3727
|
+
}
|
|
3737
3728
|
},
|
|
3738
3729
|
"pushwoosh.cj.journey.PointParamsSendViber": {
|
|
3739
3730
|
"type": "I",
|
|
@@ -3786,8 +3777,7 @@ export const data = {
|
|
|
3786
3777
|
"carousel": {
|
|
3787
3778
|
"type": "pushwoosh.cj.journey.ViberCarousel"
|
|
3788
3779
|
}
|
|
3789
|
-
}
|
|
3790
|
-
"oneofs": {}
|
|
3780
|
+
}
|
|
3791
3781
|
},
|
|
3792
3782
|
"pushwoosh.cj.journey.ViberCarousel": {
|
|
3793
3783
|
"type": "I",
|
|
@@ -3884,8 +3874,7 @@ export const data = {
|
|
|
3884
3874
|
"type": "pushwoosh.cj.journey.Actions",
|
|
3885
3875
|
"optional": true
|
|
3886
3876
|
}
|
|
3887
|
-
}
|
|
3888
|
-
"oneofs": {}
|
|
3877
|
+
}
|
|
3889
3878
|
},
|
|
3890
3879
|
"pushwoosh.cj.journey.Actions": {
|
|
3891
3880
|
"type": "I",
|
|
@@ -3981,8 +3970,7 @@ export const data = {
|
|
|
3981
3970
|
"attachment": {
|
|
3982
3971
|
"type": "string"
|
|
3983
3972
|
}
|
|
3984
|
-
}
|
|
3985
|
-
"oneofs": {}
|
|
3973
|
+
}
|
|
3986
3974
|
},
|
|
3987
3975
|
"pushwoosh.cj.journey.PointParamsSendEmail": {
|
|
3988
3976
|
"type": "I",
|
|
@@ -4064,8 +4052,7 @@ export const data = {
|
|
|
4064
4052
|
"emailSunsetPolicy": {
|
|
4065
4053
|
"type": "pushwoosh.cj.journey.EmailSunsetPolicy"
|
|
4066
4054
|
}
|
|
4067
|
-
}
|
|
4068
|
-
"oneofs": {}
|
|
4055
|
+
}
|
|
4069
4056
|
},
|
|
4070
4057
|
"pushwoosh.cj.journey.EmailSunsetPolicy": {
|
|
4071
4058
|
"type": "I",
|
|
@@ -4141,8 +4128,7 @@ export const data = {
|
|
|
4141
4128
|
"vouchersParams": {
|
|
4142
4129
|
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
4143
4130
|
}
|
|
4144
|
-
}
|
|
4145
|
-
"oneofs": {}
|
|
4131
|
+
}
|
|
4146
4132
|
},
|
|
4147
4133
|
"pushwoosh.cj.journey.UnsubscribedPolicy": {
|
|
4148
4134
|
"type": "E",
|
|
@@ -4528,8 +4514,7 @@ export const data = {
|
|
|
4528
4514
|
"type": "pushwoosh.cj.journey.BooleanSplitterEventConditions",
|
|
4529
4515
|
"optional": true
|
|
4530
4516
|
}
|
|
4531
|
-
}
|
|
4532
|
-
"oneofs": {}
|
|
4517
|
+
}
|
|
4533
4518
|
},
|
|
4534
4519
|
"pushwoosh.cj.journey.PointParamsBooleanSplitter.LoadPolicy": {
|
|
4535
4520
|
"type": "E",
|
|
@@ -4571,8 +4556,7 @@ export const data = {
|
|
|
4571
4556
|
"type": "pushwoosh.cj.journey.BooleanSplitterTagBranch",
|
|
4572
4557
|
"array": true
|
|
4573
4558
|
}
|
|
4574
|
-
}
|
|
4575
|
-
"oneofs": {}
|
|
4559
|
+
}
|
|
4576
4560
|
},
|
|
4577
4561
|
"pushwoosh.cj.journey.PointParamsWaitEvent": {
|
|
4578
4562
|
"type": "I",
|
|
@@ -4591,8 +4575,7 @@ export const data = {
|
|
|
4591
4575
|
"type": "boolean",
|
|
4592
4576
|
"optional": true
|
|
4593
4577
|
}
|
|
4594
|
-
}
|
|
4595
|
-
"oneofs": {}
|
|
4578
|
+
}
|
|
4596
4579
|
},
|
|
4597
4580
|
"pushwoosh.cj.journey.PointWaitEventInfo": {
|
|
4598
4581
|
"type": "I",
|
|
@@ -4646,8 +4629,7 @@ export const data = {
|
|
|
4646
4629
|
"type": "pushwoosh.cj.journey.PointInappTriggerEvent",
|
|
4647
4630
|
"optional": true
|
|
4648
4631
|
}
|
|
4649
|
-
}
|
|
4650
|
-
"oneofs": {}
|
|
4632
|
+
}
|
|
4651
4633
|
},
|
|
4652
4634
|
"pushwoosh.cj.journey.PointInappTriggerEvent": {
|
|
4653
4635
|
"type": "I",
|
|
@@ -4694,8 +4676,7 @@ export const data = {
|
|
|
4694
4676
|
"onClickActions": {
|
|
4695
4677
|
"type": "pushwoosh.cj.journey.InboxOpenActions"
|
|
4696
4678
|
}
|
|
4697
|
-
}
|
|
4698
|
-
"oneofs": {}
|
|
4679
|
+
}
|
|
4699
4680
|
},
|
|
4700
4681
|
"pushwoosh.cj.journey.InboxOpenActions": {
|
|
4701
4682
|
"type": "I",
|
|
@@ -5222,8 +5203,7 @@ export const data = {
|
|
|
5222
5203
|
"entryEnd": {
|
|
5223
5204
|
"type": "pushwoosh.cj.journey.SegmentEntryEnd"
|
|
5224
5205
|
}
|
|
5225
|
-
}
|
|
5226
|
-
"oneofs": {}
|
|
5206
|
+
}
|
|
5227
5207
|
},
|
|
5228
5208
|
"pushwoosh.cj.journey.SegmentEntryEnd": {
|
|
5229
5209
|
"type": "I",
|
|
@@ -5530,8 +5510,7 @@ export const data = {
|
|
|
5530
5510
|
"type": "string",
|
|
5531
5511
|
"array": true
|
|
5532
5512
|
}
|
|
5533
|
-
}
|
|
5534
|
-
"oneofs": {}
|
|
5513
|
+
}
|
|
5535
5514
|
},
|
|
5536
5515
|
"pushwoosh.cj.journey.PointParamsTerminator": {
|
|
5537
5516
|
"type": "I",
|
|
@@ -5580,8 +5559,7 @@ export const data = {
|
|
|
5580
5559
|
"richMediaCode": {
|
|
5581
5560
|
"type": "string"
|
|
5582
5561
|
}
|
|
5583
|
-
}
|
|
5584
|
-
"oneofs": {}
|
|
5562
|
+
}
|
|
5585
5563
|
},
|
|
5586
5564
|
"pushwoosh.cj.journey.GetJourneyStatsByPointsExternalRequest": {
|
|
5587
5565
|
"type": "I",
|