@pushwoosh/rpc-gateway-journey-data 0.26.246 → 0.26.248
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 +36 -18
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +1 -4
- package/pushwoosh_cj_journey_category.d.ts +9 -0
package/data.js
CHANGED
|
@@ -2729,7 +2729,14 @@ export const data = {
|
|
|
2729
2729
|
"TYPE_PRICE",
|
|
2730
2730
|
"TYPE_VERSION",
|
|
2731
2731
|
"TYPE_DYNAMIC",
|
|
2732
|
-
"TYPE_LIST_APPEND"
|
|
2732
|
+
"TYPE_LIST_APPEND",
|
|
2733
|
+
"TYPE_LIST_REMOVE",
|
|
2734
|
+
"TYPE_DYNAMIC_APPEND",
|
|
2735
|
+
"TYPE_DYNAMIC_REMOVE",
|
|
2736
|
+
"TYPE_INCREMENT",
|
|
2737
|
+
"TYPE_DECREMENT",
|
|
2738
|
+
"TYPE_DYNAMIC_INCREMENT",
|
|
2739
|
+
"TYPE_DYNAMIC_DECREMENT"
|
|
2733
2740
|
]
|
|
2734
2741
|
},
|
|
2735
2742
|
"pushwoosh.cj.journey.Tag": {
|
|
@@ -2770,12 +2777,6 @@ export const data = {
|
|
|
2770
2777
|
},
|
|
2771
2778
|
"timezone": {
|
|
2772
2779
|
"type": "string"
|
|
2773
|
-
},
|
|
2774
|
-
"dynamicModification": {
|
|
2775
|
-
"type": "boolean"
|
|
2776
|
-
},
|
|
2777
|
-
"setTagOperation": {
|
|
2778
|
-
"type": "pushwoosh.cj.journey.SetTagOperation"
|
|
2779
2780
|
}
|
|
2780
2781
|
},
|
|
2781
2782
|
"oneofs": {
|
|
@@ -2794,17 +2795,6 @@ export const data = {
|
|
|
2794
2795
|
}
|
|
2795
2796
|
}
|
|
2796
2797
|
},
|
|
2797
|
-
"pushwoosh.cj.journey.SetTagOperation": {
|
|
2798
|
-
"type": "E",
|
|
2799
|
-
"values": [
|
|
2800
|
-
"SetTagOperationUnknown",
|
|
2801
|
-
"SetTagOperationOverwrite",
|
|
2802
|
-
"SetTagOperationAppend",
|
|
2803
|
-
"SetTagOperationRemove",
|
|
2804
|
-
"SetTagOperationIncrement",
|
|
2805
|
-
"SetTagOperationDecrement"
|
|
2806
|
-
]
|
|
2807
|
-
},
|
|
2808
2798
|
"pushwoosh.cj.journey.TagValueList": {
|
|
2809
2799
|
"type": "I",
|
|
2810
2800
|
"fields": {
|
|
@@ -3460,6 +3450,12 @@ export const data = {
|
|
|
3460
3450
|
"method": "post",
|
|
3461
3451
|
"path": "/api/v2/journeycategorygateway"
|
|
3462
3452
|
},
|
|
3453
|
+
"UpdateCategory": {
|
|
3454
|
+
"request": "pushwoosh.cj.journey_category.UpdateCategoryRequest",
|
|
3455
|
+
"response": "pushwoosh.cj.journey_category.UpdateCategoryResponse",
|
|
3456
|
+
"method": "put",
|
|
3457
|
+
"path": "/api/v2/journeycategorygateway/{uuid}"
|
|
3458
|
+
},
|
|
3463
3459
|
"DeleteCategory": {
|
|
3464
3460
|
"request": "pushwoosh.cj.journey_category.DeleteCategoryRequest",
|
|
3465
3461
|
"response": "pushwoosh.cj.journey_category.DeleteCategoryResponse",
|
|
@@ -3510,6 +3506,28 @@ export const data = {
|
|
|
3510
3506
|
}
|
|
3511
3507
|
}
|
|
3512
3508
|
},
|
|
3509
|
+
"pushwoosh.cj.journey_category.UpdateCategoryRequest": {
|
|
3510
|
+
"type": "I",
|
|
3511
|
+
"fields": {
|
|
3512
|
+
"applicationCode": {
|
|
3513
|
+
"type": "string"
|
|
3514
|
+
},
|
|
3515
|
+
"title": {
|
|
3516
|
+
"type": "string"
|
|
3517
|
+
},
|
|
3518
|
+
"uuid": {
|
|
3519
|
+
"type": "string"
|
|
3520
|
+
}
|
|
3521
|
+
}
|
|
3522
|
+
},
|
|
3523
|
+
"pushwoosh.cj.journey_category.UpdateCategoryResponse": {
|
|
3524
|
+
"type": "I",
|
|
3525
|
+
"fields": {
|
|
3526
|
+
"category": {
|
|
3527
|
+
"type": "pushwoosh.cj.journey_category.Info"
|
|
3528
|
+
}
|
|
3529
|
+
}
|
|
3530
|
+
},
|
|
3513
3531
|
"pushwoosh.cj.journey_category.DeleteCategoryRequest": {
|
|
3514
3532
|
"type": "I",
|
|
3515
3533
|
"fields": {
|
package/package.json
CHANGED
|
@@ -1055,7 +1055,7 @@ export type PointParamsABSplitter = {
|
|
|
1055
1055
|
winnerOutputKey: string;
|
|
1056
1056
|
winnerGoalUuid: string;
|
|
1057
1057
|
};
|
|
1058
|
-
export type TagType = 'TYPE_UNKNOWN' | 'TYPE_INTEGER' | 'TYPE_STRING' | 'TYPE_LIST' | 'TYPE_DATE' | 'TYPE_BOOLEAN' | 'TYPE_PRICE' | 'TYPE_VERSION' | 'TYPE_DYNAMIC' | 'TYPE_LIST_APPEND';
|
|
1058
|
+
export type TagType = 'TYPE_UNKNOWN' | 'TYPE_INTEGER' | 'TYPE_STRING' | 'TYPE_LIST' | 'TYPE_DATE' | 'TYPE_BOOLEAN' | 'TYPE_PRICE' | 'TYPE_VERSION' | 'TYPE_DYNAMIC' | 'TYPE_LIST_APPEND' | 'TYPE_LIST_REMOVE' | 'TYPE_DYNAMIC_APPEND' | 'TYPE_DYNAMIC_REMOVE' | 'TYPE_INCREMENT' | 'TYPE_DECREMENT' | 'TYPE_DYNAMIC_INCREMENT' | 'TYPE_DYNAMIC_DECREMENT';
|
|
1059
1059
|
export type Tag_value_int = {
|
|
1060
1060
|
type: 'int';
|
|
1061
1061
|
data: number;
|
|
@@ -1097,11 +1097,8 @@ export type Tag = {
|
|
|
1097
1097
|
id: number;
|
|
1098
1098
|
type: TagType;
|
|
1099
1099
|
name: string;
|
|
1100
|
-
dynamicModification: boolean;
|
|
1101
|
-
setTagOperation: SetTagOperation;
|
|
1102
1100
|
value: Tag_value;
|
|
1103
1101
|
};
|
|
1104
|
-
export type SetTagOperation = 'SetTagOperationUnknown' | 'SetTagOperationOverwrite' | 'SetTagOperationAppend' | 'SetTagOperationRemove' | 'SetTagOperationIncrement' | 'SetTagOperationDecrement';
|
|
1105
1102
|
export type TagValueList = {
|
|
1106
1103
|
value: string[];
|
|
1107
1104
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface Category {
|
|
2
2
|
GetCategoriesList(request: GetCategoriesListRequest): Promise<GetCategoriesListResponse>;
|
|
3
3
|
CreateCategory(request: CreateCategoryRequest): Promise<CreateCategoryResponse>;
|
|
4
|
+
UpdateCategory(request: UpdateCategoryRequest): Promise<UpdateCategoryResponse>;
|
|
4
5
|
DeleteCategory(request: DeleteCategoryRequest): Promise<DeleteCategoryResponse>;
|
|
5
6
|
}
|
|
6
7
|
export type GetCategoriesListRequest = {
|
|
@@ -18,6 +19,14 @@ export type CreateCategoryRequest = {
|
|
|
18
19
|
export type CreateCategoryResponse = {
|
|
19
20
|
category: Info;
|
|
20
21
|
};
|
|
22
|
+
export type UpdateCategoryRequest = {
|
|
23
|
+
applicationCode?: string;
|
|
24
|
+
title?: string;
|
|
25
|
+
uuid?: string;
|
|
26
|
+
};
|
|
27
|
+
export type UpdateCategoryResponse = {
|
|
28
|
+
category: Info;
|
|
29
|
+
};
|
|
21
30
|
export type DeleteCategoryRequest = {
|
|
22
31
|
uuid?: string;
|
|
23
32
|
};
|