@financeable/aggregation 0.3.5 → 0.4.2
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/FUNCTIONS.md +119 -6
- package/README.md +1585 -568
- package/docs/sdks/applications/README.md +16 -14
- package/docs/sdks/financeable/README.md +0 -84
- package/docs/sdks/oauthtoken/README.md +90 -0
- package/funcs/applicationsCreate.d.ts +1 -1
- package/funcs/applicationsCreate.d.ts.map +1 -1
- package/funcs/applicationsCreate.js +1 -1
- package/funcs/applicationsCreate.js.map +1 -1
- package/funcs/applicationsGet.d.ts +1 -1
- package/funcs/applicationsGet.d.ts.map +1 -1
- package/funcs/applicationsGet.js +1 -1
- package/funcs/applicationsGet.js.map +1 -1
- package/funcs/applicationsList.d.ts +1 -1
- package/funcs/applicationsList.d.ts.map +1 -1
- package/funcs/applicationsList.js +1 -1
- package/funcs/applicationsList.js.map +1 -1
- package/funcs/{getToken.d.ts → oauthTokenOauthToken.d.ts} +2 -2
- package/funcs/oauthTokenOauthToken.d.ts.map +1 -0
- package/funcs/{getToken.js → oauthTokenOauthToken.js} +3 -3
- package/funcs/oauthTokenOauthToken.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +7 -7
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +4 -4
- package/lib/files.js.map +1 -1
- package/lib/primitives.d.ts +3 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +7 -0
- package/lib/primitives.js.map +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +2 -8
- package/lib/sdks.js.map +1 -1
- package/models/components/assetattributes.d.ts +17 -94
- package/models/components/assetattributes.d.ts.map +1 -1
- package/models/components/assetattributes.js +27 -37
- package/models/components/assetattributes.js.map +1 -1
- package/models/components/commercialassettype.d.ts +44 -0
- package/models/components/commercialassettype.d.ts.map +1 -0
- package/models/components/commercialassettype.js +85 -0
- package/models/components/commercialassettype.js.map +1 -0
- package/models/components/consumerassettype.d.ts +32 -0
- package/models/components/consumerassettype.d.ts.map +1 -0
- package/models/components/consumerassettype.js +73 -0
- package/models/components/consumerassettype.js.map +1 -0
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/errors/index.d.ts +1 -3
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -3
- package/models/errors/index.js.map +1 -1
- package/models/errors/responsebody.d.ts +38 -0
- package/models/errors/responsebody.d.ts.map +1 -0
- package/models/errors/{getapplication.js → responsebody.js} +15 -15
- package/models/errors/responsebody.js.map +1 -0
- package/package.json +1 -1
- package/sdk/oauthtoken.d.ts +9 -0
- package/sdk/oauthtoken.d.ts.map +1 -0
- package/sdk/oauthtoken.js +19 -0
- package/sdk/oauthtoken.js.map +1 -0
- package/sdk/sdk.d.ts +4 -6
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -7
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/applicationsCreate.ts +4 -4
- package/src/funcs/applicationsGet.ts +4 -4
- package/src/funcs/applicationsList.ts +4 -4
- package/src/funcs/{getToken.ts → oauthTokenOauthToken.ts} +1 -1
- package/src/lib/config.ts +7 -7
- package/src/lib/files.ts +1 -1
- package/src/lib/primitives.ts +14 -0
- package/src/lib/sdks.ts +2 -7
- package/src/models/components/assetattributes.ts +58 -47
- package/src/models/components/commercialassettype.ts +61 -0
- package/src/models/components/consumerassettype.ts +43 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/errors/index.ts +1 -3
- package/src/models/errors/{getapplication.ts → responsebody.ts} +20 -20
- package/src/sdk/oauthtoken.ts +24 -0
- package/src/sdk/sdk.ts +5 -16
- package/funcs/getToken.d.ts.map +0 -1
- package/funcs/getToken.js.map +0 -1
- package/models/errors/createapplication.d.ts +0 -38
- package/models/errors/createapplication.d.ts.map +0 -1
- package/models/errors/createapplication.js +0 -81
- package/models/errors/createapplication.js.map +0 -1
- package/models/errors/getapplication.d.ts +0 -38
- package/models/errors/getapplication.d.ts.map +0 -1
- package/models/errors/getapplication.js.map +0 -1
- package/models/errors/getapplications.d.ts +0 -38
- package/models/errors/getapplications.d.ts.map +0 -1
- package/models/errors/getapplications.js +0 -81
- package/models/errors/getapplications.js.map +0 -1
- package/src/models/errors/createapplication.ts +0 -76
- package/src/models/errors/getapplications.ts +0 -76
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export enum CommercialAssetType {
|
|
8
|
+
MotorVehicleLessThan45Tonnes = "MOTOR_VEHICLE_(<4.5_TONNES)",
|
|
9
|
+
EletricMotorVehicleLessThan45Tonnes = "ELECTRIC_MOTOR_VEHICLE_(<4.5_TONNES)",
|
|
10
|
+
CommercialSmallToMediumVehicleLessThan12Tonnes =
|
|
11
|
+
"COMMERCIAL_(SMALL_TO_MEDIUM)_VEHICLES_(<12_TONNES)",
|
|
12
|
+
CommercialHeavyVehicleGreaterThan12Tonnes =
|
|
13
|
+
"COMMERCIAL_(HEAVY)_VEHICLES_(>12_TONNES)",
|
|
14
|
+
WarehouseEquipmentWheeledOrTracked =
|
|
15
|
+
"WAREHOUSE_EQUIPMENT_(WHEELED_OR_TRACKED)",
|
|
16
|
+
EarthMovingAndConstructionWheeledOrTracked =
|
|
17
|
+
"EARTH_MOVING_&_CONSTRUCTION_(WHEELED_OR_TRACKED)",
|
|
18
|
+
AgriculturalAndLandscapingEquipmentWheeledOrTracked =
|
|
19
|
+
"AGRICULTURAL_&_LANDSCAPING_EQUIPMENT_(WHEELED_OR_TRACKED)",
|
|
20
|
+
MiniBusesAndRouteBusesLessThan25Seats =
|
|
21
|
+
"MINI_BUSES_&_ROUTE_BUSES_(<25_SEATS)",
|
|
22
|
+
TrailersAndCaravans = "TRAILERS_AND_CARAVANS",
|
|
23
|
+
IndustrialPlantAndPrinting = "INDUSTRIAL_PLANT_&_PRINTING",
|
|
24
|
+
ManufacturingEquipment = "MANUFACTURING_EQUIPMENT",
|
|
25
|
+
MedicalEquipment = "MEDICAL_EQUIPMENT",
|
|
26
|
+
ITComputerAndAudioEquipment = "IT_COMPUTER_&_AUDIO_EQUIPMENT",
|
|
27
|
+
HealthAndBeautyEquipment = "HEALTH_&_BEAUTY_EQUIPMENT",
|
|
28
|
+
OfficeEquipment = "OFFICE_EQUIPMENT",
|
|
29
|
+
OfficeFitout = "OFFICE_FITOUT",
|
|
30
|
+
RestaurantAndCateringEquipment = "RESTAURANT_&_CATERING_EQUIPMENT",
|
|
31
|
+
OfficeFurniture = "OFFICE_FURNITURE",
|
|
32
|
+
Solar = "SOLAR",
|
|
33
|
+
MotorbikesATVs = "MOTORBIKES_ATVS",
|
|
34
|
+
ClassicCar = "CLASSIC_CAR",
|
|
35
|
+
TraileredBoats = "TRAILERED_BOATS",
|
|
36
|
+
Jetskis = "JETSKIS",
|
|
37
|
+
RideOnMowers = "RIDE_ON_MOWERS",
|
|
38
|
+
GolfCarts = "GOLF_CARTS",
|
|
39
|
+
Other = "OTHER",
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const CommercialAssetType$inboundSchema: z.ZodNativeEnum<
|
|
44
|
+
typeof CommercialAssetType
|
|
45
|
+
> = z.nativeEnum(CommercialAssetType);
|
|
46
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export const CommercialAssetType$outboundSchema: z.ZodNativeEnum<
|
|
49
|
+
typeof CommercialAssetType
|
|
50
|
+
> = CommercialAssetType$inboundSchema;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
+
*/
|
|
56
|
+
export namespace CommercialAssetType$ {
|
|
57
|
+
/** @deprecated use `CommercialAssetType$inboundSchema` instead. */
|
|
58
|
+
export const inboundSchema = CommercialAssetType$inboundSchema;
|
|
59
|
+
/** @deprecated use `CommercialAssetType$outboundSchema` instead. */
|
|
60
|
+
export const outboundSchema = CommercialAssetType$outboundSchema;
|
|
61
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export enum ConsumerAssetType {
|
|
8
|
+
MotorVehicle = "MOTOR_VEHICLE",
|
|
9
|
+
ElectricMotorVehicle = "ELECTRIC_MOTOR_VEHICLE",
|
|
10
|
+
LuxuryVehicle = "LUXURY_VEHICLE",
|
|
11
|
+
Motorbike = "MOTORBIKE",
|
|
12
|
+
AtvOffRoadBike = "ATV_OFF_ROAD_BIKE",
|
|
13
|
+
Tractor = "TRACTOR",
|
|
14
|
+
RideOnMower = "RIDE_ON_MOWER",
|
|
15
|
+
HorseFloat = "HORSE_FLOAT",
|
|
16
|
+
Trailer = "TRAILER",
|
|
17
|
+
Caravan = "CARAVAN",
|
|
18
|
+
MotorHome = "MOTOR_HOME",
|
|
19
|
+
TraileredBoat = "TRAILERED_BOAT",
|
|
20
|
+
JetskiPwc = "JETSKI_PWC",
|
|
21
|
+
GolfCart = "GOLF_CART",
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const ConsumerAssetType$inboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof ConsumerAssetType
|
|
27
|
+
> = z.nativeEnum(ConsumerAssetType);
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const ConsumerAssetType$outboundSchema: z.ZodNativeEnum<
|
|
31
|
+
typeof ConsumerAssetType
|
|
32
|
+
> = ConsumerAssetType$inboundSchema;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
37
|
+
*/
|
|
38
|
+
export namespace ConsumerAssetType$ {
|
|
39
|
+
/** @deprecated use `ConsumerAssetType$inboundSchema` instead. */
|
|
40
|
+
export const inboundSchema = ConsumerAssetType$inboundSchema;
|
|
41
|
+
/** @deprecated use `ConsumerAssetType$outboundSchema` instead. */
|
|
42
|
+
export const outboundSchema = ConsumerAssetType$outboundSchema;
|
|
43
|
+
}
|
|
@@ -10,6 +10,8 @@ export * from "./applicationresourcebulksubmission.js";
|
|
|
10
10
|
export * from "./applicationstatus.js";
|
|
11
11
|
export * from "./applicationtype.js";
|
|
12
12
|
export * from "./assetattributes.js";
|
|
13
|
+
export * from "./commercialassettype.js";
|
|
14
|
+
export * from "./consumerassettype.js";
|
|
13
15
|
export * from "./customerattributes.js";
|
|
14
16
|
export * from "./customeridtype.js";
|
|
15
17
|
export * from "./customertitle.js";
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
export * from "./apierror.js";
|
|
6
|
-
export * from "./createapplication.js";
|
|
7
|
-
export * from "./getapplication.js";
|
|
8
|
-
export * from "./getapplications.js";
|
|
9
6
|
export * from "./httpclienterrors.js";
|
|
7
|
+
export * from "./responsebody.js";
|
|
10
8
|
export * from "./sdkvalidationerror.js";
|
|
@@ -8,20 +8,20 @@ import * as components from "../components/index.js";
|
|
|
8
8
|
/**
|
|
9
9
|
* Access is forbidden.
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
11
|
+
export type ResponseBodyData = {
|
|
12
12
|
errors: Array<components.ForbiddenError>;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Access is forbidden.
|
|
17
17
|
*/
|
|
18
|
-
export class
|
|
18
|
+
export class ResponseBody extends Error {
|
|
19
19
|
errors: Array<components.ForbiddenError>;
|
|
20
20
|
|
|
21
21
|
/** The original data that was passed to this error instance. */
|
|
22
|
-
data$:
|
|
22
|
+
data$: ResponseBodyData;
|
|
23
23
|
|
|
24
|
-
constructor(err:
|
|
24
|
+
constructor(err: ResponseBodyData) {
|
|
25
25
|
const message = "message" in err && typeof err.message === "string"
|
|
26
26
|
? err.message
|
|
27
27
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -30,33 +30,33 @@ export class GetApplicationResponseBody extends Error {
|
|
|
30
30
|
|
|
31
31
|
this.errors = err.errors;
|
|
32
32
|
|
|
33
|
-
this.name = "
|
|
33
|
+
this.name = "ResponseBody";
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/** @internal */
|
|
38
|
-
export const
|
|
39
|
-
|
|
38
|
+
export const ResponseBody$inboundSchema: z.ZodType<
|
|
39
|
+
ResponseBody,
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
43
|
errors: z.array(components.ForbiddenError$inboundSchema),
|
|
44
44
|
})
|
|
45
45
|
.transform((v) => {
|
|
46
|
-
return new
|
|
46
|
+
return new ResponseBody(v);
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
/** @internal */
|
|
50
|
-
export type
|
|
50
|
+
export type ResponseBody$Outbound = {
|
|
51
51
|
errors: Array<components.ForbiddenError$Outbound>;
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
/** @internal */
|
|
55
|
-
export const
|
|
56
|
-
|
|
55
|
+
export const ResponseBody$outboundSchema: z.ZodType<
|
|
56
|
+
ResponseBody$Outbound,
|
|
57
57
|
z.ZodTypeDef,
|
|
58
|
-
|
|
59
|
-
> = z.instanceof(
|
|
58
|
+
ResponseBody
|
|
59
|
+
> = z.instanceof(ResponseBody)
|
|
60
60
|
.transform(v => v.data$)
|
|
61
61
|
.pipe(z.object({
|
|
62
62
|
errors: z.array(components.ForbiddenError$outboundSchema),
|
|
@@ -66,11 +66,11 @@ export const GetApplicationResponseBody$outboundSchema: z.ZodType<
|
|
|
66
66
|
* @internal
|
|
67
67
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
68
68
|
*/
|
|
69
|
-
export namespace
|
|
70
|
-
/** @deprecated use `
|
|
71
|
-
export const inboundSchema =
|
|
72
|
-
/** @deprecated use `
|
|
73
|
-
export const outboundSchema =
|
|
74
|
-
/** @deprecated use `
|
|
75
|
-
export type Outbound =
|
|
69
|
+
export namespace ResponseBody$ {
|
|
70
|
+
/** @deprecated use `ResponseBody$inboundSchema` instead. */
|
|
71
|
+
export const inboundSchema = ResponseBody$inboundSchema;
|
|
72
|
+
/** @deprecated use `ResponseBody$outboundSchema` instead. */
|
|
73
|
+
export const outboundSchema = ResponseBody$outboundSchema;
|
|
74
|
+
/** @deprecated use `ResponseBody$Outbound` instead. */
|
|
75
|
+
export type Outbound = ResponseBody$Outbound;
|
|
76
76
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { oauthTokenOauthToken } from "../funcs/oauthTokenOauthToken.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import * as components from "../models/components/index.js";
|
|
8
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
9
|
+
|
|
10
|
+
export class OauthToken extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Obtain an OAuth client_credentials token
|
|
13
|
+
*/
|
|
14
|
+
async oauthToken(
|
|
15
|
+
request: components.TokenRequest,
|
|
16
|
+
options?: RequestOptions,
|
|
17
|
+
): Promise<components.TokenResponse> {
|
|
18
|
+
return unwrapAsync(oauthTokenOauthToken(
|
|
19
|
+
this,
|
|
20
|
+
request,
|
|
21
|
+
options,
|
|
22
|
+
));
|
|
23
|
+
}
|
|
24
|
+
}
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
-
import * as components from "../models/components/index.js";
|
|
8
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
5
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
9
6
|
import { Applications } from "./applications.js";
|
|
7
|
+
import { OauthToken } from "./oauthtoken.js";
|
|
10
8
|
|
|
11
9
|
export class Financeable extends ClientSDK {
|
|
12
10
|
private _applications?: Applications;
|
|
@@ -14,17 +12,8 @@ export class Financeable extends ClientSDK {
|
|
|
14
12
|
return (this._applications ??= new Applications(this._options));
|
|
15
13
|
}
|
|
16
14
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
async getToken(
|
|
21
|
-
request: components.TokenRequest,
|
|
22
|
-
options?: RequestOptions,
|
|
23
|
-
): Promise<components.TokenResponse> {
|
|
24
|
-
return unwrapAsync(getToken(
|
|
25
|
-
this,
|
|
26
|
-
request,
|
|
27
|
-
options,
|
|
28
|
-
));
|
|
15
|
+
private _oauthToken?: OauthToken;
|
|
16
|
+
get oauthToken(): OauthToken {
|
|
17
|
+
return (this._oauthToken ??= new OauthToken(this._options));
|
|
29
18
|
}
|
|
30
19
|
}
|
package/funcs/getToken.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getToken.d.ts","sourceRoot":"","sources":["../src/funcs/getToken.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAK7C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAgB,QAAQ,CACtB,MAAM,EAAE,eAAe,EACvB,OAAO,EAAE,UAAU,CAAC,YAAY,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,aAAa,EACtB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAMA"}
|
package/funcs/getToken.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getToken.js","sourceRoot":"","sources":["../src/funcs/getToken.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,4BAqBC;AA5CD,sDAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAU5D,gDAAwD;AAGxD;;GAEG;AACH,SAAgB,QAAQ,CACtB,MAAuB,EACvB,OAAgC,EAChC,OAAwB;IAaxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAuB,EACvB,OAAgC,EAChC,OAAwB;IAgBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,2BAA2B,CAAC,KAAK,CAAC,KAAK,CAAC,EAC9D,yBAAyB,CAC1B,CAAC;IACF,IAAI,C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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"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import * as components from "../components/index.js";
|
|
3
|
-
/**
|
|
4
|
-
* Access is forbidden.
|
|
5
|
-
*/
|
|
6
|
-
export type CreateApplicationResponseBodyData = {
|
|
7
|
-
errors: Array<components.ForbiddenError>;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Access is forbidden.
|
|
11
|
-
*/
|
|
12
|
-
export declare class CreateApplicationResponseBody extends Error {
|
|
13
|
-
errors: Array<components.ForbiddenError>;
|
|
14
|
-
/** The original data that was passed to this error instance. */
|
|
15
|
-
data$: CreateApplicationResponseBodyData;
|
|
16
|
-
constructor(err: CreateApplicationResponseBodyData);
|
|
17
|
-
}
|
|
18
|
-
/** @internal */
|
|
19
|
-
export declare const CreateApplicationResponseBody$inboundSchema: z.ZodType<CreateApplicationResponseBody, z.ZodTypeDef, unknown>;
|
|
20
|
-
/** @internal */
|
|
21
|
-
export type CreateApplicationResponseBody$Outbound = {
|
|
22
|
-
errors: Array<components.ForbiddenError$Outbound>;
|
|
23
|
-
};
|
|
24
|
-
/** @internal */
|
|
25
|
-
export declare const CreateApplicationResponseBody$outboundSchema: z.ZodType<CreateApplicationResponseBody$Outbound, z.ZodTypeDef, CreateApplicationResponseBody>;
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
-
*/
|
|
30
|
-
export declare namespace CreateApplicationResponseBody$ {
|
|
31
|
-
/** @deprecated use `CreateApplicationResponseBody$inboundSchema` instead. */
|
|
32
|
-
const inboundSchema: z.ZodType<CreateApplicationResponseBody, z.ZodTypeDef, unknown>;
|
|
33
|
-
/** @deprecated use `CreateApplicationResponseBody$outboundSchema` instead. */
|
|
34
|
-
const outboundSchema: z.ZodType<CreateApplicationResponseBody$Outbound, z.ZodTypeDef, CreateApplicationResponseBody>;
|
|
35
|
-
/** @deprecated use `CreateApplicationResponseBody$Outbound` instead. */
|
|
36
|
-
type Outbound = CreateApplicationResponseBody$Outbound;
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=createapplication.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createapplication.d.ts","sourceRoot":"","sources":["../../src/models/errors/createapplication.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;CAC1C,CAAC;AAEF;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,KAAK;IACtD,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;IAEzC,gEAAgE;IAChE,KAAK,EAAE,iCAAiC,CAAC;gBAE7B,GAAG,EAAE,iCAAiC;CAWnD;AAED,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAML,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAK1B,CAAC;AAEN;;;GAGG;AACH,yBAAiB,8BAA8B,CAAC;IAC9C,6EAA6E;IACtE,MAAM,aAAa,iEAA8C,CAAC;IACzE,8EAA8E;IACvE,MAAM,cAAc,gGAA+C,CAAC;IAC3E,wEAAwE;IACxE,KAAY,QAAQ,GAAG,sCAAsC,CAAC;CAC/D"}
|
|
@@ -1,81 +0,0 @@
|
|
|
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.CreateApplicationResponseBody$ = exports.CreateApplicationResponseBody$outboundSchema = exports.CreateApplicationResponseBody$inboundSchema = exports.CreateApplicationResponseBody = void 0;
|
|
40
|
-
const z = __importStar(require("zod"));
|
|
41
|
-
const components = __importStar(require("../components/index.js"));
|
|
42
|
-
/**
|
|
43
|
-
* Access is forbidden.
|
|
44
|
-
*/
|
|
45
|
-
class CreateApplicationResponseBody extends Error {
|
|
46
|
-
constructor(err) {
|
|
47
|
-
const message = "message" in err && typeof err.message === "string"
|
|
48
|
-
? err.message
|
|
49
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
50
|
-
super(message);
|
|
51
|
-
this.data$ = err;
|
|
52
|
-
this.errors = err.errors;
|
|
53
|
-
this.name = "CreateApplicationResponseBody";
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
exports.CreateApplicationResponseBody = CreateApplicationResponseBody;
|
|
57
|
-
/** @internal */
|
|
58
|
-
exports.CreateApplicationResponseBody$inboundSchema = z.object({
|
|
59
|
-
errors: z.array(components.ForbiddenError$inboundSchema),
|
|
60
|
-
})
|
|
61
|
-
.transform((v) => {
|
|
62
|
-
return new CreateApplicationResponseBody(v);
|
|
63
|
-
});
|
|
64
|
-
/** @internal */
|
|
65
|
-
exports.CreateApplicationResponseBody$outboundSchema = z.instanceof(CreateApplicationResponseBody)
|
|
66
|
-
.transform(v => v.data$)
|
|
67
|
-
.pipe(z.object({
|
|
68
|
-
errors: z.array(components.ForbiddenError$outboundSchema),
|
|
69
|
-
}));
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
-
*/
|
|
74
|
-
var CreateApplicationResponseBody$;
|
|
75
|
-
(function (CreateApplicationResponseBody$) {
|
|
76
|
-
/** @deprecated use `CreateApplicationResponseBody$inboundSchema` instead. */
|
|
77
|
-
CreateApplicationResponseBody$.inboundSchema = exports.CreateApplicationResponseBody$inboundSchema;
|
|
78
|
-
/** @deprecated use `CreateApplicationResponseBody$outboundSchema` instead. */
|
|
79
|
-
CreateApplicationResponseBody$.outboundSchema = exports.CreateApplicationResponseBody$outboundSchema;
|
|
80
|
-
})(CreateApplicationResponseBody$ || (exports.CreateApplicationResponseBody$ = CreateApplicationResponseBody$ = {}));
|
|
81
|
-
//# sourceMappingURL=createapplication.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createapplication.js","sourceRoot":"","sources":["../../src/models/errors/createapplication.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,mEAAqD;AASrD;;GAEG;AACH,MAAa,6BAA8B,SAAQ,KAAK;IAMtD,YAAY,GAAsC;QAChD,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QAEjB,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QAEzB,IAAI,CAAC,IAAI,GAAG,+BAA+B,CAAC;IAC9C,CAAC;CACF;AAjBD,sEAiBC;AAED,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,4BAA4B,CAAC;CACzD,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,6BAA6B,CAAC,CAAC,CAAC,CAAC;AAC9C,CAAC,CAAC,CAAC;AAOL,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,UAAU,CAAC,6BAA6B,CAAC;KAC5C,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;KACvB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACb,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,6BAA6B,CAAC;CAC1D,CAAC,CAAC,CAAC;AAEN;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import * as components from "../components/index.js";
|
|
3
|
-
/**
|
|
4
|
-
* Access is forbidden.
|
|
5
|
-
*/
|
|
6
|
-
export type GetApplicationResponseBodyData = {
|
|
7
|
-
errors: Array<components.ForbiddenError>;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Access is forbidden.
|
|
11
|
-
*/
|
|
12
|
-
export declare class GetApplicationResponseBody extends Error {
|
|
13
|
-
errors: Array<components.ForbiddenError>;
|
|
14
|
-
/** The original data that was passed to this error instance. */
|
|
15
|
-
data$: GetApplicationResponseBodyData;
|
|
16
|
-
constructor(err: GetApplicationResponseBodyData);
|
|
17
|
-
}
|
|
18
|
-
/** @internal */
|
|
19
|
-
export declare const GetApplicationResponseBody$inboundSchema: z.ZodType<GetApplicationResponseBody, z.ZodTypeDef, unknown>;
|
|
20
|
-
/** @internal */
|
|
21
|
-
export type GetApplicationResponseBody$Outbound = {
|
|
22
|
-
errors: Array<components.ForbiddenError$Outbound>;
|
|
23
|
-
};
|
|
24
|
-
/** @internal */
|
|
25
|
-
export declare const GetApplicationResponseBody$outboundSchema: z.ZodType<GetApplicationResponseBody$Outbound, z.ZodTypeDef, GetApplicationResponseBody>;
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
-
*/
|
|
30
|
-
export declare namespace GetApplicationResponseBody$ {
|
|
31
|
-
/** @deprecated use `GetApplicationResponseBody$inboundSchema` instead. */
|
|
32
|
-
const inboundSchema: z.ZodType<GetApplicationResponseBody, z.ZodTypeDef, unknown>;
|
|
33
|
-
/** @deprecated use `GetApplicationResponseBody$outboundSchema` instead. */
|
|
34
|
-
const outboundSchema: z.ZodType<GetApplicationResponseBody$Outbound, z.ZodTypeDef, GetApplicationResponseBody>;
|
|
35
|
-
/** @deprecated use `GetApplicationResponseBody$Outbound` instead. */
|
|
36
|
-
type Outbound = GetApplicationResponseBody$Outbound;
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=getapplication.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getapplication.d.ts","sourceRoot":"","sources":["../../src/models/errors/getapplication.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;CAC1C,CAAC;AAEF;;GAEG;AACH,qBAAa,0BAA2B,SAAQ,KAAK;IACnD,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;IAEzC,gEAAgE;IAChE,KAAK,EAAE,8BAA8B,CAAC;gB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,4BAA4B,CAAC;IAC3C,CAAC;CACF;AAjBD,gEAiBC;AAED,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,4BAA4B,CAAC;CACzD,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,0BAA0B,CAAC,CAAC,CAAC,CAAC;AAC3C,CAAC,CAAC,CAAC;AAOL,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,UAAU,CAAC,0BAA0B,CAAC;KACzC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;KACvB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACb,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,6BAA6B,CAAC;CAC1D,CAAC,CAAC,CAAC;AAEN;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import * as components from "../components/index.js";
|
|
3
|
-
/**
|
|
4
|
-
* Access is forbidden.
|
|
5
|
-
*/
|
|
6
|
-
export type GetApplicationsResponseBodyData = {
|
|
7
|
-
errors: Array<components.ForbiddenError>;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Access is forbidden.
|
|
11
|
-
*/
|
|
12
|
-
export declare class GetApplicationsResponseBody extends Error {
|
|
13
|
-
errors: Array<components.ForbiddenError>;
|
|
14
|
-
/** The original data that was passed to this error instance. */
|
|
15
|
-
data$: GetApplicationsResponseBodyData;
|
|
16
|
-
constructor(err: GetApplicationsResponseBodyData);
|
|
17
|
-
}
|
|
18
|
-
/** @internal */
|
|
19
|
-
export declare const GetApplicationsResponseBody$inboundSchema: z.ZodType<GetApplicationsResponseBody, z.ZodTypeDef, unknown>;
|
|
20
|
-
/** @internal */
|
|
21
|
-
export type GetApplicationsResponseBody$Outbound = {
|
|
22
|
-
errors: Array<components.ForbiddenError$Outbound>;
|
|
23
|
-
};
|
|
24
|
-
/** @internal */
|
|
25
|
-
export declare const GetApplicationsResponseBody$outboundSchema: z.ZodType<GetApplicationsResponseBody$Outbound, z.ZodTypeDef, GetApplicationsResponseBody>;
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
-
*/
|
|
30
|
-
export declare namespace GetApplicationsResponseBody$ {
|
|
31
|
-
/** @deprecated use `GetApplicationsResponseBody$inboundSchema` instead. */
|
|
32
|
-
const inboundSchema: z.ZodType<GetApplicationsResponseBody, z.ZodTypeDef, unknown>;
|
|
33
|
-
/** @deprecated use `GetApplicationsResponseBody$outboundSchema` instead. */
|
|
34
|
-
const outboundSchema: z.ZodType<GetApplicationsResponseBody$Outbound, z.ZodTypeDef, GetApplicationsResponseBody>;
|
|
35
|
-
/** @deprecated use `GetApplicationsResponseBody$Outbound` instead. */
|
|
36
|
-
type Outbound = GetApplicationsResponseBody$Outbound;
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=getapplications.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getapplications.d.ts","sourceRoot":"","sources":["../../src/models/errors/getapplications.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;CAC1C,CAAC;AAEF;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,KAAK;IACpD,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;IAEzC,gEAAgE;IAChE,KAAK,EAAE,+BAA+B,CAAC;gBAE3B,GAAG,EAAE,+BAA+B;CAWjD;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAML,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAKxB,CAAC;AAEN;;;GAGG;AACH,yBAAiB,4BAA4B,CAAC;IAC5C,2EAA2E;IACpE,MAAM,aAAa,+DAA4C,CAAC;IACvE,4EAA4E;IACrE,MAAM,cAAc,4FAA6C,CAAC;IACzE,sEAAsE;IACtE,KAAY,QAAQ,GAAG,oCAAoC,CAAC;CAC7D"}
|
|
@@ -1,81 +0,0 @@
|
|
|
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.GetApplicationsResponseBody$ = exports.GetApplicationsResponseBody$outboundSchema = exports.GetApplicationsResponseBody$inboundSchema = exports.GetApplicationsResponseBody = void 0;
|
|
40
|
-
const z = __importStar(require("zod"));
|
|
41
|
-
const components = __importStar(require("../components/index.js"));
|
|
42
|
-
/**
|
|
43
|
-
* Access is forbidden.
|
|
44
|
-
*/
|
|
45
|
-
class GetApplicationsResponseBody extends Error {
|
|
46
|
-
constructor(err) {
|
|
47
|
-
const message = "message" in err && typeof err.message === "string"
|
|
48
|
-
? err.message
|
|
49
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
50
|
-
super(message);
|
|
51
|
-
this.data$ = err;
|
|
52
|
-
this.errors = err.errors;
|
|
53
|
-
this.name = "GetApplicationsResponseBody";
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
exports.GetApplicationsResponseBody = GetApplicationsResponseBody;
|
|
57
|
-
/** @internal */
|
|
58
|
-
exports.GetApplicationsResponseBody$inboundSchema = z.object({
|
|
59
|
-
errors: z.array(components.ForbiddenError$inboundSchema),
|
|
60
|
-
})
|
|
61
|
-
.transform((v) => {
|
|
62
|
-
return new GetApplicationsResponseBody(v);
|
|
63
|
-
});
|
|
64
|
-
/** @internal */
|
|
65
|
-
exports.GetApplicationsResponseBody$outboundSchema = z.instanceof(GetApplicationsResponseBody)
|
|
66
|
-
.transform(v => v.data$)
|
|
67
|
-
.pipe(z.object({
|
|
68
|
-
errors: z.array(components.ForbiddenError$outboundSchema),
|
|
69
|
-
}));
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
-
*/
|
|
74
|
-
var GetApplicationsResponseBody$;
|
|
75
|
-
(function (GetApplicationsResponseBody$) {
|
|
76
|
-
/** @deprecated use `GetApplicationsResponseBody$inboundSchema` instead. */
|
|
77
|
-
GetApplicationsResponseBody$.inboundSchema = exports.GetApplicationsResponseBody$inboundSchema;
|
|
78
|
-
/** @deprecated use `GetApplicationsResponseBody$outboundSchema` instead. */
|
|
79
|
-
GetApplicationsResponseBody$.outboundSchema = exports.GetApplicationsResponseBody$outboundSchema;
|
|
80
|
-
})(GetApplicationsResponseBody$ || (exports.GetApplicationsResponseBody$ = GetApplicationsResponseBody$ = {}));
|
|
81
|
-
//# sourceMappingURL=getapplications.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getapplications.js","sourceRoot":"","sources":["../../src/models/errors/getapplications.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,mEAAqD;AASrD;;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