-
Notifications
You must be signed in to change notification settings - Fork 298
tier-1:batch-1: refactor API versioning to use constants from versioning-info module #3470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
cda98fa
Refactor API versioning to use constants from versioning-info module
abhandage 4fc2c3b
revert unwanted changes
abhandage 6184a58
update doc
abhandage 0674fa0
Merge branch 'main' into tier-1/batch-1
abhandage 334d957
update FB CAPI
abhandage 48a2b6d
revert unwanted changes
abhandage File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/destination-actions/src/destinations/amplitude/versioning-info.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| /** AMPLITUDE_API_VERSION | ||
| * Used for deletions, httpapi, usersearch endpoints. | ||
| * API reference: https://developers.amplitude.com/docs/http-api-v2 | ||
| */ | ||
| export const AMPLITUDE_API_VERSION = '2' |
6 changes: 4 additions & 2 deletions
6
packages/destination-actions/src/destinations/facebook-conversions-api/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
packages/destination-actions/src/destinations/facebook-conversions-api/versioning-info.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| /** FACEBOOK_CONVERSIONS_API_VERSION | ||
| * Facebook Conversions API version. | ||
| * API reference: https://developers.facebook.com/docs/marketing-api/overview/versioning | ||
| */ | ||
| export const FACEBOOK_CONVERSIONS_API_VERSION = '21.0' | ||
|
|
||
| /** FACEBOOK_CONVERSIONS_CANARY_API_VERSION | ||
| * Facebook Conversions API canary version. | ||
| * API reference: https://developers.facebook.com/docs/marketing-api/overview/versioning | ||
| */ | ||
| export const FACEBOOK_CONVERSIONS_CANARY_API_VERSION = '24.0' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
packages/destination-actions/src/destinations/google-enhanced-conversions/versioning-info.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| /** GOOGLE_ENHANCED_CONVERSIONS_API_VERSION | ||
| * Google Ads API version for enhanced conversions. | ||
| * API reference: https://developers.google.com/google-ads/api/docs/upgrade | ||
| */ | ||
| export const GOOGLE_ENHANCED_CONVERSIONS_API_VERSION = 'v19' | ||
abhandage marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| /** GOOGLE_ENHANCED_CONVERSIONS_EVENTS_API_VERSION | ||
| * Google Ads event API version. | ||
| * API reference: https://developers.google.com/google-ads/api/docs/upgrade | ||
| */ | ||
| export const GOOGLE_ENHANCED_CONVERSIONS_EVENTS_API_VERSION = 'v1' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
packages/destination-actions/src/destinations/salesforce-marketing-cloud/versioning-info.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| /** SALESFORCE_MARKETING_CLOUD_AUTH_API_VERSION | ||
| * Salesforce Marketing Cloud auth token API version. | ||
| * API reference: https://developer.salesforce.com/docs/marketing/marketing-cloud/references/mc_rest_auth?meta=Summary | ||
| */ | ||
| export const SALESFORCE_MARKETING_CLOUD_AUTH_API_VERSION = 'v2' | ||
|
|
||
| /** SALESFORCE_MARKETING_CLOUD_DATA_API_VERSION | ||
| * Salesforce Marketing Cloud data API version. | ||
| * API reference: https://developer.salesforce.com/docs/marketing/marketing-cloud/references/mc-custom_objects?meta=Summary | ||
| */ | ||
| export const SALESFORCE_MARKETING_CLOUD_DATA_API_VERSION = 'v1' | ||
|
|
||
| /** SALESFORCE_MARKETING_CLOUD_HUB_API_VERSION | ||
| * Salesforce Marketing Cloud hub API version. | ||
| * API reference: https://developer.salesforce.com/docs/marketing/marketing-cloud/references/mc-custom_objects?meta=Summary | ||
abhandage marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| */ | ||
| export const SALESFORCE_MARKETING_CLOUD_HUB_API_VERSION = 'v1' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/destination-actions/src/destinations/tiktok-conversions/versioning-info.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| /** TIKTOK_CONVERSIONS_API_VERSION | ||
| * TikTok web conversions API version. | ||
| * API reference: https://business-api.tiktok.com/portal/docs?id=1771101303285761 | ||
| */ | ||
| export const TIKTOK_CONVERSIONS_API_VERSION = 'v1.3' |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.