@pushwoosh/rpc-gateway-journey-data 0.26.368 → 0.26.370

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,13 @@ export const data = {
1161
1161
  "uuidList": {
1162
1162
  "type": "string",
1163
1163
  "array": true
1164
+ },
1165
+ "sortOrder": {
1166
+ "type": "string",
1167
+ "optional": true
1164
1168
  }
1165
- }
1169
+ },
1170
+ "oneofs": {}
1166
1171
  },
1167
1172
  "pushwoosh.cj.journey.GetJourneysListResponse": {
1168
1173
  "type": "I",
@@ -1653,17 +1658,6 @@ export const data = {
1653
1658
  }
1654
1659
  }
1655
1660
  },
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
1661
  "pushwoosh.cj.journey.JourneyStatus": {
1668
1662
  "type": "E",
1669
1663
  "values": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.26.368",
3
+ "version": "0.26.370",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -422,11 +422,12 @@ 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;
430
431
  };
431
432
  export type GetJourneysListResponse = {
432
433
  journeys: Info[];
@@ -589,10 +590,6 @@ export type GetUserFlowResponse_Flow = {
589
590
  export type GetUserFlowResponse = {
590
591
  flows: GetUserFlowResponse_Flow[];
591
592
  };
592
- export type Sorting = {
593
- field: string;
594
- direction: string;
595
- };
596
593
  export type JourneyStatus = 'STATUS_DRAFT' | 'STATUS_RUNNING' | 'STATUS_FINISHED' | 'STATUS_ARCHIVED' | 'STATUS_PAUSED' | 'STATUS_UNKNOWN';
597
594
  export type PointEventAttributeType = 'ATTRIBUTE_UNKNOWN' | 'INTEGER' | 'STRING' | 'LIST' | 'DATE' | 'BOOLEAN' | 'FLOAT';
598
595
  export type PointEventConditionOperator = 'OPERATOR_UNKNOWN' | 'EQ' | 'LTE' | 'GTE' | 'NOTEQ' | 'IN' | 'NOTIN' | 'BETWEEN';