@pushwoosh/rpc-v2-http-api-data 0.1.572 → 0.1.574
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 +148 -6
- package/integrations.d.ts +43 -1
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -7864,12 +7864,6 @@ export const data = {
|
|
|
7864
7864
|
"method": "post",
|
|
7865
7865
|
"path": "/api/integrations:create_properties"
|
|
7866
7866
|
},
|
|
7867
|
-
"ImportSegmentPiano": {
|
|
7868
|
-
"request": "pushwoosh.rpc_v2.integrations.ImportSegmentPianoRequest",
|
|
7869
|
-
"response": "pushwoosh.rpc_v2.integrations.ImportSegmentPianoResponse",
|
|
7870
|
-
"method": "post",
|
|
7871
|
-
"path": "/api/integrations:import_segment_piano"
|
|
7872
|
-
},
|
|
7873
7867
|
"ListIntegrationsConfiguration": {
|
|
7874
7868
|
"request": "pushwoosh.rpc_v2.integrations.ListIntegrationsConfigurationRequest",
|
|
7875
7869
|
"response": "pushwoosh.rpc_v2.integrations.ListIntegrationsConfigurationResponse",
|
|
@@ -7887,6 +7881,36 @@ export const data = {
|
|
|
7887
7881
|
"response": "pushwoosh.rpc_v2.integrations.CreateWebhookConfigurationResponse",
|
|
7888
7882
|
"method": "post",
|
|
7889
7883
|
"path": "/api/integrations/configurations/webhook"
|
|
7884
|
+
},
|
|
7885
|
+
"GetSegmentConfiguration": {
|
|
7886
|
+
"request": "pushwoosh.rpc_v2.integrations.GetSegmentConfigurationRequest",
|
|
7887
|
+
"response": "pushwoosh.rpc_v2.integrations.GetSegmentConfigurationResponse",
|
|
7888
|
+
"method": "get",
|
|
7889
|
+
"path": "/api/integrations/configurations/segment/{application}"
|
|
7890
|
+
},
|
|
7891
|
+
"CreateSegmentConfiguration": {
|
|
7892
|
+
"request": "pushwoosh.rpc_v2.integrations.CreateSegmentConfigurationRequest",
|
|
7893
|
+
"response": "pushwoosh.rpc_v2.integrations.CreateSegmentConfigurationResponse",
|
|
7894
|
+
"method": "post",
|
|
7895
|
+
"path": "/api/integrations/configurations/segment"
|
|
7896
|
+
},
|
|
7897
|
+
"GetPianoConfiguration": {
|
|
7898
|
+
"request": "pushwoosh.rpc_v2.integrations.GetPianoConfigurationRequest",
|
|
7899
|
+
"response": "pushwoosh.rpc_v2.integrations.GetPianoConfigurationResponse",
|
|
7900
|
+
"method": "get",
|
|
7901
|
+
"path": "/api/integrations/configurations/piano/{application}"
|
|
7902
|
+
},
|
|
7903
|
+
"CreatePianoConfiguration": {
|
|
7904
|
+
"request": "pushwoosh.rpc_v2.integrations.CreatePianoConfigurationRequest",
|
|
7905
|
+
"response": "pushwoosh.rpc_v2.integrations.CreatePianoConfigurationResponse",
|
|
7906
|
+
"method": "post",
|
|
7907
|
+
"path": "/api/integrations/configurations/piano"
|
|
7908
|
+
},
|
|
7909
|
+
"ImportSegmentPiano": {
|
|
7910
|
+
"request": "pushwoosh.rpc_v2.integrations.ImportSegmentPianoRequest",
|
|
7911
|
+
"response": "pushwoosh.rpc_v2.integrations.ImportSegmentPianoResponse",
|
|
7912
|
+
"method": "post",
|
|
7913
|
+
"path": "/api/integrations:import_segment_piano"
|
|
7890
7914
|
}
|
|
7891
7915
|
}
|
|
7892
7916
|
},
|
|
@@ -8119,6 +8143,124 @@ export const data = {
|
|
|
8119
8143
|
"type": "I",
|
|
8120
8144
|
"fields": {}
|
|
8121
8145
|
},
|
|
8146
|
+
"pushwoosh.rpc_v2.integrations.GetSegmentConfigurationRequest": {
|
|
8147
|
+
"type": "I",
|
|
8148
|
+
"fields": {
|
|
8149
|
+
"application": {
|
|
8150
|
+
"type": "string"
|
|
8151
|
+
}
|
|
8152
|
+
}
|
|
8153
|
+
},
|
|
8154
|
+
"pushwoosh.rpc_v2.integrations.GetSegmentConfigurationResponse": {
|
|
8155
|
+
"type": "I",
|
|
8156
|
+
"fields": {
|
|
8157
|
+
"writeKey": {
|
|
8158
|
+
"type": "string"
|
|
8159
|
+
},
|
|
8160
|
+
"events": {
|
|
8161
|
+
"type": "string",
|
|
8162
|
+
"array": true
|
|
8163
|
+
},
|
|
8164
|
+
"availableEvents": {
|
|
8165
|
+
"type": "string",
|
|
8166
|
+
"array": true
|
|
8167
|
+
}
|
|
8168
|
+
}
|
|
8169
|
+
},
|
|
8170
|
+
"pushwoosh.rpc_v2.integrations.CreateSegmentConfigurationRequest": {
|
|
8171
|
+
"type": "I",
|
|
8172
|
+
"fields": {
|
|
8173
|
+
"application": {
|
|
8174
|
+
"type": "string"
|
|
8175
|
+
},
|
|
8176
|
+
"writeKey": {
|
|
8177
|
+
"type": "string"
|
|
8178
|
+
},
|
|
8179
|
+
"events": {
|
|
8180
|
+
"type": "string",
|
|
8181
|
+
"array": true
|
|
8182
|
+
}
|
|
8183
|
+
}
|
|
8184
|
+
},
|
|
8185
|
+
"pushwoosh.rpc_v2.integrations.CreateSegmentConfigurationResponse": {
|
|
8186
|
+
"type": "I",
|
|
8187
|
+
"fields": {}
|
|
8188
|
+
},
|
|
8189
|
+
"pushwoosh.rpc_v2.integrations.GetPianoConfigurationRequest": {
|
|
8190
|
+
"type": "I",
|
|
8191
|
+
"fields": {
|
|
8192
|
+
"application": {
|
|
8193
|
+
"type": "string"
|
|
8194
|
+
}
|
|
8195
|
+
}
|
|
8196
|
+
},
|
|
8197
|
+
"pushwoosh.rpc_v2.integrations.GetPianoConfigurationResponse": {
|
|
8198
|
+
"type": "I",
|
|
8199
|
+
"fields": {
|
|
8200
|
+
"collectionDomain": {
|
|
8201
|
+
"type": "string"
|
|
8202
|
+
},
|
|
8203
|
+
"siteId": {
|
|
8204
|
+
"type": "string"
|
|
8205
|
+
},
|
|
8206
|
+
"apiKey": {
|
|
8207
|
+
"type": "string"
|
|
8208
|
+
},
|
|
8209
|
+
"events": {
|
|
8210
|
+
"type": "string",
|
|
8211
|
+
"array": true
|
|
8212
|
+
},
|
|
8213
|
+
"uniqueEventsEnabled": {
|
|
8214
|
+
"type": "boolean"
|
|
8215
|
+
},
|
|
8216
|
+
"uniqueEvents": {
|
|
8217
|
+
"type": "string",
|
|
8218
|
+
"array": true
|
|
8219
|
+
},
|
|
8220
|
+
"uniqueEventsTimeframe": {
|
|
8221
|
+
"type": "number"
|
|
8222
|
+
},
|
|
8223
|
+
"availableEvents": {
|
|
8224
|
+
"type": "string",
|
|
8225
|
+
"array": true
|
|
8226
|
+
}
|
|
8227
|
+
}
|
|
8228
|
+
},
|
|
8229
|
+
"pushwoosh.rpc_v2.integrations.CreatePianoConfigurationRequest": {
|
|
8230
|
+
"type": "I",
|
|
8231
|
+
"fields": {
|
|
8232
|
+
"application": {
|
|
8233
|
+
"type": "string"
|
|
8234
|
+
},
|
|
8235
|
+
"collectionDomain": {
|
|
8236
|
+
"type": "string"
|
|
8237
|
+
},
|
|
8238
|
+
"siteId": {
|
|
8239
|
+
"type": "string"
|
|
8240
|
+
},
|
|
8241
|
+
"apiKey": {
|
|
8242
|
+
"type": "string"
|
|
8243
|
+
},
|
|
8244
|
+
"events": {
|
|
8245
|
+
"type": "string",
|
|
8246
|
+
"array": true
|
|
8247
|
+
},
|
|
8248
|
+
"uniqueEventsEnabled": {
|
|
8249
|
+
"type": "boolean"
|
|
8250
|
+
},
|
|
8251
|
+
"uniqueEvents": {
|
|
8252
|
+
"type": "string",
|
|
8253
|
+
"array": true
|
|
8254
|
+
},
|
|
8255
|
+
"uniqueEventsTimeframe": {
|
|
8256
|
+
"type": "number"
|
|
8257
|
+
}
|
|
8258
|
+
}
|
|
8259
|
+
},
|
|
8260
|
+
"pushwoosh.rpc_v2.integrations.CreatePianoConfigurationResponse": {
|
|
8261
|
+
"type": "I",
|
|
8262
|
+
"fields": {}
|
|
8263
|
+
},
|
|
8122
8264
|
"pushwoosh.rpc_v2.line_presets.linePresetsService": {
|
|
8123
8265
|
"type": "S",
|
|
8124
8266
|
"key": "linePresets",
|
package/integrations.d.ts
CHANGED
|
@@ -2,10 +2,14 @@ export interface IntegrationsService {
|
|
|
2
2
|
GetPropertiesNames(request: GetPropertiesNamesRequest): Promise<GetPropertiesNamesResponse>;
|
|
3
3
|
GetProperties(request: GetPropertiesRequest): Promise<GetPropertiesResponse>;
|
|
4
4
|
CreateProperties(request: CreatePropertiesRequest): Promise<CreatePropertiesResponse>;
|
|
5
|
-
ImportSegmentPiano(request: ImportSegmentPianoRequest): Promise<ImportSegmentPianoResponse>;
|
|
6
5
|
ListIntegrationsConfiguration(request: ListIntegrationsConfigurationRequest): Promise<ListIntegrationsConfigurationResponse>;
|
|
7
6
|
GetWebhookConfiguration(request: GetWebhookConfigurationRequest): Promise<GetWebhookConfigurationResponse>;
|
|
8
7
|
CreateWebhookConfiguration(request: CreateWebhookConfigurationRequest): Promise<CreateWebhookConfigurationResponse>;
|
|
8
|
+
GetSegmentConfiguration(request: GetSegmentConfigurationRequest): Promise<GetSegmentConfigurationResponse>;
|
|
9
|
+
CreateSegmentConfiguration(request: CreateSegmentConfigurationRequest): Promise<CreateSegmentConfigurationResponse>;
|
|
10
|
+
GetPianoConfiguration(request: GetPianoConfigurationRequest): Promise<GetPianoConfigurationResponse>;
|
|
11
|
+
CreatePianoConfiguration(request: CreatePianoConfigurationRequest): Promise<CreatePianoConfigurationResponse>;
|
|
12
|
+
ImportSegmentPiano(request: ImportSegmentPianoRequest): Promise<ImportSegmentPianoResponse>;
|
|
9
13
|
}
|
|
10
14
|
export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK';
|
|
11
15
|
export type GetPropertiesNamesRequest = {
|
|
@@ -81,3 +85,41 @@ export type CreateWebhookConfigurationRequest = {
|
|
|
81
85
|
transport?: WebhookIntegrationTransportType;
|
|
82
86
|
};
|
|
83
87
|
export type CreateWebhookConfigurationResponse = {};
|
|
88
|
+
export type GetSegmentConfigurationRequest = {
|
|
89
|
+
application?: string;
|
|
90
|
+
};
|
|
91
|
+
export type GetSegmentConfigurationResponse = {
|
|
92
|
+
writeKey: string;
|
|
93
|
+
events: string[];
|
|
94
|
+
availableEvents: string[];
|
|
95
|
+
};
|
|
96
|
+
export type CreateSegmentConfigurationRequest = {
|
|
97
|
+
application?: string;
|
|
98
|
+
writeKey?: string;
|
|
99
|
+
events?: string[];
|
|
100
|
+
};
|
|
101
|
+
export type CreateSegmentConfigurationResponse = {};
|
|
102
|
+
export type GetPianoConfigurationRequest = {
|
|
103
|
+
application?: string;
|
|
104
|
+
};
|
|
105
|
+
export type GetPianoConfigurationResponse = {
|
|
106
|
+
collectionDomain: string;
|
|
107
|
+
siteId: string;
|
|
108
|
+
apiKey: string;
|
|
109
|
+
events: string[];
|
|
110
|
+
uniqueEventsEnabled: boolean;
|
|
111
|
+
uniqueEvents: string[];
|
|
112
|
+
uniqueEventsTimeframe: number;
|
|
113
|
+
availableEvents: string[];
|
|
114
|
+
};
|
|
115
|
+
export type CreatePianoConfigurationRequest = {
|
|
116
|
+
application?: string;
|
|
117
|
+
collectionDomain?: string;
|
|
118
|
+
siteId?: string;
|
|
119
|
+
apiKey?: string;
|
|
120
|
+
events?: string[];
|
|
121
|
+
uniqueEventsEnabled?: boolean;
|
|
122
|
+
uniqueEvents?: string[];
|
|
123
|
+
uniqueEventsTimeframe?: number;
|
|
124
|
+
};
|
|
125
|
+
export type CreatePianoConfigurationResponse = {};
|