@pushwoosh/rpc-v2-http-api-data 0.1.709 → 0.1.710
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 +62 -1
- package/integrations.d.ts +20 -1
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -8761,6 +8761,18 @@ export const data = {
|
|
|
8761
8761
|
"response": "pushwoosh.rpc_v2.integrations.ImportSegmentPianoResponse",
|
|
8762
8762
|
"method": "post",
|
|
8763
8763
|
"path": "/api/integrations:import_segment_piano"
|
|
8764
|
+
},
|
|
8765
|
+
"GetHubspotConfiguration": {
|
|
8766
|
+
"request": "pushwoosh.rpc_v2.integrations.GetHubspotConfigurationRequest",
|
|
8767
|
+
"response": "pushwoosh.rpc_v2.integrations.GetHubspotConfigurationResponse",
|
|
8768
|
+
"method": "get",
|
|
8769
|
+
"path": "/api/integrations/configurations/hubspot/{application}"
|
|
8770
|
+
},
|
|
8771
|
+
"GetShopifyConfiguration": {
|
|
8772
|
+
"request": "pushwoosh.rpc_v2.integrations.GetShopifyConfigurationRequest",
|
|
8773
|
+
"response": "pushwoosh.rpc_v2.integrations.GetShopifyConfigurationResponse",
|
|
8774
|
+
"method": "get",
|
|
8775
|
+
"path": "/api/integrations/configurations/shopify/{application}"
|
|
8764
8776
|
}
|
|
8765
8777
|
}
|
|
8766
8778
|
},
|
|
@@ -8770,7 +8782,9 @@ export const data = {
|
|
|
8770
8782
|
"UNKNOWN",
|
|
8771
8783
|
"SEGMENT",
|
|
8772
8784
|
"PIANO",
|
|
8773
|
-
"WEBHOOK"
|
|
8785
|
+
"WEBHOOK",
|
|
8786
|
+
"HUBSPOT",
|
|
8787
|
+
"SHOPIFY"
|
|
8774
8788
|
]
|
|
8775
8789
|
},
|
|
8776
8790
|
"pushwoosh.rpc_v2.integrations.ImportSegmentPianoRequest": {
|
|
@@ -9055,6 +9069,53 @@ export const data = {
|
|
|
9055
9069
|
"type": "I",
|
|
9056
9070
|
"fields": {}
|
|
9057
9071
|
},
|
|
9072
|
+
"pushwoosh.rpc_v2.integrations.GetHubspotConfigurationRequest": {
|
|
9073
|
+
"type": "I",
|
|
9074
|
+
"fields": {
|
|
9075
|
+
"application": {
|
|
9076
|
+
"type": "string"
|
|
9077
|
+
}
|
|
9078
|
+
}
|
|
9079
|
+
},
|
|
9080
|
+
"pushwoosh.rpc_v2.integrations.GetHubspotConfigurationResponse": {
|
|
9081
|
+
"type": "I",
|
|
9082
|
+
"fields": {
|
|
9083
|
+
"accessToken": {
|
|
9084
|
+
"type": "string"
|
|
9085
|
+
},
|
|
9086
|
+
"refreshToken": {
|
|
9087
|
+
"type": "string"
|
|
9088
|
+
},
|
|
9089
|
+
"updated": {
|
|
9090
|
+
"type": "string"
|
|
9091
|
+
},
|
|
9092
|
+
"userId": {
|
|
9093
|
+
"type": "string"
|
|
9094
|
+
}
|
|
9095
|
+
}
|
|
9096
|
+
},
|
|
9097
|
+
"pushwoosh.rpc_v2.integrations.GetShopifyConfigurationRequest": {
|
|
9098
|
+
"type": "I",
|
|
9099
|
+
"fields": {
|
|
9100
|
+
"application": {
|
|
9101
|
+
"type": "string"
|
|
9102
|
+
}
|
|
9103
|
+
}
|
|
9104
|
+
},
|
|
9105
|
+
"pushwoosh.rpc_v2.integrations.GetShopifyConfigurationResponse": {
|
|
9106
|
+
"type": "I",
|
|
9107
|
+
"fields": {
|
|
9108
|
+
"shopDomain": {
|
|
9109
|
+
"type": "string"
|
|
9110
|
+
},
|
|
9111
|
+
"deviceApiKey": {
|
|
9112
|
+
"type": "string"
|
|
9113
|
+
},
|
|
9114
|
+
"mainApplication": {
|
|
9115
|
+
"type": "boolean"
|
|
9116
|
+
}
|
|
9117
|
+
}
|
|
9118
|
+
},
|
|
9058
9119
|
"pushwoosh.rpc_v2.ios_categories.IOSCategoriesService": {
|
|
9059
9120
|
"type": "S",
|
|
9060
9121
|
"key": "iOSCategories",
|
package/integrations.d.ts
CHANGED
|
@@ -7,8 +7,10 @@ export interface IntegrationsService {
|
|
|
7
7
|
GetPianoConfiguration(request: GetPianoConfigurationRequest): Promise<GetPianoConfigurationResponse>;
|
|
8
8
|
CreatePianoConfiguration(request: CreatePianoConfigurationRequest): Promise<CreatePianoConfigurationResponse>;
|
|
9
9
|
ImportSegmentPiano(request: ImportSegmentPianoRequest): Promise<ImportSegmentPianoResponse>;
|
|
10
|
+
GetHubspotConfiguration(request: GetHubspotConfigurationRequest): Promise<GetHubspotConfigurationResponse>;
|
|
11
|
+
GetShopifyConfiguration(request: GetShopifyConfigurationRequest): Promise<GetShopifyConfigurationResponse>;
|
|
10
12
|
}
|
|
11
|
-
export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK';
|
|
13
|
+
export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY';
|
|
12
14
|
export type ImportSegmentPianoRequest = {
|
|
13
15
|
application?: string;
|
|
14
16
|
segmentKey?: string;
|
|
@@ -101,3 +103,20 @@ export type CreatePianoConfigurationRequest = {
|
|
|
101
103
|
uniqueEventsTimeframe?: number;
|
|
102
104
|
};
|
|
103
105
|
export type CreatePianoConfigurationResponse = {};
|
|
106
|
+
export type GetHubspotConfigurationRequest = {
|
|
107
|
+
application?: string;
|
|
108
|
+
};
|
|
109
|
+
export type GetHubspotConfigurationResponse = {
|
|
110
|
+
accessToken: string;
|
|
111
|
+
refreshToken: string;
|
|
112
|
+
updated: string;
|
|
113
|
+
userId: string;
|
|
114
|
+
};
|
|
115
|
+
export type GetShopifyConfigurationRequest = {
|
|
116
|
+
application?: string;
|
|
117
|
+
};
|
|
118
|
+
export type GetShopifyConfigurationResponse = {
|
|
119
|
+
shopDomain: string;
|
|
120
|
+
deviceApiKey: string;
|
|
121
|
+
mainApplication: boolean;
|
|
122
|
+
};
|