@pushwoosh/rpc-gateway-journey-data 0.26.369 → 0.26.371

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
@@ -1144,9 +1144,9 @@ export const data = {
1144
1144
  "filterTitle": {
1145
1145
  "type": "string"
1146
1146
  },
1147
- "sorting": {
1148
- "type": "pushwoosh.cj.journey.Sorting",
1149
- "array": true
1147
+ "sortField": {
1148
+ "type": "string",
1149
+ "optional": true
1150
1150
  },
1151
1151
  "page": {
1152
1152
  "type": "number"
@@ -1161,8 +1161,21 @@ export const data = {
1161
1161
  "uuidList": {
1162
1162
  "type": "string",
1163
1163
  "array": true
1164
+ },
1165
+ "sortOrder": {
1166
+ "type": "string",
1167
+ "optional": true
1168
+ },
1169
+ "activatedAtFrom": {
1170
+ "type": "Date",
1171
+ "optional": true
1172
+ },
1173
+ "activatedAtTo": {
1174
+ "type": "Date",
1175
+ "optional": true
1164
1176
  }
1165
- }
1177
+ },
1178
+ "oneofs": {}
1166
1179
  },
1167
1180
  "pushwoosh.cj.journey.GetJourneysListResponse": {
1168
1181
  "type": "I",
@@ -1653,17 +1666,6 @@ export const data = {
1653
1666
  }
1654
1667
  }
1655
1668
  },
1656
- "pushwoosh.cj.journey.Sorting": {
1657
- "type": "I",
1658
- "fields": {
1659
- "field": {
1660
- "type": "string"
1661
- },
1662
- "direction": {
1663
- "type": "string"
1664
- }
1665
- }
1666
- },
1667
1669
  "pushwoosh.cj.journey.JourneyStatus": {
1668
1670
  "type": "E",
1669
1671
  "values": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.26.369",
3
+ "version": "0.26.371",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -422,11 +422,14 @@ export type GetJourneysListRequest = {
422
422
  statuses?: JourneyStatus[];
423
423
  categoryUuids?: string[];
424
424
  filterTitle?: string;
425
- sorting?: Sorting[];
425
+ sortField?: string;
426
426
  page?: number;
427
427
  pageSize?: number;
428
428
  campaignTypes?: CampaignType[];
429
429
  uuidList?: string[];
430
+ sortOrder?: string;
431
+ activatedAtFrom?: Date;
432
+ activatedAtTo?: Date;
430
433
  };
431
434
  export type GetJourneysListResponse = {
432
435
  journeys: Info[];
@@ -589,10 +592,6 @@ export type GetUserFlowResponse_Flow = {
589
592
  export type GetUserFlowResponse = {
590
593
  flows: GetUserFlowResponse_Flow[];
591
594
  };
592
- export type Sorting = {
593
- field: string;
594
- direction: string;
595
- };
596
595
  export type JourneyStatus = 'STATUS_DRAFT' | 'STATUS_RUNNING' | 'STATUS_FINISHED' | 'STATUS_ARCHIVED' | 'STATUS_PAUSED' | 'STATUS_UNKNOWN';
597
596
  export type PointEventAttributeType = 'ATTRIBUTE_UNKNOWN' | 'INTEGER' | 'STRING' | 'LIST' | 'DATE' | 'BOOLEAN' | 'FLOAT';
598
597
  export type PointEventConditionOperator = 'OPERATOR_UNKNOWN' | 'EQ' | 'LTE' | 'GTE' | 'NOTEQ' | 'IN' | 'NOTIN' | 'BETWEEN';