@financeable/aggregation 0.11.0 → 0.12.1
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 -0
- package/docs/sdks/applications/README.md +144 -0
- package/examples/package-lock.json +1 -1
- package/funcs/applicationsGet.d.ts +14 -0
- package/funcs/applicationsGet.d.ts.map +1 -0
- package/funcs/applicationsGet.js +122 -0
- package/funcs/applicationsGet.js.map +1 -0
- package/funcs/applicationsList.d.ts +14 -0
- package/funcs/applicationsList.d.ts.map +1 -0
- package/funcs/applicationsList.js +117 -0
- package/funcs/applicationsList.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/applicationstatus.d.ts +3 -3
- package/models/components/applicationstatus.js +1 -1
- package/models/components/applicationstatus.js.map +1 -1
- package/models/components/businessloanbusinessapplicationrelationships.d.ts +21 -21
- package/models/components/businessloanbusinessapplicationrelationships.d.ts.map +1 -1
- package/models/components/businessloanbusinessapplicationrelationships.js +24 -26
- package/models/components/businessloanbusinessapplicationrelationships.js.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.d.ts +15 -15
- package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.js +18 -18
- package/models/components/commercialapplicationjsonapirelationships.js.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +36 -36
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +46 -44
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +3 -3
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +3 -3
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
- package/models/components/customerattributes.d.ts +0 -22
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributes.js +0 -10
- package/models/components/customerattributes.js.map +1 -1
- package/models/components/customerattributescreateitem.d.ts +112 -0
- package/models/components/customerattributescreateitem.d.ts.map +1 -0
- package/models/components/customerattributescreateitem.js +110 -0
- package/models/components/customerattributescreateitem.js.map +1 -0
- package/models/components/entityattributes.d.ts +129 -0
- package/models/components/entityattributes.d.ts.map +1 -1
- package/models/components/entityattributes.js +71 -1
- package/models/components/entityattributes.js.map +1 -1
- package/models/components/entityattributesinput.d.ts +41 -0
- package/models/components/entityattributesinput.d.ts.map +1 -0
- package/models/components/entityattributesinput.js +81 -0
- package/models/components/entityattributesinput.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/paginationlinks.d.ts +47 -0
- package/models/components/paginationlinks.d.ts.map +1 -0
- package/models/components/paginationlinks.js +75 -0
- package/models/components/paginationlinks.js.map +1 -0
- package/models/components/paginationmeta.d.ts +47 -0
- package/models/components/paginationmeta.d.ts.map +1 -0
- package/models/components/paginationmeta.js +88 -0
- package/models/components/paginationmeta.js.map +1 -0
- package/models/components/personalloanpersonalapplicationrelationships.d.ts +3 -3
- package/models/components/personalloanpersonalapplicationrelationships.d.ts.map +1 -1
- package/models/components/personalloanpersonalapplicationrelationships.js +3 -3
- package/models/components/personalloanpersonalapplicationrelationships.js.map +1 -1
- package/models/operations/createapplication.d.ts +218 -45
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +145 -45
- package/models/operations/createapplication.js.map +1 -1
- package/models/operations/getapplication.d.ts +703 -0
- package/models/operations/getapplication.d.ts.map +1 -0
- package/models/operations/getapplication.js +697 -0
- package/models/operations/getapplication.js.map +1 -0
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listapplications.d.ts +141 -0
- package/models/operations/listapplications.d.ts.map +1 -0
- package/models/operations/listapplications.js +199 -0
- package/models/operations/listapplications.js.map +1 -0
- package/package.json +1 -1
- package/sdk/applications.d.ts +8 -0
- package/sdk/applications.d.ts.map +1 -1
- package/sdk/applications.js +14 -0
- package/sdk/applications.js.map +1 -1
- package/src/funcs/applicationsGet.ts +170 -0
- package/src/funcs/applicationsList.ts +164 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/applicationstatus.ts +1 -1
- package/src/models/components/businessloanbusinessapplicationrelationships.ts +52 -53
- package/src/models/components/commercialapplicationjsonapirelationships.ts +43 -67
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +114 -94
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +9 -9
- package/src/models/components/customerattributes.ts +0 -38
- package/src/models/components/customerattributescreateitem.ts +214 -0
- package/src/models/components/entityattributes.ts +134 -0
- package/src/models/components/entityattributesinput.ts +90 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/paginationlinks.ts +88 -0
- package/src/models/components/paginationmeta.ts +99 -0
- package/src/models/components/personalloanpersonalapplicationrelationships.ts +9 -9
- package/src/models/operations/createapplication.ts +289 -62
- package/src/models/operations/getapplication.ts +1378 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listapplications.ts +364 -0
- package/src/sdk/applications.ts +30 -0
package/README.md
CHANGED
|
@@ -327,6 +327,8 @@ run();
|
|
|
327
327
|
### [applications](docs/sdks/applications/README.md)
|
|
328
328
|
|
|
329
329
|
* [create](docs/sdks/applications/README.md#create) - Create an application in the Financeable platform.
|
|
330
|
+
* [list](docs/sdks/applications/README.md#list) - List all applications from the tenant. This endpoint does not support the 'include' query parameter; relationships must be fetched via the 'Get Application' endpoint.
|
|
331
|
+
* [get](docs/sdks/applications/README.md#get) - Retrieve a specific application from the Financeable platform.
|
|
330
332
|
|
|
331
333
|
### [oauthToken](docs/sdks/oauthtoken/README.md)
|
|
332
334
|
|
|
@@ -355,6 +357,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
355
357
|
<summary>Available standalone functions</summary>
|
|
356
358
|
|
|
357
359
|
- [`applicationsCreate`](docs/sdks/applications/README.md#create) - Create an application in the Financeable platform.
|
|
360
|
+
- [`applicationsGet`](docs/sdks/applications/README.md#get) - Retrieve a specific application from the Financeable platform.
|
|
361
|
+
- [`applicationsList`](docs/sdks/applications/README.md#list) - List all applications from the tenant. This endpoint does not support the 'include' query parameter; relationships must be fetched via the 'Get Application' endpoint.
|
|
358
362
|
- [`oauthTokenGet`](docs/sdks/oauthtoken/README.md#get) - Obtain an OAuth client_credentials token
|
|
359
363
|
- [`supportingDocumentsCreate`](docs/sdks/supportingdocuments/README.md#create) - Create a supporting document record in Financeable, and returns a pre-signed URL to upload this document with.
|
|
360
364
|
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
8
|
* [create](#create) - Create an application in the Financeable platform.
|
|
9
|
+
* [list](#list) - List all applications from the tenant. This endpoint does not support the 'include' query parameter; relationships must be fetched via the 'Get Application' endpoint.
|
|
10
|
+
* [get](#get) - Retrieve a specific application from the Financeable platform.
|
|
9
11
|
|
|
10
12
|
## create
|
|
11
13
|
|
|
@@ -378,6 +380,148 @@ run();
|
|
|
378
380
|
|
|
379
381
|
### Errors
|
|
380
382
|
|
|
383
|
+
| Error Type | Status Code | Content Type |
|
|
384
|
+
| --------------- | --------------- | --------------- |
|
|
385
|
+
| errors.APIError | 4XX, 5XX | \*/\* |
|
|
386
|
+
|
|
387
|
+
## list
|
|
388
|
+
|
|
389
|
+
List all applications from the tenant. This endpoint does not support the 'include' query parameter; relationships must be fetched via the 'Get Application' endpoint.
|
|
390
|
+
|
|
391
|
+
### Example Usage
|
|
392
|
+
|
|
393
|
+
<!-- UsageSnippet language="typescript" operationID="listApplications" method="get" path="/applications" -->
|
|
394
|
+
```typescript
|
|
395
|
+
import { Financeable } from "@financeable/aggregation";
|
|
396
|
+
|
|
397
|
+
const financeable = new Financeable({
|
|
398
|
+
clientCredentials: process.env["FINANCEABLE_CLIENT_CREDENTIALS"] ?? "",
|
|
399
|
+
});
|
|
400
|
+
|
|
401
|
+
async function run() {
|
|
402
|
+
const result = await financeable.applications.list({});
|
|
403
|
+
|
|
404
|
+
console.log(result);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
run();
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
### Standalone function
|
|
411
|
+
|
|
412
|
+
The standalone function version of this method:
|
|
413
|
+
|
|
414
|
+
```typescript
|
|
415
|
+
import { FinanceableCore } from "@financeable/aggregation/core.js";
|
|
416
|
+
import { applicationsList } from "@financeable/aggregation/funcs/applicationsList.js";
|
|
417
|
+
|
|
418
|
+
// Use `FinanceableCore` for best tree-shaking performance.
|
|
419
|
+
// You can create one instance of it to use across an application.
|
|
420
|
+
const financeable = new FinanceableCore({
|
|
421
|
+
clientCredentials: process.env["FINANCEABLE_CLIENT_CREDENTIALS"] ?? "",
|
|
422
|
+
});
|
|
423
|
+
|
|
424
|
+
async function run() {
|
|
425
|
+
const res = await applicationsList(financeable, {});
|
|
426
|
+
if (res.ok) {
|
|
427
|
+
const { value: result } = res;
|
|
428
|
+
console.log(result);
|
|
429
|
+
} else {
|
|
430
|
+
console.log("applicationsList failed:", res.error);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
run();
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
### Parameters
|
|
438
|
+
|
|
439
|
+
| Parameter | Type | Required | Description |
|
|
440
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
441
|
+
| `request` | [operations.ListApplicationsRequest](../../models/operations/listapplicationsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
442
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
443
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
444
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
445
|
+
|
|
446
|
+
### Response
|
|
447
|
+
|
|
448
|
+
**Promise\<[operations.ListApplicationsResponse](../../models/operations/listapplicationsresponse.md)\>**
|
|
449
|
+
|
|
450
|
+
### Errors
|
|
451
|
+
|
|
452
|
+
| Error Type | Status Code | Content Type |
|
|
453
|
+
| --------------- | --------------- | --------------- |
|
|
454
|
+
| errors.APIError | 4XX, 5XX | \*/\* |
|
|
455
|
+
|
|
456
|
+
## get
|
|
457
|
+
|
|
458
|
+
Retrieve a specific application from the Financeable platform.
|
|
459
|
+
|
|
460
|
+
### Example Usage
|
|
461
|
+
|
|
462
|
+
<!-- UsageSnippet language="typescript" operationID="getApplication" method="get" path="/applications/{id}" -->
|
|
463
|
+
```typescript
|
|
464
|
+
import { Financeable } from "@financeable/aggregation";
|
|
465
|
+
|
|
466
|
+
const financeable = new Financeable({
|
|
467
|
+
clientCredentials: process.env["FINANCEABLE_CLIENT_CREDENTIALS"] ?? "",
|
|
468
|
+
});
|
|
469
|
+
|
|
470
|
+
async function run() {
|
|
471
|
+
const result = await financeable.applications.get({
|
|
472
|
+
id: "<id>",
|
|
473
|
+
});
|
|
474
|
+
|
|
475
|
+
console.log(result);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
run();
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
### Standalone function
|
|
482
|
+
|
|
483
|
+
The standalone function version of this method:
|
|
484
|
+
|
|
485
|
+
```typescript
|
|
486
|
+
import { FinanceableCore } from "@financeable/aggregation/core.js";
|
|
487
|
+
import { applicationsGet } from "@financeable/aggregation/funcs/applicationsGet.js";
|
|
488
|
+
|
|
489
|
+
// Use `FinanceableCore` for best tree-shaking performance.
|
|
490
|
+
// You can create one instance of it to use across an application.
|
|
491
|
+
const financeable = new FinanceableCore({
|
|
492
|
+
clientCredentials: process.env["FINANCEABLE_CLIENT_CREDENTIALS"] ?? "",
|
|
493
|
+
});
|
|
494
|
+
|
|
495
|
+
async function run() {
|
|
496
|
+
const res = await applicationsGet(financeable, {
|
|
497
|
+
id: "<id>",
|
|
498
|
+
});
|
|
499
|
+
if (res.ok) {
|
|
500
|
+
const { value: result } = res;
|
|
501
|
+
console.log(result);
|
|
502
|
+
} else {
|
|
503
|
+
console.log("applicationsGet failed:", res.error);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
run();
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
### Parameters
|
|
511
|
+
|
|
512
|
+
| Parameter | Type | Required | Description |
|
|
513
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
514
|
+
| `request` | [operations.GetApplicationRequest](../../models/operations/getapplicationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
515
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
516
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
517
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
518
|
+
|
|
519
|
+
### Response
|
|
520
|
+
|
|
521
|
+
**Promise\<[operations.GetApplicationResponse](../../models/operations/getapplicationresponse.md)\>**
|
|
522
|
+
|
|
523
|
+
### Errors
|
|
524
|
+
|
|
381
525
|
| Error Type | Status Code | Content Type |
|
|
382
526
|
| --------------- | --------------- | --------------- |
|
|
383
527
|
| errors.APIError | 4XX, 5XX | \*/\* |
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FinanceableCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { FinanceableError } from "../models/errors/financeableerror.js";
|
|
4
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
5
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
6
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { APIPromise } from "../types/async.js";
|
|
9
|
+
import { Result } from "../types/fp.js";
|
|
10
|
+
/**
|
|
11
|
+
* Retrieve a specific application from the Financeable platform.
|
|
12
|
+
*/
|
|
13
|
+
export declare function applicationsGet(client: FinanceableCore, request: operations.GetApplicationRequest, options?: RequestOptions): APIPromise<Result<operations.GetApplicationResponse, FinanceableError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
14
|
+
//# sourceMappingURL=applicationsGet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicationsGet.d.ts","sourceRoot":"","sources":["../src/funcs/applicationsGet.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAK7C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,eAAe,EACvB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,sBAAsB,EAC/B,gBAAgB,GAChB,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.applicationsGet = applicationsGet;
|
|
40
|
+
const encodings_js_1 = require("../lib/encodings.js");
|
|
41
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
42
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
44
|
+
const security_js_1 = require("../lib/security.js");
|
|
45
|
+
const url_js_1 = require("../lib/url.js");
|
|
46
|
+
const operations = __importStar(require("../models/operations/index.js"));
|
|
47
|
+
const async_js_1 = require("../types/async.js");
|
|
48
|
+
/**
|
|
49
|
+
* Retrieve a specific application from the Financeable platform.
|
|
50
|
+
*/
|
|
51
|
+
function applicationsGet(client, request, options) {
|
|
52
|
+
return new async_js_1.APIPromise($do(client, request, options));
|
|
53
|
+
}
|
|
54
|
+
async function $do(client, request, options) {
|
|
55
|
+
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.GetApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56
|
+
if (!parsed.ok) {
|
|
57
|
+
return [parsed, { status: "invalid" }];
|
|
58
|
+
}
|
|
59
|
+
const payload = parsed.value;
|
|
60
|
+
const body = null;
|
|
61
|
+
const pathParams = {
|
|
62
|
+
id: (0, encodings_js_1.encodeSimple)("id", payload.id, {
|
|
63
|
+
explode: false,
|
|
64
|
+
charEncoding: "percent",
|
|
65
|
+
}),
|
|
66
|
+
};
|
|
67
|
+
const path = (0, url_js_1.pathToFunc)("/applications/{id}")(pathParams);
|
|
68
|
+
const query = (0, encodings_js_1.encodeFormQuery)({
|
|
69
|
+
"include": payload.include,
|
|
70
|
+
}, { explode: false });
|
|
71
|
+
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
72
|
+
Accept: "application/json",
|
|
73
|
+
}));
|
|
74
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.clientCredentials);
|
|
75
|
+
const securityInput = secConfig == null
|
|
76
|
+
? {}
|
|
77
|
+
: { clientCredentials: secConfig };
|
|
78
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
79
|
+
const context = {
|
|
80
|
+
options: client._options,
|
|
81
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
82
|
+
operationID: "getApplication",
|
|
83
|
+
oAuth2Scopes: null,
|
|
84
|
+
resolvedSecurity: requestSecurity,
|
|
85
|
+
securitySource: client._options.clientCredentials,
|
|
86
|
+
retryConfig: options?.retries
|
|
87
|
+
|| client._options.retryConfig
|
|
88
|
+
|| { strategy: "none" },
|
|
89
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
90
|
+
};
|
|
91
|
+
const requestRes = client._createRequest(context, {
|
|
92
|
+
security: requestSecurity,
|
|
93
|
+
method: "GET",
|
|
94
|
+
baseURL: options?.serverURL,
|
|
95
|
+
path: path,
|
|
96
|
+
headers: headers,
|
|
97
|
+
query: query,
|
|
98
|
+
body: body,
|
|
99
|
+
userAgent: client._options.userAgent,
|
|
100
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
101
|
+
}, options);
|
|
102
|
+
if (!requestRes.ok) {
|
|
103
|
+
return [requestRes, { status: "invalid" }];
|
|
104
|
+
}
|
|
105
|
+
const req = requestRes.value;
|
|
106
|
+
const doResult = await client._do(req, {
|
|
107
|
+
context,
|
|
108
|
+
errorCodes: [],
|
|
109
|
+
retryConfig: context.retryConfig,
|
|
110
|
+
retryCodes: context.retryCodes,
|
|
111
|
+
});
|
|
112
|
+
if (!doResult.ok) {
|
|
113
|
+
return [doResult, { status: "request-error", request: req }];
|
|
114
|
+
}
|
|
115
|
+
const response = doResult.value;
|
|
116
|
+
const [result] = await M.match(M.json(200, operations.GetApplicationResponse$inboundSchema), M.json(403, operations.GetApplicationResponse$inboundSchema), M.json(404, operations.GetApplicationResponse$inboundSchema))(response, req);
|
|
117
|
+
if (!result.ok) {
|
|
118
|
+
return [result, { status: "complete", request: req, response }];
|
|
119
|
+
}
|
|
120
|
+
return [result, { status: "complete", request: req, response }];
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=applicationsGet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicationsGet.js","sourceRoot":"","sources":["../src/funcs/applicationsGet.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BH,0CAsBC;AA9CD,sDAAoE;AACpE,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAW3C,0EAA4D;AAC5D,gDAAwD;AAGxD;;GAEG;AACH,SAAgB,eAAe,CAC7B,MAAuB,EACvB,OAAyC,EACzC,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,M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,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,oCAAoC,CAAC,EAC5D,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,oCAAoC,CAAC,EAC5D,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,oCAAoC,CAAC,CAC7D,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FinanceableCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { FinanceableError } from "../models/errors/financeableerror.js";
|
|
4
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
5
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
6
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { APIPromise } from "../types/async.js";
|
|
9
|
+
import { Result } from "../types/fp.js";
|
|
10
|
+
/**
|
|
11
|
+
* List all applications from the tenant. This endpoint does not support the 'include' query parameter; relationships must be fetched via the 'Get Application' endpoint.
|
|
12
|
+
*/
|
|
13
|
+
export declare function applicationsList(client: FinanceableCore, request: operations.ListApplicationsRequest, options?: RequestOptions): APIPromise<Result<operations.ListApplicationsResponse, FinanceableError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
14
|
+
//# sourceMappingURL=applicationsList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicationsList.d.ts","sourceRoot":"","sources":["../src/funcs/applicationsList.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAK7C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,eAAe,EACvB,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,wBAAwB,EACjC,gBAAgB,GAChB,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.applicationsList = applicationsList;
|
|
40
|
+
const encodings_js_1 = require("../lib/encodings.js");
|
|
41
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
42
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
44
|
+
const security_js_1 = require("../lib/security.js");
|
|
45
|
+
const url_js_1 = require("../lib/url.js");
|
|
46
|
+
const operations = __importStar(require("../models/operations/index.js"));
|
|
47
|
+
const async_js_1 = require("../types/async.js");
|
|
48
|
+
/**
|
|
49
|
+
* List all applications from the tenant. This endpoint does not support the 'include' query parameter; relationships must be fetched via the 'Get Application' endpoint.
|
|
50
|
+
*/
|
|
51
|
+
function applicationsList(client, request, options) {
|
|
52
|
+
return new async_js_1.APIPromise($do(client, request, options));
|
|
53
|
+
}
|
|
54
|
+
async function $do(client, request, options) {
|
|
55
|
+
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.ListApplicationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56
|
+
if (!parsed.ok) {
|
|
57
|
+
return [parsed, { status: "invalid" }];
|
|
58
|
+
}
|
|
59
|
+
const payload = parsed.value;
|
|
60
|
+
const body = null;
|
|
61
|
+
const path = (0, url_js_1.pathToFunc)("/applications")();
|
|
62
|
+
const query = (0, encodings_js_1.encodeFormQuery)({
|
|
63
|
+
"page[number]": payload["page[number]"],
|
|
64
|
+
"page[size]": payload["page[size]"],
|
|
65
|
+
}, { explode: false });
|
|
66
|
+
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
67
|
+
Accept: "application/json",
|
|
68
|
+
}));
|
|
69
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.clientCredentials);
|
|
70
|
+
const securityInput = secConfig == null
|
|
71
|
+
? {}
|
|
72
|
+
: { clientCredentials: secConfig };
|
|
73
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
74
|
+
const context = {
|
|
75
|
+
options: client._options,
|
|
76
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
77
|
+
operationID: "listApplications",
|
|
78
|
+
oAuth2Scopes: null,
|
|
79
|
+
resolvedSecurity: requestSecurity,
|
|
80
|
+
securitySource: client._options.clientCredentials,
|
|
81
|
+
retryConfig: options?.retries
|
|
82
|
+
|| client._options.retryConfig
|
|
83
|
+
|| { strategy: "none" },
|
|
84
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
85
|
+
};
|
|
86
|
+
const requestRes = client._createRequest(context, {
|
|
87
|
+
security: requestSecurity,
|
|
88
|
+
method: "GET",
|
|
89
|
+
baseURL: options?.serverURL,
|
|
90
|
+
path: path,
|
|
91
|
+
headers: headers,
|
|
92
|
+
query: query,
|
|
93
|
+
body: body,
|
|
94
|
+
userAgent: client._options.userAgent,
|
|
95
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
96
|
+
}, options);
|
|
97
|
+
if (!requestRes.ok) {
|
|
98
|
+
return [requestRes, { status: "invalid" }];
|
|
99
|
+
}
|
|
100
|
+
const req = requestRes.value;
|
|
101
|
+
const doResult = await client._do(req, {
|
|
102
|
+
context,
|
|
103
|
+
errorCodes: [],
|
|
104
|
+
retryConfig: context.retryConfig,
|
|
105
|
+
retryCodes: context.retryCodes,
|
|
106
|
+
});
|
|
107
|
+
if (!doResult.ok) {
|
|
108
|
+
return [doResult, { status: "request-error", request: req }];
|
|
109
|
+
}
|
|
110
|
+
const response = doResult.value;
|
|
111
|
+
const [result] = await M.match(M.json(200, operations.ListApplicationsResponse$inboundSchema), M.json(403, operations.ListApplicationsResponse$inboundSchema), M.json(404, operations.ListApplicationsResponse$inboundSchema))(response, req);
|
|
112
|
+
if (!result.ok) {
|
|
113
|
+
return [result, { status: "complete", request: req, response }];
|
|
114
|
+
}
|
|
115
|
+
return [result, { status: "complete", request: req, response }];
|
|
116
|
+
}
|
|
117
|
+
//# sourceMappingURL=applicationsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicationsList.js","sourceRoot":"","sources":["../src/funcs/applicationsList.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BH,4CAsBC;AA9CD,sDAAsD;AACtD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAW3C,0EAA4D;AAC5D,gDAAwD;AAGxD;;GAEG;AACH,SAAgB,gBAAgB,CAC9B,MAAuB,EACvB,OAA2C,EAC3C,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAuB,EACvB,OAA2C,EAC3C,OAAwB;IAiBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,sCAAsC,CAAC,KAAK,CAAC,KAAK,CAAC,EACzE,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAI,CAAC;IAElB,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,eAAe,CAAC,EAAE,CAAC;IAE3C,MAAM,KAAK,GAAG,IAAA,8BAAe,EAAC;QAC5B,cAAc,EAAE,OAAO,CAAC,cAAc,CAAC;QACvC,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC;KACpC,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;IAEvB,MAA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AAC;AAClE,CAAC"}
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "0.4.0";
|
|
34
|
-
readonly sdkVersion: "0.
|
|
35
|
-
readonly genVersion: "2.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.
|
|
34
|
+
readonly sdkVersion: "0.12.1";
|
|
35
|
+
readonly genVersion: "2.735.1";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.12.1 2.735.1 0.4.0 @financeable/aggregation";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "0.4.0",
|
|
31
|
-
sdkVersion: "0.
|
|
32
|
-
genVersion: "2.
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
31
|
+
sdkVersion: "0.12.1",
|
|
32
|
+
genVersion: "2.735.1",
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 0.12.1 2.735.1 0.4.0 @financeable/aggregation",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
|
@@ -8,7 +8,7 @@ export declare const ApplicationStatus: {
|
|
|
8
8
|
readonly Approved: "approved";
|
|
9
9
|
readonly Settled: "settled";
|
|
10
10
|
readonly Deleted: "deleted";
|
|
11
|
-
readonly
|
|
11
|
+
readonly Archived: "archived";
|
|
12
12
|
};
|
|
13
13
|
export type ApplicationStatus = ClosedEnum<typeof ApplicationStatus>;
|
|
14
14
|
/** @internal */
|
|
@@ -29,7 +29,7 @@ export declare namespace ApplicationStatus$ {
|
|
|
29
29
|
readonly Approved: "approved";
|
|
30
30
|
readonly Settled: "settled";
|
|
31
31
|
readonly Deleted: "deleted";
|
|
32
|
-
readonly
|
|
32
|
+
readonly Archived: "archived";
|
|
33
33
|
}>;
|
|
34
34
|
/** @deprecated use `ApplicationStatus$outboundSchema` instead. */
|
|
35
35
|
const outboundSchema: z.ZodNativeEnum<{
|
|
@@ -40,7 +40,7 @@ export declare namespace ApplicationStatus$ {
|
|
|
40
40
|
readonly Approved: "approved";
|
|
41
41
|
readonly Settled: "settled";
|
|
42
42
|
readonly Deleted: "deleted";
|
|
43
|
-
readonly
|
|
43
|
+
readonly Archived: "archived";
|
|
44
44
|
}>;
|
|
45
45
|
}
|
|
46
46
|
//# sourceMappingURL=applicationstatus.d.ts.map
|
|
@@ -46,7 +46,7 @@ exports.ApplicationStatus = {
|
|
|
46
46
|
Approved: "approved",
|
|
47
47
|
Settled: "settled",
|
|
48
48
|
Deleted: "deleted",
|
|
49
|
-
|
|
49
|
+
Archived: "archived",
|
|
50
50
|
};
|
|
51
51
|
/** @internal */
|
|
52
52
|
exports.ApplicationStatus$inboundSchema = z.nativeEnum(exports.ApplicationStatus);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationstatus.js","sourceRoot":"","sources":["../../src/models/components/applicationstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,
|
|
1
|
+
{"version":3,"file":"applicationstatus.js","sourceRoot":"","sources":["../../src/models/components/applicationstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,gBAAgB;AACH,QAAA,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,yBAAiB,CAAC,CAAC;AAEpC,gBAAgB;AACH,QAAA,gCAAgC,GAEzC,uCAA+B,CAAC;AAEpC;;;GAGG;AACH,IAAiB,kBAAkB,CAKlC;AALD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AACjE,CAAC,EALgB,kBAAkB,kCAAlB,kBAAkB,QAKlC"}
|