@maesn/typescript-sdk 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +2 -2
- package/esm/funcs/accounting-v2-create-booking-proposal-v2.js +1 -1
- package/esm/funcs/accounting-v2-create-booking-proposal-v2.js.map +1 -1
- package/esm/funcs/accounting-v2-create-contact-v2.js +1 -1
- package/esm/funcs/accounting-v2-put-contact-v2.js +1 -1
- package/esm/funcs/accounting-v2-put-contact-v2.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/account-response-dto.d.ts +9 -9
- package/esm/models/account-response-dto.d.ts.map +1 -1
- package/esm/models/account-response-dto.js +4 -6
- package/esm/models/account-response-dto.js.map +1 -1
- package/esm/models/address-offer.d.ts +7 -7
- package/esm/models/address-offer.d.ts.map +1 -1
- package/esm/models/address-offer.js +4 -5
- package/esm/models/address-offer.js.map +1 -1
- package/esm/models/address.d.ts +7 -7
- package/esm/models/address.d.ts.map +1 -1
- package/esm/models/address.js +5 -5
- package/esm/models/address.js.map +1 -1
- package/esm/models/async-task-response-dto.d.ts +8 -4
- package/esm/models/async-task-response-dto.d.ts.map +1 -1
- package/esm/models/async-task-response-dto.js +7 -3
- package/esm/models/async-task-response-dto.js.map +1 -1
- package/esm/models/bank-account-response-dto.d.ts +7 -7
- package/esm/models/bank-account-response-dto.d.ts.map +1 -1
- package/esm/models/bank-account-response-dto.js +3 -4
- package/esm/models/bank-account-response-dto.js.map +1 -1
- package/esm/models/bill-response-dto.d.ts +9 -9
- package/esm/models/bill-response-dto.d.ts.map +1 -1
- package/esm/models/bill-response-dto.js +4 -5
- package/esm/models/bill-response-dto.js.map +1 -1
- package/esm/models/booking-proposal-address-response-dto-v2.d.ts +10 -0
- package/esm/models/booking-proposal-address-response-dto-v2.d.ts.map +1 -0
- package/esm/models/booking-proposal-address-response-dto-v2.js +14 -0
- package/esm/models/booking-proposal-address-response-dto-v2.js.map +1 -0
- package/esm/models/booking-proposal-line-item-response-dto-v2.d.ts +42 -0
- package/esm/models/booking-proposal-line-item-response-dto-v2.d.ts.map +1 -0
- package/esm/models/booking-proposal-line-item-response-dto-v2.js +45 -0
- package/esm/models/booking-proposal-line-item-response-dto-v2.js.map +1 -0
- package/esm/models/booking-proposal-response-dto-v2.d.ts +83 -0
- package/esm/models/booking-proposal-response-dto-v2.d.ts.map +1 -0
- package/esm/models/booking-proposal-response-dto-v2.js +86 -0
- package/esm/models/booking-proposal-response-dto-v2.js.map +1 -0
- package/esm/models/booking-proposal-response-dto.d.ts +7 -7
- package/esm/models/booking-proposal-response-dto.d.ts.map +1 -1
- package/esm/models/booking-proposal-response-dto.js +4 -5
- package/esm/models/booking-proposal-response-dto.js.map +1 -1
- package/esm/models/contact-address-v2.d.ts +5 -5
- package/esm/models/contact-address-v2.d.ts.map +1 -1
- package/esm/models/contact-address-v2.js +2 -3
- package/esm/models/contact-address-v2.js.map +1 -1
- package/esm/models/contact-address.d.ts +5 -5
- package/esm/models/contact-address.d.ts.map +1 -1
- package/esm/models/contact-address.js +2 -3
- package/esm/models/contact-address.js.map +1 -1
- package/esm/models/contact-response-dto-v2.d.ts +3 -3
- package/esm/models/contact-response-dto-v2.d.ts.map +1 -1
- package/esm/models/contact-response-dto-v2.js +1 -2
- package/esm/models/contact-response-dto-v2.js.map +1 -1
- package/esm/models/contact-response-dto.d.ts +5 -5
- package/esm/models/contact-response-dto.d.ts.map +1 -1
- package/esm/models/contact-response-dto.js +2 -3
- package/esm/models/contact-response-dto.js.map +1 -1
- package/esm/models/create-journal-line-item.d.ts +2 -2
- package/esm/models/create-journal-line-item.js +1 -1
- package/esm/models/create-vendor-credit-request-dto.d.ts +2 -0
- package/esm/models/create-vendor-credit-request-dto.d.ts.map +1 -1
- package/esm/models/create-vendor-credit-request-dto.js +1 -0
- package/esm/models/create-vendor-credit-request-dto.js.map +1 -1
- package/esm/models/credit-note-response-dto.d.ts +5 -5
- package/esm/models/credit-note-response-dto.d.ts.map +1 -1
- package/esm/models/credit-note-response-dto.js +2 -3
- package/esm/models/credit-note-response-dto.js.map +1 -1
- package/esm/models/dimension-response-common-dto-v2.d.ts +13 -0
- package/esm/models/dimension-response-common-dto-v2.d.ts.map +1 -0
- package/esm/models/dimension-response-common-dto-v2.js +17 -0
- package/esm/models/dimension-response-common-dto-v2.js.map +1 -0
- package/esm/models/email-address-v2.d.ts +4 -4
- package/esm/models/email-address-v2.d.ts.map +1 -1
- package/esm/models/email-address-v2.js +2 -3
- package/esm/models/email-address-v2.js.map +1 -1
- package/esm/models/email-address.d.ts +3 -3
- package/esm/models/email-address.d.ts.map +1 -1
- package/esm/models/email-address.js +1 -2
- package/esm/models/email-address.js.map +1 -1
- package/esm/models/expense-line-item-response.d.ts +3 -3
- package/esm/models/expense-line-item-response.d.ts.map +1 -1
- package/esm/models/expense-line-item-response.js +1 -2
- package/esm/models/expense-line-item-response.js.map +1 -1
- package/esm/models/expense-response-dto.d.ts +7 -7
- package/esm/models/expense-response-dto.d.ts.map +1 -1
- package/esm/models/expense-response-dto.js +3 -4
- package/esm/models/expense-response-dto.js.map +1 -1
- package/esm/models/fiscal-year-response-dto.d.ts +5 -5
- package/esm/models/fiscal-year-response-dto.d.ts.map +1 -1
- package/esm/models/fiscal-year-response-dto.js +2 -3
- package/esm/models/fiscal-year-response-dto.js.map +1 -1
- package/esm/models/index.d.ts +4 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +4 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/invoice-response-dto.d.ts +11 -11
- package/esm/models/invoice-response-dto.d.ts.map +1 -1
- package/esm/models/invoice-response-dto.js +5 -6
- package/esm/models/invoice-response-dto.js.map +1 -1
- package/esm/models/item-response-dto.d.ts +5 -5
- package/esm/models/item-response-dto.d.ts.map +1 -1
- package/esm/models/item-response-dto.js +2 -3
- package/esm/models/item-response-dto.js.map +1 -1
- package/esm/models/journal-entry-response-dto.d.ts +5 -5
- package/esm/models/journal-entry-response-dto.d.ts.map +1 -1
- package/esm/models/journal-entry-response-dto.js +2 -3
- package/esm/models/journal-entry-response-dto.js.map +1 -1
- package/esm/models/journal-line-item.d.ts +5 -5
- package/esm/models/journal-line-item.d.ts.map +1 -1
- package/esm/models/journal-line-item.js +2 -3
- package/esm/models/journal-line-item.js.map +1 -1
- package/esm/models/line-item-response.d.ts +3 -3
- package/esm/models/line-item-response.d.ts.map +1 -1
- package/esm/models/line-item-response.js +1 -2
- package/esm/models/line-item-response.js.map +1 -1
- package/esm/models/monthly-value.d.ts +3 -3
- package/esm/models/monthly-value.d.ts.map +1 -1
- package/esm/models/monthly-value.js +1 -2
- package/esm/models/monthly-value.js.map +1 -1
- package/esm/models/offer-line-item-response-dto.d.ts +3 -3
- package/esm/models/offer-line-item-response-dto.d.ts.map +1 -1
- package/esm/models/offer-line-item-response-dto.js +1 -2
- package/esm/models/offer-line-item-response-dto.js.map +1 -1
- package/esm/models/offer-response-dto.d.ts +3 -3
- package/esm/models/offer-response-dto.d.ts.map +1 -1
- package/esm/models/offer-response-dto.js +1 -2
- package/esm/models/offer-response-dto.js.map +1 -1
- package/esm/models/open-item-entry-response-dto.d.ts +3 -3
- package/esm/models/open-item-entry-response-dto.d.ts.map +1 -1
- package/esm/models/open-item-entry-response-dto.js +1 -2
- package/esm/models/open-item-entry-response-dto.js.map +1 -1
- package/esm/models/open-item-response-dto.d.ts +5 -5
- package/esm/models/open-item-response-dto.d.ts.map +1 -1
- package/esm/models/open-item-response-dto.js +2 -4
- package/esm/models/open-item-response-dto.js.map +1 -1
- package/esm/models/operations/create-booking-proposal-v2.d.ts +68 -18
- package/esm/models/operations/create-booking-proposal-v2.d.ts.map +1 -1
- package/esm/models/operations/create-booking-proposal-v2.js +73 -18
- package/esm/models/operations/create-booking-proposal-v2.js.map +1 -1
- package/esm/models/operations/get-booking-proposals.d.ts +4 -4
- package/esm/models/operations/get-booking-proposals.d.ts.map +1 -1
- package/esm/models/operations/get-booking-proposals.js +3 -4
- package/esm/models/operations/get-booking-proposals.js.map +1 -1
- package/esm/models/operations/put-contact-v2.d.ts +57 -17
- package/esm/models/operations/put-contact-v2.d.ts.map +1 -1
- package/esm/models/operations/put-contact-v2.js +64 -17
- package/esm/models/operations/put-contact-v2.js.map +1 -1
- package/esm/models/payment-response-dto.d.ts +3 -3
- package/esm/models/payment-response-dto.d.ts.map +1 -1
- package/esm/models/payment-response-dto.js +1 -2
- package/esm/models/payment-response-dto.js.map +1 -1
- package/esm/models/payment-term-response-dto.d.ts +5 -5
- package/esm/models/payment-term-response-dto.d.ts.map +1 -1
- package/esm/models/payment-term-response-dto.js +2 -3
- package/esm/models/payment-term-response-dto.js.map +1 -1
- package/esm/models/phone-number-v2.d.ts +4 -4
- package/esm/models/phone-number-v2.d.ts.map +1 -1
- package/esm/models/phone-number-v2.js +2 -3
- package/esm/models/phone-number-v2.js.map +1 -1
- package/esm/models/phone-number.d.ts +3 -3
- package/esm/models/phone-number.d.ts.map +1 -1
- package/esm/models/phone-number.js +1 -2
- package/esm/models/phone-number.js.map +1 -1
- package/esm/models/project-response-dto.d.ts +5 -5
- package/esm/models/project-response-dto.d.ts.map +1 -1
- package/esm/models/project-response-dto.js +2 -3
- package/esm/models/project-response-dto.js.map +1 -1
- package/esm/models/purchase-order-response-dto.d.ts +5 -5
- package/esm/models/purchase-order-response-dto.d.ts.map +1 -1
- package/esm/models/purchase-order-response-dto.js +2 -3
- package/esm/models/purchase-order-response-dto.js.map +1 -1
- package/esm/models/sales-order-response-dto.d.ts +3 -3
- package/esm/models/sales-order-response-dto.d.ts.map +1 -1
- package/esm/models/sales-order-response-dto.js +1 -2
- package/esm/models/sales-order-response-dto.js.map +1 -1
- package/esm/models/tax-rate-response-dto.d.ts +5 -5
- package/esm/models/tax-rate-response-dto.d.ts.map +1 -1
- package/esm/models/tax-rate-response-dto.js +2 -4
- package/esm/models/tax-rate-response-dto.js.map +1 -1
- package/esm/models/transaction-response-dto.d.ts +7 -7
- package/esm/models/transaction-response-dto.d.ts.map +1 -1
- package/esm/models/transaction-response-dto.js +3 -4
- package/esm/models/transaction-response-dto.js.map +1 -1
- package/esm/models/trial-balance-response-dto.d.ts +5 -5
- package/esm/models/trial-balance-response-dto.d.ts.map +1 -1
- package/esm/models/trial-balance-response-dto.js +3 -3
- package/esm/models/trial-balance-response-dto.js.map +1 -1
- package/esm/models/vendor-credit-response-dto.d.ts +10 -9
- package/esm/models/vendor-credit-response-dto.d.ts.map +1 -1
- package/esm/models/vendor-credit-response-dto.js +5 -5
- package/esm/models/vendor-credit-response-dto.js.map +1 -1
- package/esm/types/primitives.d.ts +1 -1
- package/esm/types/primitives.d.ts.map +1 -1
- package/esm/types/primitives.js +2 -3
- package/esm/types/primitives.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/accounting-v2-create-booking-proposal-v2.ts +1 -0
- package/src/funcs/accounting-v2-create-contact-v2.ts +1 -1
- package/src/funcs/accounting-v2-put-contact-v2.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/models/account-response-dto.ts +19 -20
- package/src/models/address-offer.ts +17 -20
- package/src/models/address.ts +13 -16
- package/src/models/async-task-response-dto.ts +23 -9
- package/src/models/bank-account-response-dto.ts +13 -17
- package/src/models/bill-response-dto.ts +17 -22
- package/src/models/booking-proposal-address-response-dto-v2.ts +32 -0
- package/src/models/booking-proposal-line-item-response-dto-v2.ts +106 -0
- package/src/models/booking-proposal-response-dto-v2.ts +195 -0
- package/src/models/booking-proposal-response-dto.ts +16 -13
- package/src/models/contact-address-v2.ts +9 -12
- package/src/models/contact-address.ts +9 -12
- package/src/models/contact-response-dto-v2.ts +5 -7
- package/src/models/contact-response-dto.ts +9 -12
- package/src/models/create-journal-line-item.ts +3 -3
- package/src/models/create-vendor-credit-request-dto.ts +3 -0
- package/src/models/credit-note-response-dto.ts +9 -12
- package/src/models/dimension-response-common-dto-v2.ts +37 -0
- package/src/models/email-address-v2.ts +8 -11
- package/src/models/email-address.ts +5 -7
- package/src/models/expense-line-item-response.ts +5 -7
- package/src/models/expense-response-dto.ts +13 -17
- package/src/models/fiscal-year-response-dto.ts +9 -12
- package/src/models/index.ts +4 -0
- package/src/models/invoice-response-dto.ts +21 -27
- package/src/models/item-response-dto.ts +11 -12
- package/src/models/journal-entry-response-dto.ts +9 -10
- package/src/models/journal-line-item.ts +11 -12
- package/src/models/line-item-response.ts +5 -7
- package/src/models/monthly-value.ts +5 -7
- package/src/models/offer-line-item-response-dto.ts +5 -7
- package/src/models/offer-response-dto.ts +5 -7
- package/src/models/open-item-entry-response-dto.ts +5 -5
- package/src/models/open-item-response-dto.ts +11 -10
- package/src/models/operations/create-booking-proposal-v2.ts +212 -41
- package/src/models/operations/get-booking-proposals.ts +9 -6
- package/src/models/operations/put-contact-v2.ts +184 -39
- package/src/models/payment-response-dto.ts +5 -7
- package/src/models/payment-term-response-dto.ts +8 -12
- package/src/models/phone-number-v2.ts +8 -11
- package/src/models/phone-number.ts +5 -7
- package/src/models/project-response-dto.ts +9 -12
- package/src/models/purchase-order-response-dto.ts +9 -12
- package/src/models/sales-order-response-dto.ts +5 -7
- package/src/models/tax-rate-response-dto.ts +7 -10
- package/src/models/transaction-response-dto.ts +13 -17
- package/src/models/trial-balance-response-dto.ts +8 -10
- package/src/models/vendor-credit-response-dto.ts +19 -22
- package/src/types/primitives.ts +2 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-response-dto.js","sourceRoot":"","sources":["../../src/models/project-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"project-response-dto.js","sourceRoot":"","sources":["../../src/models/project-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SA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zC,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAC5C,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,UAAkB,EACuC;IACzD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AAAA,CACH"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4-mini";
|
|
2
|
-
import {
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { Address } from "./address.js";
|
|
5
5
|
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
@@ -162,14 +162,14 @@ export declare const PurchaseOrderResponseDtoCurrency: {
|
|
|
162
162
|
readonly Zmk: "ZMK";
|
|
163
163
|
readonly Zwr: "ZWR";
|
|
164
164
|
};
|
|
165
|
-
export type PurchaseOrderResponseDtoCurrency =
|
|
165
|
+
export type PurchaseOrderResponseDtoCurrency = ClosedEnum<typeof PurchaseOrderResponseDtoCurrency>;
|
|
166
166
|
export declare const PurchaseOrderResponseDtoStatus: {
|
|
167
167
|
readonly Open: "OPEN";
|
|
168
168
|
readonly Closed: "CLOSED";
|
|
169
169
|
readonly PartiallyFulfilled: "PARTIALLY_FULFILLED";
|
|
170
170
|
readonly Canceled: "CANCELED";
|
|
171
171
|
};
|
|
172
|
-
export type PurchaseOrderResponseDtoStatus =
|
|
172
|
+
export type PurchaseOrderResponseDtoStatus = ClosedEnum<typeof PurchaseOrderResponseDtoStatus>;
|
|
173
173
|
export type PurchaseOrderResponseDto = {
|
|
174
174
|
id: string | null;
|
|
175
175
|
addresses: Array<Address> | null;
|
|
@@ -192,9 +192,9 @@ export type PurchaseOrderResponseDto = {
|
|
|
192
192
|
updatedDate: string | null;
|
|
193
193
|
};
|
|
194
194
|
/** @internal */
|
|
195
|
-
export declare const PurchaseOrderResponseDtoCurrency$inboundSchema: z.
|
|
195
|
+
export declare const PurchaseOrderResponseDtoCurrency$inboundSchema: z.ZodMiniEnum<typeof PurchaseOrderResponseDtoCurrency>;
|
|
196
196
|
/** @internal */
|
|
197
|
-
export declare const PurchaseOrderResponseDtoStatus$inboundSchema: z.
|
|
197
|
+
export declare const PurchaseOrderResponseDtoStatus$inboundSchema: z.ZodMiniEnum<typeof PurchaseOrderResponseDtoStatus>;
|
|
198
198
|
/** @internal */
|
|
199
199
|
export declare const PurchaseOrderResponseDto$inboundSchema: z.ZodMiniType<PurchaseOrderResponseDto, unknown>;
|
|
200
200
|
export declare function purchaseOrderResponseDtoFromJSON(jsonString: string): SafeParseResult<PurchaseOrderResponseDto, SDKValidationError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"purchase-order-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/purchase-order-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"purchase-order-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/purchase-order-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,gCAAgC,EAEjC,MAAM,4CAA4C,CAAC;AAEpD,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AA8C,EAAE,CAAC,CAAC,WAAW,CACxE,OAAO,gCAAgC,CACG,CAAC;AAE7C,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,WAAW,CACtE,OAAO,8BAA8B,CACG,CAAC;AAE3C,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,wBAAwB,EACxB,OAAO,CAuBP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
5
|
import { safeParse } from "../lib/schemas.js";
|
|
6
|
-
import * as openEnums from "../types/enums.js";
|
|
7
6
|
import * as types from "../types/primitives.js";
|
|
8
7
|
import { Address$inboundSchema } from "./address.js";
|
|
9
8
|
import { PurchaseOrderLineItemResponseDto$inboundSchema, } from "./purchase-order-line-item-response-dto.js";
|
|
@@ -172,9 +171,9 @@ export const PurchaseOrderResponseDtoStatus = {
|
|
|
172
171
|
Canceled: "CANCELED",
|
|
173
172
|
};
|
|
174
173
|
/** @internal */
|
|
175
|
-
export const PurchaseOrderResponseDtoCurrency$inboundSchema =
|
|
174
|
+
export const PurchaseOrderResponseDtoCurrency$inboundSchema = z.enum(PurchaseOrderResponseDtoCurrency);
|
|
176
175
|
/** @internal */
|
|
177
|
-
export const PurchaseOrderResponseDtoStatus$inboundSchema =
|
|
176
|
+
export const PurchaseOrderResponseDtoStatus$inboundSchema = z.enum(PurchaseOrderResponseDtoStatus);
|
|
178
177
|
/** @internal */
|
|
179
178
|
export const PurchaseOrderResponseDto$inboundSchema = z.object({
|
|
180
179
|
id: types.nullable(types.string()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"purchase-order-response-dto.js","sourceRoot":"","sources":["../../src/models/purchase-order-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"purchase-order-response-dto.js","sourceRoot":"","sources":["../../src/models/purchase-order-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAW,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAEL,8CAA8C,GAC/C,MAAM,4CAA4C,CAAC;AAEpD,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE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H"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4-mini";
|
|
2
|
-
import {
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { Address } from "./address.js";
|
|
5
5
|
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
@@ -11,7 +11,7 @@ export declare const SalesOrderResponseDtoStatus: {
|
|
|
11
11
|
readonly Closed: "CLOSED";
|
|
12
12
|
readonly Voided: "VOIDED";
|
|
13
13
|
};
|
|
14
|
-
export type SalesOrderResponseDtoStatus =
|
|
14
|
+
export type SalesOrderResponseDtoStatus = ClosedEnum<typeof SalesOrderResponseDtoStatus>;
|
|
15
15
|
export type SalesOrderResponseDto = {
|
|
16
16
|
id: string | null;
|
|
17
17
|
addresses: Array<Address> | null;
|
|
@@ -36,7 +36,7 @@ export type SalesOrderResponseDto = {
|
|
|
36
36
|
updatedDate: string | null;
|
|
37
37
|
};
|
|
38
38
|
/** @internal */
|
|
39
|
-
export declare const SalesOrderResponseDtoStatus$inboundSchema: z.
|
|
39
|
+
export declare const SalesOrderResponseDtoStatus$inboundSchema: z.ZodMiniEnum<typeof SalesOrderResponseDtoStatus>;
|
|
40
40
|
/** @internal */
|
|
41
41
|
export declare const SalesOrderResponseDto$inboundSchema: z.ZodMiniType<SalesOrderResponseDto, unknown>;
|
|
42
42
|
export declare function salesOrderResponseDtoFromJSON(jsonString: string): SafeParseResult<SalesOrderResponseDto, SDKValidationError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sales-order-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/sales-order-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"sales-order-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/sales-order-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAA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;IACvC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,WAAW,CACnE,OAAO,2BAA2B,CACG,CAAC;AAExC,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,WAAW,CAC7D,qBAAqB,EACrB,OAAO,CAyBP,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
5
|
import { safeParse } from "../lib/schemas.js";
|
|
6
|
-
import * as openEnums from "../types/enums.js";
|
|
7
6
|
import * as types from "../types/primitives.js";
|
|
8
7
|
import { Address$inboundSchema } from "./address.js";
|
|
9
8
|
import { SalesOrderLineItemResponseDto$inboundSchema, } from "./sales-order-line-item-response-dto.js";
|
|
@@ -15,7 +14,7 @@ export const SalesOrderResponseDtoStatus = {
|
|
|
15
14
|
Voided: "VOIDED",
|
|
16
15
|
};
|
|
17
16
|
/** @internal */
|
|
18
|
-
export const SalesOrderResponseDtoStatus$inboundSchema =
|
|
17
|
+
export const SalesOrderResponseDtoStatus$inboundSchema = z.enum(SalesOrderResponseDtoStatus);
|
|
19
18
|
/** @internal */
|
|
20
19
|
export const SalesOrderResponseDto$inboundSchema = z.object({
|
|
21
20
|
id: types.nullable(types.string()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sales-order-response-dto.js","sourceRoot":"","sources":["../../src/models/sales-order-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK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CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AAAA,CACH"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4-mini";
|
|
2
|
-
import {
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
5
5
|
export declare const TaxRateResponseDtoType: {
|
|
@@ -8,7 +8,7 @@ export declare const TaxRateResponseDtoType: {
|
|
|
8
8
|
readonly NoTax: "NO_TAX";
|
|
9
9
|
readonly ZeroTax: "ZERO_TAX";
|
|
10
10
|
};
|
|
11
|
-
export type TaxRateResponseDtoType =
|
|
11
|
+
export type TaxRateResponseDtoType = ClosedEnum<typeof TaxRateResponseDtoType>;
|
|
12
12
|
export declare const Usage: {
|
|
13
13
|
readonly Invoice: "INVOICE";
|
|
14
14
|
readonly Bill: "BILL";
|
|
@@ -16,7 +16,7 @@ export declare const Usage: {
|
|
|
16
16
|
readonly Cash: "CASH";
|
|
17
17
|
readonly All: "ALL";
|
|
18
18
|
};
|
|
19
|
-
export type Usage =
|
|
19
|
+
export type Usage = ClosedEnum<typeof Usage>;
|
|
20
20
|
export type TaxRateResponseDto = {
|
|
21
21
|
id: string | null;
|
|
22
22
|
code: string | null;
|
|
@@ -29,9 +29,9 @@ export type TaxRateResponseDto = {
|
|
|
29
29
|
usage: Usage | null;
|
|
30
30
|
};
|
|
31
31
|
/** @internal */
|
|
32
|
-
export declare const TaxRateResponseDtoType$inboundSchema: z.
|
|
32
|
+
export declare const TaxRateResponseDtoType$inboundSchema: z.ZodMiniEnum<typeof TaxRateResponseDtoType>;
|
|
33
33
|
/** @internal */
|
|
34
|
-
export declare const Usage$inboundSchema: z.
|
|
34
|
+
export declare const Usage$inboundSchema: z.ZodMiniEnum<typeof Usage>;
|
|
35
35
|
/** @internal */
|
|
36
36
|
export declare const TaxRateResponseDto$inboundSchema: z.ZodMiniType<TaxRateResponseDto, unknown>;
|
|
37
37
|
export declare function taxRateResponseDtoFromJSON(jsonString: string): SafeParseResult<TaxRateResponseDto, SDKValidationError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tax-rate-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/tax-rate-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"tax-rate-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/tax-rate-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE/E,eAAO,MAAM,KAAK;;;;;;CAMR,CAAC;AACX,MAAM,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC;AAE7C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,IAAI,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACpC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,OAAO,sBAAsB,CACG,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,WAAW,CAAC,OAAO,KAAK,CAAiB,CAAC;AAE9E,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,kBAAkB,EAClB,OAAO,CAWP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
5
|
import { safeParse } from "../lib/schemas.js";
|
|
6
|
-
import * as openEnums from "../types/enums.js";
|
|
7
6
|
import * as types from "../types/primitives.js";
|
|
8
7
|
export const TaxRateResponseDtoType = {
|
|
9
8
|
Inclusive: "INCLUSIVE",
|
|
@@ -19,10 +18,9 @@ export const Usage = {
|
|
|
19
18
|
All: "ALL",
|
|
20
19
|
};
|
|
21
20
|
/** @internal */
|
|
22
|
-
export const TaxRateResponseDtoType$inboundSchema =
|
|
21
|
+
export const TaxRateResponseDtoType$inboundSchema = z.enum(TaxRateResponseDtoType);
|
|
23
22
|
/** @internal */
|
|
24
|
-
export const Usage$inboundSchema =
|
|
25
|
-
.inboundSchema(Usage);
|
|
23
|
+
export const Usage$inboundSchema = z.enum(Usage);
|
|
26
24
|
/** @internal */
|
|
27
25
|
export const TaxRateResponseDto$inboundSchema = z.object({
|
|
28
26
|
id: types.nullable(types.string()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tax-rate-response-dto.js","sourceRoot":"","sources":["../../src/models/tax-rate-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"tax-rate-response-dto.js","sourceRoot":"","sources":["../../src/models/tax-rate-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAGhD,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE,UAAU;CACX,CAAC;AAGX,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,eAAe;IAC7B,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;CACF,CAAC;AAeX,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAE7C,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;AAEnC,gBAAgB;AAChB,MAAM,CAAC,MAAM,mBAAmB,GAAgC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAE9E,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAClC,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACpC,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACpC,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IAC1D,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,mBAAmB,CAAC;CAC3C,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,UAAkB,EACuC;IACzD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AAAA,CACH"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4-mini";
|
|
2
|
-
import {
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
5
5
|
export declare const TransactionResponseDtoCurrency: {
|
|
@@ -160,7 +160,7 @@ export declare const TransactionResponseDtoCurrency: {
|
|
|
160
160
|
readonly Zmk: "ZMK";
|
|
161
161
|
readonly Zwr: "ZWR";
|
|
162
162
|
};
|
|
163
|
-
export type TransactionResponseDtoCurrency =
|
|
163
|
+
export type TransactionResponseDtoCurrency = ClosedEnum<typeof TransactionResponseDtoCurrency>;
|
|
164
164
|
export declare const TransactionResponseDtoStatus: {
|
|
165
165
|
readonly Created: "CREATED";
|
|
166
166
|
readonly Linked: "LINKED";
|
|
@@ -169,7 +169,7 @@ export declare const TransactionResponseDtoStatus: {
|
|
|
169
169
|
readonly Authorised: "AUTHORISED";
|
|
170
170
|
readonly Deleted: "DELETED";
|
|
171
171
|
};
|
|
172
|
-
export type TransactionResponseDtoStatus =
|
|
172
|
+
export type TransactionResponseDtoStatus = ClosedEnum<typeof TransactionResponseDtoStatus>;
|
|
173
173
|
export declare const TransactionResponseDtoType: {
|
|
174
174
|
readonly Receive: "RECEIVE";
|
|
175
175
|
readonly ReceiveOverpayment: "RECEIVE-OVERPAYMENT";
|
|
@@ -180,7 +180,7 @@ export declare const TransactionResponseDtoType: {
|
|
|
180
180
|
readonly ReceiveTransfer: "RECEIVE-TRANSFER";
|
|
181
181
|
readonly SpendTransfer: "SPEND-TRANSFER";
|
|
182
182
|
};
|
|
183
|
-
export type TransactionResponseDtoType =
|
|
183
|
+
export type TransactionResponseDtoType = ClosedEnum<typeof TransactionResponseDtoType>;
|
|
184
184
|
export type TransactionResponseDto = {
|
|
185
185
|
id: string | null;
|
|
186
186
|
accountId: string | null;
|
|
@@ -201,11 +201,11 @@ export type TransactionResponseDto = {
|
|
|
201
201
|
valueDate: string | null;
|
|
202
202
|
};
|
|
203
203
|
/** @internal */
|
|
204
|
-
export declare const TransactionResponseDtoCurrency$inboundSchema: z.
|
|
204
|
+
export declare const TransactionResponseDtoCurrency$inboundSchema: z.ZodMiniEnum<typeof TransactionResponseDtoCurrency>;
|
|
205
205
|
/** @internal */
|
|
206
|
-
export declare const TransactionResponseDtoStatus$inboundSchema: z.
|
|
206
|
+
export declare const TransactionResponseDtoStatus$inboundSchema: z.ZodMiniEnum<typeof TransactionResponseDtoStatus>;
|
|
207
207
|
/** @internal */
|
|
208
|
-
export declare const TransactionResponseDtoType$inboundSchema: z.
|
|
208
|
+
export declare const TransactionResponseDtoType$inboundSchema: z.ZodMiniEnum<typeof TransactionResponseDtoType>;
|
|
209
209
|
/** @internal */
|
|
210
210
|
export declare const TransactionResponseDto$inboundSchema: z.ZodMiniType<TransactionResponseDto, unknown>;
|
|
211
211
|
export declare function transactionResponseDtoFromJSON(jsonString: string): SafeParseResult<TransactionResponseDto, SDKValidationError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/transaction-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"transaction-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/transaction-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6JjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,8BAA8B,CACtC,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;CAO/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;CAS7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,OAAO,0BAA0B,CAClC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,MAAM,EAAE,MAAM,GAAG,IAA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as openEnums from "../types/enums.js";
|
|
7
6
|
import * as types from "../types/primitives.js";
|
|
8
7
|
export const TransactionResponseDtoCurrency = {
|
|
9
8
|
Aed: "AED",
|
|
@@ -182,11 +181,11 @@ export const TransactionResponseDtoType = {
|
|
|
182
181
|
SpendTransfer: "SPEND-TRANSFER",
|
|
183
182
|
};
|
|
184
183
|
/** @internal */
|
|
185
|
-
export const TransactionResponseDtoCurrency$inboundSchema =
|
|
184
|
+
export const TransactionResponseDtoCurrency$inboundSchema = z.enum(TransactionResponseDtoCurrency);
|
|
186
185
|
/** @internal */
|
|
187
|
-
export const TransactionResponseDtoStatus$inboundSchema =
|
|
186
|
+
export const TransactionResponseDtoStatus$inboundSchema = z.enum(TransactionResponseDtoStatus);
|
|
188
187
|
/** @internal */
|
|
189
|
-
export const TransactionResponseDtoType$inboundSchema =
|
|
188
|
+
export const TransactionResponseDtoType$inboundSchema = z.enum(TransactionResponseDtoType);
|
|
190
189
|
/** @internal */
|
|
191
190
|
export const TransactionResponseDto$inboundSchema = z.object({
|
|
192
191
|
id: types.nullable(types.string()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction-response-dto.js","sourceRoot":"","sources":["../../src/models/transaction-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"transaction-response-dto.js","sourceRoot":"","sources":["../../src/models/transaction-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAGhD,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,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AC3C,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IAC9C,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACzC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,0CAA0C,CAAC;IAClE,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACtC,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACjD,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,wCAAwC,CAAC;IAC9D,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAC1C,CAAC,CAAC;AAEH,MAAM,UAAU,8BAA8B,CAC5C,UAAkB,EAC2C;IAC7D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AAAA,CACH"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4-mini";
|
|
2
|
-
import {
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
5
5
|
import { MonthlyValue } from "./monthly-value.js";
|
|
@@ -7,7 +7,7 @@ export declare const TrialBalanceResponseDtoBalanceDebitCreditIndicator: {
|
|
|
7
7
|
readonly Debit: "DEBIT";
|
|
8
8
|
readonly Credit: "CREDIT";
|
|
9
9
|
};
|
|
10
|
-
export type TrialBalanceResponseDtoBalanceDebitCreditIndicator =
|
|
10
|
+
export type TrialBalanceResponseDtoBalanceDebitCreditIndicator = ClosedEnum<typeof TrialBalanceResponseDtoBalanceDebitCreditIndicator>;
|
|
11
11
|
export type TrialBalanceResponseDtoBalance = {
|
|
12
12
|
amount: number | null;
|
|
13
13
|
debitCreditIndicator: TrialBalanceResponseDtoBalanceDebitCreditIndicator | null;
|
|
@@ -16,7 +16,7 @@ export declare const OpeningBalanceDebitCreditIndicator: {
|
|
|
16
16
|
readonly Debit: "DEBIT";
|
|
17
17
|
readonly Credit: "CREDIT";
|
|
18
18
|
};
|
|
19
|
-
export type OpeningBalanceDebitCreditIndicator =
|
|
19
|
+
export type OpeningBalanceDebitCreditIndicator = ClosedEnum<typeof OpeningBalanceDebitCreditIndicator>;
|
|
20
20
|
export type OpeningBalance = {
|
|
21
21
|
amount: number | null;
|
|
22
22
|
debitCreditIndicator: OpeningBalanceDebitCreditIndicator | null;
|
|
@@ -34,12 +34,12 @@ export type TrialBalanceResponseDto = {
|
|
|
34
34
|
updatedDate: string | null;
|
|
35
35
|
};
|
|
36
36
|
/** @internal */
|
|
37
|
-
export declare const TrialBalanceResponseDtoBalanceDebitCreditIndicator$inboundSchema: z.
|
|
37
|
+
export declare const TrialBalanceResponseDtoBalanceDebitCreditIndicator$inboundSchema: z.ZodMiniEnum<typeof TrialBalanceResponseDtoBalanceDebitCreditIndicator>;
|
|
38
38
|
/** @internal */
|
|
39
39
|
export declare const TrialBalanceResponseDtoBalance$inboundSchema: z.ZodMiniType<TrialBalanceResponseDtoBalance, unknown>;
|
|
40
40
|
export declare function trialBalanceResponseDtoBalanceFromJSON(jsonString: string): SafeParseResult<TrialBalanceResponseDtoBalance, SDKValidationError>;
|
|
41
41
|
/** @internal */
|
|
42
|
-
export declare const OpeningBalanceDebitCreditIndicator$inboundSchema: z.
|
|
42
|
+
export declare const OpeningBalanceDebitCreditIndicator$inboundSchema: z.ZodMiniEnum<typeof OpeningBalanceDebitCreditIndicator>;
|
|
43
43
|
/** @internal */
|
|
44
44
|
export declare const OpeningBalance$inboundSchema: z.ZodMiniType<OpeningBalance, unknown>;
|
|
45
45
|
export declare function openingBalanceFromJSON(jsonString: string): SafeParseResult<OpeningBalance, SDKValidationError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trial-balance-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/trial-balance-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"trial-balance-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/trial-balance-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,YAAY,EAA8B,MAAM,oBAAoB,CAAC;AAE9E,eAAO,MAAM,kDAAkD;;;CAGrD,CAAC;AACX,MAAM,MAAM,kDAAkD,GAAG,UAAU,CACzE,OAAO,kDAAkD,CAC1D,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,oBAAoB,EAChB,kDAAkD,GAClD,IAAI,CAAC;CACV,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;CAGrC,CAAC;AACX,MAAM,MAAM,kCAAkC,GAAG,UAAU,CACzD,OAAO,kCAAkC,CAC1C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,oBAAoB,EAAE,kCAAkC,GAAG,IAAI,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AgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
5
|
import { safeParse } from "../lib/schemas.js";
|
|
6
|
-
import * as openEnums from "../types/enums.js";
|
|
7
6
|
import * as types from "../types/primitives.js";
|
|
8
7
|
import { MonthlyValue$inboundSchema } from "./monthly-value.js";
|
|
9
8
|
export const TrialBalanceResponseDtoBalanceDebitCreditIndicator = {
|
|
@@ -15,7 +14,8 @@ export const OpeningBalanceDebitCreditIndicator = {
|
|
|
15
14
|
Credit: "CREDIT",
|
|
16
15
|
};
|
|
17
16
|
/** @internal */
|
|
18
|
-
export const TrialBalanceResponseDtoBalanceDebitCreditIndicator$inboundSchema =
|
|
17
|
+
export const TrialBalanceResponseDtoBalanceDebitCreditIndicator$inboundSchema = z
|
|
18
|
+
.enum(TrialBalanceResponseDtoBalanceDebitCreditIndicator);
|
|
19
19
|
/** @internal */
|
|
20
20
|
export const TrialBalanceResponseDtoBalance$inboundSchema = z.object({
|
|
21
21
|
amount: types.nullable(types.number()),
|
|
@@ -25,7 +25,7 @@ export function trialBalanceResponseDtoBalanceFromJSON(jsonString) {
|
|
|
25
25
|
return safeParse(jsonString, (x) => TrialBalanceResponseDtoBalance$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TrialBalanceResponseDtoBalance' from JSON`);
|
|
26
26
|
}
|
|
27
27
|
/** @internal */
|
|
28
|
-
export const OpeningBalanceDebitCreditIndicator$inboundSchema =
|
|
28
|
+
export const OpeningBalanceDebitCreditIndicator$inboundSchema = z.enum(OpeningBalanceDebitCreditIndicator);
|
|
29
29
|
/** @internal */
|
|
30
30
|
export const OpeningBalance$inboundSchema = z.object({
|
|
31
31
|
amount: types.nullable(types.number()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trial-balance-response-dto.js","sourceRoot":"","sources":["../../src/models/trial-balance-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"trial-balance-response-dto.js","sourceRoot":"","sources":["../../src/models/trial-balance-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAgB,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAE9E,MAAM,CAAC,MAAM,kDAAkD,GAAG;IAChE,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACR,CAAC;AAYX,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACR,CAAC;AAuBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,gEAAgE,GACA,CAAC;KACzE,IAAI,CAAC,kDAAkD,CAAC,CAAC;AAE9D,gBAAgB;AAChB,MAAM,CAAC,MAAM,4CAA4C,GAGrD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACtC,oBAAoB,EAAE,KAAK,CAAC,QAAQ,CAClC,gEAAgE,CACjE;CACF,CAAC,CAAC;AAEH,MAAM,UAAU,sCAAsC,CACpD,UAAkB,EACmD;IACrE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAA4C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,4DAA4D,CAC7D,CAAC;AAAA,CACH;AAED,gBAAgB;AAChB,MAAM,C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AAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACjD,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAChD,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAC5C,CAAC,CAAC;AAEH,MAAM,UAAU,+BAA+B,CAC7C,UAAkB,EAC4C;IAC9D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qCAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AAAA,CACH"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4-mini";
|
|
2
|
-
import {
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { Address } from "./address.js";
|
|
5
5
|
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
@@ -17,14 +17,14 @@ export declare const VendorCreditResponseDtoPaymentStatus: {
|
|
|
17
17
|
readonly Canceled: "CANCELED";
|
|
18
18
|
readonly Unknown: "UNKNOWN";
|
|
19
19
|
};
|
|
20
|
-
export type VendorCreditResponseDtoPaymentStatus =
|
|
20
|
+
export type VendorCreditResponseDtoPaymentStatus = ClosedEnum<typeof VendorCreditResponseDtoPaymentStatus>;
|
|
21
21
|
export declare const VendorCreditResponseDtoShippingType: {
|
|
22
22
|
readonly Service: "SERVICE";
|
|
23
23
|
readonly ServicePeriod: "SERVICE_PERIOD";
|
|
24
24
|
readonly Delivery: "DELIVERY";
|
|
25
25
|
readonly DeliveryPeriod: "DELIVERY_PERIOD";
|
|
26
26
|
};
|
|
27
|
-
export type VendorCreditResponseDtoShippingType =
|
|
27
|
+
export type VendorCreditResponseDtoShippingType = ClosedEnum<typeof VendorCreditResponseDtoShippingType>;
|
|
28
28
|
export declare const VendorCreditResponseDtoStatus: {
|
|
29
29
|
readonly Draft: "DRAFT";
|
|
30
30
|
readonly Corrective: "CORRECTIVE";
|
|
@@ -37,7 +37,7 @@ export declare const VendorCreditResponseDtoStatus: {
|
|
|
37
37
|
readonly Overdue: "OVERDUE";
|
|
38
38
|
readonly Voided: "VOIDED";
|
|
39
39
|
};
|
|
40
|
-
export type VendorCreditResponseDtoStatus =
|
|
40
|
+
export type VendorCreditResponseDtoStatus = ClosedEnum<typeof VendorCreditResponseDtoStatus>;
|
|
41
41
|
export declare const VendorCreditResponseDtoTaxRule: {
|
|
42
42
|
readonly Net: "NET";
|
|
43
43
|
readonly Taxfree: "TAXFREE";
|
|
@@ -55,7 +55,7 @@ export declare const VendorCreditResponseDtoTaxRule: {
|
|
|
55
55
|
readonly OssElectronicServices: "OSS_ELECTRONIC_SERVICES";
|
|
56
56
|
readonly OssServices: "OSS_SERVICES";
|
|
57
57
|
};
|
|
58
|
-
export type VendorCreditResponseDtoTaxRule =
|
|
58
|
+
export type VendorCreditResponseDtoTaxRule = ClosedEnum<typeof VendorCreditResponseDtoTaxRule>;
|
|
59
59
|
export type VendorCreditResponseDto = {
|
|
60
60
|
id: string | null;
|
|
61
61
|
accountId: string | null;
|
|
@@ -71,6 +71,7 @@ export type VendorCreditResponseDto = {
|
|
|
71
71
|
name: string | null;
|
|
72
72
|
oneLineAddress: string | null;
|
|
73
73
|
paidDate: string | null;
|
|
74
|
+
paymentReference: string | null;
|
|
74
75
|
paymentTermId: string | null;
|
|
75
76
|
paymentStatus: VendorCreditResponseDtoPaymentStatus | null;
|
|
76
77
|
paymentDays: number | null;
|
|
@@ -90,13 +91,13 @@ export type VendorCreditResponseDto = {
|
|
|
90
91
|
vendorCreditNumber: string | null;
|
|
91
92
|
};
|
|
92
93
|
/** @internal */
|
|
93
|
-
export declare const VendorCreditResponseDtoPaymentStatus$inboundSchema: z.
|
|
94
|
+
export declare const VendorCreditResponseDtoPaymentStatus$inboundSchema: z.ZodMiniEnum<typeof VendorCreditResponseDtoPaymentStatus>;
|
|
94
95
|
/** @internal */
|
|
95
|
-
export declare const VendorCreditResponseDtoShippingType$inboundSchema: z.
|
|
96
|
+
export declare const VendorCreditResponseDtoShippingType$inboundSchema: z.ZodMiniEnum<typeof VendorCreditResponseDtoShippingType>;
|
|
96
97
|
/** @internal */
|
|
97
|
-
export declare const VendorCreditResponseDtoStatus$inboundSchema: z.
|
|
98
|
+
export declare const VendorCreditResponseDtoStatus$inboundSchema: z.ZodMiniEnum<typeof VendorCreditResponseDtoStatus>;
|
|
98
99
|
/** @internal */
|
|
99
|
-
export declare const VendorCreditResponseDtoTaxRule$inboundSchema: z.
|
|
100
|
+
export declare const VendorCreditResponseDtoTaxRule$inboundSchema: z.ZodMiniEnum<typeof VendorCreditResponseDtoTaxRule>;
|
|
100
101
|
/** @internal */
|
|
101
102
|
export declare const VendorCreditResponseDto$inboundSchema: z.ZodMiniType<VendorCreditResponseDto, unknown>;
|
|
102
103
|
export declare function vendorCreditResponseDtoFromJSON(jsonString: string): SafeParseResult<VendorCreditResponseDto, SDKValidationError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vendor-credit-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/vendor-credit-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"vendor-credit-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/vendor-credit-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,+BAA+B,EA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EACvB,OAAO,CAwCP,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
5
|
import { safeParse } from "../lib/schemas.js";
|
|
6
|
-
import * as openEnums from "../types/enums.js";
|
|
7
6
|
import * as types from "../types/primitives.js";
|
|
8
7
|
import { Address$inboundSchema } from "./address.js";
|
|
9
8
|
import { VendorCreditLineItemResponseDto$inboundSchema, } from "./vendor-credit-line-item-response-dto.js";
|
|
@@ -56,13 +55,13 @@ export const VendorCreditResponseDtoTaxRule = {
|
|
|
56
55
|
OssServices: "OSS_SERVICES",
|
|
57
56
|
};
|
|
58
57
|
/** @internal */
|
|
59
|
-
export const VendorCreditResponseDtoPaymentStatus$inboundSchema =
|
|
58
|
+
export const VendorCreditResponseDtoPaymentStatus$inboundSchema = z.enum(VendorCreditResponseDtoPaymentStatus);
|
|
60
59
|
/** @internal */
|
|
61
|
-
export const VendorCreditResponseDtoShippingType$inboundSchema =
|
|
60
|
+
export const VendorCreditResponseDtoShippingType$inboundSchema = z.enum(VendorCreditResponseDtoShippingType);
|
|
62
61
|
/** @internal */
|
|
63
|
-
export const VendorCreditResponseDtoStatus$inboundSchema =
|
|
62
|
+
export const VendorCreditResponseDtoStatus$inboundSchema = z.enum(VendorCreditResponseDtoStatus);
|
|
64
63
|
/** @internal */
|
|
65
|
-
export const VendorCreditResponseDtoTaxRule$inboundSchema =
|
|
64
|
+
export const VendorCreditResponseDtoTaxRule$inboundSchema = z.enum(VendorCreditResponseDtoTaxRule);
|
|
66
65
|
/** @internal */
|
|
67
66
|
export const VendorCreditResponseDto$inboundSchema = z.object({
|
|
68
67
|
id: types.nullable(types.string()),
|
|
@@ -79,6 +78,7 @@ export const VendorCreditResponseDto$inboundSchema = z.object({
|
|
|
79
78
|
name: types.nullable(types.string()),
|
|
80
79
|
oneLineAddress: types.nullable(types.string()),
|
|
81
80
|
paidDate: types.nullable(types.string()),
|
|
81
|
+
paymentReference: types.nullable(types.string()),
|
|
82
82
|
paymentTermId: types.nullable(types.string()),
|
|
83
83
|
paymentStatus: types.nullable(VendorCreditResponseDtoPaymentStatus$inboundSchema),
|
|
84
84
|
paymentDays: types.nullable(types.number()),
|