@paygentic/sdk 0.10.4 → 0.10.6
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/pricesUpdate.d.ts +3 -0
- package/dist/commonjs/funcs/pricesUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/pricesUpdate.js +3 -0
- package/dist/commonjs/funcs/pricesUpdate.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/changereason.d.ts +3 -2
- package/dist/commonjs/models/changereason.d.ts.map +1 -1
- package/dist/commonjs/models/changereason.js +2 -1
- package/dist/commonjs/models/changereason.js.map +1 -1
- package/dist/commonjs/models/editsubscriptionintervalsrequestunion.d.ts +3 -3
- 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/operations/createsubscription.d.ts +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/terminatesubscription.d.ts +1 -1
- package/dist/commonjs/models/operations/updateprice.d.ts +0 -24
- package/dist/commonjs/models/operations/updateprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updateprice.js +1 -12
- package/dist/commonjs/models/operations/updateprice.js.map +1 -1
- package/dist/commonjs/models/permission.d.ts +5 -0
- package/dist/commonjs/models/permission.d.ts.map +1 -1
- package/dist/commonjs/models/permission.js +5 -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/models/subscription.d.ts +1 -0
- package/dist/commonjs/models/subscription.d.ts.map +1 -1
- package/dist/commonjs/models/subscription.js +1 -0
- package/dist/commonjs/models/subscription.js.map +1 -1
- package/dist/commonjs/models/subscriptionintervalchange.d.ts +1 -1
- package/dist/commonjs/sdk/prices.d.ts +3 -0
- package/dist/commonjs/sdk/prices.d.ts.map +1 -1
- package/dist/commonjs/sdk/prices.js +3 -0
- package/dist/commonjs/sdk/prices.js.map +1 -1
- package/dist/commonjs/sdk/testclocks.d.ts +1 -1
- package/dist/commonjs/sdk/testclocks.js +1 -1
- package/dist/esm/funcs/pricesUpdate.d.ts +3 -0
- package/dist/esm/funcs/pricesUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/pricesUpdate.js +3 -0
- package/dist/esm/funcs/pricesUpdate.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/changereason.d.ts +3 -2
- package/dist/esm/models/changereason.d.ts.map +1 -1
- package/dist/esm/models/changereason.js +2 -1
- package/dist/esm/models/changereason.js.map +1 -1
- package/dist/esm/models/editsubscriptionintervalsrequestunion.d.ts +3 -3
- 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/operations/createsubscription.d.ts +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/terminatesubscription.d.ts +1 -1
- package/dist/esm/models/operations/updateprice.d.ts +0 -24
- package/dist/esm/models/operations/updateprice.d.ts.map +1 -1
- package/dist/esm/models/operations/updateprice.js +0 -11
- package/dist/esm/models/operations/updateprice.js.map +1 -1
- package/dist/esm/models/permission.d.ts +5 -0
- package/dist/esm/models/permission.d.ts.map +1 -1
- package/dist/esm/models/permission.js +5 -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/models/subscription.d.ts +1 -0
- package/dist/esm/models/subscription.d.ts.map +1 -1
- package/dist/esm/models/subscription.js +1 -0
- package/dist/esm/models/subscription.js.map +1 -1
- package/dist/esm/models/subscriptionintervalchange.d.ts +1 -1
- package/dist/esm/sdk/prices.d.ts +3 -0
- package/dist/esm/sdk/prices.d.ts.map +1 -1
- package/dist/esm/sdk/prices.js +3 -0
- package/dist/esm/sdk/prices.js.map +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/pricesUpdate.ts +3 -0
- package/src/funcs/testClocksAdvance.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/changereason.ts +3 -2
- package/src/models/editsubscriptionintervalsrequestunion.ts +3 -3
- 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/operations/createsubscription.ts +1 -1
- 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/terminatesubscription.ts +1 -1
- package/src/models/operations/updateprice.ts +0 -30
- package/src/models/permission.ts +5 -0
- package/src/models/retrypaymentresponse.ts +5 -0
- package/src/models/subscription.ts +1 -0
- package/src/models/subscriptionintervalchange.ts +1 -1
- package/src/sdk/prices.ts +3 -0
- package/src/sdk/testclocks.ts +1 -1
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { OpenEnum } from "../types/enums.js";
|
|
3
3
|
/**
|
|
4
|
-
* Why a change was made. `correction`
|
|
4
|
+
* Why a change was made. `correction` repairs data that was entered wrong; `migration` moves a contract from another system; `commercial` is a real change to the deal; `contractual` applies a step the original contract scheduled, such as an annual uplift. Defaults to `unspecified`.
|
|
5
5
|
*/
|
|
6
6
|
export declare const ChangeReason: {
|
|
7
7
|
readonly Commercial: "commercial";
|
|
8
8
|
readonly Correction: "correction";
|
|
9
9
|
readonly Migration: "migration";
|
|
10
10
|
readonly Unspecified: "unspecified";
|
|
11
|
+
readonly Contractual: "contractual";
|
|
11
12
|
};
|
|
12
13
|
/**
|
|
13
|
-
* Why a change was made. `correction`
|
|
14
|
+
* Why a change was made. `correction` repairs data that was entered wrong; `migration` moves a contract from another system; `commercial` is a real change to the deal; `contractual` applies a step the original contract scheduled, such as an annual uplift. Defaults to `unspecified`.
|
|
14
15
|
*/
|
|
15
16
|
export type ChangeReason = OpenEnum<typeof ChangeReason>;
|
|
16
17
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changereason.d.ts","sourceRoot":"","sources":["../../../src/models/changereason.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"changereason.d.ts","sourceRoot":"","sources":["../../../src/models/changereason.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;CAMf,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAEzD,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CACgC,CAAC;AAC1C,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,MAAM,EACN,CAAC,CAAC,UAAU,EACZ,YAAY,CAC4B,CAAC"}
|
|
@@ -3,13 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as openEnums from "../types/enums.js";
|
|
5
5
|
/**
|
|
6
|
-
* Why a change was made. `correction`
|
|
6
|
+
* Why a change was made. `correction` repairs data that was entered wrong; `migration` moves a contract from another system; `commercial` is a real change to the deal; `contractual` applies a step the original contract scheduled, such as an annual uplift. Defaults to `unspecified`.
|
|
7
7
|
*/
|
|
8
8
|
export const ChangeReason = {
|
|
9
9
|
Commercial: "commercial",
|
|
10
10
|
Correction: "correction",
|
|
11
11
|
Migration: "migration",
|
|
12
12
|
Unspecified: "unspecified",
|
|
13
|
+
Contractual: "contractual",
|
|
13
14
|
};
|
|
14
15
|
/** @internal */
|
|
15
16
|
export const ChangeReason$inboundSchema = openEnums.inboundSchema(ChangeReason);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changereason.js","sourceRoot":"","sources":["../../../src/models/changereason.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;CAClB,CAAC;AAMX,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B,GAInC,SAAS,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;AAC1C,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAIpC,SAAS,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"changereason.js","sourceRoot":"","sources":["../../../src/models/changereason.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;CAClB,CAAC;AAMX,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B,GAInC,SAAS,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;AAC1C,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAIpC,SAAS,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -18,7 +18,7 @@ export type EditSubscriptionIntervalsRequest3 = {
|
|
|
18
18
|
*/
|
|
19
19
|
remove: Array<SubscriptionIntervalRemoveOp>;
|
|
20
20
|
/**
|
|
21
|
-
* Why a change was made. `correction`
|
|
21
|
+
* Why a change was made. `correction` repairs data that was entered wrong; `migration` moves a contract from another system; `commercial` is a real change to the deal; `contractual` applies a step the original contract scheduled, such as an annual uplift. Defaults to `unspecified`.
|
|
22
22
|
*/
|
|
23
23
|
changeReason?: ChangeReason | undefined;
|
|
24
24
|
/**
|
|
@@ -46,7 +46,7 @@ export type EditSubscriptionIntervalsRequest2 = {
|
|
|
46
46
|
*/
|
|
47
47
|
remove?: Array<SubscriptionIntervalRemoveOp> | undefined;
|
|
48
48
|
/**
|
|
49
|
-
* Why a change was made. `correction`
|
|
49
|
+
* Why a change was made. `correction` repairs data that was entered wrong; `migration` moves a contract from another system; `commercial` is a real change to the deal; `contractual` applies a step the original contract scheduled, such as an annual uplift. Defaults to `unspecified`.
|
|
50
50
|
*/
|
|
51
51
|
changeReason?: ChangeReason | undefined;
|
|
52
52
|
/**
|
|
@@ -74,7 +74,7 @@ export type EditSubscriptionIntervalsRequest1 = {
|
|
|
74
74
|
*/
|
|
75
75
|
remove?: Array<SubscriptionIntervalRemoveOp> | undefined;
|
|
76
76
|
/**
|
|
77
|
-
* Why a change was made. `correction`
|
|
77
|
+
* Why a change was made. `correction` repairs data that was entered wrong; `migration` moves a contract from another system; `commercial` is a real change to the deal; `contractual` applies a step the original contract scheduled, such as an annual uplift. Defaults to `unspecified`.
|
|
78
78
|
*/
|
|
79
79
|
changeReason?: ChangeReason | undefined;
|
|
80
80
|
/**
|
|
@@ -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,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,E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AAC,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"}
|
|
@@ -12,6 +12,8 @@ export class DeleteCustomerConflictError extends PaygenticError {
|
|
|
12
12
|
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
13
13
|
super(message, httpMeta);
|
|
14
14
|
this.data$ = err;
|
|
15
|
+
if (err.requestId != null)
|
|
16
|
+
this.requestId = err.requestId;
|
|
15
17
|
if (err.error != null)
|
|
16
18
|
this.error = err.error;
|
|
17
19
|
if (err.details != null)
|
|
@@ -21,6 +23,7 @@ export class DeleteCustomerConflictError extends PaygenticError {
|
|
|
21
23
|
}
|
|
22
24
|
/** @internal */
|
|
23
25
|
export const DeleteCustomerConflictError$inboundSchema = z.object({
|
|
26
|
+
requestId: z.string().optional(),
|
|
24
27
|
error: operations.ErrorT$inboundSchema.optional(),
|
|
25
28
|
message: z.string().optional(),
|
|
26
29
|
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,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK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AE,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"}
|
|
@@ -12,6 +12,8 @@ export class DeleteFeeConflictError extends PaygenticError {
|
|
|
12
12
|
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
13
13
|
super(message, httpMeta);
|
|
14
14
|
this.data$ = err;
|
|
15
|
+
if (err.requestId != null)
|
|
16
|
+
this.requestId = err.requestId;
|
|
15
17
|
if (err.error != null)
|
|
16
18
|
this.error = err.error;
|
|
17
19
|
if (err.details != null)
|
|
@@ -21,6 +23,7 @@ export class DeleteFeeConflictError extends PaygenticError {
|
|
|
21
23
|
}
|
|
22
24
|
/** @internal */
|
|
23
25
|
export const DeleteFeeConflictError$inboundSchema = z.object({
|
|
26
|
+
requestId: z.string().optional(),
|
|
24
27
|
error: z.string().optional(),
|
|
25
28
|
message: z.string().optional(),
|
|
26
29
|
details: z.lazy(() => operations.DeleteFeeDetails$inboundSchema).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deletefee.js","sourceRoot":"","sources":["../../../../src/models/errors/deletefee.ts"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AQ,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"}
|
|
@@ -12,6 +12,8 @@ export class DeletePriceConflictError extends PaygenticError {
|
|
|
12
12
|
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
13
13
|
super(message, httpMeta);
|
|
14
14
|
this.data$ = err;
|
|
15
|
+
if (err.requestId != null)
|
|
16
|
+
this.requestId = err.requestId;
|
|
15
17
|
if (err.error != null)
|
|
16
18
|
this.error = err.error;
|
|
17
19
|
if (err.details != null)
|
|
@@ -21,6 +23,7 @@ export class DeletePriceConflictError extends PaygenticError {
|
|
|
21
23
|
}
|
|
22
24
|
/** @internal */
|
|
23
25
|
export const DeletePriceConflictError$inboundSchema = z.object({
|
|
26
|
+
requestId: z.string().optional(),
|
|
24
27
|
error: z.string().optional(),
|
|
25
28
|
message: z.string().optional(),
|
|
26
29
|
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,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"deleteprice.js","sourceRoot":"","sources":["../../../../src/models/errors/deleteprice.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,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,OAAO,wBAAyB,SAAQ,cAAc;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;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,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,EA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
|
23
23
|
if (err.requiredPermissions != null) {
|
|
24
24
|
this.requiredPermissions = err.requiredPermissions;
|
|
25
25
|
}
|
|
26
|
+
if (err.requestId != null)
|
|
27
|
+
this.requestId = err.requestId;
|
|
26
28
|
this.name = "ErrorT";
|
|
27
29
|
}
|
|
28
30
|
}
|
|
@@ -35,6 +37,7 @@ export const ErrorT$inboundSchema = z
|
|
|
35
37
|
details: z.record(z.any()).optional(),
|
|
36
38
|
reason: models.AuthorizationDenialReason$inboundSchema.optional(),
|
|
37
39
|
requiredPermissions: z.array(z.string()).optional(),
|
|
40
|
+
requestId: z.string().optional(),
|
|
38
41
|
request$: z.instanceof(Request),
|
|
39
42
|
response$: z.instanceof(Response),
|
|
40
43
|
body$: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../../../src/models/errors/error.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../../../src/models/errors/error.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAoCrD;;GAEG;AACH,MAAM,OAAO,MAAO,SAAQ,cAAc;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,IA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AAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACD,SAAS,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"}
|
|
@@ -21,6 +21,8 @@ export class UnprocessableEntityError extends PaygenticError {
|
|
|
21
21
|
if (err.requiredPermissions != null) {
|
|
22
22
|
this.requiredPermissions = err.requiredPermissions;
|
|
23
23
|
}
|
|
24
|
+
if (err.requestId != null)
|
|
25
|
+
this.requestId = err.requestId;
|
|
24
26
|
this.name = "UnprocessableEntityError";
|
|
25
27
|
}
|
|
26
28
|
}
|
|
@@ -32,6 +34,7 @@ export const UnprocessableEntityError$inboundSchema = z.object({
|
|
|
32
34
|
details: z.record(z.any()).optional(),
|
|
33
35
|
reason: models.AuthorizationDenialReason$inboundSchema.optional(),
|
|
34
36
|
requiredPermissions: z.array(z.string()).optional(),
|
|
37
|
+
requestId: z.string().optional(),
|
|
35
38
|
request$: z.instanceof(Request),
|
|
36
39
|
response$: z.instanceof(Response),
|
|
37
40
|
body$: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recordinvoicepayment.js","sourceRoot":"","sources":["../../../../src/models/errors/recordinvoicepayment.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"recordinvoicepayment.js","sourceRoot":"","sources":["../../../../src/models/errors/recordinvoicepayment.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAoCrD;;GAEG;AACH,MAAM,OAAO,wBAAyB,SAAQ,cAAc;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,CAA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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"}
|
|
@@ -25,6 +25,10 @@ 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"}
|
|
@@ -20,6 +20,8 @@ export class RetryPaymentResponseError extends PaygenticError {
|
|
|
20
20
|
this.paymentIntentId = err.paymentIntentId;
|
|
21
21
|
if (err.error != null)
|
|
22
22
|
this.error = err.error;
|
|
23
|
+
if (err.requestId != null)
|
|
24
|
+
this.requestId = err.requestId;
|
|
23
25
|
this.name = "RetryPaymentResponseError";
|
|
24
26
|
}
|
|
25
27
|
}
|
|
@@ -30,6 +32,7 @@ export const RetryPaymentResponseError$inboundSchema = z.object({
|
|
|
30
32
|
invoiceId: z.string(),
|
|
31
33
|
paymentIntentId: z.string().optional(),
|
|
32
34
|
error: models.RetryPaymentError$inboundSchema.optional(),
|
|
35
|
+
requestId: z.string().optional(),
|
|
33
36
|
request$: z.instanceof(Request),
|
|
34
37
|
response$: z.instanceof(Response),
|
|
35
38
|
body$: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrypaymentresponseerror.js","sourceRoot":"","sources":["../../../../src/models/errors/retrypaymentresponseerror.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"retrypaymentresponseerror.js","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B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,KAAK,EAAE,MAAM,CAAC,+BAA+B,CAAC,QAAQ,EAAE;IACxD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,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,yBAAyB,CAAC,CAAC,EAAE;QACtC,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 restructured because a subscription still bills it directly
|
|
6
6
|
*/
|
|
7
7
|
export type UpdatePriceConflictErrorData = {
|
|
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;
|
|
10
14
|
/**
|
|
@@ -17,6 +21,10 @@ export type UpdatePriceConflictErrorData = {
|
|
|
17
21
|
* Price cannot be restructured because a subscription still bills it directly
|
|
18
22
|
*/
|
|
19
23
|
export declare class UpdatePriceConflictError extends PaygenticError {
|
|
24
|
+
/**
|
|
25
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
26
|
+
*/
|
|
27
|
+
requestId?: string | undefined;
|
|
20
28
|
error?: string | undefined;
|
|
21
29
|
/**
|
|
22
30
|
* Machine-readable conflict code. Open set: a new code may appear, so branch on the ones you handle and treat anything else as an unhandled conflict.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateprice.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/updateprice.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,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,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;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,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":"updateprice.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/updateprice.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,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,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;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,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;CAYnE;AAED,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAiBL,CAAC"}
|
|
@@ -12,6 +12,8 @@ export class UpdatePriceConflictError extends PaygenticError {
|
|
|
12
12
|
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
13
13
|
super(message, httpMeta);
|
|
14
14
|
this.data$ = err;
|
|
15
|
+
if (err.requestId != null)
|
|
16
|
+
this.requestId = err.requestId;
|
|
15
17
|
if (err.error != null)
|
|
16
18
|
this.error = err.error;
|
|
17
19
|
this.code = err.code;
|
|
@@ -22,6 +24,7 @@ export class UpdatePriceConflictError extends PaygenticError {
|
|
|
22
24
|
}
|
|
23
25
|
/** @internal */
|
|
24
26
|
export const UpdatePriceConflictError$inboundSchema = z.object({
|
|
27
|
+
requestId: z.string().optional(),
|
|
25
28
|
error: z.string().optional(),
|
|
26
29
|
message: z.string(),
|
|
27
30
|
code: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateprice.js","sourceRoot":"","sources":["../../../../src/models/errors/updateprice.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"updateprice.js","sourceRoot":"","sources":["../../../../src/models/errors/updateprice.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAmBrD;;GAEG;AACH,MAAM,OAAO,wBAAyB,SAAQ,cAAc;IAe1D,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,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,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;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,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;IACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,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"}
|
|
@@ -14,6 +14,10 @@ export type ValidationErrorData = {
|
|
|
14
14
|
* Array of field-specific validation errors
|
|
15
15
|
*/
|
|
16
16
|
errors: Array<models.ErrorT>;
|
|
17
|
+
/**
|
|
18
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
19
|
+
*/
|
|
20
|
+
requestId?: string | undefined;
|
|
17
21
|
};
|
|
18
22
|
export declare class ValidationError extends PaygenticError {
|
|
19
23
|
/**
|
|
@@ -24,6 +28,10 @@ export declare class ValidationError extends PaygenticError {
|
|
|
24
28
|
* Array of field-specific validation errors
|
|
25
29
|
*/
|
|
26
30
|
errors: Array<models.ErrorT>;
|
|
31
|
+
/**
|
|
32
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
33
|
+
*/
|
|
34
|
+
requestId?: string | undefined;
|
|
27
35
|
/** The original data that was passed to this error instance. */
|
|
28
36
|
data$: ValidationErrorData;
|
|
29
37
|
constructor(err: ValidationErrorData, httpMeta: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validationerror.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/validationerror.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,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,SAAS,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"validationerror.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/validationerror.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,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,SAAS,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,qBAAa,eAAgB,SAAQ,cAAc;IACjD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,SAAS,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B,gEAAgE;IAChE,KAAK,EAAE,mBAAmB,CAAC;gBAGzB,GAAG,EAAE,mBAAmB,EACxB,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAWnE;AAED,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBL,CAAC"}
|
|
@@ -12,6 +12,8 @@ export class ValidationError extends PaygenticError {
|
|
|
12
12
|
if (err.error != null)
|
|
13
13
|
this.error = err.error;
|
|
14
14
|
this.errors = err.errors;
|
|
15
|
+
if (err.requestId != null)
|
|
16
|
+
this.requestId = err.requestId;
|
|
15
17
|
this.name = "ValidationError";
|
|
16
18
|
}
|
|
17
19
|
}
|
|
@@ -20,6 +22,7 @@ export const ValidationError$inboundSchema = z.object({
|
|
|
20
22
|
error: models.ErrorEnum$inboundSchema.default("validation_error"),
|
|
21
23
|
message: z.string(),
|
|
22
24
|
errors: z.array(z.lazy(() => models.ErrorT$inboundSchema)),
|
|
25
|
+
requestId: z.string().optional(),
|
|
23
26
|
request$: z.instanceof(Request),
|
|
24
27
|
response$: z.instanceof(Response),
|
|
25
28
|
body$: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validationerror.js","sourceRoot":"","sources":["../../../../src/models/errors/validationerror.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OA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C,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,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,eAAe,CAAC,CAAC,EAAE;QAC5B,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -126,7 +126,7 @@ export type CreateSubscriptionRequest = {
|
|
|
126
126
|
[k: string]: models.SubscriptionMetadata;
|
|
127
127
|
} | undefined;
|
|
128
128
|
/**
|
|
129
|
-
* Why a change was made. `correction`
|
|
129
|
+
* Why a change was made. `correction` repairs data that was entered wrong; `migration` moves a contract from another system; `commercial` is a real change to the deal; `contractual` applies a step the original contract scheduled, such as an annual uplift. Defaults to `unspecified`.
|
|
130
130
|
*/
|
|
131
131
|
changeReason?: models.ChangeReason | undefined;
|
|
132
132
|
/**
|
|
@@ -26,7 +26,7 @@ export type GetCostSummaryRequest = {
|
|
|
26
26
|
*/
|
|
27
27
|
from: Date;
|
|
28
28
|
/**
|
|
29
|
-
* End of the query window, excluded: the read counts from <= t < to (ISO 8601). Required together with 'from'.
|
|
29
|
+
* End of the query window, excluded: the read counts from <= t < to (ISO 8601). Required together with 'from'. At most 403 days after `from`.
|
|
30
30
|
*/
|
|
31
31
|
to: Date;
|
|
32
32
|
/**
|