@pushwoosh/rpc-gateway-journey-data 0.27.82 → 0.27.84
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 +26 -0
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +5 -0
package/data.js
CHANGED
|
@@ -1695,10 +1695,21 @@ export const data = {
|
|
|
1695
1695
|
"activatedAtTo": {
|
|
1696
1696
|
"type": "Date",
|
|
1697
1697
|
"optional": true
|
|
1698
|
+
},
|
|
1699
|
+
"view": {
|
|
1700
|
+
"type": "pushwoosh.cj.journey.JourneyListView"
|
|
1698
1701
|
}
|
|
1699
1702
|
},
|
|
1700
1703
|
"oneofs": {}
|
|
1701
1704
|
},
|
|
1705
|
+
"pushwoosh.cj.journey.JourneyListView": {
|
|
1706
|
+
"type": "E",
|
|
1707
|
+
"values": [
|
|
1708
|
+
"VIEW_UNSPECIFIED",
|
|
1709
|
+
"VIEW_COMPACT",
|
|
1710
|
+
"VIEW_FULL"
|
|
1711
|
+
]
|
|
1712
|
+
},
|
|
1702
1713
|
"pushwoosh.cj.journey.GetJourneysListResponse": {
|
|
1703
1714
|
"type": "I",
|
|
1704
1715
|
"fields": {
|
|
@@ -1732,9 +1743,21 @@ export const data = {
|
|
|
1732
1743
|
"comments": {
|
|
1733
1744
|
"type": "pushwoosh.cj.journey.JourneyComment",
|
|
1734
1745
|
"array": true
|
|
1746
|
+
},
|
|
1747
|
+
"saveResult": {
|
|
1748
|
+
"type": "pushwoosh.cj.journey.SaveResult"
|
|
1735
1749
|
}
|
|
1736
1750
|
}
|
|
1737
1751
|
},
|
|
1752
|
+
"pushwoosh.cj.journey.SaveResult": {
|
|
1753
|
+
"type": "E",
|
|
1754
|
+
"values": [
|
|
1755
|
+
"SAVE_RESULT_UNSPECIFIED",
|
|
1756
|
+
"SAVE_RESULT_SAVED",
|
|
1757
|
+
"SAVE_RESULT_NOTHING_TO_SAVE",
|
|
1758
|
+
"SAVE_RESULT_REFUSED_SU"
|
|
1759
|
+
]
|
|
1760
|
+
},
|
|
1738
1761
|
"pushwoosh.cj.journey.GetJourneyByUUIDResponseWithErrors": {
|
|
1739
1762
|
"type": "I",
|
|
1740
1763
|
"fields": {
|
|
@@ -1839,6 +1862,9 @@ export const data = {
|
|
|
1839
1862
|
"comments": {
|
|
1840
1863
|
"type": "pushwoosh.cj.journey.JourneyComment",
|
|
1841
1864
|
"array": true
|
|
1865
|
+
},
|
|
1866
|
+
"saveResult": {
|
|
1867
|
+
"type": "pushwoosh.cj.journey.SaveResult"
|
|
1842
1868
|
}
|
|
1843
1869
|
}
|
|
1844
1870
|
},
|
package/package.json
CHANGED
|
@@ -598,7 +598,9 @@ export type GetJourneysListRequest = {
|
|
|
598
598
|
sortOrder?: string;
|
|
599
599
|
activatedAtFrom?: Date;
|
|
600
600
|
activatedAtTo?: Date;
|
|
601
|
+
view?: JourneyListView;
|
|
601
602
|
};
|
|
603
|
+
export type JourneyListView = 'VIEW_UNSPECIFIED' | 'VIEW_COMPACT' | 'VIEW_FULL';
|
|
602
604
|
export type GetJourneysListResponse = {
|
|
603
605
|
journeys: Info[];
|
|
604
606
|
total: number;
|
|
@@ -610,7 +612,9 @@ export type GetJourneyByUUIDResponse = {
|
|
|
610
612
|
info: Info;
|
|
611
613
|
points: Point[];
|
|
612
614
|
comments: JourneyComment[];
|
|
615
|
+
saveResult: SaveResult;
|
|
613
616
|
};
|
|
617
|
+
export type SaveResult = 'SAVE_RESULT_UNSPECIFIED' | 'SAVE_RESULT_SAVED' | 'SAVE_RESULT_NOTHING_TO_SAVE' | 'SAVE_RESULT_REFUSED_SU';
|
|
614
618
|
export type GetJourneyByUUIDResponseWithErrors = {
|
|
615
619
|
response: GetJourneyByUUIDResponse;
|
|
616
620
|
validation: ValidateJourneyResponse;
|
|
@@ -644,6 +648,7 @@ export type UpdateJourneyResponse = {
|
|
|
644
648
|
info: Info;
|
|
645
649
|
points: Point[];
|
|
646
650
|
comments: JourneyComment[];
|
|
651
|
+
saveResult: SaveResult;
|
|
647
652
|
};
|
|
648
653
|
export type CreateJourneyResponse = {
|
|
649
654
|
info: Info;
|