-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into chore.upgrade-to-node-20
- Loading branch information
Showing
20 changed files
with
198 additions
and
75 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -11,12 +11,18 @@ env: | |
jobs: | ||
build: | ||
name: Build & Code Quality Checks v3 | ||
runs-on: ubuntu-latest | ||
runs-on: [self-hosted, Linux, X64] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
|
This file contains 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 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 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 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 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 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 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 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 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 |
---|---|---|
|
@@ -14,14 +14,20 @@ env: | |
jobs: | ||
build: | ||
name: 'Unit Tests, Coverage & Sonar v3' | ||
runs-on: ubuntu-latest | ||
runs-on: [self-hosted, Linux, X64] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
|
This file contains 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 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,91 @@ | ||
import { ApiObject } from './ApiObject'; | ||
|
||
type Address = { | ||
city?: string; | ||
City?: string; | ||
country?: string; | ||
Country?: string; | ||
postalCode?: string; | ||
state?: string; | ||
State?: string; | ||
street?: string; | ||
}; | ||
|
||
type Company = { | ||
name?: string; | ||
id?: string; | ||
industry?: string; | ||
employee_count?: string; | ||
plan?: string; | ||
}; | ||
|
||
/** | ||
* Represents a traits object in the Identify API | ||
*/ | ||
export type IdentifyTraits = { | ||
id?: string; | ||
userId?: string; | ||
firstName?: string; | ||
firstname?: string; | ||
first_name?: string; | ||
lastName?: string; | ||
lastname?: string; | ||
last_name?: string; | ||
name?: string; | ||
Name?: string; | ||
age?: number; | ||
email?: string; | ||
Email?: string; | ||
'E-mail'?: string; | ||
phone?: string; | ||
address?: string | Address; | ||
birthday?: string; | ||
company?: Company; | ||
createdAt?: string; | ||
description?: string; | ||
gender?: string; | ||
title?: string; | ||
username?: string; | ||
website?: string; | ||
avatar?: string; | ||
zip?: string | number; | ||
state?: string; | ||
State?: string; | ||
dob?: string; | ||
employed?: string | boolean; | ||
education?: string; | ||
married?: string | boolean; | ||
customerType?: string | number; | ||
euConsent?: string; | ||
euConsentMessage?: string; | ||
newEmail?: string; | ||
tags?: string | string[]; | ||
removeTags?: string | string[]; | ||
prospect?: string | boolean; | ||
doubleOptin?: string | boolean; | ||
event_id?: string; | ||
constructor?: Record<string, string>; | ||
organization?: string; | ||
region?: string; | ||
anonymous?: string | boolean; | ||
country?: string; | ||
custom?: string; | ||
ip?: string; | ||
privateAttributeNames?: any; | ||
secondary?: any; | ||
customPageId?: string; | ||
isRudderEvents?: boolean; | ||
optOutType?: boolean | string | number; | ||
groupType?: string | number; | ||
anonymousId?: string | number; | ||
ip_address?: string; | ||
number?: string | number; | ||
[index: string]: | ||
| string | ||
| number | ||
| boolean | ||
| ApiObject | ||
| null | ||
| (string | number | boolean | null | ApiObject)[] | ||
| undefined; | ||
}; |
This file contains 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 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 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
Oops, something went wrong.