@pushwoosh/rpc-gateway-journey-data 0.27.177 → 0.27.179

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
@@ -269,6 +269,12 @@ export const data = {
269
269
  "method": "post",
270
270
  "path": "/api/v3/journeygateway/start"
271
271
  },
272
+ "StartJourneyByAPI": {
273
+ "request": "pushwoosh.cj.journey.StartJourneyByAPIRequest",
274
+ "response": "pushwoosh.cj.journey.StartJourneyByAPIResponse",
275
+ "method": "post",
276
+ "path": "/api/v3/journeygateway/start-by-api"
277
+ },
272
278
  "PauseJourneyV2": {
273
279
  "request": "pushwoosh.cj.journey.PauseJourneyV2Request",
274
280
  "response": "pushwoosh.cj.journey.PauseJourneyResponse",
@@ -2136,6 +2142,37 @@ export const data = {
2136
2142
  }
2137
2143
  }
2138
2144
  },
2145
+ "pushwoosh.cj.journey.StartJourneyByAPIRequest": {
2146
+ "type": "I",
2147
+ "fields": {
2148
+ "journeyUuid": {
2149
+ "type": "string"
2150
+ },
2151
+ "filter": {
2152
+ "type": "string"
2153
+ },
2154
+ "userIds": {
2155
+ "type": "string",
2156
+ "array": true
2157
+ },
2158
+ "hwids": {
2159
+ "type": "string",
2160
+ "array": true
2161
+ },
2162
+ "attributeValues": {
2163
+ "type": "string",
2164
+ "mapKeyType": "string"
2165
+ }
2166
+ }
2167
+ },
2168
+ "pushwoosh.cj.journey.StartJourneyByAPIResponse": {
2169
+ "type": "I",
2170
+ "fields": {
2171
+ "requestUuid": {
2172
+ "type": "string"
2173
+ }
2174
+ }
2175
+ },
2139
2176
  "pushwoosh.cj.journey.PauseJourneyV2Request": {
2140
2177
  "type": "I",
2141
2178
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.27.177",
3
+ "version": "0.27.179",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -44,6 +44,7 @@ export interface Journey {
44
44
  GetJourneyWebhookCalls(request: GetJourneyWebhookCallsRequest): Promise<GetJourneyWebhookCallsResponse>;
45
45
  GetVoucherPools(request: GetVoucherPoolsRequest): Promise<GetVoucherPoolsResponse>;
46
46
  StartJourneyV2(request: StartJourneyV2Request): Promise<StartJourneyResponse>;
47
+ StartJourneyByAPI(request: StartJourneyByAPIRequest): Promise<StartJourneyByAPIResponse>;
47
48
  PauseJourneyV2(request: PauseJourneyV2Request): Promise<PauseJourneyResponse>;
48
49
  FinishJourneyV2(request: FinishJourneyV2Request): Promise<FinishJourneyResponse>;
49
50
  DraftJourneyV2(request: DraftJourneyV2Request): Promise<DraftJourneyResponse>;
@@ -736,6 +737,16 @@ export type UpdateAndResumeJourneyResponseV2 = {
736
737
  export type StartJourneyV2Request = {
737
738
  uuid?: string;
738
739
  };
740
+ export type StartJourneyByAPIRequest = {
741
+ journeyUuid?: string;
742
+ filter?: string;
743
+ userIds?: string[];
744
+ hwids?: string[];
745
+ attributeValues?: Record<string, string>;
746
+ };
747
+ export type StartJourneyByAPIResponse = {
748
+ requestUuid: string;
749
+ };
739
750
  export type PauseJourneyV2Request = {
740
751
  uuid?: string;
741
752
  };