@pushwoosh/rpc-v2-http-api-data 0.2.226 → 0.2.227

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
@@ -17200,7 +17200,8 @@ export const data = {
17200
17200
  "GOOGLE_BQ",
17201
17201
  "GOOGLE",
17202
17202
  "AZURE",
17203
- "SALESFORCE"
17203
+ "SALESFORCE",
17204
+ "DYNAMICS"
17204
17205
  ]
17205
17206
  },
17206
17207
  "pushwoosh.rpc_v2.integrations.ImportSegmentPianoRequest": {
@@ -17731,6 +17732,9 @@ export const data = {
17731
17732
  },
17732
17733
  "clientSecret": {
17733
17734
  "type": "string"
17735
+ },
17736
+ "resource": {
17737
+ "type": "string"
17734
17738
  }
17735
17739
  }
17736
17740
  },
package/integrations.d.ts CHANGED
@@ -145,7 +145,7 @@ export interface IntegrationsService {
145
145
  ListGoogleBQTables: IntegrationsService_ListGoogleBQTables;
146
146
  }
147
147
  /** Integration contains all available integration for clients (to update props) */
148
- export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY' | 'STRIPE' | 'META' | 'INBOUND_WEBHOOK' | 'GOOGLE_BQ' | 'GOOGLE' | 'AZURE' | 'SALESFORCE';
148
+ export type Integration = 'UNKNOWN' | 'SEGMENT' | 'PIANO' | 'WEBHOOK' | 'HUBSPOT' | 'SHOPIFY' | 'STRIPE' | 'META' | 'INBOUND_WEBHOOK' | 'GOOGLE_BQ' | 'GOOGLE' | 'AZURE' | 'SALESFORCE' | 'DYNAMICS';
149
149
  export type ImportSegmentPianoRequest = {
150
150
  /** application code */
151
151
  application?: string;
@@ -379,6 +379,8 @@ export type SetOAuthCredentialsRequest = {
379
379
  clientId?: string;
380
380
  /** its secret; write-only, never returned by a read */
381
381
  clientSecret?: string;
382
+ /** the API the token is for, e.g. the Dynamics 365 environment URL; providers with a fixed audience ignore it */
383
+ resource?: string;
382
384
  };
383
385
  export type SetOAuthCredentialsResponse = {};
384
386
  export type DeleteOAuthIntegrationRequest = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.226",
3
+ "version": "0.2.227",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",