Skip to content

Commit

Permalink
removed trazi from code base
Browse files Browse the repository at this point in the history
  • Loading branch information
Phara0h committed Aug 18, 2024
1 parent 588422c commit c044714
Show file tree
Hide file tree
Showing 13 changed files with 1,093 additions and 1,090 deletions.
1,028 changes: 514 additions & 514 deletions CHANGELOG.md

Large diffs are not rendered by default.

1,044 changes: 522 additions & 522 deletions README.md

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@trazi/travelling",
"name": "@phara0h/travelling",
"version": "4.1.0",
"description": "A dynamic route level groups permissions middleman service",
"main": "index.js",
Expand Down Expand Up @@ -33,7 +33,7 @@
"traveling": "./index.js"
},
"author": "Jt Whissel",
"license": "MIT",
"license": "GPL-3.0-only",
"bugs": {
"url": "https://github.com/phara0h/travelling/issues"
},
Expand All @@ -45,6 +45,7 @@
"@opentelemetry/instrumentation-http": "^0.26.0",
"@opentelemetry/sdk-trace-base": "^0.26.0",
"@opentelemetry/sdk-trace-node": "^0.26.0",
"@phara0h/travelling": "file:",
"adost": "^2.0.0",
"aws-sdk": "^2.516.0",
"dotenv": "^8.2.0",
Expand Down
16 changes: 8 additions & 8 deletions sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1814,7 +1814,7 @@ Path: api/v1/users/domain/:domain/count

| Param | Type | Description |
| --- | --- | --- |
| domain | <code>any</code> | (example: traziventures.com) |
| domain | <code>any</code> | (example: dragohm.com) |
| limit | <code>any</code> | Number of maximum results. (example: 2) (example: 5) |
| skip | <code>any</code> | Number of db rows skipped. (example: 10) (example: 10) |
| filter | <code>any</code> | Filter parameters (example: locked=false,created_on>2021-06-03,created_on<2021-06-06) (example: created_on>2022-06-01,created_on<2022-06-08) |
Expand Down Expand Up @@ -1853,7 +1853,7 @@ Path: api/v1/users/domain/:domain

| Param | Type | Description |
| --- | --- | --- |
| domain | <code>any</code> | (example: traziventures.com) |
| domain | <code>any</code> | (example: dragohm.com) |
| sort | <code>any</code> | Sort by any user object key (examples: id, domain, locked, etc.) (example: created_on) |
| limit | <code>any</code> | Number of maximum results. (example: 2) (example: 1) |
| skip | <code>any</code> | Number of db rows skipped. (example: 10) (example: 10) |
Expand Down Expand Up @@ -2794,14 +2794,14 @@ Path: api/v1/auth/password/forgot/domain/:domain
| Param | Type | Description |
| --- | --- | --- |
| body | <code>Object</code> | |
| domain | <code>any</code> | Domain name (example: test.com) (example: traziventures.com) |
| domain | <code>any</code> | Domain name (example: test.com) (example: dragohm.com) |
| authorization_bearer | <code>string</code> | The client_credentials generated OAUth2 access token. |

**Example**
body
```json
{
"email": "kelvin@traziventures.com"
"email": "kelvin@dragohm.com"
}
```
<a name="AuthDomain.login"></a>
Expand All @@ -2825,7 +2825,7 @@ Path: api/v1/auth/login/domain/:domain
| Param | Type | Description |
| --- | --- | --- |
| body | <code>Object</code> | |
| domain | <code>any</code> | Domain name (example: test.com) (example: traziventures.com) |
| domain | <code>any</code> | Domain name (example: test.com) (example: dragohm.com) |
| authorization_bearer | <code>string</code> | The client_credentials generated OAUth2 access token. |

**Example**
Expand Down Expand Up @@ -2858,8 +2858,8 @@ Path: api/v1/auth/register/domain/:domain
body
```json
{
"email": "mark+test@trazi.com",
"password": "Trazi123**"
"email": "mark+test@dragohm.com",
"password": "dragohm123**"
}
```
<a name="AuthDomainToken"></a>
Expand All @@ -2883,7 +2883,7 @@ Path: api/v1/auth/token/otp/domain/:domain/id/:id

| Param | Type | Description |
| --- | --- | --- |
| domain | <code>any</code> | (example: traziventures.com) |
| domain | <code>any</code> | (example: dragohm.com) |
| id | <code>any</code> | (example: [email protected]) |
| authorization_bearer | <code>string</code> | The client_credentials generated OAUth2 access token. |

Expand Down
16 changes: 8 additions & 8 deletions sdk/Travelling.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"variable": [
{
"key": "domain",
"value": "traziventures.com"
"value": "dragohm.com"
},
{
"key": "id",
Expand Down Expand Up @@ -128,7 +128,7 @@
"variable": [
{
"key": "domain",
"value": "traziventures.com"
"value": "dragohm.com"
},
{
"key": "id",
Expand Down Expand Up @@ -187,7 +187,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n\t\"email\": \"mark+test@trazi.com\",\n\t\"password\": \"Trazi123**\"\n}",
"raw": "{\n\t\"email\": \"mark+test@dragohm.com\",\n\t\"password\": \"dragohm123**\"\n}",
"options": {
"raw": {
"language": "json"
Expand Down Expand Up @@ -273,7 +273,7 @@
"variable": [
{
"key": "domain",
"value": "traziventures.com",
"value": "dragohm.com",
"description": "Domain name (example: test.com)"
}
]
Expand Down Expand Up @@ -358,7 +358,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n\t\"email\": \"kelvin@traziventures.com\"\n}",
"raw": "{\n\t\"email\": \"kelvin@dragohm.com\"\n}",
"options": {
"raw": {
"language": "json"
Expand All @@ -382,7 +382,7 @@
"variable": [
{
"key": "domain",
"value": "traziventures.com",
"value": "dragohm.com",
"description": "Domain name (example: test.com)"
}
]
Expand Down Expand Up @@ -3271,7 +3271,7 @@
"variable": [
{
"key": "domain",
"value": "traziventures.com"
"value": "dragohm.com"
}
]
},
Expand Down Expand Up @@ -3333,7 +3333,7 @@
"variable": [
{
"key": "domain",
"value": "traziventures.com"
"value": "dragohm.com"
}
]
},
Expand Down
16 changes: 8 additions & 8 deletions sdk/node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3246,7 +3246,7 @@ function SDK(host, opts) {
| last_login | _optional_ (example: null) |
*
* Path: api/v1/users/domain/:domain/count
* @param {any} domain (example: traziventures.com)
* @param {any} domain (example: dragohm.com)
* @param {any} limit Number of maximum results. (example: 2) (example: 5)
* @param {any} skip Number of db rows skipped. (example: 10) (example: 10)
* @param {any} filter Filter parameters (example: locked=false,created_on>2021-06-03,created_on<2021-06-06) (example: created_on>2022-06-01,created_on<2022-06-08)
Expand Down Expand Up @@ -3305,7 +3305,7 @@ function SDK(host, opts) {
| last_login | _optional_ (example: null) |
*
* Path: api/v1/users/domain/:domain
* @param {any} domain (example: traziventures.com)
* @param {any} domain (example: dragohm.com)
* @param {any} sort Sort by any user object key (examples: id, domain, locked, etc.) (example: created_on)
* @param {any} limit Number of maximum results. (example: 2) (example: 1)
* @param {any} skip Number of db rows skipped. (example: 10) (example: 10)
Expand Down Expand Up @@ -5028,13 +5028,13 @@ function SDK(host, opts) {
*
* Path: api/v1/auth/password/forgot/domain/:domain
* @param {Object} body
* @param {any} domain Domain name (example: test.com) (example: traziventures.com)
* @param {any} domain Domain name (example: test.com) (example: dragohm.com)
* @param {string} authorization_bearer The client_credentials generated OAUth2 access token.
* @example
* body
* ```json
* {
* "email": "kelvin@traziventures.com"
* "email": "kelvin@dragohm.com"
* }
* ```
*/
Expand Down Expand Up @@ -5072,7 +5072,7 @@ function SDK(host, opts) {
*
* Path: api/v1/auth/login/domain/:domain
* @param {Object} body
* @param {any} domain Domain name (example: test.com) (example: traziventures.com)
* @param {any} domain Domain name (example: test.com) (example: dragohm.com)
* @param {string} authorization_bearer The client_credentials generated OAUth2 access token.
* @example
* body
Expand Down Expand Up @@ -5117,8 +5117,8 @@ function SDK(host, opts) {
* body
* ```json
* {
* "email": "mark+test@trazi.com",
* "password": "Trazi123**"
* "email": "mark+test@dragohm.com",
* "password": "dragohm123**"
* }
* ```
*/
Expand Down Expand Up @@ -5173,7 +5173,7 @@ function SDK(host, opts) {
**CAUTION SECURITY RISK: Would not expose this URL publicly or have it be allowed by anyone who is not a superadmin type level**
*
* Path: api/v1/auth/token/otp/domain/:domain/id/:id
* @param {any} domain (example: traziventures.com)
* @param {any} domain (example: dragohm.com)
* @param {any} id (example: [email protected])
* @param {string} authorization_bearer The client_credentials generated OAUth2 access token.
*/
Expand Down
8 changes: 5 additions & 3 deletions sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@trazi/travelling-sdk",
"name": "@phara0h/travelling-sdk",
"version": "2.15.4",
"description": "",
"main": "node/index.js",
Expand All @@ -10,6 +10,8 @@
],
"author": "Jt Whissel",
"license": "ISC",
"dependencies": {},
"devDependencies": {}
"dependencies": {
"@dragohm/travelling-sdk": "file:",
"@phara0h/travelling-sdk": "file:"
}
}
16 changes: 8 additions & 8 deletions sdk/web/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7399,7 +7399,7 @@ function SDK(host, opts) {
| last_login | _optional_ (example: null) |
*
* Path: api/v1/users/domain/:domain/count
* @param {any} domain (example: traziventures.com)
* @param {any} domain (example: dragohm.com)
* @param {any} limit Number of maximum results. (example: 2) (example: 5)
* @param {any} skip Number of db rows skipped. (example: 10) (example: 10)
* @param {any} filter Filter parameters (example: locked=false,created_on>2021-06-03,created_on<2021-06-06) (example: created_on>2022-06-01,created_on<2022-06-08)
Expand Down Expand Up @@ -7458,7 +7458,7 @@ function SDK(host, opts) {
| last_login | _optional_ (example: null) |
*
* Path: api/v1/users/domain/:domain
* @param {any} domain (example: traziventures.com)
* @param {any} domain (example: dragohm.com)
* @param {any} sort Sort by any user object key (examples: id, domain, locked, etc.) (example: created_on)
* @param {any} limit Number of maximum results. (example: 2) (example: 1)
* @param {any} skip Number of db rows skipped. (example: 10) (example: 10)
Expand Down Expand Up @@ -9181,13 +9181,13 @@ function SDK(host, opts) {
*
* Path: api/v1/auth/password/forgot/domain/:domain
* @param {Object} body
* @param {any} domain Domain name (example: test.com) (example: traziventures.com)
* @param {any} domain Domain name (example: test.com) (example: dragohm.com)
* @param {string} authorization_bearer The client_credentials generated OAUth2 access token.
* @example
* body
* ```json
* {
* "email": "kelvin@traziventures.com"
* "email": "kelvin@dragohm.com"
* }
* ```
*/
Expand Down Expand Up @@ -9225,7 +9225,7 @@ function SDK(host, opts) {
*
* Path: api/v1/auth/login/domain/:domain
* @param {Object} body
* @param {any} domain Domain name (example: test.com) (example: traziventures.com)
* @param {any} domain Domain name (example: test.com) (example: dragohm.com)
* @param {string} authorization_bearer The client_credentials generated OAUth2 access token.
* @example
* body
Expand Down Expand Up @@ -9270,8 +9270,8 @@ function SDK(host, opts) {
* body
* ```json
* {
* "email": "mark+test@trazi.com",
* "password": "Trazi123**"
* "email": "mark+test@dragohm.com",
* "password": "dragohm123**"
* }
* ```
*/
Expand Down Expand Up @@ -9326,7 +9326,7 @@ function SDK(host, opts) {
**CAUTION SECURITY RISK: Would not expose this URL publicly or have it be allowed by anyone who is not a superadmin type level**
*
* Path: api/v1/auth/token/otp/domain/:domain/id/:id
* @param {any} domain (example: traziventures.com)
* @param {any} domain (example: dragohm.com)
* @param {any} id (example: [email protected])
* @param {string} authorization_bearer The client_credentials generated OAUth2 access token.
*/
Expand Down
10 changes: 5 additions & 5 deletions tests/endpoints/auth-login.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ module.exports = () => {
password: 'Pas5w0r!d',
email: '[email protected]'
},
'traziventures.com'
'dragohm.com'
);

userContainer.parseUserDomainCookie(res.headers['set-cookie']);
Expand Down Expand Up @@ -136,7 +136,7 @@ module.exports = () => {
password: 'Pas5w0r!d',
email: '[email protected]'
},
'traziventures.com'
'dragohm.com'
);

userContainer.parseUserDomain2Cookie(res.headers['set-cookie']);
Expand All @@ -150,7 +150,7 @@ module.exports = () => {
password: 'Pas5w0r!d',
email: '[email protected]'
},
'traziventures.com'
'dragohm.com'
);

userContainer.parseUserDomain3Cookie(res.headers['set-cookie']);
Expand Down Expand Up @@ -209,7 +209,7 @@ module.exports = () => {
password: 'Pas5w0r!d5',
email: '[email protected]'
},
'traziventures.com'
'dragohm.com'
);

userContainer.parseUser5Cookie(res.headers['set-cookie']);
Expand All @@ -222,7 +222,7 @@ module.exports = () => {
password: 'Pas5w0r!d6',
email: '[email protected]'
},
'traziventures.com'
'dragohm.com'
);

userContainer.parseUserDomain6Cookie(res.headers['set-cookie']);
Expand Down
6 changes: 3 additions & 3 deletions tests/endpoints/auth-register.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ module.exports = () => {
password: 'Pas5w0r!d5',
email: '[email protected]'
},
'traziventures.com'
'dragohm.com'
);

expect(res.statusCode).toEqual(200);
Expand All @@ -141,7 +141,7 @@ module.exports = () => {
password: 'Pas5w0r!d6',
email: '[email protected]'
},
'traziventures.com'
'dragohm.com'
);

expect(res.statusCode).toEqual(200);
Expand All @@ -154,7 +154,7 @@ module.exports = () => {
password: 'Pas5w0r!d6',
email: '[email protected]'
},
'traziventures.com'
'dragohm.com'
);

expect(res.statusCode).toEqual(200);
Expand Down
2 changes: 1 addition & 1 deletion tests/endpoints/groups.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ module.exports = () => {
method: '*',
route: '/test-domain-two',
name: 'test-domain-two',
domain: 'traziventurestwo.com'
domain: 'dragohmtwo.com'
},
{
method: '*',
Expand Down
Loading

0 comments on commit c044714

Please sign in to comment.