@paygentic/sdk 0.10.5 → 0.10.7
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/dist/commonjs/funcs/billableMetricsListEvents.d.ts +1 -1
- package/dist/commonjs/funcs/billableMetricsListEvents.js +1 -1
- package/dist/commonjs/funcs/externalReferencesDeleteExternalReference.js +2 -2
- package/dist/commonjs/funcs/externalReferencesDeleteExternalReference.js.map +1 -1
- package/dist/commonjs/funcs/testClocksAdvance.d.ts +1 -1
- package/dist/commonjs/funcs/testClocksAdvance.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/entitytype.d.ts +8 -6
- package/dist/commonjs/models/entitytype.d.ts.map +1 -1
- package/dist/commonjs/models/entitytype.js +6 -5
- package/dist/commonjs/models/entitytype.js.map +1 -1
- package/dist/commonjs/models/entitytypeinput.d.ts +16 -0
- package/dist/commonjs/models/entitytypeinput.d.ts.map +1 -0
- package/dist/commonjs/models/entitytypeinput.js +50 -0
- package/dist/commonjs/models/entitytypeinput.js.map +1 -0
- package/dist/commonjs/models/errors/deletecustomer.d.ts +8 -0
- package/dist/commonjs/models/errors/deletecustomer.d.ts.map +1 -1
- package/dist/commonjs/models/errors/deletecustomer.js +3 -0
- package/dist/commonjs/models/errors/deletecustomer.js.map +1 -1
- package/dist/commonjs/models/errors/deletefee.d.ts +8 -0
- package/dist/commonjs/models/errors/deletefee.d.ts.map +1 -1
- package/dist/commonjs/models/errors/deletefee.js +3 -0
- package/dist/commonjs/models/errors/deletefee.js.map +1 -1
- package/dist/commonjs/models/errors/deleteprice.d.ts +8 -0
- package/dist/commonjs/models/errors/deleteprice.d.ts.map +1 -1
- package/dist/commonjs/models/errors/deleteprice.js +3 -0
- package/dist/commonjs/models/errors/deleteprice.js.map +1 -1
- package/dist/commonjs/models/errors/error.d.ts +8 -0
- package/dist/commonjs/models/errors/error.d.ts.map +1 -1
- package/dist/commonjs/models/errors/error.js +3 -0
- package/dist/commonjs/models/errors/error.js.map +1 -1
- package/dist/commonjs/models/errors/recordinvoicepayment.d.ts +8 -0
- package/dist/commonjs/models/errors/recordinvoicepayment.d.ts.map +1 -1
- package/dist/commonjs/models/errors/recordinvoicepayment.js +3 -0
- package/dist/commonjs/models/errors/recordinvoicepayment.js.map +1 -1
- package/dist/commonjs/models/errors/retrypaymentresponseerror.d.ts +8 -0
- package/dist/commonjs/models/errors/retrypaymentresponseerror.d.ts.map +1 -1
- package/dist/commonjs/models/errors/retrypaymentresponseerror.js +3 -0
- package/dist/commonjs/models/errors/retrypaymentresponseerror.js.map +1 -1
- package/dist/commonjs/models/errors/updateprice.d.ts +8 -0
- package/dist/commonjs/models/errors/updateprice.d.ts.map +1 -1
- package/dist/commonjs/models/errors/updateprice.js +3 -0
- package/dist/commonjs/models/errors/updateprice.js.map +1 -1
- package/dist/commonjs/models/errors/validationerror.d.ts +8 -0
- package/dist/commonjs/models/errors/validationerror.d.ts.map +1 -1
- package/dist/commonjs/models/errors/validationerror.js +3 -0
- package/dist/commonjs/models/errors/validationerror.js.map +1 -1
- package/dist/commonjs/models/externalreference.d.ts +1 -1
- package/dist/commonjs/models/index.d.ts +1 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +1 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/operations/createexternalreference.d.ts +2 -2
- package/dist/commonjs/models/operations/createexternalreference.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createexternalreference.js +1 -1
- package/dist/commonjs/models/operations/createexternalreference.js.map +1 -1
- package/dist/commonjs/models/operations/getbillablemetricmeter.d.ts +1 -1
- package/dist/commonjs/models/operations/getcostsummary.d.ts +1 -1
- package/dist/commonjs/models/operations/listbillablemetricevents.d.ts +1 -1
- package/dist/commonjs/models/operations/updatesubscription.d.ts +0 -1
- package/dist/commonjs/models/operations/updatesubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatesubscription.js +0 -1
- package/dist/commonjs/models/operations/updatesubscription.js.map +1 -1
- package/dist/commonjs/models/permission.d.ts +1 -0
- package/dist/commonjs/models/permission.d.ts.map +1 -1
- package/dist/commonjs/models/permission.js +1 -0
- package/dist/commonjs/models/permission.js.map +1 -1
- package/dist/commonjs/models/retrypaymentresponse.d.ts +4 -0
- package/dist/commonjs/models/retrypaymentresponse.d.ts.map +1 -1
- package/dist/commonjs/models/retrypaymentresponse.js +1 -0
- package/dist/commonjs/models/retrypaymentresponse.js.map +1 -1
- package/dist/commonjs/sdk/billablemetrics.d.ts +1 -1
- package/dist/commonjs/sdk/billablemetrics.js +1 -1
- package/dist/commonjs/sdk/testclocks.d.ts +1 -1
- package/dist/commonjs/sdk/testclocks.js +1 -1
- package/dist/esm/funcs/billableMetricsListEvents.d.ts +1 -1
- package/dist/esm/funcs/billableMetricsListEvents.js +1 -1
- package/dist/esm/funcs/externalReferencesDeleteExternalReference.js +2 -2
- package/dist/esm/funcs/externalReferencesDeleteExternalReference.js.map +1 -1
- package/dist/esm/funcs/testClocksAdvance.d.ts +1 -1
- package/dist/esm/funcs/testClocksAdvance.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/entitytype.d.ts +8 -6
- package/dist/esm/models/entitytype.d.ts.map +1 -1
- package/dist/esm/models/entitytype.js +6 -5
- package/dist/esm/models/entitytype.js.map +1 -1
- package/dist/esm/models/entitytypeinput.d.ts +16 -0
- package/dist/esm/models/entitytypeinput.d.ts.map +1 -0
- package/dist/esm/models/entitytypeinput.js +14 -0
- package/dist/esm/models/entitytypeinput.js.map +1 -0
- package/dist/esm/models/errors/deletecustomer.d.ts +8 -0
- package/dist/esm/models/errors/deletecustomer.d.ts.map +1 -1
- package/dist/esm/models/errors/deletecustomer.js +3 -0
- package/dist/esm/models/errors/deletecustomer.js.map +1 -1
- package/dist/esm/models/errors/deletefee.d.ts +8 -0
- package/dist/esm/models/errors/deletefee.d.ts.map +1 -1
- package/dist/esm/models/errors/deletefee.js +3 -0
- package/dist/esm/models/errors/deletefee.js.map +1 -1
- package/dist/esm/models/errors/deleteprice.d.ts +8 -0
- package/dist/esm/models/errors/deleteprice.d.ts.map +1 -1
- package/dist/esm/models/errors/deleteprice.js +3 -0
- package/dist/esm/models/errors/deleteprice.js.map +1 -1
- package/dist/esm/models/errors/error.d.ts +8 -0
- package/dist/esm/models/errors/error.d.ts.map +1 -1
- package/dist/esm/models/errors/error.js +3 -0
- package/dist/esm/models/errors/error.js.map +1 -1
- package/dist/esm/models/errors/recordinvoicepayment.d.ts +8 -0
- package/dist/esm/models/errors/recordinvoicepayment.d.ts.map +1 -1
- package/dist/esm/models/errors/recordinvoicepayment.js +3 -0
- package/dist/esm/models/errors/recordinvoicepayment.js.map +1 -1
- package/dist/esm/models/errors/retrypaymentresponseerror.d.ts +8 -0
- package/dist/esm/models/errors/retrypaymentresponseerror.d.ts.map +1 -1
- package/dist/esm/models/errors/retrypaymentresponseerror.js +3 -0
- package/dist/esm/models/errors/retrypaymentresponseerror.js.map +1 -1
- package/dist/esm/models/errors/updateprice.d.ts +8 -0
- package/dist/esm/models/errors/updateprice.d.ts.map +1 -1
- package/dist/esm/models/errors/updateprice.js +3 -0
- package/dist/esm/models/errors/updateprice.js.map +1 -1
- package/dist/esm/models/errors/validationerror.d.ts +8 -0
- package/dist/esm/models/errors/validationerror.d.ts.map +1 -1
- package/dist/esm/models/errors/validationerror.js +3 -0
- package/dist/esm/models/errors/validationerror.js.map +1 -1
- package/dist/esm/models/externalreference.d.ts +1 -1
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/operations/createexternalreference.d.ts +2 -2
- package/dist/esm/models/operations/createexternalreference.d.ts.map +1 -1
- package/dist/esm/models/operations/createexternalreference.js +1 -1
- package/dist/esm/models/operations/createexternalreference.js.map +1 -1
- package/dist/esm/models/operations/getbillablemetricmeter.d.ts +1 -1
- package/dist/esm/models/operations/getcostsummary.d.ts +1 -1
- package/dist/esm/models/operations/listbillablemetricevents.d.ts +1 -1
- package/dist/esm/models/operations/updatesubscription.d.ts +0 -1
- package/dist/esm/models/operations/updatesubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/updatesubscription.js +0 -1
- package/dist/esm/models/operations/updatesubscription.js.map +1 -1
- package/dist/esm/models/permission.d.ts +1 -0
- package/dist/esm/models/permission.d.ts.map +1 -1
- package/dist/esm/models/permission.js +1 -0
- package/dist/esm/models/permission.js.map +1 -1
- package/dist/esm/models/retrypaymentresponse.d.ts +4 -0
- package/dist/esm/models/retrypaymentresponse.d.ts.map +1 -1
- package/dist/esm/models/retrypaymentresponse.js +1 -0
- package/dist/esm/models/retrypaymentresponse.js.map +1 -1
- package/dist/esm/sdk/billablemetrics.d.ts +1 -1
- package/dist/esm/sdk/billablemetrics.js +1 -1
- package/dist/esm/sdk/testclocks.d.ts +1 -1
- package/dist/esm/sdk/testclocks.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/billableMetricsListEvents.ts +1 -1
- package/src/funcs/externalReferencesDeleteExternalReference.ts +2 -2
- package/src/funcs/testClocksAdvance.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/entitytype.ts +17 -8
- package/src/models/entitytypeinput.ts +23 -0
- package/src/models/errors/deletecustomer.ts +10 -0
- package/src/models/errors/deletefee.ts +10 -0
- package/src/models/errors/deleteprice.ts +10 -0
- package/src/models/errors/error.ts +10 -0
- package/src/models/errors/recordinvoicepayment.ts +10 -0
- package/src/models/errors/retrypaymentresponseerror.ts +10 -0
- package/src/models/errors/updateprice.ts +10 -0
- package/src/models/errors/validationerror.ts +10 -0
- package/src/models/externalreference.ts +1 -1
- package/src/models/index.ts +1 -0
- package/src/models/operations/createexternalreference.ts +3 -3
- package/src/models/operations/getbillablemetricmeter.ts +1 -1
- package/src/models/operations/getcostsummary.ts +1 -1
- package/src/models/operations/listbillablemetricevents.ts +1 -1
- package/src/models/operations/updatesubscription.ts +0 -1
- package/src/models/permission.ts +1 -0
- package/src/models/retrypaymentresponse.ts +5 -0
- package/src/sdk/billablemetrics.ts +1 -1
- package/src/sdk/testclocks.ts +1 -1
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* List Meter Events
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* List raw underlying events for a billable metric from the metering service. Returns events ordered by time descending.
|
|
16
|
+
* List raw underlying events for a billable metric from the metering service. Returns events ordered by time descending. Events before the metric's `eventFrom` are left out, as its usage leaves them out.
|
|
17
17
|
*/
|
|
18
18
|
export declare function billableMetricsListEvents(client: PaygenticCore, request: operations.ListBillableMetricEventsRequest, options?: RequestOptions): APIPromise<Result<models.MeterEventList, errors.BadRequest | errors.ErrorT | PaygenticError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
19
|
//# sourceMappingURL=billableMetricsListEvents.d.ts.map
|
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* List Meter Events
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* List raw underlying events for a billable metric from the metering service. Returns events ordered by time descending.
|
|
54
|
+
* List raw underlying events for a billable metric from the metering service. Returns events ordered by time descending. Events before the metric's `eventFrom` are left out, as its usage leaves them out.
|
|
55
55
|
*/
|
|
56
56
|
function billableMetricsListEvents(client, request, options) {
|
|
57
57
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -101,7 +101,7 @@ async function $do(client, request, options) {
|
|
|
101
101
|
const req = requestRes.value;
|
|
102
102
|
const doResult = await client._do(req, {
|
|
103
103
|
context,
|
|
104
|
-
errorCodes: ["401", "403", "404", "4XX", "500", "5XX"],
|
|
104
|
+
errorCodes: ["401", "403", "404", "409", "4XX", "500", "5XX"],
|
|
105
105
|
retryConfig: context.retryConfig,
|
|
106
106
|
retryCodes: context.retryCodes,
|
|
107
107
|
});
|
|
@@ -112,7 +112,7 @@ async function $do(client, request, options) {
|
|
|
112
112
|
const responseFields = {
|
|
113
113
|
HttpMeta: { Response: response, Request: req },
|
|
114
114
|
};
|
|
115
|
-
const [result] = await M.match(M.nil(204, z.void()), M.jsonErr([401, 403, 404], errors.ErrorT$inboundSchema), M.jsonErr(500, errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
115
|
+
const [result] = await M.match(M.nil(204, z.void()), M.jsonErr([401, 403, 404, 409], errors.ErrorT$inboundSchema), M.jsonErr(500, errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
116
116
|
if (!result.ok) {
|
|
117
117
|
return [result, { status: "complete", request: req, response }];
|
|
118
118
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"externalReferencesDeleteExternalReference.js","sourceRoot":"","sources":["../../../src/funcs/externalReferencesDeleteExternalReference.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BH,8FAuBC;AAlDD,0CAA4B;AAE5B,sDAAmD;AACnD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,0EAA4D;AAC5D,gDAAwD;AAGxD;;GAEG;AACH,SAAgB,yCAAyC,CACvD,MAAqB,EACrB,OAAkD,EAClD,OAAwB;IAexB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAqB,EACrB,OAAkD,EAClD,OAAwB;IAkBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAA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C1C,WAAW,EAAE,OAAO,EAAE,OAAO;eACxB,MAAM,CAAC,QAAQ,CAAC,WAAW;eAC3B,EAAE,QAAQ,EAAE,MAAM,EAAE;QACzB,UAAU,EAAE,OAAO,EAAE,UAAU,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;KACvE,CAAC;IAEF,MAAM,UAAU,GAAG,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE;QAChD,QAAQ,EAAE,eAAe;QACzB,MAAM,EAAE,QAAQ;QAChB,OAAO,EAAE,OAAO,EAAE,SAAS;QAC3B,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,IAAI;QACV,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,SAAS;QACpC,SAAS,EAAE,OAAO,EAAE,SAAS,IAAI,MAAM,CAAC,QAAQ,CAAC,SAAS,IAAI,CAAC,CAAC;KACjE,EAAE,OAAO,CAAC,CAAC;IACZ,IAAI,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC;QACnB,OAAO,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IAC7C,CAAC;IACD,MAAM,GAAG,GAAG,UAAU,CAAC,KAAK,CAAC;IAE7B,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;QACrC,OAAO;QACP,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"externalReferencesDeleteExternalReference.js","sourceRoot":"","sources":["../../../src/funcs/externalReferencesDeleteExternalReference.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BH,8FAuBC;AAlDD,0CAA4B;AAE5B,sDAAmD;AACnD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;A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UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* Advance
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Advances the test clock's current time. You can either specify a new absolute time or advance by a duration.
|
|
16
|
+
* Advances the test clock's current time. You can either specify a new absolute time or advance by a duration. A clock moves forward only, and at most 1 year per call: a time earlier than the clock's current time, or more than 1 year after it, returns 400. To move further, advance more than once.
|
|
17
17
|
*/
|
|
18
18
|
export declare function testClocksAdvance(client: PaygenticCore, request: operations.AdvanceTestClockRequest, options?: RequestOptions): APIPromise<Result<models.TestClock, errors.ErrorT | PaygenticError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
19
|
//# sourceMappingURL=testClocksAdvance.d.ts.map
|
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* Advance
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Advances the test clock's current time. You can either specify a new absolute time or advance by a duration.
|
|
54
|
+
* Advances the test clock's current time. You can either specify a new absolute time or advance by a duration. A clock moves forward only, and at most 1 year per call: a time earlier than the clock's current time, or more than 1 year after it, returns 400. To move further, advance more than once.
|
|
55
55
|
*/
|
|
56
56
|
function testClocksAdvance(client, request, options) {
|
|
57
57
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -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.1.0";
|
|
34
|
-
readonly sdkVersion: "0.10.
|
|
34
|
+
readonly sdkVersion: "0.10.7";
|
|
35
35
|
readonly genVersion: "2.879.13";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.10.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.10.7 2.879.13 0.1.0 @paygentic/sdk";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
|
|
|
35
35
|
exports.SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
37
|
openapiDocVersion: "0.1.0",
|
|
38
|
-
sdkVersion: "0.10.
|
|
38
|
+
sdkVersion: "0.10.7",
|
|
39
39
|
genVersion: "2.879.13",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.10.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.10.7 2.879.13 0.1.0 @paygentic/sdk",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
-
import {
|
|
2
|
+
import { OpenEnum } from "../types/enums.js";
|
|
3
3
|
/**
|
|
4
|
-
* The type of Paygentic entity this external reference points at
|
|
4
|
+
* The type of Paygentic entity this external reference points at. `subscriptionProposal` and `subscription` references link a subscription proposal, and the subscription its approval creates, to the CRM record they come from. They are read-only through these endpoints.
|
|
5
5
|
*/
|
|
6
6
|
export declare const EntityType: {
|
|
7
7
|
readonly Item: "item";
|
|
8
8
|
readonly Customer: "customer";
|
|
9
|
+
readonly SubscriptionProposal: "subscriptionProposal";
|
|
10
|
+
readonly Subscription: "subscription";
|
|
9
11
|
};
|
|
10
12
|
/**
|
|
11
|
-
* The type of Paygentic entity this external reference points at
|
|
13
|
+
* The type of Paygentic entity this external reference points at. `subscriptionProposal` and `subscription` references link a subscription proposal, and the subscription its approval creates, to the CRM record they come from. They are read-only through these endpoints.
|
|
12
14
|
*/
|
|
13
|
-
export type EntityType =
|
|
15
|
+
export type EntityType = OpenEnum<typeof EntityType>;
|
|
14
16
|
/** @internal */
|
|
15
|
-
export declare const EntityType$inboundSchema: z.
|
|
17
|
+
export declare const EntityType$inboundSchema: z.ZodType<EntityType, z.ZodTypeDef, unknown>;
|
|
16
18
|
/** @internal */
|
|
17
|
-
export declare const EntityType$outboundSchema: z.
|
|
19
|
+
export declare const EntityType$outboundSchema: z.ZodType<string, z.ZodTypeDef, EntityType>;
|
|
18
20
|
//# sourceMappingURL=entitytype.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitytype.d.ts","sourceRoot":"","sources":["../../../src/models/entitytype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"entitytype.d.ts","sourceRoot":"","sources":["../../../src/models/entitytype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAErD,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CAC8B,CAAC;AACxC,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,MAAM,EACN,CAAC,CAAC,UAAU,EACZ,UAAU,CAC4B,CAAC"}
|
|
@@ -37,17 +37,18 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.EntityType$outboundSchema = exports.EntityType$inboundSchema = exports.EntityType = void 0;
|
|
40
|
-
const
|
|
40
|
+
const openEnums = __importStar(require("../types/enums.js"));
|
|
41
41
|
/**
|
|
42
|
-
* The type of Paygentic entity this external reference points at
|
|
42
|
+
* The type of Paygentic entity this external reference points at. `subscriptionProposal` and `subscription` references link a subscription proposal, and the subscription its approval creates, to the CRM record they come from. They are read-only through these endpoints.
|
|
43
43
|
*/
|
|
44
44
|
exports.EntityType = {
|
|
45
45
|
Item: "item",
|
|
46
46
|
Customer: "customer",
|
|
47
|
+
SubscriptionProposal: "subscriptionProposal",
|
|
48
|
+
Subscription: "subscription",
|
|
47
49
|
};
|
|
48
50
|
/** @internal */
|
|
49
|
-
exports.EntityType$inboundSchema =
|
|
50
|
-
.nativeEnum(exports.EntityType);
|
|
51
|
+
exports.EntityType$inboundSchema = openEnums.inboundSchema(exports.EntityType);
|
|
51
52
|
/** @internal */
|
|
52
|
-
exports.EntityType$outboundSchema = exports.EntityType
|
|
53
|
+
exports.EntityType$outboundSchema = openEnums.outboundSchema(exports.EntityType);
|
|
53
54
|
//# sourceMappingURL=entitytype.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitytype.js","sourceRoot":"","sources":["../../../src/models/entitytype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"entitytype.js","sourceRoot":"","sources":["../../../src/models/entitytype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,6DAA+C;AAG/C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,oBAAoB,EAAE,sBAAsB;IAC5C,YAAY,EAAE,cAAc;CACpB,CAAC;AAMX,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,SAAS,CAAC,aAAa,CAAC,kBAAU,CAAC,CAAC;AACxC,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,SAAS,CAAC,cAAc,CAAC,kBAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* The type of Paygentic entity a new external reference points at
|
|
5
|
+
*/
|
|
6
|
+
export declare const EntityTypeInput: {
|
|
7
|
+
readonly Item: "item";
|
|
8
|
+
readonly Customer: "customer";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* The type of Paygentic entity a new external reference points at
|
|
12
|
+
*/
|
|
13
|
+
export type EntityTypeInput = ClosedEnum<typeof EntityTypeInput>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const EntityTypeInput$outboundSchema: z.ZodNativeEnum<typeof EntityTypeInput>;
|
|
16
|
+
//# sourceMappingURL=entitytypeinput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitytypeinput.d.ts","sourceRoot":"","sources":["../../../src/models/entitytypeinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,eAAe,CACS,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.EntityTypeInput$outboundSchema = exports.EntityTypeInput = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
/**
|
|
42
|
+
* The type of Paygentic entity a new external reference points at
|
|
43
|
+
*/
|
|
44
|
+
exports.EntityTypeInput = {
|
|
45
|
+
Item: "item",
|
|
46
|
+
Customer: "customer",
|
|
47
|
+
};
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.EntityTypeInput$outboundSchema = z.nativeEnum(exports.EntityTypeInput);
|
|
50
|
+
//# sourceMappingURL=entitytypeinput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitytypeinput.js","sourceRoot":"","sources":["../../../src/models/entitytypeinput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;CACZ,CAAC;AAMX,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,CAAC,CAAC,UAAU,CAAC,uBAAe,CAAC,CAAC"}
|
|
@@ -5,6 +5,10 @@ import { PaygenticError } from "./paygenticerror.js";
|
|
|
5
5
|
* Customer cannot be deleted due to active dependencies
|
|
6
6
|
*/
|
|
7
7
|
export type DeleteCustomerConflictErrorData = {
|
|
8
|
+
/**
|
|
9
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
10
|
+
*/
|
|
11
|
+
requestId?: string | undefined;
|
|
8
12
|
error?: operations.ErrorT | undefined;
|
|
9
13
|
message?: string | undefined;
|
|
10
14
|
details?: operations.DeleteCustomerDetails | undefined;
|
|
@@ -13,6 +17,10 @@ export type DeleteCustomerConflictErrorData = {
|
|
|
13
17
|
* Customer cannot be deleted due to active dependencies
|
|
14
18
|
*/
|
|
15
19
|
export declare class DeleteCustomerConflictError extends PaygenticError {
|
|
20
|
+
/**
|
|
21
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
22
|
+
*/
|
|
23
|
+
requestId?: string | undefined;
|
|
16
24
|
error?: operations.ErrorT | undefined;
|
|
17
25
|
details?: operations.DeleteCustomerDetails | undefined;
|
|
18
26
|
/** The original data that was passed to this error instance. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deletecustomer.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/deletecustomer.ts"],"names":[],"mappings":"AAIA,OAA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,CAAC;CACxD,CAAC;AAEF;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,cAAc;IAC7D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,UAAU,CAAC,MAAM,GAAG,SAAS,CAAC;IACtC,OAAO,CAAC,EAAE,UAAU,CAAC,qBAAqB,GAAG,SAAS,CAAC;IAEvD,gEAAgE;IAChE,KAAK,EAAE,+BAA+B,CAAC;gBAGrC,GAAG,EAAE,+BAA+B,EACpC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAWnE;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAiBL,CAAC"}
|
|
@@ -48,6 +48,8 @@ class DeleteCustomerConflictError extends paygenticerror_js_1.PaygenticError {
|
|
|
48
48
|
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
49
49
|
super(message, httpMeta);
|
|
50
50
|
this.data$ = err;
|
|
51
|
+
if (err.requestId != null)
|
|
52
|
+
this.requestId = err.requestId;
|
|
51
53
|
if (err.error != null)
|
|
52
54
|
this.error = err.error;
|
|
53
55
|
if (err.details != null)
|
|
@@ -58,6 +60,7 @@ class DeleteCustomerConflictError extends paygenticerror_js_1.PaygenticError {
|
|
|
58
60
|
exports.DeleteCustomerConflictError = DeleteCustomerConflictError;
|
|
59
61
|
/** @internal */
|
|
60
62
|
exports.DeleteCustomerConflictError$inboundSchema = z.object({
|
|
63
|
+
requestId: z.string().optional(),
|
|
61
64
|
error: operations.ErrorT$inboundSchema.optional(),
|
|
62
65
|
message: z.string().optional(),
|
|
63
66
|
details: z.lazy(() => operations.DeleteCustomerDetails$inboundSchema)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deletecustomer.js","sourceRoot":"","sources":["../../../../src/models/errors/deletecustomer.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,mEAAqD;AACrD,2DAAqD;
|
|
1
|
+
{"version":3,"file":"deletecustomer.js","sourceRoot":"","sources":["../../../../src/models/errors/deletecustomer.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,mEAAqD;AACrD,2DAAqD;AAerD;;GAEG;AACH,MAAa,2BAA4B,SAAQ,kCAAc;IAW7D,YACE,GAAoC,EACpC,QAAgE;QAEhE,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,IAAI,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5E,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,GAAG,CAAC,SAAS,IAAI,IAAI;YAAE,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QAC1D,IAAI,GAAG,CAAC,KAAK,IAAI,IAAI;YAAE,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QAC9C,IAAI,GAAG,CAAC,OAAO,IAAI,IAAI;YAAE,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAEpD,IAAI,CAAC,IAAI,GAAG,6BAA6B,CAAC;IAC5C,CAAC;CACF;AAxBD,kEAwBC;AAED,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,UAAU,CAAC,oBAAoB,CAAC,QAAQ,EAAE;IACjD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,mCAAmC,CAAC;SAClE,QAAQ,EAAE;IACb,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,2BAA2B,CAAC,CAAC,EAAE;QACxC,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -5,6 +5,10 @@ import { PaygenticError } from "./paygenticerror.js";
|
|
|
5
5
|
* Fee cannot be deleted because it has associated prices
|
|
6
6
|
*/
|
|
7
7
|
export type DeleteFeeConflictErrorData = {
|
|
8
|
+
/**
|
|
9
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
10
|
+
*/
|
|
11
|
+
requestId?: string | undefined;
|
|
8
12
|
error?: string | undefined;
|
|
9
13
|
message?: string | undefined;
|
|
10
14
|
details?: operations.DeleteFeeDetails | undefined;
|
|
@@ -13,6 +17,10 @@ export type DeleteFeeConflictErrorData = {
|
|
|
13
17
|
* Fee cannot be deleted because it has associated prices
|
|
14
18
|
*/
|
|
15
19
|
export declare class DeleteFeeConflictError extends PaygenticError {
|
|
20
|
+
/**
|
|
21
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
22
|
+
*/
|
|
23
|
+
requestId?: string | undefined;
|
|
16
24
|
error?: string | undefined;
|
|
17
25
|
details?: operations.DeleteFeeDetails | undefined;
|
|
18
26
|
/** The original data that was passed to this error instance. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deletefee.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/deletefee.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,UAAU,CAAC,gBAAgB,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,cAAc;IACxD,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,UAAU,CAAC,gBAAgB,GAAG,SAAS,CAAC;IAElD,gEAAgE;IAChE,KAAK,EAAE,0BAA0B,CAAC;gBAGhC,GAAG,EAAE,0BAA0B,EAC/B,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;
|
|
1
|
+
{"version":3,"file":"deletefee.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/deletefee.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,UAAU,CAAC,gBAAgB,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,cAAc;IACxD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,UAAU,CAAC,gBAAgB,GAAG,SAAS,CAAC;IAElD,gEAAgE;IAChE,KAAK,EAAE,0BAA0B,CAAC;gBAGhC,GAAG,EAAE,0BAA0B,EAC/B,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAWnE;AAED,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBL,CAAC"}
|
|
@@ -48,6 +48,8 @@ class DeleteFeeConflictError extends paygenticerror_js_1.PaygenticError {
|
|
|
48
48
|
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
49
49
|
super(message, httpMeta);
|
|
50
50
|
this.data$ = err;
|
|
51
|
+
if (err.requestId != null)
|
|
52
|
+
this.requestId = err.requestId;
|
|
51
53
|
if (err.error != null)
|
|
52
54
|
this.error = err.error;
|
|
53
55
|
if (err.details != null)
|
|
@@ -58,6 +60,7 @@ class DeleteFeeConflictError extends paygenticerror_js_1.PaygenticError {
|
|
|
58
60
|
exports.DeleteFeeConflictError = DeleteFeeConflictError;
|
|
59
61
|
/** @internal */
|
|
60
62
|
exports.DeleteFeeConflictError$inboundSchema = z.object({
|
|
63
|
+
requestId: z.string().optional(),
|
|
61
64
|
error: z.string().optional(),
|
|
62
65
|
message: z.string().optional(),
|
|
63
66
|
details: z.lazy(() => operations.DeleteFeeDetails$inboundSchema).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deletefee.js","sourceRoot":"","sources":["../../../../src/models/errors/deletefee.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,mEAAqD;AACrD,2DAAqD;
|
|
1
|
+
{"version":3,"file":"deletefee.js","sourceRoot":"","sources":["../../../../src/models/errors/deletefee.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,mEAAqD;AACrD,2DAAqD;AAerD;;GAEG;AACH,MAAa,sBAAuB,SAAQ,kCAAc;IAWxD,YACE,GAA+B,EAC/B,QAAgE;QAEhE,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,IAAI,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5E,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,GAAG,CAAC,SAAS,IAAI,IAAI;YAAE,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QAC1D,IAAI,GAAG,CAAC,KAAK,IAAI,IAAI;YAAE,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QAC9C,IAAI,GAAG,CAAC,OAAO,IAAI,IAAI;YAAE,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAEpD,IAAI,CAAC,IAAI,GAAG,wBAAwB,CAAC;IACvC,CAAC;CACF;AAxBD,wDAwBC;AAED,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,8BAA8B,CAAC,CAAC,QAAQ,EAAE;IAC3E,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,sBAAsB,CAAC,CAAC,EAAE;QACnC,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -5,6 +5,10 @@ import { PaygenticError } from "./paygenticerror.js";
|
|
|
5
5
|
* Price cannot be deleted because a live plan still references it
|
|
6
6
|
*/
|
|
7
7
|
export type DeletePriceConflictErrorData = {
|
|
8
|
+
/**
|
|
9
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
10
|
+
*/
|
|
11
|
+
requestId?: string | undefined;
|
|
8
12
|
error?: string | undefined;
|
|
9
13
|
message?: string | undefined;
|
|
10
14
|
details?: operations.DeletePriceDetails | undefined;
|
|
@@ -13,6 +17,10 @@ export type DeletePriceConflictErrorData = {
|
|
|
13
17
|
* Price cannot be deleted because a live plan still references it
|
|
14
18
|
*/
|
|
15
19
|
export declare class DeletePriceConflictError extends PaygenticError {
|
|
20
|
+
/**
|
|
21
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
22
|
+
*/
|
|
23
|
+
requestId?: string | undefined;
|
|
16
24
|
error?: string | undefined;
|
|
17
25
|
details?: operations.DeletePriceDetails | undefined;
|
|
18
26
|
/** The original data that was passed to this error instance. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteprice.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/deleteprice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,UAAU,CAAC,kBAAkB,GAAG,SAAS,CAAC;CACrD,CAAC;AAEF;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,cAAc;IAC1D,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,UAAU,CAAC,kBAAkB,GAAG,SAAS,CAAC;IAEpD,gEAAgE;IAChE,KAAK,EAAE,4BAA4B,CAAC;gBAGlC,GAAG,EAAE,4BAA4B,EACjC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;
|
|
1
|
+
{"version":3,"file":"deleteprice.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/deleteprice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,UAAU,CAAC,kBAAkB,GAAG,SAAS,CAAC;CACrD,CAAC;AAEF;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,cAAc;IAC1D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,UAAU,CAAC,kBAAkB,GAAG,SAAS,CAAC;IAEpD,gEAAgE;IAChE,KAAK,EAAE,4BAA4B,CAAC;gBAGlC,GAAG,EAAE,4BAA4B,EACjC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAWnE;AAED,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBL,CAAC"}
|
|
@@ -48,6 +48,8 @@ class DeletePriceConflictError extends paygenticerror_js_1.PaygenticError {
|
|
|
48
48
|
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
49
49
|
super(message, httpMeta);
|
|
50
50
|
this.data$ = err;
|
|
51
|
+
if (err.requestId != null)
|
|
52
|
+
this.requestId = err.requestId;
|
|
51
53
|
if (err.error != null)
|
|
52
54
|
this.error = err.error;
|
|
53
55
|
if (err.details != null)
|
|
@@ -58,6 +60,7 @@ class DeletePriceConflictError extends paygenticerror_js_1.PaygenticError {
|
|
|
58
60
|
exports.DeletePriceConflictError = DeletePriceConflictError;
|
|
59
61
|
/** @internal */
|
|
60
62
|
exports.DeletePriceConflictError$inboundSchema = z.object({
|
|
63
|
+
requestId: z.string().optional(),
|
|
61
64
|
error: z.string().optional(),
|
|
62
65
|
message: z.string().optional(),
|
|
63
66
|
details: z.lazy(() => operations.DeletePriceDetails$inboundSchema).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteprice.js","sourceRoot":"","sources":["../../../../src/models/errors/deleteprice.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,mEAAqD;AACrD,2DAAqD;
|
|
1
|
+
{"version":3,"file":"deleteprice.js","sourceRoot":"","sources":["../../../../src/models/errors/deleteprice.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,mEAAqD;AACrD,2DAAqD;AAerD;;GAEG;AACH,MAAa,wBAAyB,SAAQ,kCAAc;IAW1D,YACE,GAAiC,EACjC,QAAgE;QAEhE,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,IAAI,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5E,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,GAAG,CAAC,SAAS,IAAI,IAAI;YAAE,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QAC1D,IAAI,GAAG,CAAC,KAAK,IAAI,IAAI;YAAE,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QAC9C,IAAI,GAAG,CAAC,OAAO,IAAI,IAAI;YAAE,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAEpD,IAAI,CAAC,IAAI,GAAG,0BAA0B,CAAC;IACzC,CAAC;CACF;AAxBD,4DAwBC;AAED,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,gCAAgC,CAAC,CAAC,QAAQ,EAAE;IAC7E,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,wBAAwB,CAAC,CAAC,EAAE;QACrC,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -31,6 +31,10 @@ export type ErrorTData = {
|
|
|
31
31
|
* Present on a 403 from the authorization check. The permissions the caller needs for this request.
|
|
32
32
|
*/
|
|
33
33
|
requiredPermissions?: Array<string> | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
36
|
+
*/
|
|
37
|
+
requestId?: string | undefined;
|
|
34
38
|
};
|
|
35
39
|
/**
|
|
36
40
|
* Unauthorized - Authentication failed or user does not have permissions
|
|
@@ -58,6 +62,10 @@ export declare class ErrorT extends PaygenticError {
|
|
|
58
62
|
* Present on a 403 from the authorization check. The permissions the caller needs for this request.
|
|
59
63
|
*/
|
|
60
64
|
requiredPermissions?: Array<string> | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
67
|
+
*/
|
|
68
|
+
requestId?: string | undefined;
|
|
61
69
|
/** The original data that was passed to this error instance. */
|
|
62
70
|
data$: ErrorTData;
|
|
63
71
|
constructor(err: ErrorTData, httpMeta: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/error.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAC;IACtD;;OAEG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/error.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,OAAO,CAAC,EAA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issions = err.requiredPermissions;
|
|
61
61
|
}
|
|
62
|
+
if (err.requestId != null)
|
|
63
|
+
this.requestId = err.requestId;
|
|
62
64
|
this.name = "ErrorT";
|
|
63
65
|
}
|
|
64
66
|
}
|
|
@@ -72,6 +74,7 @@ exports.ErrorT$inboundSchema = z
|
|
|
72
74
|
details: z.record(z.any()).optional(),
|
|
73
75
|
reason: models.AuthorizationDenialReason$inboundSchema.optional(),
|
|
74
76
|
requiredPermissions: z.array(z.string()).optional(),
|
|
77
|
+
requestId: z.string().optional(),
|
|
75
78
|
request$: z.instanceof(Request),
|
|
76
79
|
response$: z.instanceof(Response),
|
|
77
80
|
body$: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../../../src/models/errors/error.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,oDAAsC;AACtC,2DAAqD;
|
|
1
|
+
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../../../src/models/errors/error.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,oDAAsC;AACtC,2DAAqD;AAoCrD;;GAEG;AACH,MAAa,MAAO,SAAQ,kCAAc;IA6BxC,YACE,GAAe,EACf,QAAgE;QAEhE,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,IAAI,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5E,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,GAAG,CAAC,KAAK,IAAI,IAAI;YAAE,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QAC9C,IAAI,GAAG,CAAC,IAAI,IAAI,IAAI;YAAE,IAAI,CAAC,IAAI,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AS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,MAAM,CAAC,CAAC,EAAE;QACnB,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -31,6 +31,10 @@ export type UnprocessableEntityErrorData = {
|
|
|
31
31
|
* Present on a 403 from the authorization check. The permissions the caller needs for this request.
|
|
32
32
|
*/
|
|
33
33
|
requiredPermissions?: Array<string> | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
36
|
+
*/
|
|
37
|
+
requestId?: string | undefined;
|
|
34
38
|
};
|
|
35
39
|
/**
|
|
36
40
|
* `hosted_link` only: Paygentic cannot create a payment link. The `code` field gives the cause: `INVOICE_NOT_LINKABLE_STATUS` (the invoice is not `ISSUED` or `PAYMENT_FAILED`; do not retry), `INVOICE_NO_BALANCE` (no amount is unpaid; treat the invoice as paid), or `MERCHANT_NO_PAYMENT_ACCOUNT` (the merchant has no connected payment account; retry after onboarding is complete).
|
|
@@ -58,6 +62,10 @@ export declare class UnprocessableEntityError extends PaygenticError {
|
|
|
58
62
|
* Present on a 403 from the authorization check. The permissions the caller needs for this request.
|
|
59
63
|
*/
|
|
60
64
|
requiredPermissions?: Array<string> | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
67
|
+
*/
|
|
68
|
+
requestId?: string | undefined;
|
|
61
69
|
/** The original data that was passed to this error instance. */
|
|
62
70
|
data$: UnprocessableEntityErrorData;
|
|
63
71
|
constructor(err: UnprocessableEntityErrorData, httpMeta: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recordinvoicepayment.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/recordinvoicepayment.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,2BAA2B,CAAC;IACzC;;OAEG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAC;IACtD;;OAEG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"recordinvoicepayment.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/recordinvoicepayment.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,2BAA2B,CAAC;IACzC;;OAEG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAC;IACtD;;OAEG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAChD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,cAAc;IAC1D;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,2BAA2B,CAAC;IACzC;;OAEG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAC;IACtD;;OAEG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAChD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B,gEAAgE;IAChE,KAAK,EAAE,4BAA4B,CAAC;gBAGlC,GAAG,EAAE,4BAA4B,EACjC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAgBnE;AAED,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAmBL,CAAC"}
|
|
@@ -57,6 +57,8 @@ class UnprocessableEntityError extends paygenticerror_js_1.PaygenticError {
|
|
|
57
57
|
if (err.requiredPermissions != null) {
|
|
58
58
|
this.requiredPermissions = err.requiredPermissions;
|
|
59
59
|
}
|
|
60
|
+
if (err.requestId != null)
|
|
61
|
+
this.requestId = err.requestId;
|
|
60
62
|
this.name = "UnprocessableEntityError";
|
|
61
63
|
}
|
|
62
64
|
}
|
|
@@ -69,6 +71,7 @@ exports.UnprocessableEntityError$inboundSchema = z.object({
|
|
|
69
71
|
details: z.record(z.any()).optional(),
|
|
70
72
|
reason: models.AuthorizationDenialReason$inboundSchema.optional(),
|
|
71
73
|
requiredPermissions: z.array(z.string()).optional(),
|
|
74
|
+
requestId: z.string().optional(),
|
|
72
75
|
request$: z.instanceof(Request),
|
|
73
76
|
response$: z.instanceof(Response),
|
|
74
77
|
body$: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recordinvoicepayment.js","sourceRoot":"","sources":["../../../../src/models/errors/recordinvoicepayment.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,oDAAsC;AACtC,2DAAqD;
|
|
1
|
+
{"version":3,"file":"recordinvoicepayment.js","sourceRoot":"","sources":["../../../../src/models/errors/recordinvoicepayment.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,oDAAsC;AACtC,2DAAqD;AAoCrD;;GAEG;AACH,MAAa,wBAAyB,SAAQ,kCAAc;IA6B1D,YACE,GAAiC,EACjC,QAAgE;QAEhE,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,IAAI,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5E,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,GAAG,CAAC,OAAO,IAAI,IAAI;YAAE,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QACpD,IAAI,GAAG,CAAC,MAAM,IAAI,IAAI;YAAE,IAAI,CAAC,MAAM,GAAG,GAAG,CA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 export type RetryPaymentResponseErrorData = {
|
|
|
25
25
|
* Why a payment retry did not collect the money.
|
|
26
26
|
*/
|
|
27
27
|
error?: models.RetryPaymentError | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
30
|
+
*/
|
|
31
|
+
requestId?: string | undefined;
|
|
28
32
|
};
|
|
29
33
|
/**
|
|
30
34
|
* The result of a payment retry. Every response status of the retry operation that is not an error envelope uses this shape.
|
|
@@ -50,6 +54,10 @@ export declare class RetryPaymentResponseError extends PaygenticError {
|
|
|
50
54
|
* Why a payment retry did not collect the money.
|
|
51
55
|
*/
|
|
52
56
|
error?: models.RetryPaymentError | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
59
|
+
*/
|
|
60
|
+
requestId?: string | undefined;
|
|
53
61
|
/** The original data that was passed to this error instance. */
|
|
54
62
|
data$: RetryPaymentResponseErrorData;
|
|
55
63
|
constructor(err: RetryPaymentResponseErrorData, httpMeta: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrypaymentresponseerror.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/retrypaymentresponseerror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,0BAA0B,CAAC;IAC1C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,iBAAiB,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"retrypaymentresponseerror.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/retrypaymentresponseerror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,0BAA0B,CAAC;IAC1C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,iBAAiB,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,cAAc;IAC3D;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,0BAA0B,CAAC;IAC1C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,iBAAiB,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B,gEAAgE;IAChE,KAAK,EAAE,6BAA6B,CAAC;gBAGnC,GAAG,EAAE,6BAA6B,EAClC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAenE;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAkBL,CAAC"}
|
|
@@ -56,6 +56,8 @@ class RetryPaymentResponseError extends paygenticerror_js_1.PaygenticError {
|
|
|
56
56
|
this.paymentIntentId = err.paymentIntentId;
|
|
57
57
|
if (err.error != null)
|
|
58
58
|
this.error = err.error;
|
|
59
|
+
if (err.requestId != null)
|
|
60
|
+
this.requestId = err.requestId;
|
|
59
61
|
this.name = "RetryPaymentResponseError";
|
|
60
62
|
}
|
|
61
63
|
}
|
|
@@ -67,6 +69,7 @@ exports.RetryPaymentResponseError$inboundSchema = z.object({
|
|
|
67
69
|
invoiceId: z.string(),
|
|
68
70
|
paymentIntentId: z.string().optional(),
|
|
69
71
|
error: models.RetryPaymentError$inboundSchema.optional(),
|
|
72
|
+
requestId: z.string().optional(),
|
|
70
73
|
request$: z.instanceof(Request),
|
|
71
74
|
response$: z.instanceof(Response),
|
|
72
75
|
body$: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrypaymentresponseerror.js","sourceRoot":"","sources":["../../../../src/models/errors/retrypaymentresponseerror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,oDAAsC;AACtC,2DAAqD;
|
|
1
|
+
{"version":3,"file":"retrypaymentresponseerror.js","sourceRoot":"","sources":["../../../../src/models/errors/retrypaymentresponseerror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,oDAAsC;AACtC,2DAAqD;AAgCrD;;GAEG;AACH,MAAa,yBAA0B,SAAQ,kCAAc;IA6B3D,YACE,GAAkC,EAClC,QAAgE;QAEhE,MAAM,OAAO,GAAG,GAAG,CAAC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