@pushwoosh/rpc-v2-http-api-data 0.2.296 → 0.2.298
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 +88 -1
- package/integrations.d.ts +29 -1
- package/package.json +1 -1
- package/pushwoosh_objects_filters_v1.d.ts +6 -0
package/data.js
CHANGED
|
@@ -18689,6 +18689,24 @@ export const data = {
|
|
|
18689
18689
|
"response": "pushwoosh.rpc_v2.integrations.ListGoogleBQTablesResponse",
|
|
18690
18690
|
"method": "get",
|
|
18691
18691
|
"path": "/api/integrations/google_bq/{application}/datasets/{dataset_id}/tables"
|
|
18692
|
+
},
|
|
18693
|
+
"GetFlightStatusConfiguration": {
|
|
18694
|
+
"request": "pushwoosh.rpc_v2.integrations.GetFlightStatusConfigurationRequest",
|
|
18695
|
+
"response": "pushwoosh.rpc_v2.integrations.GetFlightStatusConfigurationResponse",
|
|
18696
|
+
"method": "get",
|
|
18697
|
+
"path": "/api/integrations/configurations/flight-status/{application}"
|
|
18698
|
+
},
|
|
18699
|
+
"CreateFlightStatusConfiguration": {
|
|
18700
|
+
"request": "pushwoosh.rpc_v2.integrations.CreateFlightStatusConfigurationRequest",
|
|
18701
|
+
"response": "pushwoosh.rpc_v2.integrations.CreateFlightStatusConfigurationResponse",
|
|
18702
|
+
"method": "post",
|
|
18703
|
+
"path": "/api/integrations/configurations/flight-status"
|
|
18704
|
+
},
|
|
18705
|
+
"DeleteFlightStatusConfiguration": {
|
|
18706
|
+
"request": "pushwoosh.rpc_v2.integrations.DeleteFlightStatusConfigurationRequest",
|
|
18707
|
+
"response": "pushwoosh.rpc_v2.integrations.DeleteFlightStatusConfigurationResponse",
|
|
18708
|
+
"method": "delete",
|
|
18709
|
+
"path": "/api/integrations/configurations/flight-status/{application}"
|
|
18692
18710
|
}
|
|
18693
18711
|
}
|
|
18694
18712
|
},
|
|
@@ -18709,7 +18727,8 @@ export const data = {
|
|
|
18709
18727
|
"AZURE",
|
|
18710
18728
|
"SALESFORCE",
|
|
18711
18729
|
"DYNAMICS",
|
|
18712
|
-
"GOOGLE_ADS"
|
|
18730
|
+
"GOOGLE_ADS",
|
|
18731
|
+
"FLIGHT_STATUS"
|
|
18713
18732
|
]
|
|
18714
18733
|
},
|
|
18715
18734
|
"pushwoosh.rpc_v2.integrations.ImportSegmentPianoRequest": {
|
|
@@ -19821,6 +19840,60 @@ export const data = {
|
|
|
19821
19840
|
}
|
|
19822
19841
|
}
|
|
19823
19842
|
},
|
|
19843
|
+
"pushwoosh.rpc_v2.integrations.FlightStatusConfiguration": {
|
|
19844
|
+
"type": "I",
|
|
19845
|
+
"fields": {
|
|
19846
|
+
"provider": {
|
|
19847
|
+
"type": "string"
|
|
19848
|
+
},
|
|
19849
|
+
"apiKey": {
|
|
19850
|
+
"type": "string"
|
|
19851
|
+
}
|
|
19852
|
+
}
|
|
19853
|
+
},
|
|
19854
|
+
"pushwoosh.rpc_v2.integrations.GetFlightStatusConfigurationRequest": {
|
|
19855
|
+
"type": "I",
|
|
19856
|
+
"fields": {
|
|
19857
|
+
"application": {
|
|
19858
|
+
"type": "string"
|
|
19859
|
+
}
|
|
19860
|
+
}
|
|
19861
|
+
},
|
|
19862
|
+
"pushwoosh.rpc_v2.integrations.GetFlightStatusConfigurationResponse": {
|
|
19863
|
+
"type": "I",
|
|
19864
|
+
"fields": {
|
|
19865
|
+
"configuration": {
|
|
19866
|
+
"type": "pushwoosh.rpc_v2.integrations.FlightStatusConfiguration"
|
|
19867
|
+
}
|
|
19868
|
+
}
|
|
19869
|
+
},
|
|
19870
|
+
"pushwoosh.rpc_v2.integrations.CreateFlightStatusConfigurationRequest": {
|
|
19871
|
+
"type": "I",
|
|
19872
|
+
"fields": {
|
|
19873
|
+
"application": {
|
|
19874
|
+
"type": "string"
|
|
19875
|
+
},
|
|
19876
|
+
"configuration": {
|
|
19877
|
+
"type": "pushwoosh.rpc_v2.integrations.FlightStatusConfiguration"
|
|
19878
|
+
}
|
|
19879
|
+
}
|
|
19880
|
+
},
|
|
19881
|
+
"pushwoosh.rpc_v2.integrations.CreateFlightStatusConfigurationResponse": {
|
|
19882
|
+
"type": "I",
|
|
19883
|
+
"fields": {}
|
|
19884
|
+
},
|
|
19885
|
+
"pushwoosh.rpc_v2.integrations.DeleteFlightStatusConfigurationRequest": {
|
|
19886
|
+
"type": "I",
|
|
19887
|
+
"fields": {
|
|
19888
|
+
"application": {
|
|
19889
|
+
"type": "string"
|
|
19890
|
+
}
|
|
19891
|
+
}
|
|
19892
|
+
},
|
|
19893
|
+
"pushwoosh.rpc_v2.integrations.DeleteFlightStatusConfigurationResponse": {
|
|
19894
|
+
"type": "I",
|
|
19895
|
+
"fields": {}
|
|
19896
|
+
},
|
|
19824
19897
|
"pushwoosh.rpc_v2.internal_alerts.InternalAlertsService": {
|
|
19825
19898
|
"type": "S",
|
|
19826
19899
|
"key": "internalAlerts",
|
|
@@ -22792,6 +22865,17 @@ export const data = {
|
|
|
22792
22865
|
}
|
|
22793
22866
|
}
|
|
22794
22867
|
},
|
|
22868
|
+
"pushwoosh.objects.filters.v1.FilterExpression.List.Operator": {
|
|
22869
|
+
"type": "E",
|
|
22870
|
+
"values": [
|
|
22871
|
+
"OPERATOR_UNSPECIFIED",
|
|
22872
|
+
"OPERATOR_IN",
|
|
22873
|
+
"OPERATOR_NOT_IN",
|
|
22874
|
+
"OPERATOR_STARTS_WITH",
|
|
22875
|
+
"OPERATOR_ENDS_WITH",
|
|
22876
|
+
"OPERATOR_CONTAINS"
|
|
22877
|
+
]
|
|
22878
|
+
},
|
|
22795
22879
|
"pushwoosh.objects.filters.v1.FilterExpression.List": {
|
|
22796
22880
|
"type": "I",
|
|
22797
22881
|
"fields": {
|
|
@@ -22808,6 +22892,9 @@ export const data = {
|
|
|
22808
22892
|
"devices": {
|
|
22809
22893
|
"type": "string",
|
|
22810
22894
|
"array": true
|
|
22895
|
+
},
|
|
22896
|
+
"operator": {
|
|
22897
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.List.Operator"
|
|
22811
22898
|
}
|
|
22812
22899
|
}
|
|
22813
22900
|
},
|
package/integrations.d.ts
CHANGED
|
@@ -44,6 +44,9 @@ export type IntegrationsService_DeleteGoogleBQConfiguration = RpcMethod<DeleteGo
|
|
|
44
44
|
export type IntegrationsService_TestGoogleBQConnection = RpcMethod<TestGoogleBQConnectionRequest, TestGoogleBQConnectionResponse>;
|
|
45
45
|
export type IntegrationsService_ListGoogleBQDatasets = RpcMethod<ListGoogleBQDatasetsRequest, ListGoogleBQDatasetsResponse>;
|
|
46
46
|
export type IntegrationsService_ListGoogleBQTables = RpcMethod<ListGoogleBQTablesRequest, ListGoogleBQTablesResponse>;
|
|
47
|
+
export type IntegrationsService_GetFlightStatusConfiguration = RpcMethod<GetFlightStatusConfigurationRequest, GetFlightStatusConfigurationResponse>;
|
|
48
|
+
export type IntegrationsService_CreateFlightStatusConfiguration = RpcMethod<CreateFlightStatusConfigurationRequest, CreateFlightStatusConfigurationResponse>;
|
|
49
|
+
export type IntegrationsService_DeleteFlightStatusConfiguration = RpcMethod<DeleteFlightStatusConfigurationRequest, DeleteFlightStatusConfigurationResponse>;
|
|
47
50
|
export interface IntegrationsService {
|
|
48
51
|
/** Lists which output integrations (webhook, Segment, Piano, HubSpot, Shopify, Stripe, Meta, Google BigQuery, Google, inbound webhook) are configured for an application code XXXXX-XXXXX. Use for an at-a-glance configured/not-configured overview before fetching a specific integration's configuration. */
|
|
49
52
|
ListIntegrationsConfiguration: IntegrationsService_ListIntegrationsConfiguration;
|
|
@@ -173,9 +176,15 @@ export interface IntegrationsService {
|
|
|
173
176
|
ListGoogleBQDatasets: IntegrationsService_ListGoogleBQDatasets;
|
|
174
177
|
/** Lists tables and views in a Google BigQuery dataset for an application code XXXXX-XXXXX. Use after list_google_bq_datasets to pick a destination table for export. */
|
|
175
178
|
ListGoogleBQTables: IntegrationsService_ListGoogleBQTables;
|
|
179
|
+
/** Returns the flight-status integration of an application code XXXXX-XXXXX: which feed provider is selected and whether a key is stored (the key comes back masked). */
|
|
180
|
+
GetFlightStatusConfiguration: IntegrationsService_GetFlightStatusConfiguration;
|
|
181
|
+
/** Creates or overwrites the flight-status integration for an application code XXXXX-XXXXX. The account brings its own feed contract; an empty api_key keeps the stored one. */
|
|
182
|
+
CreateFlightStatusConfiguration: IntegrationsService_CreateFlightStatusConfiguration;
|
|
183
|
+
/** Removes the flight-status integration of an application code XXXXX-XXXXX. Flight subscriptions survive, but without a key their watches stop being refreshed. */
|
|
184
|
+
DeleteFlightStatusConfiguration: IntegrationsService_DeleteFlightStatusConfiguration;
|
|
176
185
|
}
|
|
177
186
|
/** Integration contains all available integration for clients (to update props) */
|
|
178
|
-
export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY' | 'STRIPE' | 'META' | 'INBOUND_WEBHOOK' | 'GOOGLE_BQ' | 'GOOGLE' | 'AZURE' | 'SALESFORCE' | 'DYNAMICS' | 'GOOGLE_ADS';
|
|
187
|
+
export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY' | 'STRIPE' | 'META' | 'INBOUND_WEBHOOK' | 'GOOGLE_BQ' | 'GOOGLE' | 'AZURE' | 'SALESFORCE' | 'DYNAMICS' | 'GOOGLE_ADS' | 'FLIGHT_STATUS';
|
|
179
188
|
export type ImportSegmentPianoRequest = {
|
|
180
189
|
/** application code */
|
|
181
190
|
application?: string;
|
|
@@ -639,3 +648,22 @@ export type DeleteGoogleAdsAudienceResponse = {};
|
|
|
639
648
|
export type DisconnectGoogleAdsAdAccountsResponse = {
|
|
640
649
|
adAccounts: GoogleAdsAdAccount[];
|
|
641
650
|
};
|
|
651
|
+
export type FlightStatusConfiguration = {
|
|
652
|
+
provider: string;
|
|
653
|
+
apiKey: string;
|
|
654
|
+
};
|
|
655
|
+
export type GetFlightStatusConfigurationRequest = {
|
|
656
|
+
application?: string;
|
|
657
|
+
};
|
|
658
|
+
export type GetFlightStatusConfigurationResponse = {
|
|
659
|
+
configuration: FlightStatusConfiguration;
|
|
660
|
+
};
|
|
661
|
+
export type CreateFlightStatusConfigurationRequest = {
|
|
662
|
+
application?: string;
|
|
663
|
+
configuration?: FlightStatusConfiguration;
|
|
664
|
+
};
|
|
665
|
+
export type CreateFlightStatusConfigurationResponse = {};
|
|
666
|
+
export type DeleteFlightStatusConfigurationRequest = {
|
|
667
|
+
application?: string;
|
|
668
|
+
};
|
|
669
|
+
export type DeleteFlightStatusConfigurationResponse = {};
|
package/package.json
CHANGED
|
@@ -341,11 +341,17 @@ export type FilterExpression_Segment = {
|
|
|
341
341
|
application: string;
|
|
342
342
|
segment: string;
|
|
343
343
|
};
|
|
344
|
+
/**
|
|
345
|
+
* OPERATOR_UNSPECIFIED is read as OPERATOR_IN: filters saved before the
|
|
346
|
+
* operator existed carry no value here.
|
|
347
|
+
*/
|
|
348
|
+
export type FilterExpression_List_Operator = 'OPERATOR_UNSPECIFIED' | 'OPERATOR_IN' | 'OPERATOR_NOT_IN' | 'OPERATOR_STARTS_WITH' | 'OPERATOR_ENDS_WITH' | 'OPERATOR_CONTAINS';
|
|
344
349
|
export type FilterExpression_List = {
|
|
345
350
|
application: string;
|
|
346
351
|
kind: string;
|
|
347
352
|
users: string[];
|
|
348
353
|
devices: string[];
|
|
354
|
+
operator: FilterExpression_List_Operator;
|
|
349
355
|
};
|
|
350
356
|
export type FilterExpression_ExternalSegment = {
|
|
351
357
|
application: string;
|