@pushwoosh/rpc-gateway-journey-data 0.27.88 → 0.27.89

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
@@ -161,6 +161,12 @@ export const data = {
161
161
  "method": "get",
162
162
  "path": "/api/v2/journeygateway/account-restrictions"
163
163
  },
164
+ "GetPointTemplates": {
165
+ "request": "pushwoosh.cj.journey.GetPointTemplatesRequest",
166
+ "response": "pushwoosh.cj.journey.GetPointTemplatesResponse",
167
+ "method": "get",
168
+ "path": "/api/v2/journeygateway/point-templates"
169
+ },
164
170
  "GetJourneyGeneralTimeStatistics": {
165
171
  "request": "pushwoosh.cj.journey.GetJourneyGeneralTimeStatisticsRequest",
166
172
  "response": "pushwoosh.cj.journey.GetJourneyGeneralTimeStatisticsResponse",
@@ -4465,6 +4471,15 @@ export const data = {
4465
4471
  "secretHeaders": {
4466
4472
  "type": "string",
4467
4473
  "array": true
4474
+ },
4475
+ "templateRef": {
4476
+ "type": "string"
4477
+ },
4478
+ "templateVersion": {
4479
+ "type": "string"
4480
+ },
4481
+ "templateConfig": {
4482
+ "type": "string"
4468
4483
  }
4469
4484
  }
4470
4485
  },
@@ -5186,6 +5201,58 @@ export const data = {
5186
5201
  },
5187
5202
  "allowCjSplitterDeviceCheck": {
5188
5203
  "type": "boolean"
5204
+ },
5205
+ "allowJourneyPointTemplates": {
5206
+ "type": "boolean"
5207
+ }
5208
+ }
5209
+ },
5210
+ "pushwoosh.cj.journey.GetPointTemplatesRequest": {
5211
+ "type": "I",
5212
+ "fields": {}
5213
+ },
5214
+ "pushwoosh.cj.journey.GetPointTemplatesResponse": {
5215
+ "type": "I",
5216
+ "fields": {
5217
+ "payload": {
5218
+ "type": "pushwoosh.cj.journey.PointTemplate",
5219
+ "array": true
5220
+ }
5221
+ }
5222
+ },
5223
+ "pushwoosh.cj.journey.PointTemplate": {
5224
+ "type": "I",
5225
+ "fields": {
5226
+ "slug": {
5227
+ "type": "string"
5228
+ },
5229
+ "version": {
5230
+ "type": "string"
5231
+ },
5232
+ "title": {
5233
+ "type": "string"
5234
+ },
5235
+ "description": {
5236
+ "type": "string"
5237
+ },
5238
+ "icon": {
5239
+ "type": "string"
5240
+ },
5241
+ "category": {
5242
+ "type": "string"
5243
+ },
5244
+ "runtime": {
5245
+ "type": "string"
5246
+ },
5247
+ "configSchema": {
5248
+ "type": "string"
5249
+ },
5250
+ "authType": {
5251
+ "type": "string"
5252
+ },
5253
+ "responseMapping": {
5254
+ "type": "pushwoosh.cj.journey.WebhookResponseMapping",
5255
+ "array": true
5189
5256
  }
5190
5257
  }
5191
5258
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.27.88",
3
+ "version": "0.27.89",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -26,6 +26,7 @@ export interface Journey {
26
26
  GetTagsAutocomplete(request: TagsAutocompleteRequest): Promise<TagsAutocompleteResponse>;
27
27
  GetPlaceholders(request: GetPlaceholdersRequest): Promise<GetPlaceholdersResponse>;
28
28
  GetAccountRestrictionValues(request: GetAccountRestrictionValuesRequest): Promise<GetAccountRestrictionValuesResponse>;
29
+ GetPointTemplates(request: GetPointTemplatesRequest): Promise<GetPointTemplatesResponse>;
29
30
  GetJourneyGeneralTimeStatistics(request: GetJourneyGeneralTimeStatisticsRequest): Promise<GetJourneyGeneralTimeStatisticsResponse>;
30
31
  GetJourneyUsers(request: GetJourneyUsersRequest): Promise<GetJourneyUsersResponse>;
31
32
  GetJourneyMetrics(request: GetJourneyMetricsRequest): Promise<GetJourneyMetricsResponse>;
@@ -1622,6 +1623,9 @@ export type PointParamsWebHook = {
1622
1623
  reactivate: boolean;
1623
1624
  responseMapping: WebhookResponseMapping[];
1624
1625
  secretHeaders: string[];
1626
+ templateRef: string;
1627
+ templateVersion: string;
1628
+ templateConfig: string;
1625
1629
  };
1626
1630
  export type AudienceSyncAction = 'AUDIENCE_SYNC_ACTION_UNSPECIFIED' | 'AUDIENCE_SYNC_ACTION_ADD' | 'AUDIENCE_SYNC_ACTION_REMOVE';
1627
1631
  export type PointParamsAudienceSync = {
@@ -1872,6 +1876,23 @@ export type AccountRestrictionValues = {
1872
1876
  allowCjLine: boolean;
1873
1877
  allowJourneyVersioning: boolean;
1874
1878
  allowCjSplitterDeviceCheck: boolean;
1879
+ allowJourneyPointTemplates: boolean;
1880
+ };
1881
+ export type GetPointTemplatesRequest = {};
1882
+ export type GetPointTemplatesResponse = {
1883
+ payload: PointTemplate[];
1884
+ };
1885
+ export type PointTemplate = {
1886
+ slug: string;
1887
+ version: string;
1888
+ title: string;
1889
+ description: string;
1890
+ icon: string;
1891
+ category: string;
1892
+ runtime: string;
1893
+ configSchema: string;
1894
+ authType: string;
1895
+ responseMapping: WebhookResponseMapping[];
1875
1896
  };
1876
1897
  export type GetJourneyGeneralTimeStatisticsRequest = {
1877
1898
  uuid?: string;