@pushwoosh/rpc-v2-http-api-data 0.2.358 → 0.2.359

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 +0 -19
  2. package/data.js +0 -72
  3. package/package.json +1 -1
package/accounts.d.ts CHANGED
@@ -5,8 +5,6 @@ export type AccountsService_GetEmailStatisticCount = RpcMethod<GetEmailStatistic
5
5
  export type AccountsService_GetActiveDevicesCount = RpcMethod<GetActiveDevicesCountRequest, GetActiveDevicesCountResponse>;
6
6
  export type AccountsService_GetSubscribersCount = RpcMethod<GetSubscribersCountRequest, GetSubscribersCountResponse>;
7
7
  export type AccountsService_GetActiveUsersCount = RpcMethod<GetActiveUsersCountRequest, GetActiveUsersCountResponse>;
8
- export type AccountsService_SetDebugMode = RpcMethod<SetDebugModeRequest, SetDebugModeResponse>;
9
- export type AccountsService_GetDebugMode = RpcMethod<GetDebugModeRequest, GetDebugModeResponse>;
10
8
  export type AccountsService_GetOnboardingInfo = RpcMethod<GetOnboardingInfoRequest, GetOnboardingInfoResponse>;
11
9
  export type AccountsService_UpdateOnboardingInfo = RpcMethod<UpdateOnboardingInfoRequest, UpdateOnboardingInfoResponse>;
12
10
  export type AccountsService_GetTotalEmailSubscribersCount = RpcMethod<GetTotalEmailSubscribersCountRequest, GetTotalEmailSubscribersCountResponse>;
@@ -26,10 +24,6 @@ export interface AccountsService {
26
24
  GetSubscribersCount: AccountsService_GetSubscribersCount;
27
25
  /** Returns monthly active user counts for the account (rolling-month, calendar-month and previous-month). Use for user-based MAU/billing views; pass a date range to also get the count for that window. */
28
26
  GetActiveUsersCount: AccountsService_GetActiveUsersCount;
29
- /** Turns the account's API debug mode on or off; enabling grants a one-hour window, disabling clears it. Requires the account to allow debug mode and the user to manage API access. Use get_account_debug_mode to read the current state. */
30
- SetDebugMode: AccountsService_SetDebugMode;
31
- /** Returns whether the account's API debug mode is currently enabled and its expiry time. Use before set_account_debug_mode to check state. */
32
- GetDebugMode: AccountsService_GetDebugMode;
33
27
  /** Returns the account's onboarding state: whether onboarding is active, whether to show the survey, and whether the account has a subscription and at least one application. Use to render the onboarding flow. */
34
28
  GetOnboardingInfo: AccountsService_GetOnboardingInfo;
35
29
  /** Marks an onboarding step complete or records the chosen plan/survey answers for the account, recalculating whether onboarding stays active. Use to advance the onboarding flow one step at a time. */
@@ -99,19 +93,6 @@ export type GetActiveUsersCountResponse = {
99
93
  /** calculates only if date in request given */
100
94
  requestDateActiveUsers: number;
101
95
  };
102
- export type SetDebugModeRequest = {
103
- /** true turns debug mode on for one hour; false turns it off */
104
- enabled?: boolean;
105
- };
106
- export type SetDebugModeResponse = {
107
- enabled: boolean;
108
- expireAt: Date;
109
- };
110
- export type GetDebugModeRequest = {};
111
- export type GetDebugModeResponse = {
112
- enabled: boolean;
113
- expireAt: Date;
114
- };
115
96
  export type GetOnboardingInfoRequest = {};
116
97
  export type GetOnboardingInfoResponse = {
117
98
  isActive: boolean;
package/data.js CHANGED
@@ -921,18 +921,6 @@ export const data = {
921
921
  "method": "get",
922
922
  "path": "/api/accounts/counters:active_users"
923
923
  },
924
- "SetDebugMode": {
925
- "request": "pushwoosh.rpc_v2.accounts.SetDebugModeRequest",
926
- "response": "pushwoosh.rpc_v2.accounts.SetDebugModeResponse",
927
- "method": "post",
928
- "path": "/api/accounts/debug_mode"
929
- },
930
- "GetDebugMode": {
931
- "request": "pushwoosh.rpc_v2.accounts.GetDebugModeRequest",
932
- "response": "pushwoosh.rpc_v2.accounts.GetDebugModeResponse",
933
- "method": "get",
934
- "path": "/api/accounts/debug_mode"
935
- },
936
924
  "GetOnboardingInfo": {
937
925
  "request": "pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest",
938
926
  "response": "pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse",
@@ -1111,40 +1099,6 @@ export const data = {
1111
1099
  }
1112
1100
  }
1113
1101
  },
1114
- "pushwoosh.rpc_v2.accounts.SetDebugModeRequest": {
1115
- "type": "I",
1116
- "fields": {
1117
- "enabled": {
1118
- "type": "boolean"
1119
- }
1120
- }
1121
- },
1122
- "pushwoosh.rpc_v2.accounts.SetDebugModeResponse": {
1123
- "type": "I",
1124
- "fields": {
1125
- "enabled": {
1126
- "type": "boolean"
1127
- },
1128
- "expireAt": {
1129
- "type": "Date"
1130
- }
1131
- }
1132
- },
1133
- "pushwoosh.rpc_v2.accounts.GetDebugModeRequest": {
1134
- "type": "I",
1135
- "fields": {}
1136
- },
1137
- "pushwoosh.rpc_v2.accounts.GetDebugModeResponse": {
1138
- "type": "I",
1139
- "fields": {
1140
- "enabled": {
1141
- "type": "boolean"
1142
- },
1143
- "expireAt": {
1144
- "type": "Date"
1145
- }
1146
- }
1147
- },
1148
1102
  "pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest": {
1149
1103
  "type": "I",
1150
1104
  "fields": {}
@@ -16514,10 +16468,6 @@ export const data = {
16514
16468
  },
16515
16469
  "dateTo": {
16516
16470
  "type": "Date"
16517
- },
16518
- "platforms": {
16519
- "type": "number",
16520
- "array": true
16521
16471
  }
16522
16472
  }
16523
16473
  },
@@ -17180,28 +17130,6 @@ export const data = {
17180
17130
  }
17181
17131
  }
17182
17132
  },
17183
- "pushwoosh.export_messages.v2.CountControlGroupRequest": {
17184
- "type": "I",
17185
- "fields": {
17186
- "application": {
17187
- "type": "string"
17188
- },
17189
- "controlGroup": {
17190
- "type": "string"
17191
- }
17192
- }
17193
- },
17194
- "pushwoosh.export_messages.v2.CountControlGroupResponse": {
17195
- "type": "I",
17196
- "fields": {
17197
- "totalUsers": {
17198
- "type": "number"
17199
- },
17200
- "controlGroupUsers": {
17201
- "type": "number"
17202
- }
17203
- }
17204
- },
17205
17133
  "pushwoosh.rpc.external_segments.v3.ExternalSegmentsService_Create_FieldViolations": {
17206
17134
  "type": "E",
17207
17135
  "values": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.358",
3
+ "version": "0.2.359",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",