@maesn/typescript-sdk 0.6.0 → 0.6.1
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.d.ts.map +1 -1
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- 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-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 +4 -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-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
|
@@ -26,27 +26,49 @@ export type PutContactV2Request = {
|
|
|
26
26
|
accountKey?: string | undefined;
|
|
27
27
|
body: models.CreateContactRequestDtoV2;
|
|
28
28
|
};
|
|
29
|
-
export type
|
|
29
|
+
export type PutContactV2Pagination2 = {
|
|
30
30
|
total: number;
|
|
31
31
|
perPage: number;
|
|
32
32
|
currentPage: number;
|
|
33
33
|
totalPages: number;
|
|
34
34
|
};
|
|
35
|
-
export type
|
|
35
|
+
export type PutContactV2Meta2 = {
|
|
36
36
|
warnings?: Array<string> | null | undefined;
|
|
37
|
-
pagination?:
|
|
37
|
+
pagination?: PutContactV2Pagination2 | null | undefined;
|
|
38
38
|
};
|
|
39
|
-
export type
|
|
40
|
-
export type
|
|
39
|
+
export type PutContactV2Errors2 = {};
|
|
40
|
+
export type PutContactV2RawData2 = {};
|
|
41
|
+
/**
|
|
42
|
+
* Contact created successfully (upsert)
|
|
43
|
+
*/
|
|
44
|
+
export type PutContactV2ResponseBody2 = {
|
|
45
|
+
meta?: PutContactV2Meta2 | null | undefined;
|
|
46
|
+
data: models.ContactResponseDtoV2;
|
|
47
|
+
errors: PutContactV2Errors2 | null;
|
|
48
|
+
rawData: PutContactV2RawData2 | null;
|
|
49
|
+
};
|
|
50
|
+
export type PutContactV2Pagination1 = {
|
|
51
|
+
total: number;
|
|
52
|
+
perPage: number;
|
|
53
|
+
currentPage: number;
|
|
54
|
+
totalPages: number;
|
|
55
|
+
};
|
|
56
|
+
export type PutContactV2Meta1 = {
|
|
57
|
+
warnings?: Array<string> | null | undefined;
|
|
58
|
+
pagination?: PutContactV2Pagination1 | null | undefined;
|
|
59
|
+
};
|
|
60
|
+
export type PutContactV2Errors1 = {};
|
|
61
|
+
export type PutContactV2RawData1 = {};
|
|
41
62
|
/**
|
|
42
63
|
* Contact updated successfully
|
|
43
64
|
*/
|
|
44
|
-
export type
|
|
45
|
-
meta?:
|
|
65
|
+
export type PutContactV2ResponseBody1 = {
|
|
66
|
+
meta?: PutContactV2Meta1 | null | undefined;
|
|
46
67
|
data: models.ContactResponseDtoV2;
|
|
47
|
-
errors:
|
|
48
|
-
rawData:
|
|
68
|
+
errors: PutContactV2Errors1 | null;
|
|
69
|
+
rawData: PutContactV2RawData1 | null;
|
|
49
70
|
};
|
|
71
|
+
export type PutContactV2Response = PutContactV2ResponseBody1 | PutContactV2ResponseBody2;
|
|
50
72
|
/** @internal */
|
|
51
73
|
export type PutContactV2Request$Outbound = {
|
|
52
74
|
contactId: string;
|
|
@@ -60,17 +82,35 @@ export type PutContactV2Request$Outbound = {
|
|
|
60
82
|
export declare const PutContactV2Request$outboundSchema: z.ZodMiniType<PutContactV2Request$Outbound, PutContactV2Request>;
|
|
61
83
|
export declare function putContactV2RequestToJSON(putContactV2Request: PutContactV2Request): string;
|
|
62
84
|
/** @internal */
|
|
63
|
-
export declare const
|
|
64
|
-
export declare function
|
|
85
|
+
export declare const PutContactV2Pagination2$inboundSchema: z.ZodMiniType<PutContactV2Pagination2, unknown>;
|
|
86
|
+
export declare function putContactV2Pagination2FromJSON(jsonString: string): SafeParseResult<PutContactV2Pagination2, SDKValidationError>;
|
|
87
|
+
/** @internal */
|
|
88
|
+
export declare const PutContactV2Meta2$inboundSchema: z.ZodMiniType<PutContactV2Meta2, unknown>;
|
|
89
|
+
export declare function putContactV2Meta2FromJSON(jsonString: string): SafeParseResult<PutContactV2Meta2, SDKValidationError>;
|
|
90
|
+
/** @internal */
|
|
91
|
+
export declare const PutContactV2Errors2$inboundSchema: z.ZodMiniType<PutContactV2Errors2, unknown>;
|
|
92
|
+
export declare function putContactV2Errors2FromJSON(jsonString: string): SafeParseResult<PutContactV2Errors2, SDKValidationError>;
|
|
93
|
+
/** @internal */
|
|
94
|
+
export declare const PutContactV2RawData2$inboundSchema: z.ZodMiniType<PutContactV2RawData2, unknown>;
|
|
95
|
+
export declare function putContactV2RawData2FromJSON(jsonString: string): SafeParseResult<PutContactV2RawData2, SDKValidationError>;
|
|
96
|
+
/** @internal */
|
|
97
|
+
export declare const PutContactV2ResponseBody2$inboundSchema: z.ZodMiniType<PutContactV2ResponseBody2, unknown>;
|
|
98
|
+
export declare function putContactV2ResponseBody2FromJSON(jsonString: string): SafeParseResult<PutContactV2ResponseBody2, SDKValidationError>;
|
|
99
|
+
/** @internal */
|
|
100
|
+
export declare const PutContactV2Pagination1$inboundSchema: z.ZodMiniType<PutContactV2Pagination1, unknown>;
|
|
101
|
+
export declare function putContactV2Pagination1FromJSON(jsonString: string): SafeParseResult<PutContactV2Pagination1, SDKValidationError>;
|
|
102
|
+
/** @internal */
|
|
103
|
+
export declare const PutContactV2Meta1$inboundSchema: z.ZodMiniType<PutContactV2Meta1, unknown>;
|
|
104
|
+
export declare function putContactV2Meta1FromJSON(jsonString: string): SafeParseResult<PutContactV2Meta1, SDKValidationError>;
|
|
65
105
|
/** @internal */
|
|
66
|
-
export declare const
|
|
67
|
-
export declare function
|
|
106
|
+
export declare const PutContactV2Errors1$inboundSchema: z.ZodMiniType<PutContactV2Errors1, unknown>;
|
|
107
|
+
export declare function putContactV2Errors1FromJSON(jsonString: string): SafeParseResult<PutContactV2Errors1, SDKValidationError>;
|
|
68
108
|
/** @internal */
|
|
69
|
-
export declare const
|
|
70
|
-
export declare function
|
|
109
|
+
export declare const PutContactV2RawData1$inboundSchema: z.ZodMiniType<PutContactV2RawData1, unknown>;
|
|
110
|
+
export declare function putContactV2RawData1FromJSON(jsonString: string): SafeParseResult<PutContactV2RawData1, SDKValidationError>;
|
|
71
111
|
/** @internal */
|
|
72
|
-
export declare const
|
|
73
|
-
export declare function
|
|
112
|
+
export declare const PutContactV2ResponseBody1$inboundSchema: z.ZodMiniType<PutContactV2ResponseBody1, unknown>;
|
|
113
|
+
export declare function putContactV2ResponseBody1FromJSON(jsonString: string): SafeParseResult<PutContactV2ResponseBody1, SDKValidationError>;
|
|
74
114
|
/** @internal */
|
|
75
115
|
export declare const PutContactV2Response$inboundSchema: z.ZodMiniType<PutContactV2Response, unknown>;
|
|
76
116
|
export declare function putContactV2ResponseFromJSON(jsonString: string): SafeParseResult<PutContactV2Response, SDKValidationError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-contact-v2.d.ts","sourceRoot":"","sources":["../../../src/models/operations/put-contact-v2.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"put-contact-v2.d.ts","sourceRoot":"","sources":["../../../src/models/operations/put-contact-v2.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aA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
4
|
import * as z from "zod/v4-mini";
|
|
5
5
|
import { safeParse } from "../../lib/schemas.js";
|
|
6
6
|
import * as types from "../../types/primitives.js";
|
|
7
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
7
8
|
import * as models from "../index.js";
|
|
8
9
|
/** @internal */
|
|
9
10
|
export const PutContactV2Request$outboundSchema = z.object({
|
|
@@ -18,40 +19,86 @@ export function putContactV2RequestToJSON(putContactV2Request) {
|
|
|
18
19
|
return JSON.stringify(PutContactV2Request$outboundSchema.parse(putContactV2Request));
|
|
19
20
|
}
|
|
20
21
|
/** @internal */
|
|
21
|
-
export const
|
|
22
|
+
export const PutContactV2Pagination2$inboundSchema = z.object({
|
|
22
23
|
total: types.number(),
|
|
23
24
|
perPage: types.number(),
|
|
24
25
|
currentPage: types.number(),
|
|
25
26
|
totalPages: types.number(),
|
|
26
27
|
});
|
|
27
|
-
export function
|
|
28
|
-
return safeParse(jsonString, (x) =>
|
|
28
|
+
export function putContactV2Pagination2FromJSON(jsonString) {
|
|
29
|
+
return safeParse(jsonString, (x) => PutContactV2Pagination2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutContactV2Pagination2' from JSON`);
|
|
29
30
|
}
|
|
30
31
|
/** @internal */
|
|
31
|
-
export const
|
|
32
|
+
export const PutContactV2Meta2$inboundSchema = z.object({
|
|
32
33
|
warnings: z.optional(z.nullable(z.array(types.string()))),
|
|
33
|
-
pagination: z.optional(z.nullable(z.lazy(() =>
|
|
34
|
+
pagination: z.optional(z.nullable(z.lazy(() => PutContactV2Pagination2$inboundSchema))),
|
|
34
35
|
});
|
|
35
|
-
export function
|
|
36
|
-
return safeParse(jsonString, (x) =>
|
|
36
|
+
export function putContactV2Meta2FromJSON(jsonString) {
|
|
37
|
+
return safeParse(jsonString, (x) => PutContactV2Meta2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutContactV2Meta2' from JSON`);
|
|
37
38
|
}
|
|
38
39
|
/** @internal */
|
|
39
|
-
export const
|
|
40
|
-
export function
|
|
41
|
-
return safeParse(jsonString, (x) =>
|
|
40
|
+
export const PutContactV2Errors2$inboundSchema = z.object({});
|
|
41
|
+
export function putContactV2Errors2FromJSON(jsonString) {
|
|
42
|
+
return safeParse(jsonString, (x) => PutContactV2Errors2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutContactV2Errors2' from JSON`);
|
|
42
43
|
}
|
|
43
44
|
/** @internal */
|
|
44
|
-
export const
|
|
45
|
-
export function
|
|
46
|
-
return safeParse(jsonString, (x) =>
|
|
45
|
+
export const PutContactV2RawData2$inboundSchema = z.object({});
|
|
46
|
+
export function putContactV2RawData2FromJSON(jsonString) {
|
|
47
|
+
return safeParse(jsonString, (x) => PutContactV2RawData2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutContactV2RawData2' from JSON`);
|
|
47
48
|
}
|
|
48
49
|
/** @internal */
|
|
49
|
-
export const
|
|
50
|
-
meta: z.optional(z.nullable(z.lazy(() =>
|
|
50
|
+
export const PutContactV2ResponseBody2$inboundSchema = z.object({
|
|
51
|
+
meta: z.optional(z.nullable(z.lazy(() => PutContactV2Meta2$inboundSchema))),
|
|
51
52
|
data: models.ContactResponseDtoV2$inboundSchema,
|
|
52
|
-
errors: types.nullable(z.lazy(() =>
|
|
53
|
-
rawData: types.nullable(z.lazy(() =>
|
|
53
|
+
errors: types.nullable(z.lazy(() => PutContactV2Errors2$inboundSchema)),
|
|
54
|
+
rawData: types.nullable(z.lazy(() => PutContactV2RawData2$inboundSchema)),
|
|
54
55
|
});
|
|
56
|
+
export function putContactV2ResponseBody2FromJSON(jsonString) {
|
|
57
|
+
return safeParse(jsonString, (x) => PutContactV2ResponseBody2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutContactV2ResponseBody2' from JSON`);
|
|
58
|
+
}
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const PutContactV2Pagination1$inboundSchema = z.object({
|
|
61
|
+
total: types.number(),
|
|
62
|
+
perPage: types.number(),
|
|
63
|
+
currentPage: types.number(),
|
|
64
|
+
totalPages: types.number(),
|
|
65
|
+
});
|
|
66
|
+
export function putContactV2Pagination1FromJSON(jsonString) {
|
|
67
|
+
return safeParse(jsonString, (x) => PutContactV2Pagination1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutContactV2Pagination1' from JSON`);
|
|
68
|
+
}
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const PutContactV2Meta1$inboundSchema = z.object({
|
|
71
|
+
warnings: z.optional(z.nullable(z.array(types.string()))),
|
|
72
|
+
pagination: z.optional(z.nullable(z.lazy(() => PutContactV2Pagination1$inboundSchema))),
|
|
73
|
+
});
|
|
74
|
+
export function putContactV2Meta1FromJSON(jsonString) {
|
|
75
|
+
return safeParse(jsonString, (x) => PutContactV2Meta1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutContactV2Meta1' from JSON`);
|
|
76
|
+
}
|
|
77
|
+
/** @internal */
|
|
78
|
+
export const PutContactV2Errors1$inboundSchema = z.object({});
|
|
79
|
+
export function putContactV2Errors1FromJSON(jsonString) {
|
|
80
|
+
return safeParse(jsonString, (x) => PutContactV2Errors1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutContactV2Errors1' from JSON`);
|
|
81
|
+
}
|
|
82
|
+
/** @internal */
|
|
83
|
+
export const PutContactV2RawData1$inboundSchema = z.object({});
|
|
84
|
+
export function putContactV2RawData1FromJSON(jsonString) {
|
|
85
|
+
return safeParse(jsonString, (x) => PutContactV2RawData1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutContactV2RawData1' from JSON`);
|
|
86
|
+
}
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const PutContactV2ResponseBody1$inboundSchema = z.object({
|
|
89
|
+
meta: z.optional(z.nullable(z.lazy(() => PutContactV2Meta1$inboundSchema))),
|
|
90
|
+
data: models.ContactResponseDtoV2$inboundSchema,
|
|
91
|
+
errors: types.nullable(z.lazy(() => PutContactV2Errors1$inboundSchema)),
|
|
92
|
+
rawData: types.nullable(z.lazy(() => PutContactV2RawData1$inboundSchema)),
|
|
93
|
+
});
|
|
94
|
+
export function putContactV2ResponseBody1FromJSON(jsonString) {
|
|
95
|
+
return safeParse(jsonString, (x) => PutContactV2ResponseBody1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutContactV2ResponseBody1' from JSON`);
|
|
96
|
+
}
|
|
97
|
+
/** @internal */
|
|
98
|
+
export const PutContactV2Response$inboundSchema = smartUnion([
|
|
99
|
+
z.lazy(() => PutContactV2ResponseBody1$inboundSchema),
|
|
100
|
+
z.lazy(() => PutContactV2ResponseBody2$inboundSchema),
|
|
101
|
+
]);
|
|
55
102
|
export function putContactV2ResponseFromJSON(jsonString) {
|
|
56
103
|
return safeParse(jsonString, (x) => PutContactV2Response$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutContactV2Response' from JSON`);
|
|
57
104
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-contact-v2.js","sourceRoot":"","sources":["../../../src/models/operations/put-contact-v2.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"put-contact-v2.js","sourceRoot":"","sources":["../../../src/models/operations/put-contact-v2.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AA8FtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAG3C,CAAC,CAAC,MAAM,CA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AAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC,CAAC;IACvE,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kCAAkC,CAAC,CAAC;CAC1E,CAAC,CAAC;AAEH,MAAM,UAAU,iCAAiC,CAC/C,UAAkB,EAC8C;IAChE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AAAA,CACH;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAG3C,UAAU,CAAC;IACb,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,uCAAuC,CAAC;IACrD,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,uCAAuC,CAAC;CACtD,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,UAAkB,EACyC;IAC3D,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;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 { PaymentLine } from "./payment-line.js";
|
|
@@ -8,7 +8,7 @@ export declare const PaymentResponseDtoDocumentType: {
|
|
|
8
8
|
readonly Bill: "BILL";
|
|
9
9
|
readonly BookingProposal: "BOOKING_PROPOSAL";
|
|
10
10
|
};
|
|
11
|
-
export type PaymentResponseDtoDocumentType =
|
|
11
|
+
export type PaymentResponseDtoDocumentType = ClosedEnum<typeof PaymentResponseDtoDocumentType>;
|
|
12
12
|
export type PaymentResponseDto = {
|
|
13
13
|
id: string | null;
|
|
14
14
|
currency: string | null;
|
|
@@ -21,7 +21,7 @@ export type PaymentResponseDto = {
|
|
|
21
21
|
paymentLines: Array<PaymentLine> | null;
|
|
22
22
|
};
|
|
23
23
|
/** @internal */
|
|
24
|
-
export declare const PaymentResponseDtoDocumentType$inboundSchema: z.
|
|
24
|
+
export declare const PaymentResponseDtoDocumentType$inboundSchema: z.ZodMiniEnum<typeof PaymentResponseDtoDocumentType>;
|
|
25
25
|
/** @internal */
|
|
26
26
|
export declare const PaymentResponseDto$inboundSchema: z.ZodMiniType<PaymentResponseDto, unknown>;
|
|
27
27
|
export declare function paymentResponseDtoFromJSON(jsonString: string): SafeParseResult<PaymentResponseDto, SDKValidationError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/payment-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"payment-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/payment-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,WAAW,EAA6B,MAAM,mBAAmB,CAAC;AAE3E,eAAO,MAAM,8BAA8B;;;;CAIjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,8BAA8B,CACtC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,8BAA8B,GAAG,IAAI,CAAC;IACpD,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,WAAW,CACtE,OAAO,8BAA8B,CACG,CAAC;AAE3C,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
|
import { PaymentLine$inboundSchema } from "./payment-line.js";
|
|
9
8
|
export const PaymentResponseDtoDocumentType = {
|
|
@@ -12,7 +11,7 @@ export const PaymentResponseDtoDocumentType = {
|
|
|
12
11
|
BookingProposal: "BOOKING_PROPOSAL",
|
|
13
12
|
};
|
|
14
13
|
/** @internal */
|
|
15
|
-
export const PaymentResponseDtoDocumentType$inboundSchema =
|
|
14
|
+
export const PaymentResponseDtoDocumentType$inboundSchema = z.enum(PaymentResponseDtoDocumentType);
|
|
16
15
|
/** @internal */
|
|
17
16
|
export const PaymentResponseDto$inboundSchema = z.object({
|
|
18
17
|
id: types.nullable(types.string()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-response-dto.js","sourceRoot":"","sources":["../../src/models/payment-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":"payment-response-dto.js","sourceRoot":"","sources":["../../src/models/payment-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,EAAe,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE3E,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,eAAe,EAAE,kBAAkB;CAC3B,CAAC;AAiBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,4CAA4C,GAErD,CAAC,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;AAE3C,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACxC,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,4CAA4C,CAAC;IAC1E,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC5C,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;CACjE,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 { DiscountPeriodResponse } from "./discount-period-response.js";
|
|
5
5
|
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
@@ -7,14 +7,14 @@ export declare const PaymentTermResponseDtoDueType: {
|
|
|
7
7
|
readonly DueInDays: "DUE_IN_DAYS";
|
|
8
8
|
readonly DueAsPeriod: "DUE_AS_PERIOD";
|
|
9
9
|
};
|
|
10
|
-
export type PaymentTermResponseDtoDueType =
|
|
10
|
+
export type PaymentTermResponseDtoDueType = ClosedEnum<typeof PaymentTermResponseDtoDueType>;
|
|
11
11
|
export declare const PaymentMethod: {
|
|
12
12
|
readonly Cash: "CASH";
|
|
13
13
|
readonly BankTransfer: "BANK_TRANSFER";
|
|
14
14
|
readonly PaymentServiceProvider: "PAYMENT_SERVICE_PROVIDER";
|
|
15
15
|
readonly AutomaticBankWithdrawal: "AUTOMATIC_BANK_WITHDRAWAL";
|
|
16
16
|
};
|
|
17
|
-
export type PaymentMethod =
|
|
17
|
+
export type PaymentMethod = ClosedEnum<typeof PaymentMethod>;
|
|
18
18
|
export type PaymentTermResponseDto = {
|
|
19
19
|
id: string | null;
|
|
20
20
|
code: string | null;
|
|
@@ -32,9 +32,9 @@ export type PaymentTermResponseDto = {
|
|
|
32
32
|
updatedDate: string | null;
|
|
33
33
|
};
|
|
34
34
|
/** @internal */
|
|
35
|
-
export declare const PaymentTermResponseDtoDueType$inboundSchema: z.
|
|
35
|
+
export declare const PaymentTermResponseDtoDueType$inboundSchema: z.ZodMiniEnum<typeof PaymentTermResponseDtoDueType>;
|
|
36
36
|
/** @internal */
|
|
37
|
-
export declare const PaymentMethod$inboundSchema: z.
|
|
37
|
+
export declare const PaymentMethod$inboundSchema: z.ZodMiniEnum<typeof PaymentMethod>;
|
|
38
38
|
/** @internal */
|
|
39
39
|
export declare const PaymentTermResponseDto$inboundSchema: z.ZodMiniType<PaymentTermResponseDto, unknown>;
|
|
40
40
|
export declare function paymentTermResponseDtoFromJSON(jsonString: string): SafeParseResult<PaymentTermResponseDto, SDKValidationError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-term-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/payment-term-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"payment-term-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/payment-term-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,EACL,sBAAsB,EAEvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAA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C5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -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 { DiscountPeriodResponse$inboundSchema, } from "./discount-period-response.js";
|
|
9
8
|
export const PaymentTermResponseDtoDueType = {
|
|
@@ -17,9 +16,9 @@ export const PaymentMethod = {
|
|
|
17
16
|
AutomaticBankWithdrawal: "AUTOMATIC_BANK_WITHDRAWAL",
|
|
18
17
|
};
|
|
19
18
|
/** @internal */
|
|
20
|
-
export const PaymentTermResponseDtoDueType$inboundSchema =
|
|
19
|
+
export const PaymentTermResponseDtoDueType$inboundSchema = z.enum(PaymentTermResponseDtoDueType);
|
|
21
20
|
/** @internal */
|
|
22
|
-
export const PaymentMethod$inboundSchema =
|
|
21
|
+
export const PaymentMethod$inboundSchema = z.enum(PaymentMethod);
|
|
23
22
|
/** @internal */
|
|
24
23
|
export const PaymentTermResponseDto$inboundSchema = z.object({
|
|
25
24
|
id: types.nullable(types.string()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-term-response-dto.js","sourceRoot":"","sources":["../../src/models/payment-term-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":"payment-term-response-dto.js","sourceRoot":"","sources":["../../src/models/payment-term-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,MA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AQ,CAC7B,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAC9C;IACD,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,2CAA2C,CAAC;IACpE,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACpC,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAC1D,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAC5C,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
|
export declare const PhoneNumberV2Type: {
|
|
@@ -10,15 +10,15 @@ export declare const PhoneNumberV2Type: {
|
|
|
10
10
|
readonly Private: "PRIVATE";
|
|
11
11
|
readonly Other: "OTHER";
|
|
12
12
|
};
|
|
13
|
-
export type PhoneNumberV2Type =
|
|
13
|
+
export type PhoneNumberV2Type = ClosedEnum<typeof PhoneNumberV2Type>;
|
|
14
14
|
export type PhoneNumberV2 = {
|
|
15
15
|
number: string | null;
|
|
16
16
|
type: PhoneNumberV2Type | null;
|
|
17
17
|
};
|
|
18
18
|
/** @internal */
|
|
19
|
-
export declare const PhoneNumberV2Type$inboundSchema: z.
|
|
19
|
+
export declare const PhoneNumberV2Type$inboundSchema: z.ZodMiniEnum<typeof PhoneNumberV2Type>;
|
|
20
20
|
/** @internal */
|
|
21
|
-
export declare const PhoneNumberV2Type$outboundSchema: z.
|
|
21
|
+
export declare const PhoneNumberV2Type$outboundSchema: z.ZodMiniEnum<typeof PhoneNumberV2Type>;
|
|
22
22
|
/** @internal */
|
|
23
23
|
export declare const PhoneNumberV2$inboundSchema: z.ZodMiniType<PhoneNumberV2, unknown>;
|
|
24
24
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-number-v2.d.ts","sourceRoot":"","sources":["../../src/models/phone-number-v2.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"phone-number-v2.d.ts","sourceRoot":"","sources":["../../src/models/phone-number-v2.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,iBAAiB;;;;;;;CAOpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,iBAAiB,GAAG,IAAI,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,WAAW,CACzD,OAAO,iBAAiB,CACG,CAAC;AAC9B,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,OAAO,iBAAiB,CACS,CAAC;AAEpC,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,WAAW,CACrD,aAAa,EACb,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,WAAW,CACtD,sBAAsB,EACtB,aAAa,CAIb,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AACD,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
|
@@ -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 PhoneNumberV2Type = {
|
|
9
8
|
Business: "BUSINESS",
|
|
@@ -14,9 +13,9 @@ export const PhoneNumberV2Type = {
|
|
|
14
13
|
Other: "OTHER",
|
|
15
14
|
};
|
|
16
15
|
/** @internal */
|
|
17
|
-
export const PhoneNumberV2Type$inboundSchema =
|
|
16
|
+
export const PhoneNumberV2Type$inboundSchema = z.enum(PhoneNumberV2Type);
|
|
18
17
|
/** @internal */
|
|
19
|
-
export const PhoneNumberV2Type$outboundSchema =
|
|
18
|
+
export const PhoneNumberV2Type$outboundSchema = PhoneNumberV2Type$inboundSchema;
|
|
20
19
|
/** @internal */
|
|
21
20
|
export const PhoneNumberV2$inboundSchema = z.object({
|
|
22
21
|
number: types.nullable(types.string()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-number-v2.js","sourceRoot":"","sources":["../../src/models/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,EAAU;IACxE,OAAO,IAAI,CAAC,SAAS,CAAC,4BAA4B,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AAAA,CAC1E;AACD,MAAM,UAAU,qBAAqB,CACnC,UAAkB,EACkC;IACpD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,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 PhoneNumberType: {
|
|
@@ -13,13 +13,13 @@ export declare const PhoneNumberType: {
|
|
|
13
13
|
readonly Whatsapp: "WHATSAPP";
|
|
14
14
|
readonly Other: "OTHER";
|
|
15
15
|
};
|
|
16
|
-
export type PhoneNumberType =
|
|
16
|
+
export type PhoneNumberType = ClosedEnum<typeof PhoneNumberType>;
|
|
17
17
|
export type PhoneNumber = {
|
|
18
18
|
number: string | null;
|
|
19
19
|
type: PhoneNumberType | null;
|
|
20
20
|
};
|
|
21
21
|
/** @internal */
|
|
22
|
-
export declare const PhoneNumberType$inboundSchema: z.
|
|
22
|
+
export declare const PhoneNumberType$inboundSchema: z.ZodMiniEnum<typeof PhoneNumberType>;
|
|
23
23
|
/** @internal */
|
|
24
24
|
export declare const PhoneNumber$inboundSchema: z.ZodMiniType<PhoneNumber, unknown>;
|
|
25
25
|
export declare function phoneNumberFromJSON(jsonString: string): SafeParseResult<PhoneNumber, SDKValidationError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-number.d.ts","sourceRoot":"","sources":["../../src/models/phone-number.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"phone-number.d.ts","sourceRoot":"","sources":["../../src/models/phone-number.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,eAAe;;;;;;;;;;CAUlB,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,WAAW,CACvD,OAAO,eAAe,CACG,CAAC;AAE5B,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,WAAW,CAAC,WAAW,EAAE,OAAO,CAItE,CAAC;AAEL,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAMlD"}
|
|
@@ -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 PhoneNumberType = {
|
|
9
8
|
Business: "BUSINESS",
|
|
@@ -17,7 +16,7 @@ export const PhoneNumberType = {
|
|
|
17
16
|
Other: "OTHER",
|
|
18
17
|
};
|
|
19
18
|
/** @internal */
|
|
20
|
-
export const PhoneNumberType$inboundSchema =
|
|
19
|
+
export const PhoneNumberType$inboundSchema = z.enum(PhoneNumberType);
|
|
21
20
|
/** @internal */
|
|
22
21
|
export const PhoneNumber$inboundSchema = z
|
|
23
22
|
.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-number.js","sourceRoot":"","sources":["../../src/models/phone-number.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"phone-number.js","sourceRoot":"","sources":["../../src/models/phone-number.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,eAAe,GAAG;IAC7B,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAQX,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAEtC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;AAE5B,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB,GAAwC,CAAC;KAC5E,MAAM,CAAC;IACN,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACtC,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,6BAA6B,CAAC;CACpD,CAAC,CAAC;AAEL,MAAM,UAAU,mBAAmB,CACjC,UAAkB,EACgC;IAClD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yBAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,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 ProjectResponseDtoCurrency: {
|
|
@@ -160,12 +160,12 @@ export declare const ProjectResponseDtoCurrency: {
|
|
|
160
160
|
readonly Zmk: "ZMK";
|
|
161
161
|
readonly Zwr: "ZWR";
|
|
162
162
|
};
|
|
163
|
-
export type ProjectResponseDtoCurrency =
|
|
163
|
+
export type ProjectResponseDtoCurrency = ClosedEnum<typeof ProjectResponseDtoCurrency>;
|
|
164
164
|
export declare const ProjectResponseDtoStatus: {
|
|
165
165
|
readonly Active: "ACTIVE";
|
|
166
166
|
readonly Closed: "CLOSED";
|
|
167
167
|
};
|
|
168
|
-
export type ProjectResponseDtoStatus =
|
|
168
|
+
export type ProjectResponseDtoStatus = ClosedEnum<typeof ProjectResponseDtoStatus>;
|
|
169
169
|
export type ProjectResponseDto = {
|
|
170
170
|
id: string | null;
|
|
171
171
|
code: string | null;
|
|
@@ -182,9 +182,9 @@ export type ProjectResponseDto = {
|
|
|
182
182
|
updatedDate: string | null;
|
|
183
183
|
};
|
|
184
184
|
/** @internal */
|
|
185
|
-
export declare const ProjectResponseDtoCurrency$inboundSchema: z.
|
|
185
|
+
export declare const ProjectResponseDtoCurrency$inboundSchema: z.ZodMiniEnum<typeof ProjectResponseDtoCurrency>;
|
|
186
186
|
/** @internal */
|
|
187
|
-
export declare const ProjectResponseDtoStatus$inboundSchema: z.
|
|
187
|
+
export declare const ProjectResponseDtoStatus$inboundSchema: z.ZodMiniEnum<typeof ProjectResponseDtoStatus>;
|
|
188
188
|
/** @internal */
|
|
189
189
|
export declare const ProjectResponseDto$inboundSchema: z.ZodMiniType<ProjectResponseDto, unknown>;
|
|
190
190
|
export declare function projectResponseDtoFromJSON(jsonString: string): SafeParseResult<ProjectResponseDto, SDKValidationError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/project-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"project-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/project-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,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6J7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,OAAO,0BAA0B,CAClC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;CAG3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,OAAO,wBAAwB,CAChC,CAAC;AAEF,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,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,0BAA0B,GAAG,IAAI,CAAC;IAC5C,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,wBAAwB,GAAG,IAAI,CAAC;IACxC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,OAAO,0BAA0B,CACG,CAAC;AAEvC,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,OAAO,wBAAwB,CACG,CAAC;AAErC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,kBAAkB,EAClB,OAAO,CAeP,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 ProjectResponseDtoCurrency = {
|
|
9
8
|
Aed: "AED",
|
|
@@ -168,9 +167,9 @@ export const ProjectResponseDtoStatus = {
|
|
|
168
167
|
Closed: "CLOSED",
|
|
169
168
|
};
|
|
170
169
|
/** @internal */
|
|
171
|
-
export const ProjectResponseDtoCurrency$inboundSchema =
|
|
170
|
+
export const ProjectResponseDtoCurrency$inboundSchema = z.enum(ProjectResponseDtoCurrency);
|
|
172
171
|
/** @internal */
|
|
173
|
-
export const ProjectResponseDtoStatus$inboundSchema =
|
|
172
|
+
export const ProjectResponseDtoStatus$inboundSchema = z.enum(ProjectResponseDtoStatus);
|
|
174
173
|
/** @internal */
|
|
175
174
|
export const ProjectResponseDto$inboundSchema = z.object({
|
|
176
175
|
id: types.nullable(types.string()),
|