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

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
@@ -36923,6 +36923,21 @@ export const data = {
36923
36923
  },
36924
36924
  "contentVariables": {
36925
36925
  "type": "string"
36926
+ },
36927
+ "quickReplies": {
36928
+ "type": "pushwoosh.rpc_v2.sms_presets.SmsRcsQuickReply",
36929
+ "array": true
36930
+ }
36931
+ }
36932
+ },
36933
+ "pushwoosh.rpc_v2.sms_presets.SmsRcsQuickReply": {
36934
+ "type": "I",
36935
+ "fields": {
36936
+ "id": {
36937
+ "type": "string"
36938
+ },
36939
+ "title": {
36940
+ "type": "string"
36926
36941
  }
36927
36942
  }
36928
36943
  },
@@ -37206,6 +37221,10 @@ export const data = {
37206
37221
  },
37207
37222
  "hasSmsFallback": {
37208
37223
  "type": "boolean"
37224
+ },
37225
+ "quickReplies": {
37226
+ "type": "pushwoosh.rpc_v2.sms_presets.SmsRcsQuickReply",
37227
+ "array": true
37209
37228
  }
37210
37229
  }
37211
37230
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.470",
3
+ "version": "0.2.471",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
package/sms_presets.d.ts CHANGED
@@ -53,6 +53,15 @@ export type SmsPresetRcs = {
53
53
  contentSid: string;
54
54
  /** JSON object of template variables, e.g. {"1": "{FirstName|regular|}"}; values may hold tags and Liquid. */
55
55
  contentVariables: string;
56
+ /** Read only: the template's reply buttons as of the last save; a journey branches on their ids. */
57
+ quickReplies: SmsRcsQuickReply[];
58
+ };
59
+ /** One RCS reply button of a Twilio Content template. */
60
+ export type SmsRcsQuickReply = {
61
+ /** Button id from the template; Twilio returns it as ButtonPayload when the button is tapped. */
62
+ id: string;
63
+ /** Text shown on the button. */
64
+ title: string;
56
65
  };
57
66
  export type SmsProductsSource_Rule = {
58
67
  /** Catalog category to pick from; empty = any category. */
@@ -208,6 +217,8 @@ export type SmsRcsTemplate = {
208
217
  variables: Record<string, string>;
209
218
  /** True when the template has a twilio/text variant, the SMS a phone without RCS receives. */
210
219
  hasSmsFallback: boolean;
220
+ /** Reply buttons of the template (quick replies of quick-reply, card and carousel types). */
221
+ quickReplies: SmsRcsQuickReply[];
211
222
  };
212
223
  export type ListSmsRcsTemplatesResponse = {
213
224
  templates: SmsRcsTemplate[];