@pushwoosh/rpc-gateway-journey-data 0.27.189 → 0.27.191

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
@@ -17,6 +17,18 @@ export const data = {
17
17
  "method": "get",
18
18
  "path": "/api/v2/journeygateway/{uuid}"
19
19
  },
20
+ "DeleteJourneys": {
21
+ "request": "pushwoosh.cj.journey.JourneysBulkRequest",
22
+ "response": "pushwoosh.cj.journey.JourneysBulkResponse",
23
+ "method": "post",
24
+ "path": "/api/v2/journeygateway/bulk/delete"
25
+ },
26
+ "ArchiveJourneys": {
27
+ "request": "pushwoosh.cj.journey.JourneysBulkRequest",
28
+ "response": "pushwoosh.cj.journey.JourneysBulkResponse",
29
+ "method": "post",
30
+ "path": "/api/v2/journeygateway/bulk/archive"
31
+ },
20
32
  "MoveJourneysToCategory": {
21
33
  "request": "pushwoosh.cj.journey.MoveJourneysToCategoryRequest",
22
34
  "response": "pushwoosh.cj.journey.MoveJourneysToCategoryResponse",
@@ -2317,6 +2329,31 @@ export const data = {
2317
2329
  }
2318
2330
  }
2319
2331
  },
2332
+ "pushwoosh.cj.journey.JourneysBulkRequest": {
2333
+ "type": "I",
2334
+ "fields": {
2335
+ "applicationCode": {
2336
+ "type": "string"
2337
+ },
2338
+ "journeyUuids": {
2339
+ "type": "string",
2340
+ "array": true
2341
+ }
2342
+ }
2343
+ },
2344
+ "pushwoosh.cj.journey.JourneysBulkResponse": {
2345
+ "type": "I",
2346
+ "fields": {
2347
+ "doneUuids": {
2348
+ "type": "string",
2349
+ "array": true
2350
+ },
2351
+ "skippedUuids": {
2352
+ "type": "string",
2353
+ "array": true
2354
+ }
2355
+ }
2356
+ },
2320
2357
  "pushwoosh.cj.journey.MoveJourneysToCategoryRequest": {
2321
2358
  "type": "I",
2322
2359
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.27.189",
3
+ "version": "0.27.191",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -2,6 +2,8 @@ import { FilterExpression as pushwoosh_objects_filters_v1_FilterExpression } fro
2
2
  export interface Journey {
3
3
  GetJourneysList(request: GetJourneysListRequest): Promise<GetJourneysListResponse>;
4
4
  GetJourneyByUUID(request: GetJourneyByUUIDRequest): Promise<GetJourneyByUUIDResponse>;
5
+ DeleteJourneys(request: JourneysBulkRequest): Promise<JourneysBulkResponse>;
6
+ ArchiveJourneys(request: JourneysBulkRequest): Promise<JourneysBulkResponse>;
5
7
  MoveJourneysToCategory(request: MoveJourneysToCategoryRequest): Promise<MoveJourneysToCategoryResponse>;
6
8
  ValidateJourney(request: GetJourneyByUUIDRequest): Promise<ValidateJourneyResponse>;
7
9
  StartJourney(request: GetJourneyByUUIDRequest): Promise<GetJourneyByUUIDResponse>;
@@ -796,6 +798,14 @@ export type UpdateABSSplitterParamsV2Request = {
796
798
  export type ValidateJourneyV2Request = {
797
799
  uuid?: string;
798
800
  };
801
+ export type JourneysBulkRequest = {
802
+ applicationCode?: string;
803
+ journeyUuids?: string[];
804
+ };
805
+ export type JourneysBulkResponse = {
806
+ doneUuids: string[];
807
+ skippedUuids: string[];
808
+ };
799
809
  export type MoveJourneysToCategoryRequest = {
800
810
  journeyUuids?: string[];
801
811
  categoryUuid?: string;