Skip to content

Commit

Permalink
Merge branch 'main' into feature/attribute-succession
Browse files Browse the repository at this point in the history
  • Loading branch information
slavistan committed Jan 25, 2024
2 parents c5c48ea + 6eca12c commit 829efaf
Show file tree
Hide file tree
Showing 7 changed files with 1,055 additions and 2,191 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

## 3.6.2

-> SDK 2.2.5

- provenance sbom for the Docker Images

## 3.6.1
Expand Down
3,216 changes: 1,037 additions & 2,179 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,15 @@
"build:schemas:watch": "npx nodemon -e ts -w 'src/types' --exec 'npm run build:schemas'"
},
"dependencies": {
"@nrk/expect-openapi": "^2.6.0",
"axios": "^1.6.2",
"axios": "^1.6.3",
"form-data": "^4.0.0",
"qs": "^6.11.2"
},
"devDependencies": {
"@types/form-data": "^2.5.0",
"@types/qs": "^6.9.10",
"@types/qs": "^6.9.11",
"openapi-typescript-codegen": "^0.25.0",
"ts-json-schema-generator": "^1.4.0"
"ts-json-schema-generator": "^1.5.0"
},
"publishConfig": {
"access": "public",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export interface ThirdPartyAttributeQuery {
export interface ThirdPartyRelationshipAttributeQuery {
"@type"?: "ThirdPartyRelationshipAttributeQuery";
key: string;
owner: string;
Expand Down
3 changes: 1 addition & 2 deletions packages/sdk/src/types/attributes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ export * from "./ConnectorAttributes";
export * from "./IQLQuery";
export * from "./IdentityAttributeQuery";
export * from "./RelationshipAttributeQuery";
export * from "./ThirdPartyAttributeQuery";

export * from "./ThirdPartyRelationshipAttributeQuery";
export * from "./requests/CreateIdentityAttributeRequest";
export * from "./requests/ExecuteIQLQueryRequest";
export * from "./requests/ExecuteIdentityAttributeQueryRequest";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ThirdPartyAttributeQuery } from "../ThirdPartyAttributeQuery";
import { ThirdPartyRelationshipAttributeQuery } from "../ThirdPartyRelationshipAttributeQuery";

export interface ExecuteThirdPartyRelationshipAttributeQueryRequest {
query: ThirdPartyAttributeQuery;
query: ThirdPartyRelationshipAttributeQuery;
}
12 changes: 9 additions & 3 deletions packages/sdk/src/types/requests/ConnectorRequestContent.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IQLQuery, ThirdPartyAttributeQuery } from "../attributes";
import { IQLQuery, ThirdPartyRelationshipAttributeQuery } from "../attributes";
import { ConnectorIdentityAttribute, ConnectorRelationshipAttribute } from "../attributes/ConnectorAttribute";
import { IdentityAttributeQuery } from "../attributes/IdentityAttributeQuery";
import { RelationshipAttributeQuery } from "../attributes/RelationshipAttributeQuery";
Expand Down Expand Up @@ -29,7 +29,8 @@ export type CreateOutgoingRequestRequestContentItemDerivations =
| ReadAttributeRequestItem
| ConsentRequestItem
| AuthenticationRequestItem
| FreeTextRequestItem;
| FreeTextRequestItem
| RegisterAttributeListenerRequestItem;

export interface ConnectorRequestContentItem {
"@type"?: string;
Expand Down Expand Up @@ -58,7 +59,7 @@ export interface ProposeAttributeRequestItem extends ConnectorRequestContentItem

export interface ReadAttributeRequestItem extends ConnectorRequestContentItem {
"@type": "ReadAttributeRequestItem";
query: IdentityAttributeQuery | RelationshipAttributeQuery | ThirdPartyAttributeQuery | IQLQuery;
query: IdentityAttributeQuery | RelationshipAttributeQuery | ThirdPartyRelationshipAttributeQuery | IQLQuery;
}

export interface ConsentRequestItem extends ConnectorRequestContentItem {
Expand All @@ -75,3 +76,8 @@ export interface FreeTextRequestItem extends ConnectorRequestContentItem {
"@type": "FreeTextRequestItem";
freeText: string;
}

export interface RegisterAttributeListenerRequestItem extends ConnectorRequestContentItem {
"@type": "RegisterAttributeListenerRequestItem";
query: IdentityAttributeQuery | ThirdPartyRelationshipAttributeQuery;
}

0 comments on commit 829efaf

Please sign in to comment.