@cybrid/cybrid-api-id-angular 0.128.106 → 0.129.153
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/api/bankApplications.service.d.ts +41 -0
- package/api/organizationApplications.service.d.ts +41 -0
- package/esm2020/api/bankApplications.service.mjs +118 -3
- package/esm2020/api/customerTokens.service.mjs +3 -3
- package/esm2020/api/organizationApplications.service.mjs +118 -3
- package/esm2020/api/users.service.mjs +3 -3
- package/esm2020/model/application.mjs +8 -3
- package/esm2020/model/applicationList.mjs +1 -1
- package/esm2020/model/applicationWithSecret.mjs +6 -1
- package/esm2020/model/applicationWithSecretAllOf.mjs +3 -3
- package/esm2020/model/customerToken.mjs +3 -3
- package/esm2020/model/errorResponse.mjs +3 -3
- package/esm2020/model/models.mjs +2 -1
- package/esm2020/model/patchApplication.mjs +13 -0
- package/esm2020/model/patchUser.mjs +8 -3
- package/esm2020/model/postBankApplication.mjs +3 -3
- package/esm2020/model/postCustomerToken.mjs +4 -3
- package/esm2020/model/postOrganizationApplication.mjs +3 -3
- package/esm2020/model/postUser.mjs +8 -3
- package/esm2020/model/user.mjs +8 -3
- package/esm2020/model/userList.mjs +1 -1
- package/fesm2015/cybrid-cybrid-api-id-angular.mjs +274 -18
- package/fesm2015/cybrid-cybrid-api-id-angular.mjs.map +1 -1
- package/fesm2020/cybrid-cybrid-api-id-angular.mjs +296 -28
- package/fesm2020/cybrid-cybrid-api-id-angular.mjs.map +1 -1
- package/model/application.d.ts +12 -3
- package/model/applicationList.d.ts +2 -2
- package/model/applicationWithSecret.d.ts +10 -1
- package/model/applicationWithSecretAllOf.d.ts +2 -2
- package/model/customerToken.d.ts +2 -2
- package/model/errorResponse.d.ts +2 -2
- package/model/models.d.ts +1 -0
- package/model/patchApplication.d.ts +24 -0
- package/model/patchUser.d.ts +8 -3
- package/model/postBankApplication.d.ts +6 -2
- package/model/postCustomerToken.d.ts +4 -3
- package/model/postOrganizationApplication.d.ts +6 -2
- package/model/postUser.d.ts +8 -3
- package/model/user.d.ts +8 -3
- package/model/userList.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,10 +63,10 @@ curl -X POST https://id.production.cybrid.app/oauth/token -d '{
|
|
|
63
63
|
\"grant_type\": \"client_credentials\",
|
|
64
64
|
\"client_id\": \"<Your Client ID>\",
|
|
65
65
|
\"client_secret\": \"<Your Secret>\",
|
|
66
|
-
\"scope\": \"banks:read banks:write bank_applications:execute accounts:read accounts:execute counterparties:read counterparties:pii:read counterparties:write counterparties:execute customers:read customers:pii:read customers:write customers:execute prices:read quotes:execute quotes:read trades:execute trades:read transfers:execute transfers:read transfers:write external_bank_accounts:read external_bank_accounts:pii:read external_bank_accounts:write external_bank_accounts:execute external_wallets:read external_wallets:execute workflows:read workflows:execute deposit_addresses:read deposit_addresses:execute deposit_bank_accounts:read deposit_bank_accounts:execute invoices:read invoices:write invoices:execute identity_verifications:read identity_verifications:pii:read identity_verifications:write identity_verifications:execute persona_sessions:execute plans:execute plans:read executions:execute executions:read files:read files:pii:read files:execute\"
|
|
66
|
+
\"scope\": \"banks:read banks:write bank_applications:read bank_applications:write bank_applications:execute accounts:read accounts:execute counterparties:read counterparties:pii:read counterparties:write counterparties:execute customers:read customers:pii:read customers:write customers:execute prices:read quotes:execute quotes:read trades:execute trades:read transfers:execute transfers:read transfers:write external_bank_accounts:read external_bank_accounts:pii:read external_bank_accounts:write external_bank_accounts:execute external_wallets:read external_wallets:execute workflows:read workflows:execute deposit_addresses:read deposit_addresses:execute deposit_bank_accounts:read deposit_bank_accounts:execute invoices:read invoices:write invoices:execute identity_verifications:read identity_verifications:pii:read identity_verifications:write identity_verifications:execute persona_sessions:execute sardine_sessions:execute plans:execute plans:read executions:execute executions:read files:read files:pii:read files:execute\"
|
|
67
67
|
}' -H \"Content-Type: application/json\"
|
|
68
68
|
|
|
69
|
-
# When using Organization credentials set `scope` to 'organizations:read organizations:write organization_applications:execute banks:read banks:write banks:execute bank_applications:execute users:read users:write users:execute counterparties:read counterparties:pii:read customers:read customers:pii:read accounts:read prices:read quotes:execute quotes:read trades:execute trades:read transfers:read transfers:write transfers:execute external_bank_accounts:read external_bank_accounts:pii:read external_wallets:read workflows:read deposit_addresses:read deposit_bank_accounts:read invoices:read subscriptions:read subscriptions:write subscriptions:execute subscription_events:read subscription_events:execute identity_verifications:read identity_verifications:pii:read identity_verifications:execute persona_sessions:execute plans:execute plans:read executions:execute executions:read files:read files:pii:read files:execute'
|
|
69
|
+
# When using Organization credentials set `scope` to 'organizations:read organizations:write organization_applications:read organization_applications:write organization_applications:execute banks:read banks:write banks:execute bank_applications:read bank_applications:write bank_applications:execute users:read users:write users:execute counterparties:read counterparties:pii:read customers:read customers:pii:read accounts:read prices:read quotes:execute quotes:read trades:execute trades:read transfers:read transfers:write transfers:execute external_bank_accounts:read external_bank_accounts:pii:read external_wallets:read workflows:read deposit_addresses:read deposit_bank_accounts:read invoices:read subscriptions:read subscriptions:write subscriptions:execute subscription_events:read subscription_events:execute identity_verifications:read identity_verifications:pii:read identity_verifications:execute persona_sessions:execute sardine_sessions:execute plans:execute plans:read executions:execute executions:read files:read files:pii:read files:execute'
|
|
70
70
|
```
|
|
71
71
|
<font color=\"orange\">**⚠️ Note: The above curl will create a bearer token with full scope access. Delete scopes if you'd like to restrict access.**</font>
|
|
72
72
|
|
|
@@ -146,7 +146,7 @@ An `Organization` can have multiple `banks`, in either `Sandbox` or `Production`
|
|
|
146
146
|
`Customers` must also have an `Account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
|
|
147
147
|
|
|
148
148
|
|
|
149
|
-
## @cybrid/cybrid-api-id-angular@0.
|
|
149
|
+
## @cybrid/cybrid-api-id-angular@0.129.153
|
|
150
150
|
|
|
151
151
|
### Building
|
|
152
152
|
|
|
@@ -167,7 +167,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
167
167
|
_published:_
|
|
168
168
|
|
|
169
169
|
```
|
|
170
|
-
npm install @cybrid/cybrid-api-id-angular@0.
|
|
170
|
+
npm install @cybrid/cybrid-api-id-angular@0.129.153 --save
|
|
171
171
|
```
|
|
172
172
|
|
|
173
173
|
_without publishing (not recommended):_
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { ApplicationIdpModel } from '../model/application';
|
|
3
4
|
import { ApplicationListIdpModel } from '../model/applicationList';
|
|
4
5
|
import { ApplicationWithSecretIdpModel } from '../model/applicationWithSecret';
|
|
6
|
+
import { PatchApplicationIdpModel } from '../model/patchApplication';
|
|
5
7
|
import { PostBankApplicationIdpModel } from '../model/postBankApplication';
|
|
6
8
|
import { Configuration } from '../configuration';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
@@ -52,6 +54,25 @@ export declare class BankApplicationsService {
|
|
|
52
54
|
httpHeaderAccept?: 'application/json';
|
|
53
55
|
context?: HttpContext;
|
|
54
56
|
}): Observable<HttpEvent<any>>;
|
|
57
|
+
/**
|
|
58
|
+
* Get bank application
|
|
59
|
+
* Retrieves a bank application. Required scope: **bank_applications:read**
|
|
60
|
+
* @param clientId Identifier for the application.
|
|
61
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
62
|
+
* @param reportProgress flag to report request and response progress.
|
|
63
|
+
*/
|
|
64
|
+
getBankApplication(clientId: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
65
|
+
httpHeaderAccept?: 'application/json';
|
|
66
|
+
context?: HttpContext;
|
|
67
|
+
}): Observable<ApplicationIdpModel>;
|
|
68
|
+
getBankApplication(clientId: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
69
|
+
httpHeaderAccept?: 'application/json';
|
|
70
|
+
context?: HttpContext;
|
|
71
|
+
}): Observable<HttpResponse<ApplicationIdpModel>>;
|
|
72
|
+
getBankApplication(clientId: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
73
|
+
httpHeaderAccept?: 'application/json';
|
|
74
|
+
context?: HttpContext;
|
|
75
|
+
}): Observable<HttpEvent<ApplicationIdpModel>>;
|
|
55
76
|
/**
|
|
56
77
|
* List bank applications
|
|
57
78
|
* Retrieve a list of bank OAuth2 applications. Required scope: **banks:read**
|
|
@@ -73,6 +94,26 @@ export declare class BankApplicationsService {
|
|
|
73
94
|
httpHeaderAccept?: 'application/json';
|
|
74
95
|
context?: HttpContext;
|
|
75
96
|
}): Observable<HttpEvent<ApplicationListIdpModel>>;
|
|
97
|
+
/**
|
|
98
|
+
* Update bank application
|
|
99
|
+
* Updates a bank application. Required scope: **bank_applications:write**
|
|
100
|
+
* @param clientId Identifier for the application.
|
|
101
|
+
* @param patchApplicationIdpModel
|
|
102
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
103
|
+
* @param reportProgress flag to report request and response progress.
|
|
104
|
+
*/
|
|
105
|
+
updateBankApplication(clientId: string, patchApplicationIdpModel: PatchApplicationIdpModel, observe?: 'body', reportProgress?: boolean, options?: {
|
|
106
|
+
httpHeaderAccept?: 'application/json';
|
|
107
|
+
context?: HttpContext;
|
|
108
|
+
}): Observable<ApplicationIdpModel>;
|
|
109
|
+
updateBankApplication(clientId: string, patchApplicationIdpModel: PatchApplicationIdpModel, observe?: 'response', reportProgress?: boolean, options?: {
|
|
110
|
+
httpHeaderAccept?: 'application/json';
|
|
111
|
+
context?: HttpContext;
|
|
112
|
+
}): Observable<HttpResponse<ApplicationIdpModel>>;
|
|
113
|
+
updateBankApplication(clientId: string, patchApplicationIdpModel: PatchApplicationIdpModel, observe?: 'events', reportProgress?: boolean, options?: {
|
|
114
|
+
httpHeaderAccept?: 'application/json';
|
|
115
|
+
context?: HttpContext;
|
|
116
|
+
}): Observable<HttpEvent<ApplicationIdpModel>>;
|
|
76
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<BankApplicationsService, [null, { optional: true; }, { optional: true; }]>;
|
|
77
118
|
static ɵprov: i0.ɵɵInjectableDeclaration<BankApplicationsService>;
|
|
78
119
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { ApplicationIdpModel } from '../model/application';
|
|
3
4
|
import { ApplicationListIdpModel } from '../model/applicationList';
|
|
4
5
|
import { ApplicationWithSecretIdpModel } from '../model/applicationWithSecret';
|
|
6
|
+
import { PatchApplicationIdpModel } from '../model/patchApplication';
|
|
5
7
|
import { PostOrganizationApplicationIdpModel } from '../model/postOrganizationApplication';
|
|
6
8
|
import { Configuration } from '../configuration';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
@@ -52,6 +54,25 @@ export declare class OrganizationApplicationsService {
|
|
|
52
54
|
httpHeaderAccept?: 'application/json';
|
|
53
55
|
context?: HttpContext;
|
|
54
56
|
}): Observable<HttpEvent<any>>;
|
|
57
|
+
/**
|
|
58
|
+
* Get organization application
|
|
59
|
+
* Retrieves an organization application. Required scope: **organization_applications:read**
|
|
60
|
+
* @param clientId Identifier for the application.
|
|
61
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
62
|
+
* @param reportProgress flag to report request and response progress.
|
|
63
|
+
*/
|
|
64
|
+
getOrganizationApplication(clientId: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
65
|
+
httpHeaderAccept?: 'application/json';
|
|
66
|
+
context?: HttpContext;
|
|
67
|
+
}): Observable<ApplicationIdpModel>;
|
|
68
|
+
getOrganizationApplication(clientId: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
69
|
+
httpHeaderAccept?: 'application/json';
|
|
70
|
+
context?: HttpContext;
|
|
71
|
+
}): Observable<HttpResponse<ApplicationIdpModel>>;
|
|
72
|
+
getOrganizationApplication(clientId: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
73
|
+
httpHeaderAccept?: 'application/json';
|
|
74
|
+
context?: HttpContext;
|
|
75
|
+
}): Observable<HttpEvent<ApplicationIdpModel>>;
|
|
55
76
|
/**
|
|
56
77
|
* List organization applications
|
|
57
78
|
* Retrieve a list of organization OAuth2 applications. Required scope: **organizations:read**
|
|
@@ -72,6 +93,26 @@ export declare class OrganizationApplicationsService {
|
|
|
72
93
|
httpHeaderAccept?: 'application/json';
|
|
73
94
|
context?: HttpContext;
|
|
74
95
|
}): Observable<HttpEvent<ApplicationListIdpModel>>;
|
|
96
|
+
/**
|
|
97
|
+
* Update organization application
|
|
98
|
+
* Updates an organization application. Required scope: **organization_applications:write**
|
|
99
|
+
* @param clientId Identifier for the application.
|
|
100
|
+
* @param patchApplicationIdpModel
|
|
101
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
102
|
+
* @param reportProgress flag to report request and response progress.
|
|
103
|
+
*/
|
|
104
|
+
updateOrganizationApplication(clientId: string, patchApplicationIdpModel: PatchApplicationIdpModel, observe?: 'body', reportProgress?: boolean, options?: {
|
|
105
|
+
httpHeaderAccept?: 'application/json';
|
|
106
|
+
context?: HttpContext;
|
|
107
|
+
}): Observable<ApplicationIdpModel>;
|
|
108
|
+
updateOrganizationApplication(clientId: string, patchApplicationIdpModel: PatchApplicationIdpModel, observe?: 'response', reportProgress?: boolean, options?: {
|
|
109
|
+
httpHeaderAccept?: 'application/json';
|
|
110
|
+
context?: HttpContext;
|
|
111
|
+
}): Observable<HttpResponse<ApplicationIdpModel>>;
|
|
112
|
+
updateOrganizationApplication(clientId: string, patchApplicationIdpModel: PatchApplicationIdpModel, observe?: 'events', reportProgress?: boolean, options?: {
|
|
113
|
+
httpHeaderAccept?: 'application/json';
|
|
114
|
+
context?: HttpContext;
|
|
115
|
+
}): Observable<HttpEvent<ApplicationIdpModel>>;
|
|
75
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrganizationApplicationsService, [null, { optional: true; }, { optional: true; }]>;
|
|
76
117
|
static ɵprov: i0.ɵɵInjectableDeclaration<OrganizationApplicationsService>;
|
|
77
118
|
}
|