@pushwoosh/rpc-v2-http-api-data 0.1.394
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/commonTypes.d.ts +1 -0
- package/commonTypes.js +2 -0
- package/data-bundle.js +1 -0
- package/data.d.ts +2 -0
- package/data.js +16898 -0
- package/google_api.d.ts +33 -0
- package/google_api.js +2 -0
- package/google_protobuf.d.ts +251 -0
- package/google_protobuf.js +2 -0
- package/index.d.ts +81 -0
- package/index.js +2 -0
- package/package.json +18 -0
- package/pushwoosh_channels_messagingApi_v2.d.ts +365 -0
- package/pushwoosh_channels_messagingApi_v2.js +2 -0
- package/pushwoosh_objects_filters_v1.d.ts +1223 -0
- package/pushwoosh_objects_filters_v1.js +2 -0
- package/pushwoosh_objects_restrictionValues_v1.d.ts +1694 -0
- package/pushwoosh_objects_restrictionValues_v1.js +2 -0
- package/pushwoosh_rpc_v2_account_groups.d.ts +46 -0
- package/pushwoosh_rpc_v2_account_groups.js +2 -0
- package/pushwoosh_rpc_v2_account_invites.d.ts +28 -0
- package/pushwoosh_rpc_v2_account_invites.js +2 -0
- package/pushwoosh_rpc_v2_accounts.d.ts +268 -0
- package/pushwoosh_rpc_v2_accounts.js +2 -0
- package/pushwoosh_rpc_v2_accounts_get_auth_info.d.ts +90 -0
- package/pushwoosh_rpc_v2_accounts_get_auth_info.js +2 -0
- package/pushwoosh_rpc_v2_api_tokens.d.ts +109 -0
- package/pushwoosh_rpc_v2_api_tokens.js +2 -0
- package/pushwoosh_rpc_v2_applications.d.ts +98 -0
- package/pushwoosh_rpc_v2_applications.js +2 -0
- package/pushwoosh_rpc_v2_applications_configurations.d.ts +119 -0
- package/pushwoosh_rpc_v2_applications_configurations.js +2 -0
- package/pushwoosh_rpc_v2_applications_groups.d.ts +52 -0
- package/pushwoosh_rpc_v2_applications_groups.js +2 -0
- package/pushwoosh_rpc_v2_applications_info.d.ts +22 -0
- package/pushwoosh_rpc_v2_applications_info.js +2 -0
- package/pushwoosh_rpc_v2_campaigns.d.ts +54 -0
- package/pushwoosh_rpc_v2_campaigns.js +2 -0
- package/pushwoosh_rpc_v2_categories.d.ts +19 -0
- package/pushwoosh_rpc_v2_categories.js +2 -0
- package/pushwoosh_rpc_v2_customer_journey.d.ts +28 -0
- package/pushwoosh_rpc_v2_customer_journey.js +2 -0
- package/pushwoosh_rpc_v2_deeplinks.d.ts +55 -0
- package/pushwoosh_rpc_v2_deeplinks.js +2 -0
- package/pushwoosh_rpc_v2_devices.d.ts +11 -0
- package/pushwoosh_rpc_v2_devices.js +2 -0
- package/pushwoosh_rpc_v2_emails_configurations.d.ts +39 -0
- package/pushwoosh_rpc_v2_emails_configurations.js +2 -0
- package/pushwoosh_rpc_v2_events.d.ts +149 -0
- package/pushwoosh_rpc_v2_events.js +2 -0
- package/pushwoosh_rpc_v2_filters.d.ts +138 -0
- package/pushwoosh_rpc_v2_filters.js +2 -0
- package/pushwoosh_rpc_v2_frequency_capping.d.ts +39 -0
- package/pushwoosh_rpc_v2_frequency_capping.js +2 -0
- package/pushwoosh_rpc_v2_geozones.d.ts +96 -0
- package/pushwoosh_rpc_v2_geozones.js +2 -0
- package/pushwoosh_rpc_v2_geozones_clusters.d.ts +40 -0
- package/pushwoosh_rpc_v2_geozones_clusters.js +2 -0
- package/pushwoosh_rpc_v2_integrations.d.ts +42 -0
- package/pushwoosh_rpc_v2_integrations.js +2 -0
- package/pushwoosh_rpc_v2_messages.d.ts +139 -0
- package/pushwoosh_rpc_v2_messages.js +2 -0
- package/pushwoosh_rpc_v2_presets.d.ts +139 -0
- package/pushwoosh_rpc_v2_presets.js +2 -0
- package/pushwoosh_rpc_v2_referral_partners.d.ts +66 -0
- package/pushwoosh_rpc_v2_referral_partners.js +2 -0
- package/pushwoosh_rpc_v2_restrictions.d.ts +8 -0
- package/pushwoosh_rpc_v2_restrictions.js +2 -0
- package/pushwoosh_rpc_v2_rich_medias.d.ts +189 -0
- package/pushwoosh_rpc_v2_rich_medias.js +2 -0
- package/pushwoosh_rpc_v2_segment_statistics.d.ts +21 -0
- package/pushwoosh_rpc_v2_segment_statistics.js +2 -0
- package/pushwoosh_rpc_v2_sms_presets.d.ts +60 -0
- package/pushwoosh_rpc_v2_sms_presets.js +2 -0
- package/pushwoosh_rpc_v2_statistics_dashboards.d.ts +47 -0
- package/pushwoosh_rpc_v2_statistics_dashboards.js +2 -0
- package/pushwoosh_rpc_v2_statistics_dashboards_widgets.d.ts +59 -0
- package/pushwoosh_rpc_v2_statistics_dashboards_widgets.js +2 -0
- package/pushwoosh_rpc_v2_tags.d.ts +67 -0
- package/pushwoosh_rpc_v2_tags.js +2 -0
- package/pushwoosh_rpc_v2_test_devices.d.ts +41 -0
- package/pushwoosh_rpc_v2_test_devices.js +2 -0
- package/pushwoosh_rpc_v2_users.d.ts +34 -0
- package/pushwoosh_rpc_v2_users.js +2 -0
- package/pushwoosh_rpc_v2_whatsapp.d.ts +22 -0
- package/pushwoosh_rpc_v2_whatsapp.js +2 -0
- package/pushwoosh_rpc_v2_whatsapp_presets.d.ts +34 -0
- package/pushwoosh_rpc_v2_whatsapp_presets.js +2 -0
- package/types.d.ts +46 -0
- package/types.js +1 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface WhatsAppPresetsService {
|
|
2
|
+
List(request: ListWhatsAppPresetsRequest): Promise<ListWhatsAppPresetsResponse>;
|
|
3
|
+
Get(request: GetWhatsAppPresetRequest): Promise<GetWhatsAppPresetResponse>;
|
|
4
|
+
}
|
|
5
|
+
export type ListWhatsAppPresetsRequest = {
|
|
6
|
+
application?: string;
|
|
7
|
+
searchByName?: string;
|
|
8
|
+
};
|
|
9
|
+
export type WhatsAppPreset = {
|
|
10
|
+
name: string;
|
|
11
|
+
code: string;
|
|
12
|
+
properties: WhatsAppPresetProperties;
|
|
13
|
+
created: Date;
|
|
14
|
+
updated: Date;
|
|
15
|
+
};
|
|
16
|
+
export type WhatsAppPresetProperties = {
|
|
17
|
+
contentId: string;
|
|
18
|
+
text: string;
|
|
19
|
+
variables: Record<string, string>;
|
|
20
|
+
quickReplies: string[];
|
|
21
|
+
};
|
|
22
|
+
export type ListWhatsAppPresetsResponse = {
|
|
23
|
+
presets: WhatsAppPreset[];
|
|
24
|
+
page: number;
|
|
25
|
+
perPage: number;
|
|
26
|
+
total: number;
|
|
27
|
+
};
|
|
28
|
+
export type GetWhatsAppPresetRequest = {
|
|
29
|
+
code?: string;
|
|
30
|
+
application?: string;
|
|
31
|
+
};
|
|
32
|
+
export type GetWhatsAppPresetResponse = {
|
|
33
|
+
preset: WhatsAppPreset;
|
|
34
|
+
};
|
package/types.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export type TypeDefinition = InterfaceDefinition | EnumDefinition | ServiceDefinition;
|
|
2
|
+
export type InterfaceDefinition = {
|
|
3
|
+
type: 'I';
|
|
4
|
+
fields: {
|
|
5
|
+
[fieldName: string]: FieldDefinition;
|
|
6
|
+
};
|
|
7
|
+
oneofs?: {
|
|
8
|
+
[oneofName: string]: OneofGroup;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export type FieldDefinition = {
|
|
12
|
+
type: string;
|
|
13
|
+
mapKeyType?: string;
|
|
14
|
+
array?: boolean;
|
|
15
|
+
optional?: boolean;
|
|
16
|
+
};
|
|
17
|
+
export type OneofGroup = {
|
|
18
|
+
oneof: string[];
|
|
19
|
+
};
|
|
20
|
+
export type EnumDefinition = {
|
|
21
|
+
type: 'E';
|
|
22
|
+
values: string[];
|
|
23
|
+
};
|
|
24
|
+
export type ServiceDefinition = {
|
|
25
|
+
type: 'S';
|
|
26
|
+
key: string;
|
|
27
|
+
methods: {
|
|
28
|
+
[methodName: string]: ServiceMethod;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export type ServiceMethod = {
|
|
32
|
+
request: string;
|
|
33
|
+
response: string;
|
|
34
|
+
method: string;
|
|
35
|
+
path: string;
|
|
36
|
+
};
|
|
37
|
+
export type InterfaceDefinitionRaw = InterfaceDefinition & {
|
|
38
|
+
package: string;
|
|
39
|
+
};
|
|
40
|
+
export type EnumDefinitionRaw = EnumDefinition & {
|
|
41
|
+
package: string;
|
|
42
|
+
};
|
|
43
|
+
export type ServiceDefinitionRaw = ServiceDefinition & {
|
|
44
|
+
package: string;
|
|
45
|
+
};
|
|
46
|
+
export type TypeDefinitionRaw = InterfaceDefinitionRaw | EnumDefinitionRaw | ServiceDefinitionRaw;
|
package/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|