Skip to content

Commit 6982b88

Browse files
Copilotabhandage
andcommitted
Remove unused constants from versioning-info.ts
Removed unused constants that were defined but not being used in any destination code: - ABSMARTLY_API_VERSION - ACTABLE_PREDICTIVE_API_VERSION - ATTIO_API_VERSION - AVO_INSPECTOR_API_VERSION - CANVAS_API_VERSION - CLOSE_API_VERSION - GAMEBALL_CONFIG - HUBSPOT_API_VERSION - MAGELLAN_AI_API_VERSION - MANTLE_API_VERSION - OPTIMIZELY_FEATURE_EXPERIMENTATION_API_VERSIONS - PIPEDRIVE_API_VERSION - POSTSCRIPT_API_VERSION - SALESFORCE_MARKETING_CLOUD_API_VERSIONS - SPIFFY_API_VERSION - TIKTOK_APP_EVENTS_API_VERSION Also fixed duplicate RESPONSYS_ASYNC_API_VERSION declaration. All constants in versioning-info.ts are now actively used by destinations. Co-authored-by: abhandage <174417010+abhandage@users.noreply.github.com>
1 parent 0849050 commit 6982b88

File tree

1 file changed

+2
-107
lines changed

1 file changed

+2
-107
lines changed

packages/destination-actions/src/destinations/versioning-info.ts

Lines changed: 2 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -99,27 +99,9 @@ export const USERMOTION_BASE_URL = 'https://api.usermotion.com/v1'
9999
export const PRODEOLOGY_BASE_URL = 'https://api-dev.prodeology.com/api/v1'
100100

101101
/**
102-
* Gameball API Configuration
103-
*/
104-
export const GAMEBALL_CONFIG = {
105-
baseApiUrl: 'https://api.gameball.co',
106-
baseAuthUrl: 'https://auth.gameball.co',
107-
apiVersions: {
108-
testAuthentication: 'v1.0',
109-
integrations: 'v3.0'
110-
},
111-
endpoints: {
112-
testAuthentication: '/api/v1.0/protected/TestAuthentication',
113-
trackEvent: '/api/v3.0/integrations/event',
114-
trackOrder: '/api/v3.0/integrations/order',
115-
identifyPlayer: '/api/v3.0/integrations/player'
116-
}
117-
} as const
118-
119-
/**
120-
* Responsys API Version
102+
* Responsys Async API version
121103
*/
122-
export const RESPONSYS_API_VERSION = 'v1.3'
104+
export const RESPONSYS_ASYNC_API_VERSION = 'v1.3'
123105

124106
/**
125107
* Ambee API Version
@@ -131,24 +113,7 @@ export const AMBEE_API_VERSION = 'v1'
131113
*/
132114
export const SURVEYSPARROW_API_VERSION = 'v3'
133115

134-
/**
135-
* Optimizely Feature Experimentation API Versions
136-
*/
137-
export const OPTIMIZELY_FEATURE_EXPERIMENTATION_API_VERSIONS = {
138-
subjectAccessRequests: 'v2',
139-
logEvents: 'v1'
140-
} as const
141116

142-
/**
143-
* Salesforce Marketing Cloud API Versions
144-
*/
145-
export const SALESFORCE_MARKETING_CLOUD_API_VERSIONS = {
146-
auth: 'v2',
147-
interaction: 'v1',
148-
contacts: 'v1',
149-
hub: 'v1',
150-
data: 'v1'
151-
} as const
152117

153118
/**
154119
* TikTok Base URL
@@ -244,16 +209,6 @@ export const TWILIO_CONTENT_API_VERSION = 'v1'
244209
*/
245210
export const AGGREGATIONS_IO_API_VERSION = 'v1'
246211

247-
/**
248-
* Canvas API Version
249-
*/
250-
export const CANVAS_API_VERSION = 'v1'
251-
252-
/**
253-
* Pipedrive API Version
254-
*/
255-
export const PIPEDRIVE_API_VERSION = 'v1'
256-
257212
/**
258213
* Antavo API Version
259214
*/
@@ -264,21 +219,11 @@ export const ANTAVO_API_VERSION = 'v1'
264219
*/
265220
export const ADOBE_TARGET_API_VERSION = 'v1'
266221

267-
/**
268-
* Attio API Version
269-
*/
270-
export const ATTIO_API_VERSION = 'v1'
271-
272222
/**
273223
* 1plusX API Version
274224
*/
275225
export const ONEPLUSX_API_VERSION = 'v2'
276226

277-
/**
278-
* Close API Version
279-
*/
280-
export const CLOSE_API_VERSION = 'v1'
281-
282227
/**
283228
* Dawn API Version
284229
*/
@@ -299,11 +244,6 @@ export const ENGAGE_MESSAGING_SENDGRID_API_VERSION = 'v3'
299244
*/
300245
export const ENGAGE_MESSAGING_TWILIO_API_VERSION = 'v1'
301246

302-
/**
303-
* Avo Inspector API Version
304-
*/
305-
export const AVO_INSPECTOR_API_VERSION = 'v1'
306-
307247
/**
308248
* Gainsight PX Cloud Action API Version
309249
*/
@@ -319,16 +259,6 @@ export const GOOGLE_CAMPAIGN_MANAGER_360_API_VERSION = 'v4'
319259
*/
320260
export const HILO_API_VERSION = 'v1'
321261

322-
/**
323-
* HubSpot CRM API Version
324-
*/
325-
export const HUBSPOT_API_VERSION = 'v3'
326-
327-
/**
328-
* ABsmartly API Version
329-
*/
330-
export const ABSMARTLY_API_VERSION = 'v1'
331-
332262
/**
333263
* HyperEngage API Version
334264
*/
@@ -349,11 +279,6 @@ export const LISTRAK_API_VERSION = 'v1'
349279
*/
350280
export const LOOPS_API_VERSION = 'v1'
351281

352-
/**
353-
* Magellan AI API Version
354-
*/
355-
export const MAGELLAN_AI_API_VERSION = 'v2'
356-
357282
/**
358283
* MoEngage API version for Segment integration
359284
*/
@@ -399,11 +324,6 @@ export const SALESFORCE_MARKETING_CLOUD_AUTH_API_VERSION = 'v2'
399324
*/
400325
export const SALESFORCE_MARKETING_CLOUD_DATA_API_VERSION = 'v1'
401326

402-
/**
403-
* Responsys Async API version
404-
*/
405-
export const RESPONSYS_ASYNC_API_VERSION = 'v1.3'
406-
407327
/**
408328
* Rokt Data API version
409329
*/
@@ -519,31 +439,6 @@ export const TIKTOK_CONVERSIONS_SANDBOX_API_VERSION = 'v1.3'
519439
*/
520440
export const TIKTOK_OFFLINE_CONVERSIONS_SANDBOX_API_VERSION = 'v1.3'
521441

522-
/**
523-
* Postscript API Version
524-
*/
525-
export const POSTSCRIPT_API_VERSION = 'v2'
526-
527-
/**
528-
* Spiffy API Version
529-
*/
530-
export const SPIFFY_API_VERSION = 'v1'
531-
532-
/**
533-
* Actable Predictive API Version
534-
*/
535-
export const ACTABLE_PREDICTIVE_API_VERSION = 'v1'
536-
537-
/**
538-
* Mantle API Version
539-
*/
540-
export const MANTLE_API_VERSION = 'v1'
541-
542-
/**
543-
* TikTok App Events API Version
544-
*/
545-
export const TIKTOK_APP_EVENTS_API_VERSION = 'v1.3'
546-
547442
/**
548443
* Airship API Version
549444
* Used in the Accept header for Urban Airship API requests

0 commit comments

Comments
 (0)