@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createexternalreference.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/createexternalreference.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"createexternalreference.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/createexternalreference.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,eAAe,CAAC;IACnC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC5C;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC;;;;;;;;;;OAUG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,uCAAuC,GAAG;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC5C,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,8BAA8B,CAY9B,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,8BAA8B,EAAE,8BAA8B,GAC7D,MAAM,CAMR"}
|
|
@@ -6,7 +6,7 @@ import * as models from "../index.js";
|
|
|
6
6
|
/** @internal */
|
|
7
7
|
export const CreateExternalReferenceRequest$outboundSchema = z.object({
|
|
8
8
|
merchantId: z.string(),
|
|
9
|
-
entityType: models.
|
|
9
|
+
entityType: models.EntityTypeInput$outboundSchema,
|
|
10
10
|
entityId: z.string(),
|
|
11
11
|
provider: z.string(),
|
|
12
12
|
externalId: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createexternalreference.js","sourceRoot":"","sources":["../../../../src/models/operations/createexternalreference.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAmEtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"createexternalreference.js","sourceRoot":"","sources":["../../../../src/models/operations/createexternalreference.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAmEtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,MAAM,CAAC,8BAA8B;IACjD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC;AAEH,MAAM,UAAU,oCAAoC,CAClD,8BAA8D;IAE9D,OAAO,IAAI,CAAC,SAAS,CACnB,6CAA6C,CAAC,KAAK,CACjD,8BAA8B,CAC/B,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -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
|
/**
|
|
@@ -2,7 +2,6 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
import * as models from "../index.js";
|
|
4
4
|
export declare const UpdateSubscriptionStatus: {
|
|
5
|
-
readonly Active: "active";
|
|
6
5
|
readonly Terminated: "terminated";
|
|
7
6
|
};
|
|
8
7
|
export type UpdateSubscriptionStatus = ClosedEnum<typeof UpdateSubscriptionStatus>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updatesubscription.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/updatesubscription.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"updatesubscription.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/updatesubscription.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,eAAO,MAAM,wBAAwB;;CAE3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,OAAO,wBAAwB,CAChC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,QAAQ,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,E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,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,sBAAsB,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACpD,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAc7B,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,sCAAsC,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAQzB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updatesubscription.js","sourceRoot":"","sources":["../../../../src/models/operations/updatesubscription.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,
|
|
1
|
+
{"version":3,"file":"updatesubscription.js","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QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5D,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC5C,aAAa,EAAE,MAAM,CAAC,wCAAwC,CAAC,QAAQ,EAAE;CAC1E,CAAC,CAAC;AAEH,MAAM,UAAU,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,4CAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AAQD,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,4CAA4C,CAAC;CACxE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,WAAW,EAAE,aAAa;KAC3B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC"}
|
|
@@ -96,6 +96,7 @@ export declare const Permission: {
|
|
|
96
96
|
readonly EventsWrite: "events:write";
|
|
97
97
|
readonly InvoicesIssue: "invoices:issue";
|
|
98
98
|
readonly InvoicesVoid: "invoices:void";
|
|
99
|
+
readonly InvoicesTransition: "invoices:transition";
|
|
99
100
|
readonly PaymentsRefund: "payments:refund";
|
|
100
101
|
readonly OrganizationDelete: "organization:delete";
|
|
101
102
|
readonly OwnershipTransfer: "ownership:transfer";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.d.ts","sourceRoot":"","sources":["../../../src/models/permission.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"permission.d.ts","sourceRoot":"","sources":["../../../src/models/permission.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyGb,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAEvD,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,UAAU,CAC/C,CAAC"}
|
|
@@ -98,6 +98,7 @@ export const Permission = {
|
|
|
98
98
|
EventsWrite: "events:write",
|
|
99
99
|
InvoicesIssue: "invoices:issue",
|
|
100
100
|
InvoicesVoid: "invoices:void",
|
|
101
|
+
InvoicesTransition: "invoices:transition",
|
|
101
102
|
PaymentsRefund: "payments:refund",
|
|
102
103
|
OrganizationDelete: "organization:delete",
|
|
103
104
|
OwnershipTransfer: "ownership:transfer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.js","sourceRoot":"","sources":["../../../src/models/permission.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,gBAAgB,EAAE,mBAAmB;IACrC,WAAW,EAAE,cAAc;IAC3B,WAAW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a,EAAE,gBAAgB;IAC/B,oBAAoB,EAAE,uBAAuB;IAC7C,mBAAmB,EAAE,sBAAsB;IAC3C,kBAAkB,EAAE,qBAAqB;IACzC,kBAAkB,EAAE,qBAAqB;IACzC,iBAAiB,EAAE,oBAAoB;IACvC,mBAAmB,EAAE,sBAAsB;IAC3C,yBAAyB,EAAE,4BAA4B;IACvD,eAAe,EAAE,kBAAkB;IACnC,gBAAgB,EAAE,mBAAmB;IACrC,UAAU,EAAE,aAAa;IACzB,oBAAoB,EAAE,uBAAuB;IAC7C,YAAY,EAAE,eAAe;IAC7B,qBAAqB,EAAE,wBAAwB;IAC/C,uBAAuB,EAAE,0BAA0B;IACnD,yBAAyB,EAAE,4BAA4B;IACvD,aAAa,EAAE,gBAAgB;IAC/B,eAAe,EAAE,kBAAkB;IACnC,cAAc,EAAE,iBAAiB;IACjC,YAAY,EAAE,eAAe;IAC7B,WAAW,EAAE,cAAc;IAC3B,aAAa,EAAE,gBAAgB;IAC/B,YAAY,EAAE,eAAe;IAC7B,kBAAkB,EAAE,qBAAqB;IACzC,cAAc,EAAE,iBAAiB;IACjC,kBAAkB,EAAE,qBAAqB;IACzC,iBAAiB,EAAE,oBAAoB;IACvC,sBAAsB,EAAE,yBAAyB;IACjD,gCAAgC,EAAE,mCAAmC;IACrE,sBAAsB,EAAE,yBAAyB;IACjD,mBAAmB,EAAE,sBAAsB;IAC3C,mBAAmB,EAAE,sBAAsB;IAC3C,sBAAsB,EAAE,yBAAyB;IACjD,wBAAwB,EAAE,2BAA2B;IACrD,qBAAqB,EAAE,wBAAwB;CACvC,CAAC;AAMX,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB,GAAuC,CAAC;KAC1E,UAAU,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -37,6 +37,10 @@ export type RetryPaymentResponse = {
|
|
|
37
37
|
* Why a payment retry did not collect the money.
|
|
38
38
|
*/
|
|
39
39
|
error?: RetryPaymentError | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
42
|
+
*/
|
|
43
|
+
requestId?: string | undefined;
|
|
40
44
|
};
|
|
41
45
|
/** @internal */
|
|
42
46
|
export declare const RetryPaymentResponseObject$inboundSchema: z.ZodNativeEnum<typeof RetryPaymentResponseObject>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrypaymentresponse.d.ts","sourceRoot":"","sources":["../../../src/models/retrypaymentresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,0BAA0B;;CAE7B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,OAAO,0BAA0B,CAClC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,MAAM,EAAE,0BAA0B,CAAC;IACnC;;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,iBAAiB,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"retrypaymentresponse.d.ts","sourceRoot":"","sources":["../../../src/models/retrypaymentresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,0BAA0B;;CAE7B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,OAAO,0BAA0B,CAClC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,MAAM,EAAE,0BAA0B,CAAC;IACnC;;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,iBAAiB,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,aAAa,CACpE,OAAO,0BAA0B,CACS,CAAC;AAE7C,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -19,6 +19,7 @@ export const RetryPaymentResponse$inboundSchema = z.object({
|
|
|
19
19
|
invoiceId: z.string(),
|
|
20
20
|
paymentIntentId: z.string().optional(),
|
|
21
21
|
error: RetryPaymentError$inboundSchema.optional(),
|
|
22
|
+
requestId: z.string().optional(),
|
|
22
23
|
});
|
|
23
24
|
export function retryPaymentResponseFromJSON(jsonString) {
|
|
24
25
|
return safeParse(jsonString, (x) => RetryPaymentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RetryPaymentResponse' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrypaymentresponse.js","sourceRoot":"","sources":["../../../src/models/retrypaymentresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAI9C,OAAO,EAEL,+BAA+B,GAChC,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,kBAAkB,EAAE,sBAAsB;CAClC,CAAC;
|
|
1
|
+
{"version":3,"file":"retrypaymentresponse.js","sourceRoot":"","sources":["../../../src/models/retrypaymentresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAI9C,OAAO,EAEL,+BAA+B,GAChC,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,kBAAkB,EAAE,sBAAsB;CAClC,CAAC;AAsCX,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAEjD,CAAC,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAAC;AAE7C,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,wCAAwC;IAChD,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,KAAK,EAAE,+BAA+B,CAAC,QAAQ,EAAE;IACjD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -32,7 +32,7 @@ export declare class BillableMetrics extends ClientSDK {
|
|
|
32
32
|
* List Meter Events
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
|
-
* List raw underlying events for a billable metric from the metering service. Returns events ordered by time descending.
|
|
35
|
+
* 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.
|
|
36
36
|
*/
|
|
37
37
|
listEvents(request: operations.ListBillableMetricEventsRequest, options?: RequestOptions): Promise<models.MeterEventList>;
|
|
38
38
|
}
|
|
@@ -50,7 +50,7 @@ export class BillableMetrics extends ClientSDK {
|
|
|
50
50
|
* List Meter Events
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* List raw underlying events for a billable metric from the metering service. Returns events ordered by time descending.
|
|
53
|
+
* 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.
|
|
54
54
|
*/
|
|
55
55
|
async listEvents(request, options) {
|
|
56
56
|
return unwrapAsync(billableMetricsListEvents(this, request, options));
|
|
@@ -27,7 +27,7 @@ export declare class TestClocks extends ClientSDK {
|
|
|
27
27
|
* Advance
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* Advances the test clock's current time. You can either specify a new absolute time or advance by a duration.
|
|
30
|
+
* 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.
|
|
31
31
|
*/
|
|
32
32
|
advance(request: operations.AdvanceTestClockRequest, options?: RequestOptions): Promise<models.TestClock>;
|
|
33
33
|
/**
|
|
@@ -40,7 +40,7 @@ export class TestClocks extends ClientSDK {
|
|
|
40
40
|
* Advance
|
|
41
41
|
*
|
|
42
42
|
* @remarks
|
|
43
|
-
* Advances the test clock's current time. You can either specify a new absolute time or advance by a duration.
|
|
43
|
+
* 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.
|
|
44
44
|
*/
|
|
45
45
|
async advance(request, options) {
|
|
46
46
|
return unwrapAsync(testClocksAdvance(this, request, options));
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* List Meter Events
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* List raw underlying events for a billable metric from the metering service. Returns events ordered by time descending.
|
|
33
|
+
* 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.
|
|
34
34
|
*/
|
|
35
35
|
export function billableMetricsListEvents(
|
|
36
36
|
client: PaygenticCore,
|
|
@@ -135,7 +135,7 @@ async function $do(
|
|
|
135
135
|
|
|
136
136
|
const doResult = await client._do(req, {
|
|
137
137
|
context,
|
|
138
|
-
errorCodes: ["401", "403", "404", "4XX", "500", "5XX"],
|
|
138
|
+
errorCodes: ["401", "403", "404", "409", "4XX", "500", "5XX"],
|
|
139
139
|
retryConfig: context.retryConfig,
|
|
140
140
|
retryCodes: context.retryCodes,
|
|
141
141
|
});
|
|
@@ -161,7 +161,7 @@ async function $do(
|
|
|
161
161
|
| SDKValidationError
|
|
162
162
|
>(
|
|
163
163
|
M.nil(204, z.void()),
|
|
164
|
-
M.jsonErr([401, 403, 404], errors.ErrorT$inboundSchema),
|
|
164
|
+
M.jsonErr([401, 403, 404, 409], errors.ErrorT$inboundSchema),
|
|
165
165
|
M.jsonErr(500, errors.ErrorT$inboundSchema),
|
|
166
166
|
M.fail("4XX"),
|
|
167
167
|
M.fail("5XX"),
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Advance
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Advances the test clock's current time. You can either specify a new absolute time or advance by a duration.
|
|
33
|
+
* 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.
|
|
34
34
|
*/
|
|
35
35
|
export function testClocksAdvance(
|
|
36
36
|
client: PaygenticCore,
|
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "0.1.0",
|
|
68
|
-
sdkVersion: "0.10.
|
|
68
|
+
sdkVersion: "0.10.7",
|
|
69
69
|
genVersion: "2.879.13",
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.10.
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.10.7 2.879.13 0.1.0 @paygentic/sdk",
|
|
71
71
|
} as const;
|
package/src/models/entitytype.ts
CHANGED
|
@@ -3,23 +3,32 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../types/enums.js";
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
|
-
* The type of Paygentic entity this external reference points at
|
|
10
|
+
* 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.
|
|
10
11
|
*/
|
|
11
12
|
export const EntityType = {
|
|
12
13
|
Item: "item",
|
|
13
14
|
Customer: "customer",
|
|
15
|
+
SubscriptionProposal: "subscriptionProposal",
|
|
16
|
+
Subscription: "subscription",
|
|
14
17
|
} as const;
|
|
15
18
|
/**
|
|
16
|
-
* The type of Paygentic entity this external reference points at
|
|
19
|
+
* 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.
|
|
17
20
|
*/
|
|
18
|
-
export type EntityType =
|
|
21
|
+
export type EntityType = OpenEnum<typeof EntityType>;
|
|
19
22
|
|
|
20
23
|
/** @internal */
|
|
21
|
-
export const EntityType$inboundSchema: z.
|
|
22
|
-
|
|
24
|
+
export const EntityType$inboundSchema: z.ZodType<
|
|
25
|
+
EntityType,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
unknown
|
|
28
|
+
> = openEnums.inboundSchema(EntityType);
|
|
23
29
|
/** @internal */
|
|
24
|
-
export const EntityType$outboundSchema: z.
|
|
25
|
-
|
|
30
|
+
export const EntityType$outboundSchema: z.ZodType<
|
|
31
|
+
string,
|
|
32
|
+
z.ZodTypeDef,
|
|
33
|
+
EntityType
|
|
34
|
+
> = openEnums.outboundSchema(EntityType);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The type of Paygentic entity a new external reference points at
|
|
10
|
+
*/
|
|
11
|
+
export const EntityTypeInput = {
|
|
12
|
+
Item: "item",
|
|
13
|
+
Customer: "customer",
|
|
14
|
+
} as const;
|
|
15
|
+
/**
|
|
16
|
+
* The type of Paygentic entity a new external reference points at
|
|
17
|
+
*/
|
|
18
|
+
export type EntityTypeInput = ClosedEnum<typeof EntityTypeInput>;
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const EntityTypeInput$outboundSchema: z.ZodNativeEnum<
|
|
22
|
+
typeof EntityTypeInput
|
|
23
|
+
> = z.nativeEnum(EntityTypeInput);
|
|
@@ -10,6 +10,10 @@ import { PaygenticError } from "./paygenticerror.js";
|
|
|
10
10
|
* Customer cannot be deleted due to active dependencies
|
|
11
11
|
*/
|
|
12
12
|
export type DeleteCustomerConflictErrorData = {
|
|
13
|
+
/**
|
|
14
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
15
|
+
*/
|
|
16
|
+
requestId?: string | undefined;
|
|
13
17
|
error?: operations.ErrorT | undefined;
|
|
14
18
|
message?: string | undefined;
|
|
15
19
|
details?: operations.DeleteCustomerDetails | undefined;
|
|
@@ -19,6 +23,10 @@ export type DeleteCustomerConflictErrorData = {
|
|
|
19
23
|
* Customer cannot be deleted due to active dependencies
|
|
20
24
|
*/
|
|
21
25
|
export class DeleteCustomerConflictError extends PaygenticError {
|
|
26
|
+
/**
|
|
27
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
28
|
+
*/
|
|
29
|
+
requestId?: string | undefined;
|
|
22
30
|
error?: operations.ErrorT | undefined;
|
|
23
31
|
details?: operations.DeleteCustomerDetails | undefined;
|
|
24
32
|
|
|
@@ -32,6 +40,7 @@ export class DeleteCustomerConflictError extends PaygenticError {
|
|
|
32
40
|
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
33
41
|
super(message, httpMeta);
|
|
34
42
|
this.data$ = err;
|
|
43
|
+
if (err.requestId != null) this.requestId = err.requestId;
|
|
35
44
|
if (err.error != null) this.error = err.error;
|
|
36
45
|
if (err.details != null) this.details = err.details;
|
|
37
46
|
|
|
@@ -45,6 +54,7 @@ export const DeleteCustomerConflictError$inboundSchema: z.ZodType<
|
|
|
45
54
|
z.ZodTypeDef,
|
|
46
55
|
unknown
|
|
47
56
|
> = z.object({
|
|
57
|
+
requestId: z.string().optional(),
|
|
48
58
|
error: operations.ErrorT$inboundSchema.optional(),
|
|
49
59
|
message: z.string().optional(),
|
|
50
60
|
details: z.lazy(() => operations.DeleteCustomerDetails$inboundSchema)
|
|
@@ -10,6 +10,10 @@ import { PaygenticError } from "./paygenticerror.js";
|
|
|
10
10
|
* Fee cannot be deleted because it has associated prices
|
|
11
11
|
*/
|
|
12
12
|
export type DeleteFeeConflictErrorData = {
|
|
13
|
+
/**
|
|
14
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
15
|
+
*/
|
|
16
|
+
requestId?: string | undefined;
|
|
13
17
|
error?: string | undefined;
|
|
14
18
|
message?: string | undefined;
|
|
15
19
|
details?: operations.DeleteFeeDetails | undefined;
|
|
@@ -19,6 +23,10 @@ export type DeleteFeeConflictErrorData = {
|
|
|
19
23
|
* Fee cannot be deleted because it has associated prices
|
|
20
24
|
*/
|
|
21
25
|
export class DeleteFeeConflictError extends PaygenticError {
|
|
26
|
+
/**
|
|
27
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
28
|
+
*/
|
|
29
|
+
requestId?: string | undefined;
|
|
22
30
|
error?: string | undefined;
|
|
23
31
|
details?: operations.DeleteFeeDetails | undefined;
|
|
24
32
|
|
|
@@ -32,6 +40,7 @@ export class DeleteFeeConflictError extends PaygenticError {
|
|
|
32
40
|
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
33
41
|
super(message, httpMeta);
|
|
34
42
|
this.data$ = err;
|
|
43
|
+
if (err.requestId != null) this.requestId = err.requestId;
|
|
35
44
|
if (err.error != null) this.error = err.error;
|
|
36
45
|
if (err.details != null) this.details = err.details;
|
|
37
46
|
|
|
@@ -45,6 +54,7 @@ export const DeleteFeeConflictError$inboundSchema: z.ZodType<
|
|
|
45
54
|
z.ZodTypeDef,
|
|
46
55
|
unknown
|
|
47
56
|
> = z.object({
|
|
57
|
+
requestId: z.string().optional(),
|
|
48
58
|
error: z.string().optional(),
|
|
49
59
|
message: z.string().optional(),
|
|
50
60
|
details: z.lazy(() => operations.DeleteFeeDetails$inboundSchema).optional(),
|
|
@@ -10,6 +10,10 @@ import { PaygenticError } from "./paygenticerror.js";
|
|
|
10
10
|
* Price cannot be deleted because a live plan still references it
|
|
11
11
|
*/
|
|
12
12
|
export type DeletePriceConflictErrorData = {
|
|
13
|
+
/**
|
|
14
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
15
|
+
*/
|
|
16
|
+
requestId?: string | undefined;
|
|
13
17
|
error?: string | undefined;
|
|
14
18
|
message?: string | undefined;
|
|
15
19
|
details?: operations.DeletePriceDetails | undefined;
|
|
@@ -19,6 +23,10 @@ export type DeletePriceConflictErrorData = {
|
|
|
19
23
|
* Price cannot be deleted because a live plan still references it
|
|
20
24
|
*/
|
|
21
25
|
export class DeletePriceConflictError extends PaygenticError {
|
|
26
|
+
/**
|
|
27
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
28
|
+
*/
|
|
29
|
+
requestId?: string | undefined;
|
|
22
30
|
error?: string | undefined;
|
|
23
31
|
details?: operations.DeletePriceDetails | undefined;
|
|
24
32
|
|
|
@@ -32,6 +40,7 @@ export class DeletePriceConflictError extends PaygenticError {
|
|
|
32
40
|
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
33
41
|
super(message, httpMeta);
|
|
34
42
|
this.data$ = err;
|
|
43
|
+
if (err.requestId != null) this.requestId = err.requestId;
|
|
35
44
|
if (err.error != null) this.error = err.error;
|
|
36
45
|
if (err.details != null) this.details = err.details;
|
|
37
46
|
|
|
@@ -45,6 +54,7 @@ export const DeletePriceConflictError$inboundSchema: z.ZodType<
|
|
|
45
54
|
z.ZodTypeDef,
|
|
46
55
|
unknown
|
|
47
56
|
> = z.object({
|
|
57
|
+
requestId: z.string().optional(),
|
|
48
58
|
error: z.string().optional(),
|
|
49
59
|
message: z.string().optional(),
|
|
50
60
|
details: z.lazy(() => operations.DeletePriceDetails$inboundSchema).optional(),
|
|
@@ -34,6 +34,10 @@ export type ErrorTData = {
|
|
|
34
34
|
* Present on a 403 from the authorization check. The permissions the caller needs for this request.
|
|
35
35
|
*/
|
|
36
36
|
requiredPermissions?: Array<string> | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
39
|
+
*/
|
|
40
|
+
requestId?: string | undefined;
|
|
37
41
|
};
|
|
38
42
|
|
|
39
43
|
/**
|
|
@@ -60,6 +64,10 @@ export class ErrorT extends PaygenticError {
|
|
|
60
64
|
* Present on a 403 from the authorization check. The permissions the caller needs for this request.
|
|
61
65
|
*/
|
|
62
66
|
requiredPermissions?: Array<string> | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
69
|
+
*/
|
|
70
|
+
requestId?: string | undefined;
|
|
63
71
|
|
|
64
72
|
/** The original data that was passed to this error instance. */
|
|
65
73
|
data$: ErrorTData;
|
|
@@ -78,6 +86,7 @@ export class ErrorT extends PaygenticError {
|
|
|
78
86
|
if (err.requiredPermissions != null) {
|
|
79
87
|
this.requiredPermissions = err.requiredPermissions;
|
|
80
88
|
}
|
|
89
|
+
if (err.requestId != null) this.requestId = err.requestId;
|
|
81
90
|
|
|
82
91
|
this.name = "ErrorT";
|
|
83
92
|
}
|
|
@@ -92,6 +101,7 @@ export const ErrorT$inboundSchema: z.ZodType<ErrorT, z.ZodTypeDef, unknown> = z
|
|
|
92
101
|
details: z.record(z.any()).optional(),
|
|
93
102
|
reason: models.AuthorizationDenialReason$inboundSchema.optional(),
|
|
94
103
|
requiredPermissions: z.array(z.string()).optional(),
|
|
104
|
+
requestId: z.string().optional(),
|
|
95
105
|
request$: z.instanceof(Request),
|
|
96
106
|
response$: z.instanceof(Response),
|
|
97
107
|
body$: z.string(),
|
|
@@ -34,6 +34,10 @@ export type UnprocessableEntityErrorData = {
|
|
|
34
34
|
* Present on a 403 from the authorization check. The permissions the caller needs for this request.
|
|
35
35
|
*/
|
|
36
36
|
requiredPermissions?: Array<string> | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
39
|
+
*/
|
|
40
|
+
requestId?: string | undefined;
|
|
37
41
|
};
|
|
38
42
|
|
|
39
43
|
/**
|
|
@@ -60,6 +64,10 @@ export class UnprocessableEntityError extends PaygenticError {
|
|
|
60
64
|
* Present on a 403 from the authorization check. The permissions the caller needs for this request.
|
|
61
65
|
*/
|
|
62
66
|
requiredPermissions?: Array<string> | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
69
|
+
*/
|
|
70
|
+
requestId?: string | undefined;
|
|
63
71
|
|
|
64
72
|
/** The original data that was passed to this error instance. */
|
|
65
73
|
data$: UnprocessableEntityErrorData;
|
|
@@ -78,6 +86,7 @@ export class UnprocessableEntityError extends PaygenticError {
|
|
|
78
86
|
if (err.requiredPermissions != null) {
|
|
79
87
|
this.requiredPermissions = err.requiredPermissions;
|
|
80
88
|
}
|
|
89
|
+
if (err.requestId != null) this.requestId = err.requestId;
|
|
81
90
|
|
|
82
91
|
this.name = "UnprocessableEntityError";
|
|
83
92
|
}
|
|
@@ -95,6 +104,7 @@ export const UnprocessableEntityError$inboundSchema: z.ZodType<
|
|
|
95
104
|
details: z.record(z.any()).optional(),
|
|
96
105
|
reason: models.AuthorizationDenialReason$inboundSchema.optional(),
|
|
97
106
|
requiredPermissions: z.array(z.string()).optional(),
|
|
107
|
+
requestId: z.string().optional(),
|
|
98
108
|
request$: z.instanceof(Request),
|
|
99
109
|
response$: z.instanceof(Response),
|
|
100
110
|
body$: z.string(),
|
|
@@ -30,6 +30,10 @@ export type RetryPaymentResponseErrorData = {
|
|
|
30
30
|
* Why a payment retry did not collect the money.
|
|
31
31
|
*/
|
|
32
32
|
error?: models.RetryPaymentError | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
35
|
+
*/
|
|
36
|
+
requestId?: string | undefined;
|
|
33
37
|
};
|
|
34
38
|
|
|
35
39
|
/**
|
|
@@ -56,6 +60,10 @@ export class RetryPaymentResponseError extends PaygenticError {
|
|
|
56
60
|
* Why a payment retry did not collect the money.
|
|
57
61
|
*/
|
|
58
62
|
error?: models.RetryPaymentError | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
65
|
+
*/
|
|
66
|
+
requestId?: string | undefined;
|
|
59
67
|
|
|
60
68
|
/** The original data that was passed to this error instance. */
|
|
61
69
|
data$: RetryPaymentResponseErrorData;
|
|
@@ -73,6 +81,7 @@ export class RetryPaymentResponseError extends PaygenticError {
|
|
|
73
81
|
this.invoiceId = err.invoiceId;
|
|
74
82
|
if (err.paymentIntentId != null) this.paymentIntentId = err.paymentIntentId;
|
|
75
83
|
if (err.error != null) this.error = err.error;
|
|
84
|
+
if (err.requestId != null) this.requestId = err.requestId;
|
|
76
85
|
|
|
77
86
|
this.name = "RetryPaymentResponseError";
|
|
78
87
|
}
|
|
@@ -89,6 +98,7 @@ export const RetryPaymentResponseError$inboundSchema: z.ZodType<
|
|
|
89
98
|
invoiceId: z.string(),
|
|
90
99
|
paymentIntentId: z.string().optional(),
|
|
91
100
|
error: models.RetryPaymentError$inboundSchema.optional(),
|
|
101
|
+
requestId: z.string().optional(),
|
|
92
102
|
request$: z.instanceof(Request),
|
|
93
103
|
response$: z.instanceof(Response),
|
|
94
104
|
body$: z.string(),
|
|
@@ -10,6 +10,10 @@ import { PaygenticError } from "./paygenticerror.js";
|
|
|
10
10
|
* Price cannot be restructured because a subscription still bills it directly
|
|
11
11
|
*/
|
|
12
12
|
export type UpdatePriceConflictErrorData = {
|
|
13
|
+
/**
|
|
14
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
15
|
+
*/
|
|
16
|
+
requestId?: string | undefined;
|
|
13
17
|
error?: string | undefined;
|
|
14
18
|
message: string;
|
|
15
19
|
/**
|
|
@@ -23,6 +27,10 @@ export type UpdatePriceConflictErrorData = {
|
|
|
23
27
|
* Price cannot be restructured because a subscription still bills it directly
|
|
24
28
|
*/
|
|
25
29
|
export class UpdatePriceConflictError extends PaygenticError {
|
|
30
|
+
/**
|
|
31
|
+
* Identifies this request in our logs. Include it when you contact support. Also sent in the `request-id` response header.
|
|
32
|
+
*/
|
|
33
|
+
requestId?: string | undefined;
|
|
26
34
|
error?: string | undefined;
|
|
27
35
|
/**
|
|
28
36
|
* 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.
|
|
@@ -40,6 +48,7 @@ export class UpdatePriceConflictError extends PaygenticError {
|
|
|
40
48
|
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
41
49
|
super(message, httpMeta);
|
|
42
50
|
this.data$ = err;
|
|
51
|
+
if (err.requestId != null) this.requestId = err.requestId;
|
|
43
52
|
if (err.error != null) this.error = err.error;
|
|
44
53
|
this.code = err.code;
|
|
45
54
|
if (err.details != null) this.details = err.details;
|
|
@@ -54,6 +63,7 @@ export const UpdatePriceConflictError$inboundSchema: z.ZodType<
|
|
|
54
63
|
z.ZodTypeDef,
|
|
55
64
|
unknown
|
|
56
65
|
> = z.object({
|
|
66
|
+
requestId: z.string().optional(),
|
|
57
67
|
error: z.string().optional(),
|
|
58
68
|
message: z.string(),
|
|
59
69
|
code: z.string(),
|