@pushwoosh/rpc-v2-http-api-data 0.2.400 → 0.2.402

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.
@@ -243,10 +243,15 @@ export type SmsTrafficConfiguration = {
243
243
  smsSmstrafficLogin: string;
244
244
  smsSmstrafficPassword: string;
245
245
  };
246
+ /**
247
+ * SmsTextMeCoIlConfiguration carries TextMe credentials. Auth is the token created
248
+ * in the TextMe console, or the legacy password; username and phone number are required.
249
+ */
246
250
  export type SmsTextMeCoIlConfiguration = {
247
251
  textmecoilUsername: string;
248
252
  textmecoilPassword: string;
249
253
  textmecoilPhoneNumber: string;
254
+ textmecoilConsoleToken: string;
250
255
  };
251
256
  export type SmsAbleMobileConfiguration = {
252
257
  ablemobileLogin: string;
package/data.js CHANGED
@@ -6666,6 +6666,9 @@ export const data = {
6666
6666
  },
6667
6667
  "textmecoilPhoneNumber": {
6668
6668
  "type": "string"
6669
+ },
6670
+ "textmecoilConsoleToken": {
6671
+ "type": "string"
6669
6672
  }
6670
6673
  }
6671
6674
  },
@@ -31004,7 +31007,8 @@ export const data = {
31004
31007
  "KIND_INVALID",
31005
31008
  "CSS_SELECTOR_INVALID",
31006
31009
  "CSS_SELECTOR_EMPTY",
31007
- "CSS_SELECTOR_NOT_ALLOWED"
31010
+ "CSS_SELECTOR_NOT_ALLOWED",
31011
+ "KIND_FILTER_INVALID"
31008
31012
  ],
31009
31013
  "valuesArgs": {
31010
31014
  "NAME_TOO_LONG": [
@@ -31235,6 +31239,10 @@ export const data = {
31235
31239
  },
31236
31240
  "perPage": {
31237
31241
  "type": "number"
31242
+ },
31243
+ "kind": {
31244
+ "type": "string",
31245
+ "optional": true
31238
31246
  }
31239
31247
  }
31240
31248
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.400",
3
+ "version": "0.2.402",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -215,7 +215,7 @@ export type CreateRequest = {
215
215
  json?: string;
216
216
  /** Similar to the PopupFormContent. */
217
217
  html?: string;
218
- /** Similar to the PopupFormContent. Required. */
218
+ /** Required: CONTENT or FORM. */
219
219
  kind?: string;
220
220
  };
221
221
  export type CreateResponse = {
@@ -123,7 +123,9 @@ export type PopupFormsServiceErrors =
123
123
  /** CSS selector is required for an EMBEDDED Popup Form. */
124
124
  | 'CSS_SELECTOR_EMPTY'
125
125
  /** CSS selector is not allowed for a POPUP Popup Form. */
126
- | 'CSS_SELECTOR_NOT_ALLOWED';
126
+ | 'CSS_SELECTOR_NOT_ALLOWED'
127
+ /** List kind filter is invalid (allowed: POPUP, EMBEDDED). */
128
+ | 'KIND_FILTER_INVALID';
127
129
  export type PopupFormsService_List = RpcMethod<ListRequest, ListResponse>;
128
130
  export type PopupFormsService_Get = RpcMethod<GetRequest, GetResponse>;
129
131
  export type PopupFormsService_Create = RpcMethod<CreateRequest, CreateResponse>;
@@ -135,7 +137,7 @@ export type PopupFormsService_DeactivatePopupForms = RpcMethod<DeactivatePopupFo
135
137
  export type PopupFormsService_ActivatePopupForms = RpcMethod<ActivatePopupFormsRequest, ActivatePopupFormsResponse>;
136
138
  export type PopupFormsService_DeletePopupForms = RpcMethod<DeletePopupFormsRequest, DeletePopupFormsResponse>;
137
139
  export interface PopupFormsService {
138
- /** Lists web popup forms for an application code, newest-published first, with paging, name/code search and an optional status filter; each item carries visitor and impression counts. Use to browse popup forms or find a popup form code before fetching details. */
140
+ /** Lists web popup forms for an application code, newest-published first, with paging, name/code search and optional status and kind filters; each item carries visitor and impression counts. Use to browse popup forms or find a popup form code before fetching details. */
139
141
  List: PopupFormsService_List;
140
142
  /** Returns a single web popup form by its popup form code, including status, display rules, audience targeting and the associated content and subscription form. Use after list_popup_forms to inspect one form's full configuration. */
141
143
  Get: PopupFormsService_Get;
@@ -253,6 +255,11 @@ export type ListRequest = {
253
255
  page?: number;
254
256
  /** Number of items per page. */
255
257
  perPage?: number;
258
+ /**
259
+ * Optional kind filter: "POPUP" or "EMBEDDED". Empty means no filter.
260
+ * Paging and totals are counted over the filtered set.
261
+ */
262
+ kind?: string;
256
263
  };
257
264
  export type ListResponse_ListItem = {
258
265
  /** Similar to the PopupForm. */
@@ -330,7 +337,7 @@ export type CreateRequest = {
330
337
  matchingPageRules?: PageRule[];
331
338
  /** Similar to the PopupForm. */
332
339
  triggerType?: string;
333
- /** Similar to the PopupForm. Required. */
340
+ /** Required: POPUP or EMBEDDED. EMBEDDED also requires css_selector. */
334
341
  kind?: string;
335
342
  /**
336
343
  * Similar to the PopupForm. Required when kind is EMBEDDED, must be empty