@pushwoosh/rpc-v2-http-api-data 0.1.889 → 0.1.891

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
@@ -9878,6 +9878,62 @@ export const data = {
9878
9878
  "type": "I",
9879
9879
  "fields": {}
9880
9880
  },
9881
+ "pushwoosh.rpc.frequency_capping_disabled_users.v3.FrequencyCappingDisabledUsersService": {
9882
+ "type": "S",
9883
+ "key": "frequencyCappingDisabledUsers",
9884
+ "methods": {
9885
+ "Get": {
9886
+ "request": "pushwoosh.rpc.frequency_capping_disabled_users.v3.GetRequest",
9887
+ "response": "pushwoosh.rpc.frequency_capping_disabled_users.v3.GetResponse",
9888
+ "method": "get",
9889
+ "path": "/api/v3/frequency_capping_disabled_users/{application}"
9890
+ },
9891
+ "Set": {
9892
+ "request": "pushwoosh.rpc.frequency_capping_disabled_users.v3.SetRequest",
9893
+ "response": "pushwoosh.rpc.frequency_capping_disabled_users.v3.SetResponse",
9894
+ "method": "post",
9895
+ "path": "/api/v3/frequency_capping_disabled_users/{application}"
9896
+ }
9897
+ }
9898
+ },
9899
+ "pushwoosh.rpc.frequency_capping_disabled_users.v3.GetRequest": {
9900
+ "type": "I",
9901
+ "fields": {
9902
+ "application": {
9903
+ "type": "string"
9904
+ }
9905
+ }
9906
+ },
9907
+ "pushwoosh.rpc.frequency_capping_disabled_users.v3.GetResponse": {
9908
+ "type": "I",
9909
+ "fields": {
9910
+ "users": {
9911
+ "type": "string",
9912
+ "array": true
9913
+ }
9914
+ }
9915
+ },
9916
+ "pushwoosh.rpc.frequency_capping_disabled_users.v3.SetRequest": {
9917
+ "type": "I",
9918
+ "fields": {
9919
+ "application": {
9920
+ "type": "string"
9921
+ },
9922
+ "users": {
9923
+ "type": "string",
9924
+ "array": true
9925
+ }
9926
+ }
9927
+ },
9928
+ "pushwoosh.rpc.frequency_capping_disabled_users.v3.SetResponse": {
9929
+ "type": "I",
9930
+ "fields": {
9931
+ "users": {
9932
+ "type": "string",
9933
+ "array": true
9934
+ }
9935
+ }
9936
+ },
9881
9937
  "pushwoosh.rpc_v2.geozones.GeozonesService": {
9882
9938
  "type": "S",
9883
9939
  "key": "geozones",
@@ -12389,6 +12445,10 @@ export const data = {
12389
12445
  },
12390
12446
  "mimeType": {
12391
12447
  "type": "string"
12448
+ },
12449
+ "description": {
12450
+ "type": "string",
12451
+ "optional": true
12392
12452
  }
12393
12453
  }
12394
12454
  },
@@ -12473,6 +12533,10 @@ export const data = {
12473
12533
  "createdAt": {
12474
12534
  "type": "Date"
12475
12535
  },
12536
+ "description": {
12537
+ "type": "string",
12538
+ "optional": true
12539
+ },
12476
12540
  "imageMeta": {
12477
12541
  "type": "pushwoosh.rpc_v2.media_files.MediaFile.ImageMeta"
12478
12542
  }
package/index.d.ts CHANGED
@@ -28,6 +28,7 @@ import { EventsService as pushwoosh_rpc_v2_events_EventsService } from './events
28
28
  import { ExportStatisticsService as pushwoosh_rpc_v2_export_messages_ExportStatisticsService } from './export_messages';
29
29
  import { FiltersService as pushwoosh_rpc_v2_filters_FiltersService } from './filters';
30
30
  import { FrequencyCappingService as pushwoosh_rpc_v2_frequency_capping_FrequencyCappingService } from './frequency_capping';
31
+ import { FrequencyCappingDisabledUsersService as pushwoosh_rpc_frequency_capping_disabled_users_v3_FrequencyCappingDisabledUsersService } from './pushwoosh_rpc_frequency_capping_disabled_users_v3';
31
32
  import { GeozonesService as pushwoosh_rpc_v2_geozones_GeozonesService } from './geozones';
32
33
  import { GeozonesClustersService as pushwoosh_rpc_v2_geozones_clusters_GeozonesClustersService } from './geozones_clusters';
33
34
  import { InAppMessagesService as pushwoosh_rpc_v2_inapp_messages_InAppMessagesService } from './inapp_messages';
@@ -90,6 +91,7 @@ export type API = {
90
91
  exportStatistics: pushwoosh_rpc_v2_export_messages_ExportStatisticsService;
91
92
  filters: pushwoosh_rpc_v2_filters_FiltersService;
92
93
  frequencyCapping: pushwoosh_rpc_v2_frequency_capping_FrequencyCappingService;
94
+ frequencyCappingDisabledUsers: pushwoosh_rpc_frequency_capping_disabled_users_v3_FrequencyCappingDisabledUsersService;
93
95
  geozones: pushwoosh_rpc_v2_geozones_GeozonesService;
94
96
  geozonesClusters: pushwoosh_rpc_v2_geozones_clusters_GeozonesClustersService;
95
97
  inAppMessages: pushwoosh_rpc_v2_inapp_messages_InAppMessagesService;
package/media_files.d.ts CHANGED
@@ -8,6 +8,7 @@ export type UploadMediaFileRequest = {
8
8
  filename: string;
9
9
  data: string;
10
10
  mimeType: string;
11
+ description?: string;
11
12
  };
12
13
  export type UploadMediaFileResponse = {
13
14
  file: MediaFile;
@@ -42,5 +43,6 @@ export type MediaFile = {
42
43
  fileSize: number;
43
44
  mimeType: string;
44
45
  createdAt: Date;
46
+ description?: string;
45
47
  meta: MediaFile_meta;
46
48
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.889",
3
+ "version": "0.1.891",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -0,0 +1,20 @@
1
+ import { RpcMethod } from './commonTypes';
2
+ export type FrequencyCappingDisabledUsersService_Get = RpcMethod<GetRequest, GetResponse>;
3
+ export type FrequencyCappingDisabledUsersService_Set = RpcMethod<SetRequest, SetResponse>;
4
+ export interface FrequencyCappingDisabledUsersService {
5
+ Get: FrequencyCappingDisabledUsersService_Get;
6
+ Set: FrequencyCappingDisabledUsersService_Set;
7
+ }
8
+ export type GetRequest = {
9
+ application?: string;
10
+ };
11
+ export type GetResponse = {
12
+ users: string[];
13
+ };
14
+ export type SetRequest = {
15
+ application?: string;
16
+ users?: string[];
17
+ };
18
+ export type SetResponse = {
19
+ users: string[];
20
+ };
@@ -0,0 +1,3 @@
1
+ /* eslint-disable */
2
+ /* Autogenerated code */
3
+ export {};