@pushwoosh/rpc-v2-http-api-data 0.1.769 → 0.1.771

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
@@ -10013,6 +10013,30 @@ export const data = {
10013
10013
  "response": "pushwoosh.rpc_v2.integrations.GetShopifyConfigurationResponse",
10014
10014
  "method": "get",
10015
10015
  "path": "/api/integrations/configurations/shopify/{application}"
10016
+ },
10017
+ "GetStripeAuthURL": {
10018
+ "request": "pushwoosh.rpc_v2.integrations.GetStripeAuthURLRequest",
10019
+ "response": "pushwoosh.rpc_v2.integrations.GetStripeAuthURLResponse",
10020
+ "method": "get",
10021
+ "path": "/api/integrations/stripe/auth"
10022
+ },
10023
+ "HandleStripeAuthCallback": {
10024
+ "request": "pushwoosh.rpc_v2.integrations.HandleStripeAuthCallbackRequest",
10025
+ "response": "pushwoosh.rpc_v2.integrations.HandleStripeAuthCallbackResponse",
10026
+ "method": "get",
10027
+ "path": "/api/integrations/stripe/auth/callback"
10028
+ },
10029
+ "GetStripeConfiguration": {
10030
+ "request": "pushwoosh.rpc_v2.integrations.GetStripeConfigurationRequest",
10031
+ "response": "pushwoosh.rpc_v2.integrations.GetStripeConfigurationResponse",
10032
+ "method": "get",
10033
+ "path": "/api/integrations/configurations/stripe"
10034
+ },
10035
+ "DeleteStripeConfiguration": {
10036
+ "request": "pushwoosh.rpc_v2.integrations.DeleteStripeConfigurationRequest",
10037
+ "response": "pushwoosh.rpc_v2.integrations.DeleteStripeConfigurationResponse",
10038
+ "method": "delete",
10039
+ "path": "/api/integrations/configurations/stripe"
10016
10040
  }
10017
10041
  }
10018
10042
  },
@@ -10024,7 +10048,8 @@ export const data = {
10024
10048
  "PIANO",
10025
10049
  "WEBHOOK",
10026
10050
  "HUBSPOT",
10027
- "SHOPIFY"
10051
+ "SHOPIFY",
10052
+ "STRIPE"
10028
10053
  ]
10029
10054
  },
10030
10055
  "pushwoosh.rpc_v2.integrations.ImportSegmentPianoRequest": {
@@ -10356,6 +10381,60 @@ export const data = {
10356
10381
  }
10357
10382
  }
10358
10383
  },
10384
+ "pushwoosh.rpc_v2.integrations.GetStripeAuthURLRequest": {
10385
+ "type": "I",
10386
+ "fields": {
10387
+ "redirectUri": {
10388
+ "type": "string"
10389
+ }
10390
+ }
10391
+ },
10392
+ "pushwoosh.rpc_v2.integrations.GetStripeAuthURLResponse": {
10393
+ "type": "I",
10394
+ "fields": {
10395
+ "authUrl": {
10396
+ "type": "string"
10397
+ }
10398
+ }
10399
+ },
10400
+ "pushwoosh.rpc_v2.integrations.HandleStripeAuthCallbackRequest": {
10401
+ "type": "I",
10402
+ "fields": {
10403
+ "code": {
10404
+ "type": "string"
10405
+ },
10406
+ "applicationCode": {
10407
+ "type": "string"
10408
+ }
10409
+ }
10410
+ },
10411
+ "pushwoosh.rpc_v2.integrations.HandleStripeAuthCallbackResponse": {
10412
+ "type": "I",
10413
+ "fields": {}
10414
+ },
10415
+ "pushwoosh.rpc_v2.integrations.GetStripeConfigurationRequest": {
10416
+ "type": "I",
10417
+ "fields": {}
10418
+ },
10419
+ "pushwoosh.rpc_v2.integrations.GetStripeConfigurationResponse": {
10420
+ "type": "I",
10421
+ "fields": {
10422
+ "email": {
10423
+ "type": "string"
10424
+ },
10425
+ "businessName": {
10426
+ "type": "string"
10427
+ }
10428
+ }
10429
+ },
10430
+ "pushwoosh.rpc_v2.integrations.DeleteStripeConfigurationRequest": {
10431
+ "type": "I",
10432
+ "fields": {}
10433
+ },
10434
+ "pushwoosh.rpc_v2.integrations.DeleteStripeConfigurationResponse": {
10435
+ "type": "I",
10436
+ "fields": {}
10437
+ },
10359
10438
  "pushwoosh.rpc_v2.internal_alerts.InternalAlertsService": {
10360
10439
  "type": "S",
10361
10440
  "key": "internalAlerts",
package/integrations.d.ts CHANGED
@@ -9,8 +9,12 @@ export interface IntegrationsService {
9
9
  ImportSegmentPiano(request: ImportSegmentPianoRequest): Promise<ImportSegmentPianoResponse>;
10
10
  GetHubspotConfiguration(request: GetHubspotConfigurationRequest): Promise<GetHubspotConfigurationResponse>;
11
11
  GetShopifyConfiguration(request: GetShopifyConfigurationRequest): Promise<GetShopifyConfigurationResponse>;
12
+ GetStripeAuthURL(request: GetStripeAuthURLRequest): Promise<GetStripeAuthURLResponse>;
13
+ HandleStripeAuthCallback(request: HandleStripeAuthCallbackRequest): Promise<HandleStripeAuthCallbackResponse>;
14
+ GetStripeConfiguration(request: GetStripeConfigurationRequest): Promise<GetStripeConfigurationResponse>;
15
+ DeleteStripeConfiguration(request: DeleteStripeConfigurationRequest): Promise<DeleteStripeConfigurationResponse>;
12
16
  }
13
- export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY';
17
+ export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY' | 'STRIPE';
14
18
  export type ImportSegmentPianoRequest = {
15
19
  application?: string;
16
20
  segmentKey?: string;
@@ -120,3 +124,21 @@ export type GetShopifyConfigurationResponse = {
120
124
  deviceApiKey: string;
121
125
  mainApplication: boolean;
122
126
  };
127
+ export type GetStripeAuthURLRequest = {
128
+ redirectUri?: string;
129
+ };
130
+ export type GetStripeAuthURLResponse = {
131
+ authUrl: string;
132
+ };
133
+ export type HandleStripeAuthCallbackRequest = {
134
+ code?: string;
135
+ applicationCode?: string;
136
+ };
137
+ export type HandleStripeAuthCallbackResponse = {};
138
+ export type GetStripeConfigurationRequest = {};
139
+ export type GetStripeConfigurationResponse = {
140
+ email: string;
141
+ businessName: string;
142
+ };
143
+ export type DeleteStripeConfigurationRequest = {};
144
+ export type DeleteStripeConfigurationResponse = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.769",
3
+ "version": "0.1.771",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",