@pushwoosh/rpc-v2-http-api-data 0.2.471 → 0.2.473

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.
@@ -0,0 +1,128 @@
1
+ import { RpcMethod } from './commonTypes';
2
+ export type chatPresetsService_List = RpcMethod<ListChatPresetsRequest, ListChatPresetsResponse>;
3
+ export type chatPresetsService_Get = RpcMethod<GetChatPresetRequest, GetChatPresetResponse>;
4
+ export type chatPresetsService_Create = RpcMethod<CreateChatPresetRequest, CreateChatPresetResponse>;
5
+ export type chatPresetsService_Update = RpcMethod<UpdateChatPresetRequest, UpdateChatPresetResponse>;
6
+ export type chatPresetsService_Delete = RpcMethod<DeleteChatPresetRequest, DeleteChatPresetResponse>;
7
+ export type chatPresetsService_Clone = RpcMethod<CloneChatPresetRequest, CloneChatPresetResponse>;
8
+ export type chatPresetsService_Validate = RpcMethod<ValidateChatPresetRequest, ValidateChatPresetResponse>;
9
+ export interface chatPresetsService {
10
+ /** Lists chat presets of an application: one rich message (cards, carousels, buttons, lists) shared by RCS, WhatsApp, Facebook Messenger and LINE, each with its per-channel compatibility. Use to browse presets or find a code before get, update, clone or delete. */
11
+ List: chatPresetsService_List;
12
+ /** Returns one chat preset by code with its localized content and the compatibility verdict for every chat channel. */
13
+ Get: chatPresetsService_Get;
14
+ /** Creates a chat preset from localized rich content, assigning a fresh code and button ids where they are missing. Each call makes a new preset; use update_chat_preset to change an existing one. */
15
+ Create: chatPresetsService_Create;
16
+ /** Overwrites the name, category and localized content of an existing chat preset and recomputes its channel compatibility. Button ids already set are kept as sent. */
17
+ Update: chatPresetsService_Update;
18
+ /** Permanently deletes a chat preset by code; the removal cannot be undone. */
19
+ Delete: chatPresetsService_Delete;
20
+ /** Copies a chat preset into a target application as a new preset with its own code. */
21
+ Clone: chatPresetsService_Clone;
22
+ /** Checks localized rich content against every chat channel without saving it and returns the per-channel compatibility the editor shows. */
23
+ Validate: chatPresetsService_Validate;
24
+ }
25
+ export type ChannelIssue = {
26
+ /** Field path inside the content, e.g. "cards[1].buttons[0].title". */
27
+ path: string;
28
+ /** Machine code, e.g. "too_long", "type_unsupported". */
29
+ code: string;
30
+ /** "error" blocks the channel, "fallback" sends the fallback text there, "warning" is informational. */
31
+ severity: string;
32
+ message: string;
33
+ };
34
+ export type ChannelCompat = {
35
+ /** "compatible", "partial" (some of it goes out as fallback text) or "incompatible". */
36
+ status: string;
37
+ /** Issues keyed by language prefix: "<lang>:<path>" in path when the preset has several languages. */
38
+ issues: ChannelIssue[];
39
+ };
40
+ export type ChatPreset = {
41
+ code: string;
42
+ name: string;
43
+ /** Application code (XXXXX-XXXXX) the preset belongs to. */
44
+ application: string;
45
+ /** WhatsApp template category: "marketing" or "utility". */
46
+ category: string;
47
+ /** Rich content per language, each value a JSON object of the channel-agnostic model (type, body, media, buttons, cards...). */
48
+ localizedContent: Record<string, string>;
49
+ /** Compatibility per channel: "rcs", "whatsapp", "fbmessenger", "line". */
50
+ compat: Record<string, ChannelCompat>;
51
+ created: Date;
52
+ updated: Date;
53
+ };
54
+ export type ListChatPresetsRequest_OrderBy = 'NAME' | 'CREATED' | 'UPDATED';
55
+ export type ListChatPresetsRequest_OrderDirection = 'ASC' | 'DESC';
56
+ export type ListChatPresetsRequest = {
57
+ /** Application code (XXXXX-XXXXX) whose chat presets to list. */
58
+ application?: string;
59
+ orderBy?: ListChatPresetsRequest_OrderBy;
60
+ orderDirection?: ListChatPresetsRequest_OrderDirection;
61
+ page?: number;
62
+ perPage?: number;
63
+ /** Free-text substring matched against preset name OR preset code (case-insensitive). */
64
+ searchByName?: string;
65
+ };
66
+ export type ListChatPresetsResponse = {
67
+ presets: ChatPreset[];
68
+ page: number;
69
+ perPage: number;
70
+ total: number;
71
+ };
72
+ export type GetChatPresetRequest = {
73
+ /** Chat preset code to fetch. */
74
+ code?: string;
75
+ };
76
+ export type GetChatPresetResponse = {
77
+ preset: ChatPreset;
78
+ };
79
+ export type CreateChatPresetRequest = {
80
+ /** Application code (XXXXX-XXXXX) the new preset belongs to. */
81
+ application?: string;
82
+ name?: string;
83
+ /** WhatsApp template category: "marketing" or "utility"; empty means marketing. */
84
+ category?: string;
85
+ /** Rich content per language as JSON of the channel-agnostic model, e.g. {"default": "{\"type\":\"text\",\"body\":\"Hi\"}"}. */
86
+ localizedContent?: Record<string, string>;
87
+ };
88
+ export type CreateChatPresetResponse = {
89
+ preset: ChatPreset;
90
+ };
91
+ export type UpdateChatPresetRequest = {
92
+ /** Chat preset code to update. */
93
+ code?: string;
94
+ /** New name; empty keeps the current one. */
95
+ name?: string;
96
+ /** New WhatsApp category; empty keeps the current one. */
97
+ category?: string;
98
+ /** Replaces the whole localized content when set. */
99
+ localizedContent?: Record<string, string>;
100
+ };
101
+ export type UpdateChatPresetResponse = {
102
+ preset: ChatPreset;
103
+ };
104
+ export type DeleteChatPresetRequest = {
105
+ /** Chat preset code to delete. */
106
+ code?: string;
107
+ };
108
+ export type DeleteChatPresetResponse = {};
109
+ export type CloneChatPresetRequest = {
110
+ /** Code of the source chat preset to copy. */
111
+ chatPresetCode?: string;
112
+ /** Application code (XXXXX-XXXXX) the copy is created in. */
113
+ applicationCode?: string;
114
+ };
115
+ export type CloneChatPresetResponse = {
116
+ chatPresetCode: string;
117
+ };
118
+ export type ValidateChatPresetRequest = {
119
+ /** Application code (XXXXX-XXXXX) the content is meant for. */
120
+ application?: string;
121
+ category?: string;
122
+ /** Rich content per language as JSON of the channel-agnostic model. */
123
+ localizedContent?: Record<string, string>;
124
+ };
125
+ export type ValidateChatPresetResponse = {
126
+ /** Compatibility per channel: "rcs", "whatsapp", "fbmessenger", "line". */
127
+ compat: Record<string, ChannelCompat>;
128
+ };
@@ -0,0 +1,3 @@
1
+ /* eslint-disable */
2
+ /* Autogenerated code */
3
+ export {};
package/data.js CHANGED
@@ -11477,6 +11477,293 @@ export const data = {
11477
11477
  }
11478
11478
  }
11479
11479
  },
11480
+ "pushwoosh.rpc_v2.chat_presets.chatPresetsService": {
11481
+ "type": "S",
11482
+ "key": "chatPresets",
11483
+ "methods": {
11484
+ "List": {
11485
+ "request": "pushwoosh.rpc_v2.chat_presets.ListChatPresetsRequest",
11486
+ "response": "pushwoosh.rpc_v2.chat_presets.ListChatPresetsResponse",
11487
+ "method": "get",
11488
+ "path": "/api/chat_presets"
11489
+ },
11490
+ "Get": {
11491
+ "request": "pushwoosh.rpc_v2.chat_presets.GetChatPresetRequest",
11492
+ "response": "pushwoosh.rpc_v2.chat_presets.GetChatPresetResponse",
11493
+ "method": "get",
11494
+ "path": "/api/chat_presets/{code}"
11495
+ },
11496
+ "Create": {
11497
+ "request": "pushwoosh.rpc_v2.chat_presets.CreateChatPresetRequest",
11498
+ "response": "pushwoosh.rpc_v2.chat_presets.CreateChatPresetResponse",
11499
+ "method": "post",
11500
+ "path": "/api/chat_presets"
11501
+ },
11502
+ "Update": {
11503
+ "request": "pushwoosh.rpc_v2.chat_presets.UpdateChatPresetRequest",
11504
+ "response": "pushwoosh.rpc_v2.chat_presets.UpdateChatPresetResponse",
11505
+ "method": "put",
11506
+ "path": "/api/chat_presets/{code}"
11507
+ },
11508
+ "Delete": {
11509
+ "request": "pushwoosh.rpc_v2.chat_presets.DeleteChatPresetRequest",
11510
+ "response": "pushwoosh.rpc_v2.chat_presets.DeleteChatPresetResponse",
11511
+ "method": "delete",
11512
+ "path": "/api/chat_presets/{code}"
11513
+ },
11514
+ "Clone": {
11515
+ "request": "pushwoosh.rpc_v2.chat_presets.CloneChatPresetRequest",
11516
+ "response": "pushwoosh.rpc_v2.chat_presets.CloneChatPresetResponse",
11517
+ "method": "post",
11518
+ "path": "/api/chat_presets:clone"
11519
+ },
11520
+ "Validate": {
11521
+ "request": "pushwoosh.rpc_v2.chat_presets.ValidateChatPresetRequest",
11522
+ "response": "pushwoosh.rpc_v2.chat_presets.ValidateChatPresetResponse",
11523
+ "method": "post",
11524
+ "path": "/api/chat_presets:validate"
11525
+ }
11526
+ }
11527
+ },
11528
+ "pushwoosh.rpc_v2.chat_presets.ChannelIssue": {
11529
+ "type": "I",
11530
+ "fields": {
11531
+ "path": {
11532
+ "type": "string"
11533
+ },
11534
+ "code": {
11535
+ "type": "string"
11536
+ },
11537
+ "severity": {
11538
+ "type": "string"
11539
+ },
11540
+ "message": {
11541
+ "type": "string"
11542
+ }
11543
+ }
11544
+ },
11545
+ "pushwoosh.rpc_v2.chat_presets.ChannelCompat": {
11546
+ "type": "I",
11547
+ "fields": {
11548
+ "status": {
11549
+ "type": "string"
11550
+ },
11551
+ "issues": {
11552
+ "type": "pushwoosh.rpc_v2.chat_presets.ChannelIssue",
11553
+ "array": true
11554
+ }
11555
+ }
11556
+ },
11557
+ "pushwoosh.rpc_v2.chat_presets.ChatPreset": {
11558
+ "type": "I",
11559
+ "fields": {
11560
+ "code": {
11561
+ "type": "string"
11562
+ },
11563
+ "name": {
11564
+ "type": "string"
11565
+ },
11566
+ "application": {
11567
+ "type": "string"
11568
+ },
11569
+ "category": {
11570
+ "type": "string"
11571
+ },
11572
+ "localizedContent": {
11573
+ "type": "string",
11574
+ "mapKeyType": "string"
11575
+ },
11576
+ "compat": {
11577
+ "type": "pushwoosh.rpc_v2.chat_presets.ChannelCompat",
11578
+ "mapKeyType": "string"
11579
+ },
11580
+ "created": {
11581
+ "type": "Date"
11582
+ },
11583
+ "updated": {
11584
+ "type": "Date"
11585
+ }
11586
+ }
11587
+ },
11588
+ "pushwoosh.rpc_v2.chat_presets.ListChatPresetsRequest.OrderBy": {
11589
+ "type": "E",
11590
+ "values": [
11591
+ "NAME",
11592
+ "CREATED",
11593
+ "UPDATED"
11594
+ ]
11595
+ },
11596
+ "pushwoosh.rpc_v2.chat_presets.ListChatPresetsRequest.OrderDirection": {
11597
+ "type": "E",
11598
+ "values": [
11599
+ "ASC",
11600
+ "DESC"
11601
+ ]
11602
+ },
11603
+ "pushwoosh.rpc_v2.chat_presets.ListChatPresetsRequest": {
11604
+ "type": "I",
11605
+ "fields": {
11606
+ "application": {
11607
+ "type": "string"
11608
+ },
11609
+ "orderBy": {
11610
+ "type": "pushwoosh.rpc_v2.chat_presets.ListChatPresetsRequest.OrderBy"
11611
+ },
11612
+ "orderDirection": {
11613
+ "type": "pushwoosh.rpc_v2.chat_presets.ListChatPresetsRequest.OrderDirection"
11614
+ },
11615
+ "page": {
11616
+ "type": "number"
11617
+ },
11618
+ "perPage": {
11619
+ "type": "number"
11620
+ },
11621
+ "searchByName": {
11622
+ "type": "string"
11623
+ }
11624
+ }
11625
+ },
11626
+ "pushwoosh.rpc_v2.chat_presets.ListChatPresetsResponse": {
11627
+ "type": "I",
11628
+ "fields": {
11629
+ "presets": {
11630
+ "type": "pushwoosh.rpc_v2.chat_presets.ChatPreset",
11631
+ "array": true
11632
+ },
11633
+ "page": {
11634
+ "type": "number"
11635
+ },
11636
+ "perPage": {
11637
+ "type": "number"
11638
+ },
11639
+ "total": {
11640
+ "type": "number"
11641
+ }
11642
+ }
11643
+ },
11644
+ "pushwoosh.rpc_v2.chat_presets.GetChatPresetRequest": {
11645
+ "type": "I",
11646
+ "fields": {
11647
+ "code": {
11648
+ "type": "string"
11649
+ }
11650
+ }
11651
+ },
11652
+ "pushwoosh.rpc_v2.chat_presets.GetChatPresetResponse": {
11653
+ "type": "I",
11654
+ "fields": {
11655
+ "preset": {
11656
+ "type": "pushwoosh.rpc_v2.chat_presets.ChatPreset"
11657
+ }
11658
+ }
11659
+ },
11660
+ "pushwoosh.rpc_v2.chat_presets.CreateChatPresetRequest": {
11661
+ "type": "I",
11662
+ "fields": {
11663
+ "application": {
11664
+ "type": "string"
11665
+ },
11666
+ "name": {
11667
+ "type": "string"
11668
+ },
11669
+ "category": {
11670
+ "type": "string"
11671
+ },
11672
+ "localizedContent": {
11673
+ "type": "string",
11674
+ "mapKeyType": "string"
11675
+ }
11676
+ }
11677
+ },
11678
+ "pushwoosh.rpc_v2.chat_presets.CreateChatPresetResponse": {
11679
+ "type": "I",
11680
+ "fields": {
11681
+ "preset": {
11682
+ "type": "pushwoosh.rpc_v2.chat_presets.ChatPreset"
11683
+ }
11684
+ }
11685
+ },
11686
+ "pushwoosh.rpc_v2.chat_presets.UpdateChatPresetRequest": {
11687
+ "type": "I",
11688
+ "fields": {
11689
+ "code": {
11690
+ "type": "string"
11691
+ },
11692
+ "name": {
11693
+ "type": "string"
11694
+ },
11695
+ "category": {
11696
+ "type": "string"
11697
+ },
11698
+ "localizedContent": {
11699
+ "type": "string",
11700
+ "mapKeyType": "string"
11701
+ }
11702
+ }
11703
+ },
11704
+ "pushwoosh.rpc_v2.chat_presets.UpdateChatPresetResponse": {
11705
+ "type": "I",
11706
+ "fields": {
11707
+ "preset": {
11708
+ "type": "pushwoosh.rpc_v2.chat_presets.ChatPreset"
11709
+ }
11710
+ }
11711
+ },
11712
+ "pushwoosh.rpc_v2.chat_presets.DeleteChatPresetRequest": {
11713
+ "type": "I",
11714
+ "fields": {
11715
+ "code": {
11716
+ "type": "string"
11717
+ }
11718
+ }
11719
+ },
11720
+ "pushwoosh.rpc_v2.chat_presets.DeleteChatPresetResponse": {
11721
+ "type": "I",
11722
+ "fields": {}
11723
+ },
11724
+ "pushwoosh.rpc_v2.chat_presets.CloneChatPresetRequest": {
11725
+ "type": "I",
11726
+ "fields": {
11727
+ "chatPresetCode": {
11728
+ "type": "string"
11729
+ },
11730
+ "applicationCode": {
11731
+ "type": "string"
11732
+ }
11733
+ }
11734
+ },
11735
+ "pushwoosh.rpc_v2.chat_presets.CloneChatPresetResponse": {
11736
+ "type": "I",
11737
+ "fields": {
11738
+ "chatPresetCode": {
11739
+ "type": "string"
11740
+ }
11741
+ }
11742
+ },
11743
+ "pushwoosh.rpc_v2.chat_presets.ValidateChatPresetRequest": {
11744
+ "type": "I",
11745
+ "fields": {
11746
+ "application": {
11747
+ "type": "string"
11748
+ },
11749
+ "category": {
11750
+ "type": "string"
11751
+ },
11752
+ "localizedContent": {
11753
+ "type": "string",
11754
+ "mapKeyType": "string"
11755
+ }
11756
+ }
11757
+ },
11758
+ "pushwoosh.rpc_v2.chat_presets.ValidateChatPresetResponse": {
11759
+ "type": "I",
11760
+ "fields": {
11761
+ "compat": {
11762
+ "type": "pushwoosh.rpc_v2.chat_presets.ChannelCompat",
11763
+ "mapKeyType": "string"
11764
+ }
11765
+ }
11766
+ },
11480
11767
  "pushwoosh.rpc_v2.cloud_pages.CloudPagesService": {
11481
11768
  "type": "S",
11482
11769
  "key": "cloudPages",
@@ -30744,6 +31031,21 @@ export const data = {
30744
31031
  }
30745
31032
  }
30746
31033
  },
31034
+ "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.AllowUseRichEditor": {
31035
+ "type": "I",
31036
+ "fields": {
31037
+ "operator": {
31038
+ "type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.Operator"
31039
+ },
31040
+ "value": {
31041
+ "type": "boolean"
31042
+ },
31043
+ "values": {
31044
+ "type": "boolean",
31045
+ "array": true
31046
+ }
31047
+ }
31048
+ },
30747
31049
  "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field": {
30748
31050
  "type": "I",
30749
31051
  "fields": {
@@ -30935,6 +31237,9 @@ export const data = {
30935
31237
  },
30936
31238
  "CondMaxAIImagesPerDay": {
30937
31239
  "type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.MaxAIImagesPerDay"
31240
+ },
31241
+ "CondAllowUseRichEditor": {
31242
+ "type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.AllowUseRichEditor"
30938
31243
  }
30939
31244
  },
30940
31245
  "oneofs": {
@@ -31002,7 +31307,8 @@ export const data = {
31002
31307
  "CondAllowJourneyLoopPoint",
31003
31308
  "CondAllowFeatureFlags",
31004
31309
  "CondMaxFeatureFlags",
31005
- "CondMaxAIImagesPerDay"
31310
+ "CondMaxAIImagesPerDay",
31311
+ "CondAllowUseRichEditor"
31006
31312
  ]
31007
31313
  }
31008
31314
  }
@@ -31536,6 +31842,12 @@ export const data = {
31536
31842
  "response": "{}",
31537
31843
  "method": "patch",
31538
31844
  "path": "/v1/objects/restrictionValues/ID/{ID}/update/MaxAIImagesPerDay"
31845
+ },
31846
+ "UpdateAllowUseRichEditor": {
31847
+ "request": "pushwoosh.objects.restrictionValues.v1.UpdateAllowUseRichEditorRequest",
31848
+ "response": "{}",
31849
+ "method": "patch",
31850
+ "path": "/v1/objects/restrictionValues/ID/{ID}/update/AllowUseRichEditor"
31539
31851
  }
31540
31852
  }
31541
31853
  },
@@ -31727,6 +32039,9 @@ export const data = {
31727
32039
  },
31728
32040
  "MaxAIImagesPerDay": {
31729
32041
  "type": "number"
32042
+ },
32043
+ "AllowUseRichEditor": {
32044
+ "type": "boolean"
31730
32045
  }
31731
32046
  }
31732
32047
  },
@@ -32578,6 +32893,17 @@ export const data = {
32578
32893
  }
32579
32894
  }
32580
32895
  },
32896
+ "pushwoosh.objects.restrictionValues.v1.UpdateAllowUseRichEditorRequest": {
32897
+ "type": "I",
32898
+ "fields": {
32899
+ "ID": {
32900
+ "type": "number"
32901
+ },
32902
+ "value": {
32903
+ "type": "boolean"
32904
+ }
32905
+ }
32906
+ },
32581
32907
  "pushwoosh.objects.restrictionValues.v1.GetRequest": {
32582
32908
  "type": "I",
32583
32909
  "fields": {
@@ -32796,6 +33122,9 @@ export const data = {
32796
33122
  },
32797
33123
  "MaxAIImagesPerDay": {
32798
33124
  "type": "number"
33125
+ },
33126
+ "AllowUseRichEditor": {
33127
+ "type": "boolean"
32799
33128
  }
32800
33129
  }
32801
33130
  },
package/index.d.ts CHANGED
@@ -23,6 +23,7 @@ import { CatalogService as pushwoosh_rpc_v2_catalog_CatalogService } from './cat
23
23
  import { CategoriesService as pushwoosh_rpc_v2_categories_CategoriesService } from './categories';
24
24
  import { MessagesInProgressService as pushwoosh_channels_messagingApi_v2_MessagesInProgressService } from './pushwoosh_channels_messagingApi_v2';
25
25
  import { MessagingService as pushwoosh_channels_messagingApi_v2_MessagingService } from './pushwoosh_channels_messagingApi_v2';
26
+ import { chatPresetsService as pushwoosh_rpc_v2_chat_presets_chatPresetsService } from './chat_presets';
26
27
  import { CloudPagesService as pushwoosh_rpc_v2_cloud_pages_CloudPagesService } from './cloud_pages';
27
28
  import { CustomerJourneyService as pushwoosh_rpc_v2_customer_journey_CustomerJourneyService } from './customer_journey';
28
29
  import { DataErasureService as pushwoosh_rpc_v2_data_erasure_DataErasureService } from './data_erasure';
@@ -106,6 +107,7 @@ export type API = {
106
107
  categories: pushwoosh_rpc_v2_categories_CategoriesService;
107
108
  messagesInProgress: pushwoosh_channels_messagingApi_v2_MessagesInProgressService;
108
109
  messaging: pushwoosh_channels_messagingApi_v2_MessagingService;
110
+ chatPresets: pushwoosh_rpc_v2_chat_presets_chatPresetsService;
109
111
  cloudPages: pushwoosh_rpc_v2_cloud_pages_CloudPagesService;
110
112
  customerJourney: pushwoosh_rpc_v2_customer_journey_CustomerJourneyService;
111
113
  dataErasure: pushwoosh_rpc_v2_data_erasure_DataErasureService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.471",
3
+ "version": "0.2.473",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -367,6 +367,11 @@ export type LogicExpression_Field_MaxAIImagesPerDay = {
367
367
  value: number;
368
368
  values: number[];
369
369
  };
370
+ export type LogicExpression_Field_AllowUseRichEditor = {
371
+ operator: LogicExpression_Field_Operator;
372
+ value: boolean;
373
+ values: boolean[];
374
+ };
370
375
  export type LogicExpression_Field_kind_CondID = {
371
376
  type: 'CondID';
372
377
  data: LogicExpression_Field_ID;
@@ -619,7 +624,11 @@ export type LogicExpression_Field_kind_CondMaxAIImagesPerDay = {
619
624
  type: 'CondMaxAIImagesPerDay';
620
625
  data: LogicExpression_Field_MaxAIImagesPerDay;
621
626
  };
622
- export type LogicExpression_Field_kind = LogicExpression_Field_kind_CondID | LogicExpression_Field_kind_CondIsLocked | LogicExpression_Field_kind_CondMaxDevices | LogicExpression_Field_kind_CondMaxUsers | LogicExpression_Field_kind_CondMaxPreparedFilters | LogicExpression_Field_kind_CondDevicesInactivityLimit | LogicExpression_Field_kind_CondAllowApi | LogicExpression_Field_kind_CondMinSendRate | LogicExpression_Field_kind_CondMaxSendRate | LogicExpression_Field_kind_CondAllowIePlatformUsage | LogicExpression_Field_kind_CondMaxVerifyingEmails | LogicExpression_Field_kind_CondMaxVerifyingDomains | LogicExpression_Field_kind_CondAllowMetadata | LogicExpression_Field_kind_CondMaxPushOnEventDelayInDays | LogicExpression_Field_kind_CondAllowEventStatisticsApi | LogicExpression_Field_kind_CondAllowTagNotSetFilter | LogicExpression_Field_kind_CondAllowTrackUninstalls | LogicExpression_Field_kind_CondEmailRateCounterAggregatePeriod | LogicExpression_Field_kind_CondEmailBounceRateLimit | LogicExpression_Field_kind_CondEmailComplaintRateLimit | LogicExpression_Field_kind_CondAllowFrequencyCapping | LogicExpression_Field_kind_CondEmailsFreeLimit | LogicExpression_Field_kind_CondEmailsLimited | LogicExpression_Field_kind_CondAllowContentTemplates | LogicExpression_Field_kind_CondAllowBaiduAndroidPlatformUsage | LogicExpression_Field_kind_CondMaxInboxTtlDays | LogicExpression_Field_kind_CondMessageHistoryStorePeriod | LogicExpression_Field_kind_CondAllowApiGetMessageLog | LogicExpression_Field_kind_CondDetailActionHistoryStorePeriod | LogicExpression_Field_kind_CondAllowShowDeliveryStatistics | LogicExpression_Field_kind_CondAllowRFMSegments | LogicExpression_Field_kind_CondAllowBestTimeToSend | LogicExpression_Field_kind_CondAllowEventSegmentation | LogicExpression_Field_kind_CondAllowSegmentsGroups | LogicExpression_Field_kind_CondAllowCjSMS | LogicExpression_Field_kind_CondAllowCjDynamicSetTagsInUpdateProfile | LogicExpression_Field_kind_CondAllowCjAddBranchesInWaitForTrigger | LogicExpression_Field_kind_CondAllowEventsFunnel | LogicExpression_Field_kind_CondAllowChannelsSection | LogicExpression_Field_kind_CondAllowCjEmailBcc | LogicExpression_Field_kind_CondEmailFileStorePeriod | LogicExpression_Field_kind_CondAllowWhatsApp | LogicExpression_Field_kind_CondAllowCjAlternativeGoalsStats | LogicExpression_Field_kind_CondAllowCjListenUserIdChanged | LogicExpression_Field_kind_CondAllowLine | LogicExpression_Field_kind_CondAllowPostEventInApp | LogicExpression_Field_kind_CondAllowAIAssistant | LogicExpression_Field_kind_CondAllowKeepUserWithoutDevice | LogicExpression_Field_kind_CondAllowCJSplitterDeviceCheck | LogicExpression_Field_kind_CondAllowTagsAutoCreation | LogicExpression_Field_kind_CondAllowAIWalletBilling | LogicExpression_Field_kind_CondApplicationSpecificFilters | LogicExpression_Field_kind_CondAllowCloudPages | LogicExpression_Field_kind_CondAllowLaoDeletePolicy | LogicExpression_Field_kind_CondAllowJourneyVersioning | LogicExpression_Field_kind_CondAllowJourneyPointTemplates | LogicExpression_Field_kind_CondRequireContentApproval | LogicExpression_Field_kind_CondAllowEmailAds | LogicExpression_Field_kind_CondAllowCaseInsensitiveUserID | LogicExpression_Field_kind_CondAllowJourneyLoopPoint | LogicExpression_Field_kind_CondAllowFeatureFlags | LogicExpression_Field_kind_CondMaxFeatureFlags | LogicExpression_Field_kind_CondMaxAIImagesPerDay;
627
+ export type LogicExpression_Field_kind_CondAllowUseRichEditor = {
628
+ type: 'CondAllowUseRichEditor';
629
+ data: LogicExpression_Field_AllowUseRichEditor;
630
+ };
631
+ export type LogicExpression_Field_kind = LogicExpression_Field_kind_CondID | LogicExpression_Field_kind_CondIsLocked | LogicExpression_Field_kind_CondMaxDevices | LogicExpression_Field_kind_CondMaxUsers | LogicExpression_Field_kind_CondMaxPreparedFilters | LogicExpression_Field_kind_CondDevicesInactivityLimit | LogicExpression_Field_kind_CondAllowApi | LogicExpression_Field_kind_CondMinSendRate | LogicExpression_Field_kind_CondMaxSendRate | LogicExpression_Field_kind_CondAllowIePlatformUsage | LogicExpression_Field_kind_CondMaxVerifyingEmails | LogicExpression_Field_kind_CondMaxVerifyingDomains | LogicExpression_Field_kind_CondAllowMetadata | LogicExpression_Field_kind_CondMaxPushOnEventDelayInDays | LogicExpression_Field_kind_CondAllowEventStatisticsApi | LogicExpression_Field_kind_CondAllowTagNotSetFilter | LogicExpression_Field_kind_CondAllowTrackUninstalls | LogicExpression_Field_kind_CondEmailRateCounterAggregatePeriod | LogicExpression_Field_kind_CondEmailBounceRateLimit | LogicExpression_Field_kind_CondEmailComplaintRateLimit | LogicExpression_Field_kind_CondAllowFrequencyCapping | LogicExpression_Field_kind_CondEmailsFreeLimit | LogicExpression_Field_kind_CondEmailsLimited | LogicExpression_Field_kind_CondAllowContentTemplates | LogicExpression_Field_kind_CondAllowBaiduAndroidPlatformUsage | LogicExpression_Field_kind_CondMaxInboxTtlDays | LogicExpression_Field_kind_CondMessageHistoryStorePeriod | LogicExpression_Field_kind_CondAllowApiGetMessageLog | LogicExpression_Field_kind_CondDetailActionHistoryStorePeriod | LogicExpression_Field_kind_CondAllowShowDeliveryStatistics | LogicExpression_Field_kind_CondAllowRFMSegments | LogicExpression_Field_kind_CondAllowBestTimeToSend | LogicExpression_Field_kind_CondAllowEventSegmentation | LogicExpression_Field_kind_CondAllowSegmentsGroups | LogicExpression_Field_kind_CondAllowCjSMS | LogicExpression_Field_kind_CondAllowCjDynamicSetTagsInUpdateProfile | LogicExpression_Field_kind_CondAllowCjAddBranchesInWaitForTrigger | LogicExpression_Field_kind_CondAllowEventsFunnel | LogicExpression_Field_kind_CondAllowChannelsSection | LogicExpression_Field_kind_CondAllowCjEmailBcc | LogicExpression_Field_kind_CondEmailFileStorePeriod | LogicExpression_Field_kind_CondAllowWhatsApp | LogicExpression_Field_kind_CondAllowCjAlternativeGoalsStats | LogicExpression_Field_kind_CondAllowCjListenUserIdChanged | LogicExpression_Field_kind_CondAllowLine | LogicExpression_Field_kind_CondAllowPostEventInApp | LogicExpression_Field_kind_CondAllowAIAssistant | LogicExpression_Field_kind_CondAllowKeepUserWithoutDevice | LogicExpression_Field_kind_CondAllowCJSplitterDeviceCheck | LogicExpression_Field_kind_CondAllowTagsAutoCreation | LogicExpression_Field_kind_CondAllowAIWalletBilling | LogicExpression_Field_kind_CondApplicationSpecificFilters | LogicExpression_Field_kind_CondAllowCloudPages | LogicExpression_Field_kind_CondAllowLaoDeletePolicy | LogicExpression_Field_kind_CondAllowJourneyVersioning | LogicExpression_Field_kind_CondAllowJourneyPointTemplates | LogicExpression_Field_kind_CondRequireContentApproval | LogicExpression_Field_kind_CondAllowEmailAds | LogicExpression_Field_kind_CondAllowCaseInsensitiveUserID | LogicExpression_Field_kind_CondAllowJourneyLoopPoint | LogicExpression_Field_kind_CondAllowFeatureFlags | LogicExpression_Field_kind_CondMaxFeatureFlags | LogicExpression_Field_kind_CondMaxAIImagesPerDay | LogicExpression_Field_kind_CondAllowUseRichEditor;
623
632
  export type LogicExpression_Field = {
624
633
  kind: LogicExpression_Field_kind;
625
634
  };
@@ -732,6 +741,7 @@ export type RestrictionValuesCrudService_UpdateAllowJourneyLoopPoint = RpcMethod
732
741
  export type RestrictionValuesCrudService_UpdateAllowFeatureFlags = RpcMethod<UpdateAllowFeatureFlagsRequest, {}>;
733
742
  export type RestrictionValuesCrudService_UpdateMaxFeatureFlags = RpcMethod<UpdateMaxFeatureFlagsRequest, {}>;
734
743
  export type RestrictionValuesCrudService_UpdateMaxAIImagesPerDay = RpcMethod<UpdateMaxAIImagesPerDayRequest, {}>;
744
+ export type RestrictionValuesCrudService_UpdateAllowUseRichEditor = RpcMethod<UpdateAllowUseRichEditorRequest, {}>;
735
745
  export interface RestrictionValuesCrudService {
736
746
  Create: RestrictionValuesCrudService_Create;
737
747
  CreateMany: RestrictionValuesCrudService_CreateMany;
@@ -809,6 +819,7 @@ export interface RestrictionValuesCrudService {
809
819
  UpdateAllowFeatureFlags: RestrictionValuesCrudService_UpdateAllowFeatureFlags;
810
820
  UpdateMaxFeatureFlags: RestrictionValuesCrudService_UpdateMaxFeatureFlags;
811
821
  UpdateMaxAIImagesPerDay: RestrictionValuesCrudService_UpdateMaxAIImagesPerDay;
822
+ UpdateAllowUseRichEditor: RestrictionValuesCrudService_UpdateAllowUseRichEditor;
812
823
  }
813
824
  export type CreateRequest = {
814
825
  IsLocked?: boolean;
@@ -873,6 +884,7 @@ export type CreateRequest = {
873
884
  AllowFeatureFlags?: boolean;
874
885
  MaxFeatureFlags?: number;
875
886
  MaxAIImagesPerDay?: number;
887
+ AllowUseRichEditor?: boolean;
876
888
  };
877
889
  export type CreateResponse = {
878
890
  restrictionValue: RestrictionValue;
@@ -1181,6 +1193,10 @@ export type UpdateMaxAIImagesPerDayRequest = {
1181
1193
  ID?: number;
1182
1194
  value?: number;
1183
1195
  };
1196
+ export type UpdateAllowUseRichEditorRequest = {
1197
+ ID?: number;
1198
+ value?: boolean;
1199
+ };
1184
1200
  export type GetRequest = {
1185
1201
  ID?: number;
1186
1202
  };
@@ -1260,4 +1276,5 @@ export type RestrictionValue = {
1260
1276
  AllowFeatureFlags: boolean;
1261
1277
  MaxFeatureFlags: number;
1262
1278
  MaxAIImagesPerDay: number;
1279
+ AllowUseRichEditor: boolean;
1263
1280
  };