@clientcasa/sdk 0.7.3 → 0.7.5
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/esm/funcs/calendar-events-update.js +2 -1
- package/esm/funcs/calendar-events-update.js.map +1 -1
- package/esm/funcs/catalog-items-update.js +2 -1
- package/esm/funcs/catalog-items-update.js.map +1 -1
- package/esm/funcs/clients-update.js +2 -1
- package/esm/funcs/clients-update.js.map +1 -1
- package/esm/funcs/contacts-update.js +2 -1
- package/esm/funcs/contacts-update.js.map +1 -1
- package/esm/funcs/contracts-update.js +2 -1
- package/esm/funcs/contracts-update.js.map +1 -1
- package/esm/funcs/event-day-vendors-update.js +2 -1
- package/esm/funcs/event-day-vendors-update.js.map +1 -1
- package/esm/funcs/event-days-update.js +2 -1
- package/esm/funcs/event-days-update.js.map +1 -1
- package/esm/funcs/invoices-update.js +2 -1
- package/esm/funcs/invoices-update.js.map +1 -1
- package/esm/funcs/milestones-update.js +2 -1
- package/esm/funcs/milestones-update.js.map +1 -1
- package/esm/funcs/payments-update.js +2 -1
- package/esm/funcs/payments-update.js.map +1 -1
- package/esm/funcs/projects-update.js +2 -1
- package/esm/funcs/projects-update.js.map +1 -1
- package/esm/funcs/time-entries-update.js +2 -1
- package/esm/funcs/time-entries-update.js.map +1 -1
- package/esm/funcs/timeline-items-update.js +2 -1
- package/esm/funcs/timeline-items-update.js.map +1 -1
- package/esm/funcs/transactions-create.d.ts +1 -1
- package/esm/funcs/transactions-create.js +1 -1
- package/esm/funcs/transactions-update.d.ts +1 -1
- package/esm/funcs/transactions-update.js +3 -2
- package/esm/funcs/transactions-update.js.map +1 -1
- package/esm/funcs/vendors-update.js +2 -1
- package/esm/funcs/vendors-update.js.map +1 -1
- package/esm/funcs/venues-update.js +2 -1
- package/esm/funcs/venues-update.js.map +1 -1
- package/esm/funcs/webhooks-update.js +2 -1
- package/esm/funcs/webhooks-update.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/api-error.d.ts +20 -0
- package/esm/models/api-error.d.ts.map +1 -1
- package/esm/models/api-error.js +20 -0
- package/esm/models/api-error.js.map +1 -1
- package/esm/models/calendar-event-update.d.ts +5 -5
- package/esm/models/calendar-event-update.d.ts.map +1 -1
- package/esm/models/calendar-event-update.js +1 -1
- package/esm/models/calendar-event-update.js.map +1 -1
- package/esm/models/operations/create-calendar-event.d.ts +1 -1
- package/esm/models/operations/create-catalog-item.d.ts +1 -1
- package/esm/models/operations/create-client.d.ts +1 -1
- package/esm/models/operations/create-contact.d.ts +1 -1
- package/esm/models/operations/create-contract.d.ts +1 -1
- package/esm/models/operations/create-event-day-vendor.d.ts +1 -1
- package/esm/models/operations/create-event-day.d.ts +1 -1
- package/esm/models/operations/create-inquiry.d.ts +1 -1
- package/esm/models/operations/create-invoice.d.ts +1 -1
- package/esm/models/operations/create-milestone.d.ts +1 -1
- package/esm/models/operations/create-payment.d.ts +1 -1
- package/esm/models/operations/create-project.d.ts +1 -1
- package/esm/models/operations/create-time-entry.d.ts +1 -1
- package/esm/models/operations/create-timeline-item.d.ts +1 -1
- package/esm/models/operations/create-transaction.d.ts +1 -1
- package/esm/models/operations/create-vendor.d.ts +1 -1
- package/esm/models/operations/create-venue.d.ts +1 -1
- package/esm/models/operations/create-webhook.d.ts +1 -1
- package/esm/models/operations/list-calendar-events.d.ts +2 -2
- package/esm/models/operations/list-client-documents.d.ts +9 -0
- package/esm/models/operations/list-client-documents.d.ts.map +1 -1
- package/esm/models/operations/list-client-documents.js +3 -0
- package/esm/models/operations/list-client-documents.js.map +1 -1
- package/esm/models/operations/list-event-day-vendors.d.ts +6 -0
- package/esm/models/operations/list-event-day-vendors.d.ts.map +1 -1
- package/esm/models/operations/list-event-day-vendors.js.map +1 -1
- package/esm/models/operations/list-time-entries.d.ts +19 -2
- package/esm/models/operations/list-time-entries.d.ts.map +1 -1
- package/esm/models/operations/list-time-entries.js +10 -1
- package/esm/models/operations/list-time-entries.js.map +1 -1
- package/esm/models/operations/list-timeline-items.d.ts +3 -0
- package/esm/models/operations/list-timeline-items.d.ts.map +1 -1
- package/esm/models/operations/list-timeline-items.js.map +1 -1
- package/esm/models/operations/list-webhooks.d.ts +18 -2
- package/esm/models/operations/list-webhooks.d.ts.map +1 -1
- package/esm/models/operations/list-webhooks.js +10 -1
- package/esm/models/operations/list-webhooks.js.map +1 -1
- package/esm/models/operations/update-calendar-event.d.ts +5 -0
- package/esm/models/operations/update-calendar-event.d.ts.map +1 -1
- package/esm/models/operations/update-calendar-event.js +8 -2
- package/esm/models/operations/update-calendar-event.js.map +1 -1
- package/esm/models/operations/update-catalog-item.d.ts +5 -0
- package/esm/models/operations/update-catalog-item.d.ts.map +1 -1
- package/esm/models/operations/update-catalog-item.js +8 -2
- package/esm/models/operations/update-catalog-item.js.map +1 -1
- package/esm/models/operations/update-client.d.ts +5 -0
- package/esm/models/operations/update-client.d.ts.map +1 -1
- package/esm/models/operations/update-client.js +8 -2
- package/esm/models/operations/update-client.js.map +1 -1
- package/esm/models/operations/update-contact.d.ts +5 -0
- package/esm/models/operations/update-contact.d.ts.map +1 -1
- package/esm/models/operations/update-contact.js +8 -2
- package/esm/models/operations/update-contact.js.map +1 -1
- package/esm/models/operations/update-contract.d.ts +5 -0
- package/esm/models/operations/update-contract.d.ts.map +1 -1
- package/esm/models/operations/update-contract.js +8 -2
- package/esm/models/operations/update-contract.js.map +1 -1
- package/esm/models/operations/update-event-day-vendor.d.ts +5 -0
- package/esm/models/operations/update-event-day-vendor.d.ts.map +1 -1
- package/esm/models/operations/update-event-day-vendor.js +8 -2
- package/esm/models/operations/update-event-day-vendor.js.map +1 -1
- package/esm/models/operations/update-event-day.d.ts +5 -0
- package/esm/models/operations/update-event-day.d.ts.map +1 -1
- package/esm/models/operations/update-event-day.js +8 -2
- package/esm/models/operations/update-event-day.js.map +1 -1
- package/esm/models/operations/update-invoice.d.ts +5 -0
- package/esm/models/operations/update-invoice.d.ts.map +1 -1
- package/esm/models/operations/update-invoice.js +8 -2
- package/esm/models/operations/update-invoice.js.map +1 -1
- package/esm/models/operations/update-milestone.d.ts +5 -0
- package/esm/models/operations/update-milestone.d.ts.map +1 -1
- package/esm/models/operations/update-milestone.js +8 -2
- package/esm/models/operations/update-milestone.js.map +1 -1
- package/esm/models/operations/update-payment.d.ts +5 -0
- package/esm/models/operations/update-payment.d.ts.map +1 -1
- package/esm/models/operations/update-payment.js +8 -2
- package/esm/models/operations/update-payment.js.map +1 -1
- package/esm/models/operations/update-project.d.ts +5 -0
- package/esm/models/operations/update-project.d.ts.map +1 -1
- package/esm/models/operations/update-project.js +8 -2
- package/esm/models/operations/update-project.js.map +1 -1
- package/esm/models/operations/update-time-entry.d.ts +5 -0
- package/esm/models/operations/update-time-entry.d.ts.map +1 -1
- package/esm/models/operations/update-time-entry.js +8 -2
- package/esm/models/operations/update-time-entry.js.map +1 -1
- package/esm/models/operations/update-timeline-item.d.ts +5 -0
- package/esm/models/operations/update-timeline-item.d.ts.map +1 -1
- package/esm/models/operations/update-timeline-item.js +8 -2
- package/esm/models/operations/update-timeline-item.js.map +1 -1
- package/esm/models/operations/update-transaction.d.ts +5 -0
- package/esm/models/operations/update-transaction.d.ts.map +1 -1
- package/esm/models/operations/update-transaction.js +8 -2
- package/esm/models/operations/update-transaction.js.map +1 -1
- package/esm/models/operations/update-vendor.d.ts +5 -0
- package/esm/models/operations/update-vendor.d.ts.map +1 -1
- package/esm/models/operations/update-vendor.js +8 -2
- package/esm/models/operations/update-vendor.js.map +1 -1
- package/esm/models/operations/update-venue.d.ts +5 -0
- package/esm/models/operations/update-venue.d.ts.map +1 -1
- package/esm/models/operations/update-venue.js +8 -2
- package/esm/models/operations/update-venue.js.map +1 -1
- package/esm/models/operations/update-webhook.d.ts +5 -0
- package/esm/models/operations/update-webhook.d.ts.map +1 -1
- package/esm/models/operations/update-webhook.js +8 -2
- package/esm/models/operations/update-webhook.js.map +1 -1
- package/esm/models/transaction-create.d.ts +7 -0
- package/esm/models/transaction-create.d.ts.map +1 -1
- package/esm/models/transaction-create.js +2 -0
- package/esm/models/transaction-create.js.map +1 -1
- package/esm/models/transaction-update.d.ts +7 -0
- package/esm/models/transaction-update.d.ts.map +1 -1
- package/esm/models/transaction-update.js +2 -0
- package/esm/models/transaction-update.js.map +1 -1
- package/esm/models/transaction.d.ts +5 -0
- package/esm/models/transaction.d.ts.map +1 -1
- package/esm/models/transaction.js +2 -0
- package/esm/models/transaction.js.map +1 -1
- package/esm/sdk/transactions.d.ts +2 -2
- package/esm/sdk/transactions.js +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/calendar-events-update.ts +6 -1
- package/src/funcs/catalog-items-update.ts +6 -1
- package/src/funcs/clients-update.ts +6 -1
- package/src/funcs/contacts-update.ts +6 -1
- package/src/funcs/contracts-update.ts +6 -1
- package/src/funcs/event-day-vendors-update.ts +6 -1
- package/src/funcs/event-days-update.ts +6 -1
- package/src/funcs/invoices-update.ts +6 -1
- package/src/funcs/milestones-update.ts +6 -1
- package/src/funcs/payments-update.ts +6 -1
- package/src/funcs/projects-update.ts +6 -1
- package/src/funcs/time-entries-update.ts +6 -1
- package/src/funcs/timeline-items-update.ts +6 -1
- package/src/funcs/transactions-create.ts +1 -1
- package/src/funcs/transactions-update.ts +7 -2
- package/src/funcs/vendors-update.ts +6 -1
- package/src/funcs/venues-update.ts +6 -1
- package/src/funcs/webhooks-update.ts +6 -1
- package/src/lib/config.ts +2 -2
- package/src/models/api-error.ts +20 -0
- package/src/models/calendar-event-update.ts +8 -8
- package/src/models/operations/create-calendar-event.ts +1 -1
- package/src/models/operations/create-catalog-item.ts +1 -1
- package/src/models/operations/create-client.ts +1 -1
- package/src/models/operations/create-contact.ts +1 -1
- package/src/models/operations/create-contract.ts +1 -1
- package/src/models/operations/create-event-day-vendor.ts +1 -1
- package/src/models/operations/create-event-day.ts +1 -1
- package/src/models/operations/create-inquiry.ts +1 -1
- package/src/models/operations/create-invoice.ts +1 -1
- package/src/models/operations/create-milestone.ts +1 -1
- package/src/models/operations/create-payment.ts +1 -1
- package/src/models/operations/create-project.ts +1 -1
- package/src/models/operations/create-time-entry.ts +1 -1
- package/src/models/operations/create-timeline-item.ts +1 -1
- package/src/models/operations/create-transaction.ts +1 -1
- package/src/models/operations/create-vendor.ts +1 -1
- package/src/models/operations/create-venue.ts +1 -1
- package/src/models/operations/create-webhook.ts +1 -1
- package/src/models/operations/list-calendar-events.ts +2 -2
- package/src/models/operations/list-client-documents.ts +9 -0
- package/src/models/operations/list-event-day-vendors.ts +6 -0
- package/src/models/operations/list-time-entries.ts +24 -3
- package/src/models/operations/list-timeline-items.ts +3 -0
- package/src/models/operations/list-webhooks.ts +23 -3
- package/src/models/operations/update-calendar-event.ts +18 -4
- package/src/models/operations/update-catalog-item.ts +18 -4
- package/src/models/operations/update-client.ts +18 -4
- package/src/models/operations/update-contact.ts +18 -4
- package/src/models/operations/update-contract.ts +18 -4
- package/src/models/operations/update-event-day-vendor.ts +18 -4
- package/src/models/operations/update-event-day.ts +18 -4
- package/src/models/operations/update-invoice.ts +18 -4
- package/src/models/operations/update-milestone.ts +18 -4
- package/src/models/operations/update-payment.ts +18 -4
- package/src/models/operations/update-project.ts +18 -4
- package/src/models/operations/update-time-entry.ts +18 -4
- package/src/models/operations/update-timeline-item.ts +18 -4
- package/src/models/operations/update-transaction.ts +18 -4
- package/src/models/operations/update-vendor.ts +18 -4
- package/src/models/operations/update-venue.ts +18 -4
- package/src/models/operations/update-webhook.ts +18 -4
- package/src/models/transaction-create.ts +9 -0
- package/src/models/transaction-update.ts +9 -0
- package/src/models/transaction.ts +7 -0
- package/src/sdk/transactions.ts +2 -2
|
@@ -29,10 +29,16 @@ export type ListClientDocumentsStatus = ClosedEnum<
|
|
|
29
29
|
typeof ListClientDocumentsStatus
|
|
30
30
|
>;
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Literal `true` or `false`. Any other value is rejected with 400 invalid_request.
|
|
34
|
+
*/
|
|
32
35
|
export const Archived = {
|
|
33
36
|
True: "true",
|
|
34
37
|
False: "false",
|
|
35
38
|
} as const;
|
|
39
|
+
/**
|
|
40
|
+
* Literal `true` or `false`. Any other value is rejected with 400 invalid_request.
|
|
41
|
+
*/
|
|
36
42
|
export type Archived = ClosedEnum<typeof Archived>;
|
|
37
43
|
|
|
38
44
|
export type ListClientDocumentsRequest = {
|
|
@@ -47,6 +53,9 @@ export type ListClientDocumentsRequest = {
|
|
|
47
53
|
* UUID v4
|
|
48
54
|
*/
|
|
49
55
|
contactId?: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Literal `true` or `false`. Any other value is rejected with 400 invalid_request.
|
|
58
|
+
*/
|
|
50
59
|
archived?: Archived | undefined;
|
|
51
60
|
};
|
|
52
61
|
|
|
@@ -17,7 +17,13 @@ export type ListEventDayVendorsSecurity = {
|
|
|
17
17
|
export type ListEventDayVendorsRequest = {
|
|
18
18
|
page?: number | undefined;
|
|
19
19
|
pageSize?: number | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* UUID v4
|
|
22
|
+
*/
|
|
20
23
|
eventDayId?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* UUID v4
|
|
26
|
+
*/
|
|
21
27
|
vendorId?: string | undefined;
|
|
22
28
|
};
|
|
23
29
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
10
11
|
import * as models from "../index.js";
|
|
@@ -14,6 +15,18 @@ export type ListTimeEntriesSecurity = {
|
|
|
14
15
|
bearer?: string | undefined;
|
|
15
16
|
};
|
|
16
17
|
|
|
18
|
+
/**
|
|
19
|
+
* Literal `true` or `false`. Any other value is rejected with 400 invalid_request.
|
|
20
|
+
*/
|
|
21
|
+
export const Billable = {
|
|
22
|
+
True: "true",
|
|
23
|
+
False: "false",
|
|
24
|
+
} as const;
|
|
25
|
+
/**
|
|
26
|
+
* Literal `true` or `false`. Any other value is rejected with 400 invalid_request.
|
|
27
|
+
*/
|
|
28
|
+
export type Billable = ClosedEnum<typeof Billable>;
|
|
29
|
+
|
|
17
30
|
export type ListTimeEntriesRequest = {
|
|
18
31
|
page?: number | undefined;
|
|
19
32
|
pageSize?: number | undefined;
|
|
@@ -31,7 +44,10 @@ export type ListTimeEntriesRequest = {
|
|
|
31
44
|
memberId?: string | undefined;
|
|
32
45
|
dateFrom?: Date | undefined;
|
|
33
46
|
dateTo?: Date | undefined;
|
|
34
|
-
|
|
47
|
+
/**
|
|
48
|
+
* Literal `true` or `false`. Any other value is rejected with 400 invalid_request.
|
|
49
|
+
*/
|
|
50
|
+
billable?: Billable | undefined;
|
|
35
51
|
};
|
|
36
52
|
|
|
37
53
|
export type ListTimeEntriesResponse = {
|
|
@@ -61,6 +77,11 @@ export function listTimeEntriesSecurityToJSON(
|
|
|
61
77
|
);
|
|
62
78
|
}
|
|
63
79
|
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const Billable$outboundSchema: z.ZodMiniEnum<typeof Billable> = z.enum(
|
|
82
|
+
Billable,
|
|
83
|
+
);
|
|
84
|
+
|
|
64
85
|
/** @internal */
|
|
65
86
|
export type ListTimeEntriesRequest$Outbound = {
|
|
66
87
|
page: number;
|
|
@@ -70,7 +91,7 @@ export type ListTimeEntriesRequest$Outbound = {
|
|
|
70
91
|
memberId?: string | undefined;
|
|
71
92
|
dateFrom?: string | undefined;
|
|
72
93
|
dateTo?: string | undefined;
|
|
73
|
-
billable?:
|
|
94
|
+
billable?: string | undefined;
|
|
74
95
|
};
|
|
75
96
|
|
|
76
97
|
/** @internal */
|
|
@@ -95,7 +116,7 @@ export const ListTimeEntriesRequest$outboundSchema: z.ZodMiniType<
|
|
|
95
116
|
z.transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length)),
|
|
96
117
|
),
|
|
97
118
|
),
|
|
98
|
-
billable: z.optional(
|
|
119
|
+
billable: z.optional(Billable$outboundSchema),
|
|
99
120
|
});
|
|
100
121
|
|
|
101
122
|
export function listTimeEntriesRequestToJSON(
|
|
@@ -28,6 +28,9 @@ export type ListTimelineItemsStatus = ClosedEnum<
|
|
|
28
28
|
export type ListTimelineItemsRequest = {
|
|
29
29
|
page?: number | undefined;
|
|
30
30
|
pageSize?: number | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* UUID v4
|
|
33
|
+
*/
|
|
31
34
|
eventDayId?: string | undefined;
|
|
32
35
|
status?: ListTimelineItemsStatus | undefined;
|
|
33
36
|
};
|
|
@@ -15,6 +15,18 @@ export type ListWebhooksSecurity = {
|
|
|
15
15
|
bearer?: string | undefined;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* Literal `true` or `false`. Any other value is rejected with 400 invalid_request.
|
|
20
|
+
*/
|
|
21
|
+
export const Enabled = {
|
|
22
|
+
True: "true",
|
|
23
|
+
False: "false",
|
|
24
|
+
} as const;
|
|
25
|
+
/**
|
|
26
|
+
* Literal `true` or `false`. Any other value is rejected with 400 invalid_request.
|
|
27
|
+
*/
|
|
28
|
+
export type Enabled = ClosedEnum<typeof Enabled>;
|
|
29
|
+
|
|
18
30
|
export const Event = {
|
|
19
31
|
InvoiceSent: "invoice_sent",
|
|
20
32
|
InvoiceDueSoon: "invoice_due_soon",
|
|
@@ -91,7 +103,10 @@ export type Event = ClosedEnum<typeof Event>;
|
|
|
91
103
|
export type ListWebhooksRequest = {
|
|
92
104
|
page?: number | undefined;
|
|
93
105
|
pageSize?: number | undefined;
|
|
94
|
-
|
|
106
|
+
/**
|
|
107
|
+
* Literal `true` or `false`. Any other value is rejected with 400 invalid_request.
|
|
108
|
+
*/
|
|
109
|
+
enabled?: Enabled | undefined;
|
|
95
110
|
event?: Event | undefined;
|
|
96
111
|
};
|
|
97
112
|
|
|
@@ -122,6 +137,11 @@ export function listWebhooksSecurityToJSON(
|
|
|
122
137
|
);
|
|
123
138
|
}
|
|
124
139
|
|
|
140
|
+
/** @internal */
|
|
141
|
+
export const Enabled$outboundSchema: z.ZodMiniEnum<typeof Enabled> = z.enum(
|
|
142
|
+
Enabled,
|
|
143
|
+
);
|
|
144
|
+
|
|
125
145
|
/** @internal */
|
|
126
146
|
export const Event$outboundSchema: z.ZodMiniEnum<typeof Event> = z.enum(Event);
|
|
127
147
|
|
|
@@ -129,7 +149,7 @@ export const Event$outboundSchema: z.ZodMiniEnum<typeof Event> = z.enum(Event);
|
|
|
129
149
|
export type ListWebhooksRequest$Outbound = {
|
|
130
150
|
page: number;
|
|
131
151
|
pageSize: number;
|
|
132
|
-
enabled?:
|
|
152
|
+
enabled?: string | undefined;
|
|
133
153
|
event?: string | undefined;
|
|
134
154
|
};
|
|
135
155
|
|
|
@@ -140,7 +160,7 @@ export const ListWebhooksRequest$outboundSchema: z.ZodMiniType<
|
|
|
140
160
|
> = z.object({
|
|
141
161
|
page: z._default(z.int(), 1),
|
|
142
162
|
pageSize: z._default(z.int(), 25),
|
|
143
|
-
enabled: z.optional(
|
|
163
|
+
enabled: z.optional(Enabled$outboundSchema),
|
|
144
164
|
event: z.optional(Event$outboundSchema),
|
|
145
165
|
});
|
|
146
166
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import * as models from "../index.js";
|
|
7
8
|
|
|
8
9
|
export type UpdateCalendarEventSecurity = {
|
|
@@ -15,6 +16,10 @@ export type UpdateCalendarEventRequest = {
|
|
|
15
16
|
* UUID v4
|
|
16
17
|
*/
|
|
17
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
21
|
+
*/
|
|
22
|
+
idempotencyKey?: string | undefined;
|
|
18
23
|
body: models.CalendarEventUpdate;
|
|
19
24
|
};
|
|
20
25
|
|
|
@@ -46,6 +51,7 @@ export function updateCalendarEventSecurityToJSON(
|
|
|
46
51
|
/** @internal */
|
|
47
52
|
export type UpdateCalendarEventRequest$Outbound = {
|
|
48
53
|
id: string;
|
|
54
|
+
"Idempotency-Key"?: string | undefined;
|
|
49
55
|
body: models.CalendarEventUpdate$Outbound;
|
|
50
56
|
};
|
|
51
57
|
|
|
@@ -53,10 +59,18 @@ export type UpdateCalendarEventRequest$Outbound = {
|
|
|
53
59
|
export const UpdateCalendarEventRequest$outboundSchema: z.ZodMiniType<
|
|
54
60
|
UpdateCalendarEventRequest$Outbound,
|
|
55
61
|
UpdateCalendarEventRequest
|
|
56
|
-
> = z.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
62
|
+
> = z.pipe(
|
|
63
|
+
z.object({
|
|
64
|
+
id: z.string(),
|
|
65
|
+
idempotencyKey: z.optional(z.string()),
|
|
66
|
+
body: models.CalendarEventUpdate$outboundSchema,
|
|
67
|
+
}),
|
|
68
|
+
z.transform((v) => {
|
|
69
|
+
return remap$(v, {
|
|
70
|
+
idempotencyKey: "Idempotency-Key",
|
|
71
|
+
});
|
|
72
|
+
}),
|
|
73
|
+
);
|
|
60
74
|
|
|
61
75
|
export function updateCalendarEventRequestToJSON(
|
|
62
76
|
updateCalendarEventRequest: UpdateCalendarEventRequest,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import * as models from "../index.js";
|
|
7
8
|
|
|
8
9
|
export type UpdateCatalogItemSecurity = {
|
|
@@ -15,6 +16,10 @@ export type UpdateCatalogItemRequest = {
|
|
|
15
16
|
* UUID v4
|
|
16
17
|
*/
|
|
17
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
21
|
+
*/
|
|
22
|
+
idempotencyKey?: string | undefined;
|
|
18
23
|
body: models.CatalogItemUpdate;
|
|
19
24
|
};
|
|
20
25
|
|
|
@@ -44,6 +49,7 @@ export function updateCatalogItemSecurityToJSON(
|
|
|
44
49
|
/** @internal */
|
|
45
50
|
export type UpdateCatalogItemRequest$Outbound = {
|
|
46
51
|
id: string;
|
|
52
|
+
"Idempotency-Key"?: string | undefined;
|
|
47
53
|
body: models.CatalogItemUpdate$Outbound;
|
|
48
54
|
};
|
|
49
55
|
|
|
@@ -51,10 +57,18 @@ export type UpdateCatalogItemRequest$Outbound = {
|
|
|
51
57
|
export const UpdateCatalogItemRequest$outboundSchema: z.ZodMiniType<
|
|
52
58
|
UpdateCatalogItemRequest$Outbound,
|
|
53
59
|
UpdateCatalogItemRequest
|
|
54
|
-
> = z.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
> = z.pipe(
|
|
61
|
+
z.object({
|
|
62
|
+
id: z.string(),
|
|
63
|
+
idempotencyKey: z.optional(z.string()),
|
|
64
|
+
body: models.CatalogItemUpdate$outboundSchema,
|
|
65
|
+
}),
|
|
66
|
+
z.transform((v) => {
|
|
67
|
+
return remap$(v, {
|
|
68
|
+
idempotencyKey: "Idempotency-Key",
|
|
69
|
+
});
|
|
70
|
+
}),
|
|
71
|
+
);
|
|
58
72
|
|
|
59
73
|
export function updateCatalogItemRequestToJSON(
|
|
60
74
|
updateCatalogItemRequest: UpdateCatalogItemRequest,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import * as models from "../index.js";
|
|
7
8
|
|
|
8
9
|
export type UpdateClientSecurity = {
|
|
@@ -15,6 +16,10 @@ export type UpdateClientRequest = {
|
|
|
15
16
|
* UUID v4
|
|
16
17
|
*/
|
|
17
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
21
|
+
*/
|
|
22
|
+
idempotencyKey?: string | undefined;
|
|
18
23
|
body: models.ClientUpdate;
|
|
19
24
|
};
|
|
20
25
|
|
|
@@ -44,6 +49,7 @@ export function updateClientSecurityToJSON(
|
|
|
44
49
|
/** @internal */
|
|
45
50
|
export type UpdateClientRequest$Outbound = {
|
|
46
51
|
id: string;
|
|
52
|
+
"Idempotency-Key"?: string | undefined;
|
|
47
53
|
body: models.ClientUpdate$Outbound;
|
|
48
54
|
};
|
|
49
55
|
|
|
@@ -51,10 +57,18 @@ export type UpdateClientRequest$Outbound = {
|
|
|
51
57
|
export const UpdateClientRequest$outboundSchema: z.ZodMiniType<
|
|
52
58
|
UpdateClientRequest$Outbound,
|
|
53
59
|
UpdateClientRequest
|
|
54
|
-
> = z.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
> = z.pipe(
|
|
61
|
+
z.object({
|
|
62
|
+
id: z.string(),
|
|
63
|
+
idempotencyKey: z.optional(z.string()),
|
|
64
|
+
body: models.ClientUpdate$outboundSchema,
|
|
65
|
+
}),
|
|
66
|
+
z.transform((v) => {
|
|
67
|
+
return remap$(v, {
|
|
68
|
+
idempotencyKey: "Idempotency-Key",
|
|
69
|
+
});
|
|
70
|
+
}),
|
|
71
|
+
);
|
|
58
72
|
|
|
59
73
|
export function updateClientRequestToJSON(
|
|
60
74
|
updateClientRequest: UpdateClientRequest,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import * as models from "../index.js";
|
|
7
8
|
|
|
8
9
|
export type UpdateContactSecurity = {
|
|
@@ -15,6 +16,10 @@ export type UpdateContactRequest = {
|
|
|
15
16
|
* UUID v4
|
|
16
17
|
*/
|
|
17
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
21
|
+
*/
|
|
22
|
+
idempotencyKey?: string | undefined;
|
|
18
23
|
body: models.ContactUpdate;
|
|
19
24
|
};
|
|
20
25
|
|
|
@@ -44,6 +49,7 @@ export function updateContactSecurityToJSON(
|
|
|
44
49
|
/** @internal */
|
|
45
50
|
export type UpdateContactRequest$Outbound = {
|
|
46
51
|
id: string;
|
|
52
|
+
"Idempotency-Key"?: string | undefined;
|
|
47
53
|
body: models.ContactUpdate$Outbound;
|
|
48
54
|
};
|
|
49
55
|
|
|
@@ -51,10 +57,18 @@ export type UpdateContactRequest$Outbound = {
|
|
|
51
57
|
export const UpdateContactRequest$outboundSchema: z.ZodMiniType<
|
|
52
58
|
UpdateContactRequest$Outbound,
|
|
53
59
|
UpdateContactRequest
|
|
54
|
-
> = z.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
> = z.pipe(
|
|
61
|
+
z.object({
|
|
62
|
+
id: z.string(),
|
|
63
|
+
idempotencyKey: z.optional(z.string()),
|
|
64
|
+
body: models.ContactUpdate$outboundSchema,
|
|
65
|
+
}),
|
|
66
|
+
z.transform((v) => {
|
|
67
|
+
return remap$(v, {
|
|
68
|
+
idempotencyKey: "Idempotency-Key",
|
|
69
|
+
});
|
|
70
|
+
}),
|
|
71
|
+
);
|
|
58
72
|
|
|
59
73
|
export function updateContactRequestToJSON(
|
|
60
74
|
updateContactRequest: UpdateContactRequest,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import * as models from "../index.js";
|
|
7
8
|
|
|
8
9
|
export type UpdateContractSecurity = {
|
|
@@ -15,6 +16,10 @@ export type UpdateContractRequest = {
|
|
|
15
16
|
* UUID v4
|
|
16
17
|
*/
|
|
17
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
21
|
+
*/
|
|
22
|
+
idempotencyKey?: string | undefined;
|
|
18
23
|
body: models.ContractUpdate;
|
|
19
24
|
};
|
|
20
25
|
|
|
@@ -44,6 +49,7 @@ export function updateContractSecurityToJSON(
|
|
|
44
49
|
/** @internal */
|
|
45
50
|
export type UpdateContractRequest$Outbound = {
|
|
46
51
|
id: string;
|
|
52
|
+
"Idempotency-Key"?: string | undefined;
|
|
47
53
|
body: models.ContractUpdate$Outbound;
|
|
48
54
|
};
|
|
49
55
|
|
|
@@ -51,10 +57,18 @@ export type UpdateContractRequest$Outbound = {
|
|
|
51
57
|
export const UpdateContractRequest$outboundSchema: z.ZodMiniType<
|
|
52
58
|
UpdateContractRequest$Outbound,
|
|
53
59
|
UpdateContractRequest
|
|
54
|
-
> = z.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
> = z.pipe(
|
|
61
|
+
z.object({
|
|
62
|
+
id: z.string(),
|
|
63
|
+
idempotencyKey: z.optional(z.string()),
|
|
64
|
+
body: models.ContractUpdate$outboundSchema,
|
|
65
|
+
}),
|
|
66
|
+
z.transform((v) => {
|
|
67
|
+
return remap$(v, {
|
|
68
|
+
idempotencyKey: "Idempotency-Key",
|
|
69
|
+
});
|
|
70
|
+
}),
|
|
71
|
+
);
|
|
58
72
|
|
|
59
73
|
export function updateContractRequestToJSON(
|
|
60
74
|
updateContractRequest: UpdateContractRequest,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import * as models from "../index.js";
|
|
7
8
|
|
|
8
9
|
export type UpdateEventDayVendorSecurity = {
|
|
@@ -15,6 +16,10 @@ export type UpdateEventDayVendorRequest = {
|
|
|
15
16
|
* UUID v4
|
|
16
17
|
*/
|
|
17
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
21
|
+
*/
|
|
22
|
+
idempotencyKey?: string | undefined;
|
|
18
23
|
body: models.EventDayVendorUpdate;
|
|
19
24
|
};
|
|
20
25
|
|
|
@@ -46,6 +51,7 @@ export function updateEventDayVendorSecurityToJSON(
|
|
|
46
51
|
/** @internal */
|
|
47
52
|
export type UpdateEventDayVendorRequest$Outbound = {
|
|
48
53
|
id: string;
|
|
54
|
+
"Idempotency-Key"?: string | undefined;
|
|
49
55
|
body: models.EventDayVendorUpdate$Outbound;
|
|
50
56
|
};
|
|
51
57
|
|
|
@@ -53,10 +59,18 @@ export type UpdateEventDayVendorRequest$Outbound = {
|
|
|
53
59
|
export const UpdateEventDayVendorRequest$outboundSchema: z.ZodMiniType<
|
|
54
60
|
UpdateEventDayVendorRequest$Outbound,
|
|
55
61
|
UpdateEventDayVendorRequest
|
|
56
|
-
> = z.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
62
|
+
> = z.pipe(
|
|
63
|
+
z.object({
|
|
64
|
+
id: z.string(),
|
|
65
|
+
idempotencyKey: z.optional(z.string()),
|
|
66
|
+
body: models.EventDayVendorUpdate$outboundSchema,
|
|
67
|
+
}),
|
|
68
|
+
z.transform((v) => {
|
|
69
|
+
return remap$(v, {
|
|
70
|
+
idempotencyKey: "Idempotency-Key",
|
|
71
|
+
});
|
|
72
|
+
}),
|
|
73
|
+
);
|
|
60
74
|
|
|
61
75
|
export function updateEventDayVendorRequestToJSON(
|
|
62
76
|
updateEventDayVendorRequest: UpdateEventDayVendorRequest,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import * as models from "../index.js";
|
|
7
8
|
|
|
8
9
|
export type UpdateEventDaySecurity = {
|
|
@@ -15,6 +16,10 @@ export type UpdateEventDayRequest = {
|
|
|
15
16
|
* UUID v4
|
|
16
17
|
*/
|
|
17
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
21
|
+
*/
|
|
22
|
+
idempotencyKey?: string | undefined;
|
|
18
23
|
body: models.EventDayUpdate;
|
|
19
24
|
};
|
|
20
25
|
|
|
@@ -44,6 +49,7 @@ export function updateEventDaySecurityToJSON(
|
|
|
44
49
|
/** @internal */
|
|
45
50
|
export type UpdateEventDayRequest$Outbound = {
|
|
46
51
|
id: string;
|
|
52
|
+
"Idempotency-Key"?: string | undefined;
|
|
47
53
|
body: models.EventDayUpdate$Outbound;
|
|
48
54
|
};
|
|
49
55
|
|
|
@@ -51,10 +57,18 @@ export type UpdateEventDayRequest$Outbound = {
|
|
|
51
57
|
export const UpdateEventDayRequest$outboundSchema: z.ZodMiniType<
|
|
52
58
|
UpdateEventDayRequest$Outbound,
|
|
53
59
|
UpdateEventDayRequest
|
|
54
|
-
> = z.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
> = z.pipe(
|
|
61
|
+
z.object({
|
|
62
|
+
id: z.string(),
|
|
63
|
+
idempotencyKey: z.optional(z.string()),
|
|
64
|
+
body: models.EventDayUpdate$outboundSchema,
|
|
65
|
+
}),
|
|
66
|
+
z.transform((v) => {
|
|
67
|
+
return remap$(v, {
|
|
68
|
+
idempotencyKey: "Idempotency-Key",
|
|
69
|
+
});
|
|
70
|
+
}),
|
|
71
|
+
);
|
|
58
72
|
|
|
59
73
|
export function updateEventDayRequestToJSON(
|
|
60
74
|
updateEventDayRequest: UpdateEventDayRequest,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import * as models from "../index.js";
|
|
7
8
|
|
|
8
9
|
export type UpdateInvoiceSecurity = {
|
|
@@ -15,6 +16,10 @@ export type UpdateInvoiceRequest = {
|
|
|
15
16
|
* UUID v4
|
|
16
17
|
*/
|
|
17
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
21
|
+
*/
|
|
22
|
+
idempotencyKey?: string | undefined;
|
|
18
23
|
body: models.InvoiceUpdate;
|
|
19
24
|
};
|
|
20
25
|
|
|
@@ -44,6 +49,7 @@ export function updateInvoiceSecurityToJSON(
|
|
|
44
49
|
/** @internal */
|
|
45
50
|
export type UpdateInvoiceRequest$Outbound = {
|
|
46
51
|
id: string;
|
|
52
|
+
"Idempotency-Key"?: string | undefined;
|
|
47
53
|
body: models.InvoiceUpdate$Outbound;
|
|
48
54
|
};
|
|
49
55
|
|
|
@@ -51,10 +57,18 @@ export type UpdateInvoiceRequest$Outbound = {
|
|
|
51
57
|
export const UpdateInvoiceRequest$outboundSchema: z.ZodMiniType<
|
|
52
58
|
UpdateInvoiceRequest$Outbound,
|
|
53
59
|
UpdateInvoiceRequest
|
|
54
|
-
> = z.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
> = z.pipe(
|
|
61
|
+
z.object({
|
|
62
|
+
id: z.string(),
|
|
63
|
+
idempotencyKey: z.optional(z.string()),
|
|
64
|
+
body: models.InvoiceUpdate$outboundSchema,
|
|
65
|
+
}),
|
|
66
|
+
z.transform((v) => {
|
|
67
|
+
return remap$(v, {
|
|
68
|
+
idempotencyKey: "Idempotency-Key",
|
|
69
|
+
});
|
|
70
|
+
}),
|
|
71
|
+
);
|
|
58
72
|
|
|
59
73
|
export function updateInvoiceRequestToJSON(
|
|
60
74
|
updateInvoiceRequest: UpdateInvoiceRequest,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import * as models from "../index.js";
|
|
7
8
|
|
|
8
9
|
export type UpdateMilestoneSecurity = {
|
|
@@ -15,6 +16,10 @@ export type UpdateMilestoneRequest = {
|
|
|
15
16
|
* UUID v4
|
|
16
17
|
*/
|
|
17
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
21
|
+
*/
|
|
22
|
+
idempotencyKey?: string | undefined;
|
|
18
23
|
body: models.MilestoneUpdate;
|
|
19
24
|
};
|
|
20
25
|
|
|
@@ -44,6 +49,7 @@ export function updateMilestoneSecurityToJSON(
|
|
|
44
49
|
/** @internal */
|
|
45
50
|
export type UpdateMilestoneRequest$Outbound = {
|
|
46
51
|
id: string;
|
|
52
|
+
"Idempotency-Key"?: string | undefined;
|
|
47
53
|
body: models.MilestoneUpdate$Outbound;
|
|
48
54
|
};
|
|
49
55
|
|
|
@@ -51,10 +57,18 @@ export type UpdateMilestoneRequest$Outbound = {
|
|
|
51
57
|
export const UpdateMilestoneRequest$outboundSchema: z.ZodMiniType<
|
|
52
58
|
UpdateMilestoneRequest$Outbound,
|
|
53
59
|
UpdateMilestoneRequest
|
|
54
|
-
> = z.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
> = z.pipe(
|
|
61
|
+
z.object({
|
|
62
|
+
id: z.string(),
|
|
63
|
+
idempotencyKey: z.optional(z.string()),
|
|
64
|
+
body: models.MilestoneUpdate$outboundSchema,
|
|
65
|
+
}),
|
|
66
|
+
z.transform((v) => {
|
|
67
|
+
return remap$(v, {
|
|
68
|
+
idempotencyKey: "Idempotency-Key",
|
|
69
|
+
});
|
|
70
|
+
}),
|
|
71
|
+
);
|
|
58
72
|
|
|
59
73
|
export function updateMilestoneRequestToJSON(
|
|
60
74
|
updateMilestoneRequest: UpdateMilestoneRequest,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import * as models from "../index.js";
|
|
7
8
|
|
|
8
9
|
export type UpdatePaymentSecurity = {
|
|
@@ -15,6 +16,10 @@ export type UpdatePaymentRequest = {
|
|
|
15
16
|
* UUID v4
|
|
16
17
|
*/
|
|
17
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
|
|
21
|
+
*/
|
|
22
|
+
idempotencyKey?: string | undefined;
|
|
18
23
|
body: models.PaymentUpdate;
|
|
19
24
|
};
|
|
20
25
|
|
|
@@ -44,6 +49,7 @@ export function updatePaymentSecurityToJSON(
|
|
|
44
49
|
/** @internal */
|
|
45
50
|
export type UpdatePaymentRequest$Outbound = {
|
|
46
51
|
id: string;
|
|
52
|
+
"Idempotency-Key"?: string | undefined;
|
|
47
53
|
body: models.PaymentUpdate$Outbound;
|
|
48
54
|
};
|
|
49
55
|
|
|
@@ -51,10 +57,18 @@ export type UpdatePaymentRequest$Outbound = {
|
|
|
51
57
|
export const UpdatePaymentRequest$outboundSchema: z.ZodMiniType<
|
|
52
58
|
UpdatePaymentRequest$Outbound,
|
|
53
59
|
UpdatePaymentRequest
|
|
54
|
-
> = z.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
> = z.pipe(
|
|
61
|
+
z.object({
|
|
62
|
+
id: z.string(),
|
|
63
|
+
idempotencyKey: z.optional(z.string()),
|
|
64
|
+
body: models.PaymentUpdate$outboundSchema,
|
|
65
|
+
}),
|
|
66
|
+
z.transform((v) => {
|
|
67
|
+
return remap$(v, {
|
|
68
|
+
idempotencyKey: "Idempotency-Key",
|
|
69
|
+
});
|
|
70
|
+
}),
|
|
71
|
+
);
|
|
58
72
|
|
|
59
73
|
export function updatePaymentRequestToJSON(
|
|
60
74
|
updatePaymentRequest: UpdatePaymentRequest,
|