@pushwoosh/rpc-v2-http-api-data 0.2.296 → 0.2.297

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
@@ -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",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.296",
3
+ "version": "0.2.297",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",