@pushwoosh/rpc-gateway-journey-data 0.26.329 → 0.26.330

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/commonTypes.js CHANGED
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export {};
package/data.js CHANGED
@@ -1,5 +1,4 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export const data = {
4
3
  "pushwoosh.cj.journey.Journey": {
5
4
  "type": "S",
@@ -262,6 +261,12 @@ export const data = {
262
261
  "response": "pushwoosh.cj.journey.GetWhatsAppPresetsByAppCodeResponse",
263
262
  "method": "get",
264
263
  "path": "/api/v2/application/{code}/whatsapp-presets"
264
+ },
265
+ "GetEmailPresetsByAppCode": {
266
+ "request": "pushwoosh.cj.journey.GetEmailPresetsByAppCodeRequest",
267
+ "response": "pushwoosh.cj.journey.GetEmailPresetsByAppCodeResponse",
268
+ "method": "get",
269
+ "path": "/api/application/{code}/email-preset"
265
270
  }
266
271
  }
267
272
  },
@@ -799,7 +804,7 @@ export const data = {
799
804
  "type": "number"
800
805
  },
801
806
  "avrCTR": {
802
- "type": "number"
807
+ "type": "google.protobuf.DoubleValue"
803
808
  }
804
809
  }
805
810
  },
@@ -4389,6 +4394,72 @@ export const data = {
4389
4394
  }
4390
4395
  }
4391
4396
  },
4397
+ "pushwoosh.cj.journey.GetEmailPresetsByAppCodeRequest": {
4398
+ "type": "I",
4399
+ "fields": {
4400
+ "code": {
4401
+ "type": "string"
4402
+ }
4403
+ }
4404
+ },
4405
+ "pushwoosh.cj.journey.GetEmailPresetsByAppCodeResponse": {
4406
+ "type": "I",
4407
+ "fields": {
4408
+ "payload": {
4409
+ "type": "pushwoosh.cj.journey.EmailPresetsByAppCodePayload"
4410
+ }
4411
+ }
4412
+ },
4413
+ "pushwoosh.cj.journey.EmailPresetsByAppCodePayload": {
4414
+ "type": "I",
4415
+ "fields": {
4416
+ "items": {
4417
+ "type": "pushwoosh.cj.journey.EmailPresetByAppCodeItem",
4418
+ "array": true
4419
+ }
4420
+ }
4421
+ },
4422
+ "pushwoosh.cj.journey.EmailPresetByAppCodeItem": {
4423
+ "type": "I",
4424
+ "fields": {
4425
+ "uid": {
4426
+ "type": "number"
4427
+ },
4428
+ "code": {
4429
+ "type": "string"
4430
+ },
4431
+ "subjects": {
4432
+ "type": "string",
4433
+ "mapKeyType": "string"
4434
+ },
4435
+ "sendFrom": {
4436
+ "type": "pushwoosh.cj.journey.SendFrom"
4437
+ },
4438
+ "template": {
4439
+ "type": "string"
4440
+ },
4441
+ "campaign": {
4442
+ "type": "string"
4443
+ },
4444
+ "name": {
4445
+ "type": "string"
4446
+ },
4447
+ "replyTo": {
4448
+ "type": "pushwoosh.cj.journey.ReplyTo"
4449
+ }
4450
+ }
4451
+ },
4452
+ "pushwoosh.cj.journey.SendFrom": {
4453
+ "type": "I",
4454
+ "fields": {
4455
+ "name": {
4456
+ "type": "string"
4457
+ },
4458
+ "email": {
4459
+ "type": "string"
4460
+ }
4461
+ }
4462
+ },
4392
4463
  "pushwoosh.cj.journey_category.Category": {
4393
4464
  "type": "S",
4394
4465
  "key": "category",
@@ -6751,10 +6822,6 @@ export const data = {
6751
6822
  "platforms": {
6752
6823
  "type": "string",
6753
6824
  "array": true
6754
- },
6755
- "hwids": {
6756
- "type": "string",
6757
- "array": true
6758
6825
  }
6759
6826
  }
6760
6827
  },
package/index.js CHANGED
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export { data } from './data';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.26.329",
3
+ "version": "0.26.330",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -1,3 +1,4 @@
1
+ import { DoubleValue as google_protobuf_DoubleValue } from './google_protobuf';
1
2
  import { FilterExpression as pushwoosh_objects_filters_v1_FilterExpression } from './pushwoosh_objects_filters_v1';
2
3
  export interface Journey {
3
4
  GetJourneysList(request: GetJourneysListRequest): Promise<GetJourneysListResponse>;
@@ -43,6 +44,7 @@ export interface Journey {
43
44
  UpdateABSSplitterParamsV2(request: UpdateABSSplitterParamsV2Request): Promise<UpdateABSSplitterParamsResponse>;
44
45
  ValidateJourneyV2(request: ValidateJourneyV2Request): Promise<ValidateJourneyResponse>;
45
46
  GetWhatsAppPresetsByAppCode(request: GetWhatsAppPresetsByAppCodeRequest): Promise<GetWhatsAppPresetsByAppCodeResponse>;
47
+ GetEmailPresetsByAppCode(request: GetEmailPresetsByAppCodeRequest): Promise<GetEmailPresetsByAppCodeResponse>;
46
48
  }
47
49
  export type GetPlaceholdersRequest = {
48
50
  templateCode?: string;
@@ -269,7 +271,7 @@ export type JourneyStatsPayloadGet = {
269
271
  export type JourneySummaryStats = {
270
272
  in: number;
271
273
  goals: number;
272
- avrCTR: number;
274
+ avrCTR: google_protobuf_DoubleValue;
273
275
  };
274
276
  export type RenameRequest = {
275
277
  uuid?: string;
@@ -1592,3 +1594,26 @@ export type WhatsAppButtonURLVariables = {
1592
1594
  text: string;
1593
1595
  url: string;
1594
1596
  };
1597
+ export type GetEmailPresetsByAppCodeRequest = {
1598
+ code?: string;
1599
+ };
1600
+ export type GetEmailPresetsByAppCodeResponse = {
1601
+ payload: EmailPresetsByAppCodePayload;
1602
+ };
1603
+ export type EmailPresetsByAppCodePayload = {
1604
+ items: EmailPresetByAppCodeItem[];
1605
+ };
1606
+ export type EmailPresetByAppCodeItem = {
1607
+ uid: number;
1608
+ code: string;
1609
+ subjects: Record<string, string>;
1610
+ sendFrom: SendFrom;
1611
+ template: string;
1612
+ campaign: string;
1613
+ name: string;
1614
+ replyTo: ReplyTo;
1615
+ };
1616
+ export type SendFrom = {
1617
+ name: string;
1618
+ email: string;
1619
+ };
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export {};
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export {};
@@ -932,7 +932,6 @@ export type FilterExpression_Event = {
932
932
  date: FilterExpression_Event_Date;
933
933
  attributes: FilterExpression_Event_Attribute[];
934
934
  platforms: string[];
935
- hwids: string[];
936
935
  };
937
936
  export type FilterExpression_Updated_Condition_Lte = {
938
937
  value: Date;
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export {};