@apideck/unify 0.13.2 → 0.13.4
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 +0 -13
- package/docs/sdks/pipelines/README.md +0 -542
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/bill.d.ts +5 -0
- package/models/components/bill.d.ts.map +1 -1
- package/models/components/bill.js +9 -0
- package/models/components/bill.js.map +1 -1
- package/models/components/index.d.ts +0 -8
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -8
- package/models/components/index.js.map +1 -1
- package/models/components/ledgeraccount.d.ts +5 -0
- package/models/components/ledgeraccount.d.ts.map +1 -1
- package/models/components/ledgeraccount.js +9 -0
- package/models/components/ledgeraccount.js.map +1 -1
- package/models/components/supplier.d.ts +5 -0
- package/models/components/supplier.d.ts.map +1 -1
- package/models/components/supplier.js +9 -0
- package/models/components/supplier.js.map +1 -1
- package/models/operations/index.d.ts +0 -5
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -5
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/accounting.d.ts +0 -3
- package/sdk/accounting.d.ts.map +1 -1
- package/sdk/accounting.js +0 -4
- package/sdk/accounting.js.map +1 -1
- package/sdk/pipelines.d.ts +0 -28
- package/sdk/pipelines.d.ts.map +1 -1
- package/sdk/pipelines.js +0 -41
- package/sdk/pipelines.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/bill.ts +18 -0
- package/src/models/components/index.ts +0 -8
- package/src/models/components/ledgeraccount.ts +18 -0
- package/src/models/components/supplier.ts +18 -0
- package/src/models/operations/index.ts +0 -5
- package/src/sdk/accounting.ts +0 -6
- package/src/sdk/pipelines.ts +0 -73
- package/docs/sdks/agedcreditors/README.md +0 -115
- package/funcs/accountingAgedCreditorsGet.d.ts +0 -16
- package/funcs/accountingAgedCreditorsGet.d.ts.map +0 -1
- package/funcs/accountingAgedCreditorsGet.js +0 -122
- package/funcs/accountingAgedCreditorsGet.js.map +0 -1
- package/funcs/crmPipelinesCreate.d.ts +0 -16
- package/funcs/crmPipelinesCreate.d.ts.map +0 -1
- package/funcs/crmPipelinesCreate.js +0 -121
- package/funcs/crmPipelinesCreate.js.map +0 -1
- package/funcs/crmPipelinesDelete.d.ts +0 -16
- package/funcs/crmPipelinesDelete.d.ts.map +0 -1
- package/funcs/crmPipelinesDelete.js +0 -126
- package/funcs/crmPipelinesDelete.js.map +0 -1
- package/funcs/crmPipelinesGet.d.ts +0 -16
- package/funcs/crmPipelinesGet.d.ts.map +0 -1
- package/funcs/crmPipelinesGet.js +0 -127
- package/funcs/crmPipelinesGet.js.map +0 -1
- package/funcs/crmPipelinesUpdate.d.ts +0 -16
- package/funcs/crmPipelinesUpdate.d.ts.map +0 -1
- package/funcs/crmPipelinesUpdate.js +0 -127
- package/funcs/crmPipelinesUpdate.js.map +0 -1
- package/models/components/agedcreditors.d.ts +0 -51
- package/models/components/agedcreditors.d.ts.map +0 -1
- package/models/components/agedcreditors.js +0 -88
- package/models/components/agedcreditors.js.map +0 -1
- package/models/components/createpipelineresponse.d.ts +0 -58
- package/models/components/createpipelineresponse.d.ts.map +0 -1
- package/models/components/createpipelineresponse.js +0 -79
- package/models/components/createpipelineresponse.js.map +0 -1
- package/models/components/deletepipelineresponse.d.ts +0 -58
- package/models/components/deletepipelineresponse.d.ts.map +0 -1
- package/models/components/deletepipelineresponse.js +0 -79
- package/models/components/deletepipelineresponse.js.map +0 -1
- package/models/components/getagedcreditorsresponse.d.ts +0 -58
- package/models/components/getagedcreditorsresponse.d.ts.map +0 -1
- package/models/components/getagedcreditorsresponse.js +0 -79
- package/models/components/getagedcreditorsresponse.js.map +0 -1
- package/models/components/getpipelineresponse.d.ts +0 -58
- package/models/components/getpipelineresponse.d.ts.map +0 -1
- package/models/components/getpipelineresponse.js +0 -79
- package/models/components/getpipelineresponse.js.map +0 -1
- package/models/components/outstandingbalancebysupplier.d.ts +0 -40
- package/models/components/outstandingbalancebysupplier.d.ts.map +0 -1
- package/models/components/outstandingbalancebysupplier.js +0 -77
- package/models/components/outstandingbalancebysupplier.js.map +0 -1
- package/models/components/pipelineinput.d.ts +0 -117
- package/models/components/pipelineinput.d.ts.map +0 -1
- package/models/components/pipelineinput.js +0 -133
- package/models/components/pipelineinput.js.map +0 -1
- package/models/components/updatepipelineresponse.d.ts +0 -58
- package/models/components/updatepipelineresponse.d.ts.map +0 -1
- package/models/components/updatepipelineresponse.js +0 -79
- package/models/components/updatepipelineresponse.js.map +0 -1
- package/models/operations/accountingagedcreditorsone.d.ts +0 -125
- package/models/operations/accountingagedcreditorsone.d.ts.map +0 -1
- package/models/operations/accountingagedcreditorsone.js +0 -153
- package/models/operations/accountingagedcreditorsone.js.map +0 -1
- package/models/operations/crmpipelinesadd.d.ts +0 -108
- package/models/operations/crmpipelinesadd.d.ts.map +0 -1
- package/models/operations/crmpipelinesadd.js +0 -149
- package/models/operations/crmpipelinesadd.js.map +0 -1
- package/models/operations/crmpipelinesdelete.d.ts +0 -111
- package/models/operations/crmpipelinesdelete.d.ts.map +0 -1
- package/models/operations/crmpipelinesdelete.js +0 -141
- package/models/operations/crmpipelinesdelete.js.map +0 -1
- package/models/operations/crmpipelinesone.d.ts +0 -116
- package/models/operations/crmpipelinesone.d.ts.map +0 -1
- package/models/operations/crmpipelinesone.js +0 -141
- package/models/operations/crmpipelinesone.js.map +0 -1
- package/models/operations/crmpipelinesupdate.d.ts +0 -113
- package/models/operations/crmpipelinesupdate.d.ts.map +0 -1
- package/models/operations/crmpipelinesupdate.js +0 -151
- package/models/operations/crmpipelinesupdate.js.map +0 -1
- package/sdk/agedcreditors.d.ts +0 -12
- package/sdk/agedcreditors.d.ts.map +0 -1
- package/sdk/agedcreditors.js +0 -22
- package/sdk/agedcreditors.js.map +0 -1
- package/src/funcs/accountingAgedCreditorsGet.ts +0 -193
- package/src/funcs/crmPipelinesCreate.ts +0 -179
- package/src/funcs/crmPipelinesDelete.ts +0 -185
- package/src/funcs/crmPipelinesGet.ts +0 -186
- package/src/funcs/crmPipelinesUpdate.ts +0 -186
- package/src/models/components/agedcreditors.ts +0 -120
- package/src/models/components/createpipelineresponse.ts +0 -119
- package/src/models/components/deletepipelineresponse.ts +0 -119
- package/src/models/components/getagedcreditorsresponse.ts +0 -119
- package/src/models/components/getpipelineresponse.ts +0 -119
- package/src/models/components/outstandingbalancebysupplier.ts +0 -109
- package/src/models/components/pipelineinput.ts +0 -233
- package/src/models/components/updatepipelineresponse.ts +0 -119
- package/src/models/operations/accountingagedcreditorsone.ts +0 -277
- package/src/models/operations/crmpipelinesadd.ts +0 -250
- package/src/models/operations/crmpipelinesdelete.ts +0 -245
- package/src/models/operations/crmpipelinesone.ts +0 -248
- package/src/models/operations/crmpipelinesupdate.ts +0 -257
- package/src/sdk/agedcreditors.ts +0 -27
|
@@ -1,127 +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 (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.crmPipelinesUpdate = crmPipelinesUpdate;
|
|
30
|
-
const encodings_js_1 = require("../lib/encodings.js");
|
|
31
|
-
const M = __importStar(require("../lib/matchers.js"));
|
|
32
|
-
const schemas_js_1 = require("../lib/schemas.js");
|
|
33
|
-
const security_js_1 = require("../lib/security.js");
|
|
34
|
-
const url_js_1 = require("../lib/url.js");
|
|
35
|
-
const errors = __importStar(require("../models/errors/index.js"));
|
|
36
|
-
const operations = __importStar(require("../models/operations/index.js"));
|
|
37
|
-
/**
|
|
38
|
-
* Update pipeline
|
|
39
|
-
*
|
|
40
|
-
* @remarks
|
|
41
|
-
* Update pipeline
|
|
42
|
-
*/
|
|
43
|
-
async function crmPipelinesUpdate(client, request, options) {
|
|
44
|
-
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.CrmPipelinesUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45
|
-
if (!parsed.ok) {
|
|
46
|
-
return parsed;
|
|
47
|
-
}
|
|
48
|
-
const payload = parsed.value;
|
|
49
|
-
const body = (0, encodings_js_1.encodeJSON)("body", payload.Pipeline, { explode: true });
|
|
50
|
-
const pathParams = {
|
|
51
|
-
id: (0, encodings_js_1.encodeSimple)("id", payload.id, {
|
|
52
|
-
explode: false,
|
|
53
|
-
charEncoding: "percent",
|
|
54
|
-
}),
|
|
55
|
-
};
|
|
56
|
-
const path = (0, url_js_1.pathToFunc)("/crm/pipelines/{id}")(pathParams);
|
|
57
|
-
const query = (0, encodings_js_1.encodeFormQuery)({
|
|
58
|
-
"raw": payload.raw,
|
|
59
|
-
});
|
|
60
|
-
const headers = new Headers({
|
|
61
|
-
"Content-Type": "application/json",
|
|
62
|
-
Accept: "application/json",
|
|
63
|
-
"x-apideck-service-id": (0, encodings_js_1.encodeSimple)("x-apideck-service-id", payload.serviceId, { explode: false, charEncoding: "none" }),
|
|
64
|
-
"x-apideck-app-id": (0, encodings_js_1.encodeSimple)("x-apideck-app-id", client._options.appId, { explode: false, charEncoding: "none" }),
|
|
65
|
-
"x-apideck-consumer-id": (0, encodings_js_1.encodeSimple)("x-apideck-consumer-id", client._options.consumerId, { explode: false, charEncoding: "none" }),
|
|
66
|
-
});
|
|
67
|
-
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
|
|
68
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
69
|
-
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
70
|
-
const context = {
|
|
71
|
-
operationID: "crm.pipelinesUpdate",
|
|
72
|
-
oAuth2Scopes: [],
|
|
73
|
-
resolvedSecurity: requestSecurity,
|
|
74
|
-
securitySource: client._options.apiKey,
|
|
75
|
-
retryConfig: options?.retries
|
|
76
|
-
|| client._options.retryConfig
|
|
77
|
-
|| {
|
|
78
|
-
strategy: "backoff",
|
|
79
|
-
backoff: {
|
|
80
|
-
initialInterval: 500,
|
|
81
|
-
maxInterval: 60000,
|
|
82
|
-
exponent: 1.5,
|
|
83
|
-
maxElapsedTime: 3600000,
|
|
84
|
-
},
|
|
85
|
-
retryConnectionErrors: true,
|
|
86
|
-
}
|
|
87
|
-
|| { strategy: "none" },
|
|
88
|
-
retryCodes: options?.retryCodes || ["5XX"],
|
|
89
|
-
};
|
|
90
|
-
const requestRes = client._createRequest(context, {
|
|
91
|
-
security: requestSecurity,
|
|
92
|
-
method: "PATCH",
|
|
93
|
-
baseURL: options?.serverURL,
|
|
94
|
-
path: path,
|
|
95
|
-
headers: headers,
|
|
96
|
-
query: query,
|
|
97
|
-
body: body,
|
|
98
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
99
|
-
}, options);
|
|
100
|
-
if (!requestRes.ok) {
|
|
101
|
-
return requestRes;
|
|
102
|
-
}
|
|
103
|
-
const req = requestRes.value;
|
|
104
|
-
const doResult = await client._do(req, {
|
|
105
|
-
context,
|
|
106
|
-
errorCodes: ["400", "401", "402", "404", "422", "4XX", "5XX"],
|
|
107
|
-
retryConfig: context.retryConfig,
|
|
108
|
-
retryCodes: context.retryCodes,
|
|
109
|
-
});
|
|
110
|
-
if (!doResult.ok) {
|
|
111
|
-
return doResult;
|
|
112
|
-
}
|
|
113
|
-
const response = doResult.value;
|
|
114
|
-
const responseFields = {
|
|
115
|
-
HttpMeta: { Response: response, Request: req },
|
|
116
|
-
};
|
|
117
|
-
const [result] = await M.match(M.json(200, operations.CrmPipelinesUpdateResponse$inboundSchema, {
|
|
118
|
-
key: "UpdatePipelineResponse",
|
|
119
|
-
}), M.jsonErr(400, errors.BadRequestResponse$inboundSchema), M.jsonErr(401, errors.UnauthorizedResponse$inboundSchema), M.jsonErr(402, errors.PaymentRequiredResponse$inboundSchema), M.jsonErr(404, errors.NotFoundResponse$inboundSchema), M.jsonErr(422, errors.UnprocessableResponse$inboundSchema), M.fail(["4XX", "5XX"]), M.json("default", operations.CrmPipelinesUpdateResponse$inboundSchema, {
|
|
120
|
-
key: "UnexpectedErrorResponse",
|
|
121
|
-
}))(response, req, { extraFields: responseFields });
|
|
122
|
-
if (!result.ok) {
|
|
123
|
-
return result;
|
|
124
|
-
}
|
|
125
|
-
return result;
|
|
126
|
-
}
|
|
127
|
-
//# sourceMappingURL=crmPipelinesUpdate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crmPipelinesUpdate.js","sourceRoot":"","sources":["../src/funcs/crmPipelinesUpdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AA4BH,gDA2JC;AApLD,sDAAgF;A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C,EAC5D,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,8BAA8B,CAAC,EACrD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,mCAAmC,CAAC,EAC1D,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,EACtB,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,wCAAwC,EAAE;QACrE,GAAG,EAAE,yBAAyB;KAC/B,CAAC,CACH,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { RFCDate } from "../../types/rfcdate.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
import { OutstandingBalanceBySupplier, OutstandingBalanceBySupplier$Outbound } from "./outstandingbalancebysupplier.js";
|
|
6
|
-
export type AgedCreditors = {
|
|
7
|
-
/**
|
|
8
|
-
* The exact date and time the report was generated.
|
|
9
|
-
*/
|
|
10
|
-
reportGeneratedAt?: Date | undefined;
|
|
11
|
-
/**
|
|
12
|
-
* The cutoff date for transactions included in the report.
|
|
13
|
-
*/
|
|
14
|
-
reportAsOfDate?: RFCDate | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Number of aging periods shown in the report.
|
|
17
|
-
*/
|
|
18
|
-
periodCount?: number | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* Length of each aging period in days.
|
|
21
|
-
*/
|
|
22
|
-
periodLength?: number | undefined;
|
|
23
|
-
outstandingBalances?: Array<OutstandingBalanceBySupplier> | undefined;
|
|
24
|
-
};
|
|
25
|
-
/** @internal */
|
|
26
|
-
export declare const AgedCreditors$inboundSchema: z.ZodType<AgedCreditors, z.ZodTypeDef, unknown>;
|
|
27
|
-
/** @internal */
|
|
28
|
-
export type AgedCreditors$Outbound = {
|
|
29
|
-
report_generated_at?: string | undefined;
|
|
30
|
-
report_as_of_date?: string | undefined;
|
|
31
|
-
period_count: number;
|
|
32
|
-
period_length: number;
|
|
33
|
-
outstanding_balances?: Array<OutstandingBalanceBySupplier$Outbound> | undefined;
|
|
34
|
-
};
|
|
35
|
-
/** @internal */
|
|
36
|
-
export declare const AgedCreditors$outboundSchema: z.ZodType<AgedCreditors$Outbound, z.ZodTypeDef, AgedCreditors>;
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
-
*/
|
|
41
|
-
export declare namespace AgedCreditors$ {
|
|
42
|
-
/** @deprecated use `AgedCreditors$inboundSchema` instead. */
|
|
43
|
-
const inboundSchema: z.ZodType<AgedCreditors, z.ZodTypeDef, unknown>;
|
|
44
|
-
/** @deprecated use `AgedCreditors$outboundSchema` instead. */
|
|
45
|
-
const outboundSchema: z.ZodType<AgedCreditors$Outbound, z.ZodTypeDef, AgedCreditors>;
|
|
46
|
-
/** @deprecated use `AgedCreditors$Outbound` instead. */
|
|
47
|
-
type Outbound = AgedCreditors$Outbound;
|
|
48
|
-
}
|
|
49
|
-
export declare function agedCreditorsToJSON(agedCreditors: AgedCreditors): string;
|
|
50
|
-
export declare function agedCreditorsFromJSON(jsonString: string): SafeParseResult<AgedCreditors, SDKValidationError>;
|
|
51
|
-
//# sourceMappingURL=agedcreditors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agedcreditors.d.ts","sourceRoot":"","sources":["../../src/models/components/agedcreditors.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,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AM,cAAc,gEAA+B,CAAC;IAC3D,wDAAwD;IACxD,KAAY,QAAQ,GAAG,sBAAsB,CAAC;CAC/C;AAED,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AAED,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
|
@@ -1,88 +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 (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.AgedCreditors$ = exports.AgedCreditors$outboundSchema = exports.AgedCreditors$inboundSchema = void 0;
|
|
30
|
-
exports.agedCreditorsToJSON = agedCreditorsToJSON;
|
|
31
|
-
exports.agedCreditorsFromJSON = agedCreditorsFromJSON;
|
|
32
|
-
const z = __importStar(require("zod"));
|
|
33
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
-
const rfcdate_js_1 = require("../../types/rfcdate.js");
|
|
36
|
-
const outstandingbalancebysupplier_js_1 = require("./outstandingbalancebysupplier.js");
|
|
37
|
-
/** @internal */
|
|
38
|
-
exports.AgedCreditors$inboundSchema = z.object({
|
|
39
|
-
report_generated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
|
|
40
|
-
report_as_of_date: z.string().transform(v => new rfcdate_js_1.RFCDate(v)).optional(),
|
|
41
|
-
period_count: z.number().int().default(4),
|
|
42
|
-
period_length: z.number().int().default(30),
|
|
43
|
-
outstanding_balances: z.array(outstandingbalancebysupplier_js_1.OutstandingBalanceBySupplier$inboundSchema)
|
|
44
|
-
.optional(),
|
|
45
|
-
}).transform((v) => {
|
|
46
|
-
return (0, primitives_js_1.remap)(v, {
|
|
47
|
-
"report_generated_at": "reportGeneratedAt",
|
|
48
|
-
"report_as_of_date": "reportAsOfDate",
|
|
49
|
-
"period_count": "periodCount",
|
|
50
|
-
"period_length": "periodLength",
|
|
51
|
-
"outstanding_balances": "outstandingBalances",
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
/** @internal */
|
|
55
|
-
exports.AgedCreditors$outboundSchema = z.object({
|
|
56
|
-
reportGeneratedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
57
|
-
reportAsOfDate: z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()).optional(),
|
|
58
|
-
periodCount: z.number().int().default(4),
|
|
59
|
-
periodLength: z.number().int().default(30),
|
|
60
|
-
outstandingBalances: z.array(outstandingbalancebysupplier_js_1.OutstandingBalanceBySupplier$outboundSchema)
|
|
61
|
-
.optional(),
|
|
62
|
-
}).transform((v) => {
|
|
63
|
-
return (0, primitives_js_1.remap)(v, {
|
|
64
|
-
reportGeneratedAt: "report_generated_at",
|
|
65
|
-
reportAsOfDate: "report_as_of_date",
|
|
66
|
-
periodCount: "period_count",
|
|
67
|
-
periodLength: "period_length",
|
|
68
|
-
outstandingBalances: "outstanding_balances",
|
|
69
|
-
});
|
|
70
|
-
});
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
74
|
-
*/
|
|
75
|
-
var AgedCreditors$;
|
|
76
|
-
(function (AgedCreditors$) {
|
|
77
|
-
/** @deprecated use `AgedCreditors$inboundSchema` instead. */
|
|
78
|
-
AgedCreditors$.inboundSchema = exports.AgedCreditors$inboundSchema;
|
|
79
|
-
/** @deprecated use `AgedCreditors$outboundSchema` instead. */
|
|
80
|
-
AgedCreditors$.outboundSchema = exports.AgedCreditors$outboundSchema;
|
|
81
|
-
})(AgedCreditors$ || (exports.AgedCreditors$ = AgedCreditors$ = {}));
|
|
82
|
-
function agedCreditorsToJSON(agedCreditors) {
|
|
83
|
-
return JSON.stringify(exports.AgedCreditors$outboundSchema.parse(agedCreditors));
|
|
84
|
-
}
|
|
85
|
-
function agedCreditorsFromJSON(jsonString) {
|
|
86
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgedCreditors$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgedCreditors' from JSON`);
|
|
87
|
-
}
|
|
88
|
-
//# sourceMappingURL=agedcreditors.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agedcreditors.js","sourceRoot":"","sources":["../../src/models/components/agedcreditors.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAyGH,kDAEC;AAED,sDAQC;AAnHD,uC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@@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { UnifiedId, UnifiedId$Outbound } from "./unifiedid.js";
|
|
5
|
-
/**
|
|
6
|
-
* Pipeline created
|
|
7
|
-
*/
|
|
8
|
-
export type CreatePipelineResponse = {
|
|
9
|
-
/**
|
|
10
|
-
* HTTP Response Status Code
|
|
11
|
-
*/
|
|
12
|
-
statusCode: number;
|
|
13
|
-
/**
|
|
14
|
-
* HTTP Response Status
|
|
15
|
-
*/
|
|
16
|
-
status: string;
|
|
17
|
-
/**
|
|
18
|
-
* Apideck ID of service provider
|
|
19
|
-
*/
|
|
20
|
-
service: string;
|
|
21
|
-
/**
|
|
22
|
-
* Unified API resource name
|
|
23
|
-
*/
|
|
24
|
-
resource: string;
|
|
25
|
-
/**
|
|
26
|
-
* Operation performed
|
|
27
|
-
*/
|
|
28
|
-
operation: string;
|
|
29
|
-
data: UnifiedId;
|
|
30
|
-
};
|
|
31
|
-
/** @internal */
|
|
32
|
-
export declare const CreatePipelineResponse$inboundSchema: z.ZodType<CreatePipelineResponse, z.ZodTypeDef, unknown>;
|
|
33
|
-
/** @internal */
|
|
34
|
-
export type CreatePipelineResponse$Outbound = {
|
|
35
|
-
status_code: number;
|
|
36
|
-
status: string;
|
|
37
|
-
service: string;
|
|
38
|
-
resource: string;
|
|
39
|
-
operation: string;
|
|
40
|
-
data: UnifiedId$Outbound;
|
|
41
|
-
};
|
|
42
|
-
/** @internal */
|
|
43
|
-
export declare const CreatePipelineResponse$outboundSchema: z.ZodType<CreatePipelineResponse$Outbound, z.ZodTypeDef, CreatePipelineResponse>;
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
-
*/
|
|
48
|
-
export declare namespace CreatePipelineResponse$ {
|
|
49
|
-
/** @deprecated use `CreatePipelineResponse$inboundSchema` instead. */
|
|
50
|
-
const inboundSchema: z.ZodType<CreatePipelineResponse, z.ZodTypeDef, unknown>;
|
|
51
|
-
/** @deprecated use `CreatePipelineResponse$outboundSchema` instead. */
|
|
52
|
-
const outboundSchema: z.ZodType<CreatePipelineResponse$Outbound, z.ZodTypeDef, CreatePipelineResponse>;
|
|
53
|
-
/** @deprecated use `CreatePipelineResponse$Outbound` instead. */
|
|
54
|
-
type Outbound = CreatePipelineResponse$Outbound;
|
|
55
|
-
}
|
|
56
|
-
export declare function createPipelineResponseToJSON(createPipelineResponse: CreatePipelineResponse): string;
|
|
57
|
-
export declare function createPipelineResponseFromJSON(jsonString: string): SafeParseResult<CreatePipelineResponse, SDKValidationError>;
|
|
58
|
-
//# sourceMappingURL=createpipelineresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createpipelineresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createpipelineresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,SAAS,EAET,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kBAAkB,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAYtB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,uBAAuB,CAAC;IACvC,sEAAsE;IAC/D,MAAM,aAAa,0DAAuC,CAAC;IAClE,uEAAuE;IAChE,MAAM,cAAc,kFAAwC,CAAC;IACpE,iEAAiE;IACjE,KAAY,QAAQ,GAAG,+BAA+B,CAAC;CACxD;AAED,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -1,79 +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 (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.CreatePipelineResponse$ = exports.CreatePipelineResponse$outboundSchema = exports.CreatePipelineResponse$inboundSchema = void 0;
|
|
30
|
-
exports.createPipelineResponseToJSON = createPipelineResponseToJSON;
|
|
31
|
-
exports.createPipelineResponseFromJSON = createPipelineResponseFromJSON;
|
|
32
|
-
const z = __importStar(require("zod"));
|
|
33
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
-
const unifiedid_js_1 = require("./unifiedid.js");
|
|
36
|
-
/** @internal */
|
|
37
|
-
exports.CreatePipelineResponse$inboundSchema = z.object({
|
|
38
|
-
status_code: z.number().int(),
|
|
39
|
-
status: z.string(),
|
|
40
|
-
service: z.string(),
|
|
41
|
-
resource: z.string(),
|
|
42
|
-
operation: z.string(),
|
|
43
|
-
data: unifiedid_js_1.UnifiedId$inboundSchema,
|
|
44
|
-
}).transform((v) => {
|
|
45
|
-
return (0, primitives_js_1.remap)(v, {
|
|
46
|
-
"status_code": "statusCode",
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
/** @internal */
|
|
50
|
-
exports.CreatePipelineResponse$outboundSchema = z.object({
|
|
51
|
-
statusCode: z.number().int(),
|
|
52
|
-
status: z.string(),
|
|
53
|
-
service: z.string(),
|
|
54
|
-
resource: z.string(),
|
|
55
|
-
operation: z.string(),
|
|
56
|
-
data: unifiedid_js_1.UnifiedId$outboundSchema,
|
|
57
|
-
}).transform((v) => {
|
|
58
|
-
return (0, primitives_js_1.remap)(v, {
|
|
59
|
-
statusCode: "status_code",
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
-
*/
|
|
66
|
-
var CreatePipelineResponse$;
|
|
67
|
-
(function (CreatePipelineResponse$) {
|
|
68
|
-
/** @deprecated use `CreatePipelineResponse$inboundSchema` instead. */
|
|
69
|
-
CreatePipelineResponse$.inboundSchema = exports.CreatePipelineResponse$inboundSchema;
|
|
70
|
-
/** @deprecated use `CreatePipelineResponse$outboundSchema` instead. */
|
|
71
|
-
CreatePipelineResponse$.outboundSchema = exports.CreatePipelineResponse$outboundSchema;
|
|
72
|
-
})(CreatePipelineResponse$ || (exports.CreatePipelineResponse$ = CreatePipelineResponse$ = {}));
|
|
73
|
-
function createPipelineResponseToJSON(createPipelineResponse) {
|
|
74
|
-
return JSON.stringify(exports.CreatePipelineResponse$outboundSchema.parse(createPipelineResponse));
|
|
75
|
-
}
|
|
76
|
-
function createPipelineResponseFromJSON(jsonString) {
|
|
77
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePipelineResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePipelineResponse' from JSON`);
|
|
78
|
-
}
|
|
79
|
-
//# sourceMappingURL=createpipelineresponse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createpipelineresponse.js","sourceRoot":"","sources":["../../src/models/components/createpipelineresponse.ts"],"names":[],"m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E;IAC1D,sCAAc,GAAG,6CAAqC,CAAC;AAGtE,CAAC,EAPgB,uBAAuB,uCAAvB,uBAAuB,QAOvC;AAED,SAAgB,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AAED,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { UnifiedId, UnifiedId$Outbound } from "./unifiedid.js";
|
|
5
|
-
/**
|
|
6
|
-
* Pipeline deleted
|
|
7
|
-
*/
|
|
8
|
-
export type DeletePipelineResponse = {
|
|
9
|
-
/**
|
|
10
|
-
* HTTP Response Status Code
|
|
11
|
-
*/
|
|
12
|
-
statusCode: number;
|
|
13
|
-
/**
|
|
14
|
-
* HTTP Response Status
|
|
15
|
-
*/
|
|
16
|
-
status: string;
|
|
17
|
-
/**
|
|
18
|
-
* Apideck ID of service provider
|
|
19
|
-
*/
|
|
20
|
-
service: string;
|
|
21
|
-
/**
|
|
22
|
-
* Unified API resource name
|
|
23
|
-
*/
|
|
24
|
-
resource: string;
|
|
25
|
-
/**
|
|
26
|
-
* Operation performed
|
|
27
|
-
*/
|
|
28
|
-
operation: string;
|
|
29
|
-
data: UnifiedId;
|
|
30
|
-
};
|
|
31
|
-
/** @internal */
|
|
32
|
-
export declare const DeletePipelineResponse$inboundSchema: z.ZodType<DeletePipelineResponse, z.ZodTypeDef, unknown>;
|
|
33
|
-
/** @internal */
|
|
34
|
-
export type DeletePipelineResponse$Outbound = {
|
|
35
|
-
status_code: number;
|
|
36
|
-
status: string;
|
|
37
|
-
service: string;
|
|
38
|
-
resource: string;
|
|
39
|
-
operation: string;
|
|
40
|
-
data: UnifiedId$Outbound;
|
|
41
|
-
};
|
|
42
|
-
/** @internal */
|
|
43
|
-
export declare const DeletePipelineResponse$outboundSchema: z.ZodType<DeletePipelineResponse$Outbound, z.ZodTypeDef, DeletePipelineResponse>;
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
-
*/
|
|
48
|
-
export declare namespace DeletePipelineResponse$ {
|
|
49
|
-
/** @deprecated use `DeletePipelineResponse$inboundSchema` instead. */
|
|
50
|
-
const inboundSchema: z.ZodType<DeletePipelineResponse, z.ZodTypeDef, unknown>;
|
|
51
|
-
/** @deprecated use `DeletePipelineResponse$outboundSchema` instead. */
|
|
52
|
-
const outboundSchema: z.ZodType<DeletePipelineResponse$Outbound, z.ZodTypeDef, DeletePipelineResponse>;
|
|
53
|
-
/** @deprecated use `DeletePipelineResponse$Outbound` instead. */
|
|
54
|
-
type Outbound = DeletePipelineResponse$Outbound;
|
|
55
|
-
}
|
|
56
|
-
export declare function deletePipelineResponseToJSON(deletePipelineResponse: DeletePipelineResponse): string;
|
|
57
|
-
export declare function deletePipelineResponseFromJSON(jsonString: string): SafeParseResult<DeletePipelineResponse, SDKValidationError>;
|
|
58
|
-
//# sourceMappingURL=deletepipelineresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deletepipelineresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/deletepipelineresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE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AAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -1,79 +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 (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.DeletePipelineResponse$ = exports.DeletePipelineResponse$outboundSchema = exports.DeletePipelineResponse$inboundSchema = void 0;
|
|
30
|
-
exports.deletePipelineResponseToJSON = deletePipelineResponseToJSON;
|
|
31
|
-
exports.deletePipelineResponseFromJSON = deletePipelineResponseFromJSON;
|
|
32
|
-
const z = __importStar(require("zod"));
|
|
33
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
-
const unifiedid_js_1 = require("./unifiedid.js");
|
|
36
|
-
/** @internal */
|
|
37
|
-
exports.DeletePipelineResponse$inboundSchema = z.object({
|
|
38
|
-
status_code: z.number().int(),
|
|
39
|
-
status: z.string(),
|
|
40
|
-
service: z.string(),
|
|
41
|
-
resource: z.string(),
|
|
42
|
-
operation: z.string(),
|
|
43
|
-
data: unifiedid_js_1.UnifiedId$inboundSchema,
|
|
44
|
-
}).transform((v) => {
|
|
45
|
-
return (0, primitives_js_1.remap)(v, {
|
|
46
|
-
"status_code": "statusCode",
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
/** @internal */
|
|
50
|
-
exports.DeletePipelineResponse$outboundSchema = z.object({
|
|
51
|
-
statusCode: z.number().int(),
|
|
52
|
-
status: z.string(),
|
|
53
|
-
service: z.string(),
|
|
54
|
-
resource: z.string(),
|
|
55
|
-
operation: z.string(),
|
|
56
|
-
data: unifiedid_js_1.UnifiedId$outboundSchema,
|
|
57
|
-
}).transform((v) => {
|
|
58
|
-
return (0, primitives_js_1.remap)(v, {
|
|
59
|
-
statusCode: "status_code",
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
-
*/
|
|
66
|
-
var DeletePipelineResponse$;
|
|
67
|
-
(function (DeletePipelineResponse$) {
|
|
68
|
-
/** @deprecated use `DeletePipelineResponse$inboundSchema` instead. */
|
|
69
|
-
DeletePipelineResponse$.inboundSchema = exports.DeletePipelineResponse$inboundSchema;
|
|
70
|
-
/** @deprecated use `DeletePipelineResponse$outboundSchema` instead. */
|
|
71
|
-
DeletePipelineResponse$.outboundSchema = exports.DeletePipelineResponse$outboundSchema;
|
|
72
|
-
})(DeletePipelineResponse$ || (exports.DeletePipelineResponse$ = DeletePipelineResponse$ = {}));
|
|
73
|
-
function deletePipelineResponseToJSON(deletePipelineResponse) {
|
|
74
|
-
return JSON.stringify(exports.DeletePipelineResponse$outboundSchema.parse(deletePipelineResponse));
|
|
75
|
-
}
|
|
76
|
-
function deletePipelineResponseFromJSON(jsonString) {
|
|
77
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeletePipelineResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeletePipelineResponse' from JSON`);
|
|
78
|
-
}
|
|
79
|
-
//# sourceMappingURL=deletepipelineresponse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deletepipelineresponse.js","sourceRoot":"","sources":["../../src/models/components/deletepipelineresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAoGH,oEAMC;AAED,wEAQC;AAlHD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,iDAKwB;AA6BxB,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC7B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,sCAAuB;CAC9B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,YAAY;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAYH,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC5B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,uCAAwB;CAC/B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACtC,sEAAsE;IACzD,qCAAa,GAAG,4CAAoC,CAAC;IAClE,uEAAuE;IAC1D,sCAAc,GAAG,6CAAqC,CAAC;AAGtE,CAAC,EAPgB,uBAAuB,uCAAvB,uBAAuB,QAOvC;AAED,SAAgB,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AAED,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { AgedCreditors, AgedCreditors$Outbound } from "./agedcreditors.js";
|
|
5
|
-
/**
|
|
6
|
-
* Aged Creditors
|
|
7
|
-
*/
|
|
8
|
-
export type GetAgedCreditorsResponse = {
|
|
9
|
-
/**
|
|
10
|
-
* HTTP Response Status Code
|
|
11
|
-
*/
|
|
12
|
-
statusCode: number;
|
|
13
|
-
/**
|
|
14
|
-
* HTTP Response Status
|
|
15
|
-
*/
|
|
16
|
-
status: string;
|
|
17
|
-
/**
|
|
18
|
-
* Apideck ID of service provider
|
|
19
|
-
*/
|
|
20
|
-
service: string;
|
|
21
|
-
/**
|
|
22
|
-
* Unified API resource name
|
|
23
|
-
*/
|
|
24
|
-
resource: string;
|
|
25
|
-
/**
|
|
26
|
-
* Operation performed
|
|
27
|
-
*/
|
|
28
|
-
operation: string;
|
|
29
|
-
data: AgedCreditors;
|
|
30
|
-
};
|
|
31
|
-
/** @internal */
|
|
32
|
-
export declare const GetAgedCreditorsResponse$inboundSchema: z.ZodType<GetAgedCreditorsResponse, z.ZodTypeDef, unknown>;
|
|
33
|
-
/** @internal */
|
|
34
|
-
export type GetAgedCreditorsResponse$Outbound = {
|
|
35
|
-
status_code: number;
|
|
36
|
-
status: string;
|
|
37
|
-
service: string;
|
|
38
|
-
resource: string;
|
|
39
|
-
operation: string;
|
|
40
|
-
data: AgedCreditors$Outbound;
|
|
41
|
-
};
|
|
42
|
-
/** @internal */
|
|
43
|
-
export declare const GetAgedCreditorsResponse$outboundSchema: z.ZodType<GetAgedCreditorsResponse$Outbound, z.ZodTypeDef, GetAgedCreditorsResponse>;
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
-
*/
|
|
48
|
-
export declare namespace GetAgedCreditorsResponse$ {
|
|
49
|
-
/** @deprecated use `GetAgedCreditorsResponse$inboundSchema` instead. */
|
|
50
|
-
const inboundSchema: z.ZodType<GetAgedCreditorsResponse, z.ZodTypeDef, unknown>;
|
|
51
|
-
/** @deprecated use `GetAgedCreditorsResponse$outboundSchema` instead. */
|
|
52
|
-
const outboundSchema: z.ZodType<GetAgedCreditorsResponse$Outbound, z.ZodTypeDef, GetAgedCreditorsResponse>;
|
|
53
|
-
/** @deprecated use `GetAgedCreditorsResponse$Outbound` instead. */
|
|
54
|
-
type Outbound = GetAgedCreditorsResponse$Outbound;
|
|
55
|
-
}
|
|
56
|
-
export declare function getAgedCreditorsResponseToJSON(getAgedCreditorsResponse: GetAgedCreditorsResponse): string;
|
|
57
|
-
export declare function getAgedCreditorsResponseFromJSON(jsonString: string): SafeParseResult<GetAgedCreditorsResponse, SDKValidationError>;
|
|
58
|
-
//# sourceMappingURL=getagedcreditorsresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getagedcreditorsresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getagedcreditorsresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,C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