@pushwoosh/rpc-v2-http-api-data 0.1.538 → 0.1.540

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.
Files changed (3) hide show
  1. package/accounts.d.ts +6 -1
  2. package/data.js +16 -1
  3. package/package.json +1 -1
package/accounts.d.ts CHANGED
@@ -299,8 +299,13 @@ export type ListEmailTemplatesResponse = {
299
299
  export type ListLegacyTemplatesRequest = {
300
300
  application?: string;
301
301
  };
302
+ export type ListLegacyTemplatesResponse_EmailTemplate = {
303
+ code: string;
304
+ name: string;
305
+ languages: string[];
306
+ };
302
307
  export type ListLegacyTemplatesResponse = {
303
- emailTemplates: string[];
308
+ emailTemplates: ListLegacyTemplatesResponse_EmailTemplate[];
304
309
  };
305
310
  export type DeleteEmailTemplateRequest = {
306
311
  code?: string;
package/data.js CHANGED
@@ -4804,11 +4804,26 @@ export const data = {
4804
4804
  }
4805
4805
  }
4806
4806
  },
4807
+ "pushwoosh.rpc_v2.accounts.ListLegacyTemplatesResponse.EmailTemplate": {
4808
+ "type": "I",
4809
+ "fields": {
4810
+ "code": {
4811
+ "type": "string"
4812
+ },
4813
+ "name": {
4814
+ "type": "string"
4815
+ },
4816
+ "languages": {
4817
+ "type": "string",
4818
+ "array": true
4819
+ }
4820
+ }
4821
+ },
4807
4822
  "pushwoosh.rpc_v2.accounts.ListLegacyTemplatesResponse": {
4808
4823
  "type": "I",
4809
4824
  "fields": {
4810
4825
  "emailTemplates": {
4811
- "type": "string",
4826
+ "type": "pushwoosh.rpc_v2.accounts.ListLegacyTemplatesResponse.EmailTemplate",
4812
4827
  "array": true
4813
4828
  }
4814
4829
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.538",
3
+ "version": "0.1.540",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",