@clientcasa/sdk 0.7.4 → 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 +13 -0
- package/esm/models/api-error.d.ts.map +1 -1
- package/esm/models/api-error.js +13 -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/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 +13 -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/sdk/transactions.ts +2 -2
|
@@ -9,6 +9,10 @@ export type UpdateContractRequest = {
|
|
|
9
9
|
* UUID v4
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
idempotencyKey?: string | undefined;
|
|
12
16
|
body: models.ContractUpdate;
|
|
13
17
|
};
|
|
14
18
|
/** @internal */
|
|
@@ -22,6 +26,7 @@ export declare function updateContractSecurityToJSON(updateContractSecurity: Upd
|
|
|
22
26
|
/** @internal */
|
|
23
27
|
export type UpdateContractRequest$Outbound = {
|
|
24
28
|
id: string;
|
|
29
|
+
"Idempotency-Key"?: string | undefined;
|
|
25
30
|
body: models.ContractUpdate$Outbound;
|
|
26
31
|
};
|
|
27
32
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contract.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-contract.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-contract.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-contract.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC,cAAc,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,WAAW,CAC/D,+BAA+B,EAC/B,sBAAsB,CAItB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,uBAAuB,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,8BAA8B,EAC9B,qBAAqB,CAYtB,CAAC;AAEF,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
5
6
|
import * as models from "../index.js";
|
|
6
7
|
/** @internal */
|
|
7
8
|
export const UpdateContractSecurity$outboundSchema = z.object({
|
|
@@ -12,10 +13,15 @@ export function updateContractSecurityToJSON(updateContractSecurity) {
|
|
|
12
13
|
return JSON.stringify(UpdateContractSecurity$outboundSchema.parse(updateContractSecurity));
|
|
13
14
|
}
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const UpdateContractRequest$outboundSchema = z.object({
|
|
16
|
+
export const UpdateContractRequest$outboundSchema = z.pipe(z.object({
|
|
16
17
|
id: z.string(),
|
|
18
|
+
idempotencyKey: z.optional(z.string()),
|
|
17
19
|
body: models.ContractUpdate$outboundSchema,
|
|
18
|
-
})
|
|
20
|
+
}), z.transform((v) => {
|
|
21
|
+
return remap$(v, {
|
|
22
|
+
idempotencyKey: "Idempotency-Key",
|
|
23
|
+
});
|
|
24
|
+
}));
|
|
19
25
|
export function updateContractRequestToJSON(updateContractRequest) {
|
|
20
26
|
return JSON.stringify(UpdateContractRequest$outboundSchema.parse(updateContractRequest));
|
|
21
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contract.js","sourceRoot":"","sources":["../../../src/models/operations/update-contract.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-contract.js","sourceRoot":"","sources":["../../../src/models/operations/update-contract.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAyBtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAG9C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,sBAA8C,EACtC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,qCAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AAAA,CACH;AASD,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC,6BAA6B;CAC3C,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,2BAA2B,CACzC,qBAA4C,EACpC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AAAA,CACH"}
|
|
@@ -9,6 +9,10 @@ export type UpdateEventDayVendorRequest = {
|
|
|
9
9
|
* UUID v4
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
idempotencyKey?: string | undefined;
|
|
12
16
|
body: models.EventDayVendorUpdate;
|
|
13
17
|
};
|
|
14
18
|
/** @internal */
|
|
@@ -22,6 +26,7 @@ export declare function updateEventDayVendorSecurityToJSON(updateEventDayVendorS
|
|
|
22
26
|
/** @internal */
|
|
23
27
|
export type UpdateEventDayVendorRequest$Outbound = {
|
|
24
28
|
id: string;
|
|
29
|
+
"Idempotency-Key"?: string | undefined;
|
|
25
30
|
body: models.EventDayVendorUpdate$Outbound;
|
|
26
31
|
};
|
|
27
32
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-event-day-vendor.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-event-day-vendor.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-event-day-vendor.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-event-day-vendor.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,4BAA4B,GAAG;IACzC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC,oBAAoB,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,WAAW,CACrE,qCAAqC,EACrC,4BAA4B,CAI5B,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,6BAA6B,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,WAAW,CACpE,oCAAoC,EACpC,2BAA2B,CAY5B,CAAC;AAEF,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
5
6
|
import * as models from "../index.js";
|
|
6
7
|
/** @internal */
|
|
7
8
|
export const UpdateEventDayVendorSecurity$outboundSchema = z.object({
|
|
@@ -12,10 +13,15 @@ export function updateEventDayVendorSecurityToJSON(updateEventDayVendorSecurity)
|
|
|
12
13
|
return JSON.stringify(UpdateEventDayVendorSecurity$outboundSchema.parse(updateEventDayVendorSecurity));
|
|
13
14
|
}
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const UpdateEventDayVendorRequest$outboundSchema = z.object({
|
|
16
|
+
export const UpdateEventDayVendorRequest$outboundSchema = z.pipe(z.object({
|
|
16
17
|
id: z.string(),
|
|
18
|
+
idempotencyKey: z.optional(z.string()),
|
|
17
19
|
body: models.EventDayVendorUpdate$outboundSchema,
|
|
18
|
-
})
|
|
20
|
+
}), z.transform((v) => {
|
|
21
|
+
return remap$(v, {
|
|
22
|
+
idempotencyKey: "Idempotency-Key",
|
|
23
|
+
});
|
|
24
|
+
}));
|
|
19
25
|
export function updateEventDayVendorRequestToJSON(updateEventDayVendorRequest) {
|
|
20
26
|
return JSON.stringify(UpdateEventDayVendorRequest$outboundSchema.parse(updateEventDayVendorRequest));
|
|
21
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-event-day-vendor.js","sourceRoot":"","sources":["../../../src/models/operations/update-event-day-vendor.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-event-day-vendor.js","sourceRoot":"","sources":["../../../src/models/operations/update-event-day-vendor.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAyBtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAGpD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,kCAAkC,CAChD,4BAA0D,EAClD;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,2CAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AAAA,CACH;AASD,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAGnD,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC,mCAAmC;CACjD,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,iCAAiC,CAC/C,2BAAwD,EAChD;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,0CAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AAAA,CACH"}
|
|
@@ -9,6 +9,10 @@ export type UpdateEventDayRequest = {
|
|
|
9
9
|
* UUID v4
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
idempotencyKey?: string | undefined;
|
|
12
16
|
body: models.EventDayUpdate;
|
|
13
17
|
};
|
|
14
18
|
/** @internal */
|
|
@@ -22,6 +26,7 @@ export declare function updateEventDaySecurityToJSON(updateEventDaySecurity: Upd
|
|
|
22
26
|
/** @internal */
|
|
23
27
|
export type UpdateEventDayRequest$Outbound = {
|
|
24
28
|
id: string;
|
|
29
|
+
"Idempotency-Key"?: string | undefined;
|
|
25
30
|
body: models.EventDayUpdate$Outbound;
|
|
26
31
|
};
|
|
27
32
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-event-day.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-event-day.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-event-day.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-event-day.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC,cAAc,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,WAAW,CAC/D,+BAA+B,EAC/B,sBAAsB,CAItB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,uBAAuB,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,8BAA8B,EAC9B,qBAAqB,CAYtB,CAAC;AAEF,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
5
6
|
import * as models from "../index.js";
|
|
6
7
|
/** @internal */
|
|
7
8
|
export const UpdateEventDaySecurity$outboundSchema = z.object({
|
|
@@ -12,10 +13,15 @@ export function updateEventDaySecurityToJSON(updateEventDaySecurity) {
|
|
|
12
13
|
return JSON.stringify(UpdateEventDaySecurity$outboundSchema.parse(updateEventDaySecurity));
|
|
13
14
|
}
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const UpdateEventDayRequest$outboundSchema = z.object({
|
|
16
|
+
export const UpdateEventDayRequest$outboundSchema = z.pipe(z.object({
|
|
16
17
|
id: z.string(),
|
|
18
|
+
idempotencyKey: z.optional(z.string()),
|
|
17
19
|
body: models.EventDayUpdate$outboundSchema,
|
|
18
|
-
})
|
|
20
|
+
}), z.transform((v) => {
|
|
21
|
+
return remap$(v, {
|
|
22
|
+
idempotencyKey: "Idempotency-Key",
|
|
23
|
+
});
|
|
24
|
+
}));
|
|
19
25
|
export function updateEventDayRequestToJSON(updateEventDayRequest) {
|
|
20
26
|
return JSON.stringify(UpdateEventDayRequest$outboundSchema.parse(updateEventDayRequest));
|
|
21
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-event-day.js","sourceRoot":"","sources":["../../../src/models/operations/update-event-day.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-event-day.js","sourceRoot":"","sources":["../../../src/models/operations/update-event-day.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAyBtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAG9C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,sBAA8C,EACtC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,qCAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AAAA,CACH;AASD,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC,6BAA6B;CAC3C,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,2BAA2B,CACzC,qBAA4C,EACpC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AAAA,CACH"}
|
|
@@ -9,6 +9,10 @@ export type UpdateInvoiceRequest = {
|
|
|
9
9
|
* UUID v4
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
idempotencyKey?: string | undefined;
|
|
12
16
|
body: models.InvoiceUpdate;
|
|
13
17
|
};
|
|
14
18
|
/** @internal */
|
|
@@ -22,6 +26,7 @@ export declare function updateInvoiceSecurityToJSON(updateInvoiceSecurity: Updat
|
|
|
22
26
|
/** @internal */
|
|
23
27
|
export type UpdateInvoiceRequest$Outbound = {
|
|
24
28
|
id: string;
|
|
29
|
+
"Idempotency-Key"?: string | undefined;
|
|
25
30
|
body: models.InvoiceUpdate$Outbound;
|
|
26
31
|
};
|
|
27
32
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-invoice.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-invoice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-invoice.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-invoice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC,aAAa,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,8BAA8B,EAC9B,qBAAqB,CAIrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,sBAAsB,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,WAAW,CAC7D,6BAA6B,EAC7B,oBAAoB,CAYrB,CAAC;AAEF,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
5
6
|
import * as models from "../index.js";
|
|
6
7
|
/** @internal */
|
|
7
8
|
export const UpdateInvoiceSecurity$outboundSchema = z.object({
|
|
@@ -12,10 +13,15 @@ export function updateInvoiceSecurityToJSON(updateInvoiceSecurity) {
|
|
|
12
13
|
return JSON.stringify(UpdateInvoiceSecurity$outboundSchema.parse(updateInvoiceSecurity));
|
|
13
14
|
}
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const UpdateInvoiceRequest$outboundSchema = z.object({
|
|
16
|
+
export const UpdateInvoiceRequest$outboundSchema = z.pipe(z.object({
|
|
16
17
|
id: z.string(),
|
|
18
|
+
idempotencyKey: z.optional(z.string()),
|
|
17
19
|
body: models.InvoiceUpdate$outboundSchema,
|
|
18
|
-
})
|
|
20
|
+
}), z.transform((v) => {
|
|
21
|
+
return remap$(v, {
|
|
22
|
+
idempotencyKey: "Idempotency-Key",
|
|
23
|
+
});
|
|
24
|
+
}));
|
|
19
25
|
export function updateInvoiceRequestToJSON(updateInvoiceRequest) {
|
|
20
26
|
return JSON.stringify(UpdateInvoiceRequest$outboundSchema.parse(updateInvoiceRequest));
|
|
21
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-invoice.js","sourceRoot":"","sources":["../../../src/models/operations/update-invoice.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-invoice.js","sourceRoot":"","sources":["../../../src/models/operations/update-invoice.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAyBtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,qBAA4C,EACpC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AAAA,CACH;AASD,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAG5C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC,4BAA4B;CAC1C,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,0BAA0B,CACxC,oBAA0C,EAClC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AAAA,CACH"}
|
|
@@ -9,6 +9,10 @@ export type UpdateMilestoneRequest = {
|
|
|
9
9
|
* UUID v4
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
idempotencyKey?: string | undefined;
|
|
12
16
|
body: models.MilestoneUpdate;
|
|
13
17
|
};
|
|
14
18
|
/** @internal */
|
|
@@ -22,6 +26,7 @@ export declare function updateMilestoneSecurityToJSON(updateMilestoneSecurity: U
|
|
|
22
26
|
/** @internal */
|
|
23
27
|
export type UpdateMilestoneRequest$Outbound = {
|
|
24
28
|
id: string;
|
|
29
|
+
"Idempotency-Key"?: string | undefined;
|
|
25
30
|
body: models.MilestoneUpdate$Outbound;
|
|
26
31
|
};
|
|
27
32
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-milestone.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-milestone.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-milestone.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-milestone.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC,eAAe,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,gCAAgC,EAChC,uBAAuB,CAIvB,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,wBAAwB,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,WAAW,CAC/D,+BAA+B,EAC/B,sBAAsB,CAYvB,CAAC;AAEF,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
5
6
|
import * as models from "../index.js";
|
|
6
7
|
/** @internal */
|
|
7
8
|
export const UpdateMilestoneSecurity$outboundSchema = z.object({
|
|
@@ -12,10 +13,15 @@ export function updateMilestoneSecurityToJSON(updateMilestoneSecurity) {
|
|
|
12
13
|
return JSON.stringify(UpdateMilestoneSecurity$outboundSchema.parse(updateMilestoneSecurity));
|
|
13
14
|
}
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const UpdateMilestoneRequest$outboundSchema = z.object({
|
|
16
|
+
export const UpdateMilestoneRequest$outboundSchema = z.pipe(z.object({
|
|
16
17
|
id: z.string(),
|
|
18
|
+
idempotencyKey: z.optional(z.string()),
|
|
17
19
|
body: models.MilestoneUpdate$outboundSchema,
|
|
18
|
-
})
|
|
20
|
+
}), z.transform((v) => {
|
|
21
|
+
return remap$(v, {
|
|
22
|
+
idempotencyKey: "Idempotency-Key",
|
|
23
|
+
});
|
|
24
|
+
}));
|
|
19
25
|
export function updateMilestoneRequestToJSON(updateMilestoneRequest) {
|
|
20
26
|
return JSON.stringify(UpdateMilestoneRequest$outboundSchema.parse(updateMilestoneRequest));
|
|
21
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-milestone.js","sourceRoot":"","sources":["../../../src/models/operations/update-milestone.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-milestone.js","sourceRoot":"","sources":["../../../src/models/operations/update-milestone.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAyBtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,sCAAsC,GAG/C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,6BAA6B,CAC3C,uBAAgD,EACxC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,sCAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AAAA,CACH;AASD,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAG9C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC,8BAA8B;CAC5C,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,4BAA4B,CAC1C,sBAA8C,EACtC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,qCAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AAAA,CACH"}
|
|
@@ -9,6 +9,10 @@ export type UpdatePaymentRequest = {
|
|
|
9
9
|
* UUID v4
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
idempotencyKey?: string | undefined;
|
|
12
16
|
body: models.PaymentUpdate;
|
|
13
17
|
};
|
|
14
18
|
/** @internal */
|
|
@@ -22,6 +26,7 @@ export declare function updatePaymentSecurityToJSON(updatePaymentSecurity: Updat
|
|
|
22
26
|
/** @internal */
|
|
23
27
|
export type UpdatePaymentRequest$Outbound = {
|
|
24
28
|
id: string;
|
|
29
|
+
"Idempotency-Key"?: string | undefined;
|
|
25
30
|
body: models.PaymentUpdate$Outbound;
|
|
26
31
|
};
|
|
27
32
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-payment.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-payment.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-payment.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-payment.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC,aAAa,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,8BAA8B,EAC9B,qBAAqB,CAIrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,sBAAsB,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,WAAW,CAC7D,6BAA6B,EAC7B,oBAAoB,CAYrB,CAAC;AAEF,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
5
6
|
import * as models from "../index.js";
|
|
6
7
|
/** @internal */
|
|
7
8
|
export const UpdatePaymentSecurity$outboundSchema = z.object({
|
|
@@ -12,10 +13,15 @@ export function updatePaymentSecurityToJSON(updatePaymentSecurity) {
|
|
|
12
13
|
return JSON.stringify(UpdatePaymentSecurity$outboundSchema.parse(updatePaymentSecurity));
|
|
13
14
|
}
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const UpdatePaymentRequest$outboundSchema = z.object({
|
|
16
|
+
export const UpdatePaymentRequest$outboundSchema = z.pipe(z.object({
|
|
16
17
|
id: z.string(),
|
|
18
|
+
idempotencyKey: z.optional(z.string()),
|
|
17
19
|
body: models.PaymentUpdate$outboundSchema,
|
|
18
|
-
})
|
|
20
|
+
}), z.transform((v) => {
|
|
21
|
+
return remap$(v, {
|
|
22
|
+
idempotencyKey: "Idempotency-Key",
|
|
23
|
+
});
|
|
24
|
+
}));
|
|
19
25
|
export function updatePaymentRequestToJSON(updatePaymentRequest) {
|
|
20
26
|
return JSON.stringify(UpdatePaymentRequest$outboundSchema.parse(updatePaymentRequest));
|
|
21
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-payment.js","sourceRoot":"","sources":["../../../src/models/operations/update-payment.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-payment.js","sourceRoot":"","sources":["../../../src/models/operations/update-payment.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAyBtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,qBAA4C,EACpC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AAAA,CACH;AASD,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAG5C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC,4BAA4B;CAC1C,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,0BAA0B,CACxC,oBAA0C,EAClC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AAAA,CACH"}
|
|
@@ -9,6 +9,10 @@ export type UpdateProjectRequest = {
|
|
|
9
9
|
* UUID v4
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
idempotencyKey?: string | undefined;
|
|
12
16
|
body: models.ProjectUpdate;
|
|
13
17
|
};
|
|
14
18
|
/** @internal */
|
|
@@ -22,6 +26,7 @@ export declare function updateProjectSecurityToJSON(updateProjectSecurity: Updat
|
|
|
22
26
|
/** @internal */
|
|
23
27
|
export type UpdateProjectRequest$Outbound = {
|
|
24
28
|
id: string;
|
|
29
|
+
"Idempotency-Key"?: string | undefined;
|
|
25
30
|
body: models.ProjectUpdate$Outbound;
|
|
26
31
|
};
|
|
27
32
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-project.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-project.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-project.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-project.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC,aAAa,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,8BAA8B,EAC9B,qBAAqB,CAIrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,sBAAsB,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,WAAW,CAC7D,6BAA6B,EAC7B,oBAAoB,CAYrB,CAAC;AAEF,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
5
6
|
import * as models from "../index.js";
|
|
6
7
|
/** @internal */
|
|
7
8
|
export const UpdateProjectSecurity$outboundSchema = z.object({
|
|
@@ -12,10 +13,15 @@ export function updateProjectSecurityToJSON(updateProjectSecurity) {
|
|
|
12
13
|
return JSON.stringify(UpdateProjectSecurity$outboundSchema.parse(updateProjectSecurity));
|
|
13
14
|
}
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const UpdateProjectRequest$outboundSchema = z.object({
|
|
16
|
+
export const UpdateProjectRequest$outboundSchema = z.pipe(z.object({
|
|
16
17
|
id: z.string(),
|
|
18
|
+
idempotencyKey: z.optional(z.string()),
|
|
17
19
|
body: models.ProjectUpdate$outboundSchema,
|
|
18
|
-
})
|
|
20
|
+
}), z.transform((v) => {
|
|
21
|
+
return remap$(v, {
|
|
22
|
+
idempotencyKey: "Idempotency-Key",
|
|
23
|
+
});
|
|
24
|
+
}));
|
|
19
25
|
export function updateProjectRequestToJSON(updateProjectRequest) {
|
|
20
26
|
return JSON.stringify(UpdateProjectRequest$outboundSchema.parse(updateProjectRequest));
|
|
21
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-project.js","sourceRoot":"","sources":["../../../src/models/operations/update-project.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-project.js","sourceRoot":"","sources":["../../../src/models/operations/update-project.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAyBtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,qBAA4C,EACpC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AAAA,CACH;AASD,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAG5C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC,4BAA4B;CAC1C,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,0BAA0B,CACxC,oBAA0C,EAClC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AAAA,CACH"}
|
|
@@ -9,6 +9,10 @@ export type UpdateTimeEntryRequest = {
|
|
|
9
9
|
* UUID v4
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
idempotencyKey?: string | undefined;
|
|
12
16
|
body: models.TimeEntryUpdate;
|
|
13
17
|
};
|
|
14
18
|
/** @internal */
|
|
@@ -22,6 +26,7 @@ export declare function updateTimeEntrySecurityToJSON(updateTimeEntrySecurity: U
|
|
|
22
26
|
/** @internal */
|
|
23
27
|
export type UpdateTimeEntryRequest$Outbound = {
|
|
24
28
|
id: string;
|
|
29
|
+
"Idempotency-Key"?: string | undefined;
|
|
25
30
|
body: models.TimeEntryUpdate$Outbound;
|
|
26
31
|
};
|
|
27
32
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-time-entry.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-time-entry.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-time-entry.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-time-entry.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC,eAAe,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,gCAAgC,EAChC,uBAAuB,CAIvB,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,wBAAwB,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,WAAW,CAC/D,+BAA+B,EAC/B,sBAAsB,CAYvB,CAAC;AAEF,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
5
6
|
import * as models from "../index.js";
|
|
6
7
|
/** @internal */
|
|
7
8
|
export const UpdateTimeEntrySecurity$outboundSchema = z.object({
|
|
@@ -12,10 +13,15 @@ export function updateTimeEntrySecurityToJSON(updateTimeEntrySecurity) {
|
|
|
12
13
|
return JSON.stringify(UpdateTimeEntrySecurity$outboundSchema.parse(updateTimeEntrySecurity));
|
|
13
14
|
}
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const UpdateTimeEntryRequest$outboundSchema = z.object({
|
|
16
|
+
export const UpdateTimeEntryRequest$outboundSchema = z.pipe(z.object({
|
|
16
17
|
id: z.string(),
|
|
18
|
+
idempotencyKey: z.optional(z.string()),
|
|
17
19
|
body: models.TimeEntryUpdate$outboundSchema,
|
|
18
|
-
})
|
|
20
|
+
}), z.transform((v) => {
|
|
21
|
+
return remap$(v, {
|
|
22
|
+
idempotencyKey: "Idempotency-Key",
|
|
23
|
+
});
|
|
24
|
+
}));
|
|
19
25
|
export function updateTimeEntryRequestToJSON(updateTimeEntryRequest) {
|
|
20
26
|
return JSON.stringify(UpdateTimeEntryRequest$outboundSchema.parse(updateTimeEntryRequest));
|
|
21
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-time-entry.js","sourceRoot":"","sources":["../../../src/models/operations/update-time-entry.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-time-entry.js","sourceRoot":"","sources":["../../../src/models/operations/update-time-entry.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAyBtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,sCAAsC,GAG/C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,6BAA6B,CAC3C,uBAAgD,EACxC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,sCAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AAAA,CACH;AASD,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAG9C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC,8BAA8B;CAC5C,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,4BAA4B,CAC1C,sBAA8C,EACtC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,qCAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AAAA,CACH"}
|
|
@@ -9,6 +9,10 @@ export type UpdateTimelineItemRequest = {
|
|
|
9
9
|
* UUID v4
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
idempotencyKey?: string | undefined;
|
|
12
16
|
body: models.TimelineItemUpdate;
|
|
13
17
|
};
|
|
14
18
|
/** @internal */
|
|
@@ -22,6 +26,7 @@ export declare function updateTimelineItemSecurityToJSON(updateTimelineItemSecur
|
|
|
22
26
|
/** @internal */
|
|
23
27
|
export type UpdateTimelineItemRequest$Outbound = {
|
|
24
28
|
id: string;
|
|
29
|
+
"Idempotency-Key"?: string | undefined;
|
|
25
30
|
body: models.TimelineItemUpdate$Outbound;
|
|
26
31
|
};
|
|
27
32
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-timeline-item.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-timeline-item.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-timeline-item.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-timeline-item.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,WAAW,CACnE,mCAAmC,EACnC,0BAA0B,CAI1B,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,2BAA2B,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,kCAAkC,EAClC,yBAAyB,CAY1B,CAAC;AAEF,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
5
6
|
import * as models from "../index.js";
|
|
6
7
|
/** @internal */
|
|
7
8
|
export const UpdateTimelineItemSecurity$outboundSchema = z.object({
|
|
@@ -12,10 +13,15 @@ export function updateTimelineItemSecurityToJSON(updateTimelineItemSecurity) {
|
|
|
12
13
|
return JSON.stringify(UpdateTimelineItemSecurity$outboundSchema.parse(updateTimelineItemSecurity));
|
|
13
14
|
}
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const UpdateTimelineItemRequest$outboundSchema = z.object({
|
|
16
|
+
export const UpdateTimelineItemRequest$outboundSchema = z.pipe(z.object({
|
|
16
17
|
id: z.string(),
|
|
18
|
+
idempotencyKey: z.optional(z.string()),
|
|
17
19
|
body: models.TimelineItemUpdate$outboundSchema,
|
|
18
|
-
})
|
|
20
|
+
}), z.transform((v) => {
|
|
21
|
+
return remap$(v, {
|
|
22
|
+
idempotencyKey: "Idempotency-Key",
|
|
23
|
+
});
|
|
24
|
+
}));
|
|
19
25
|
export function updateTimelineItemRequestToJSON(updateTimelineItemRequest) {
|
|
20
26
|
return JSON.stringify(UpdateTimelineItemRequest$outboundSchema.parse(updateTimelineItemRequest));
|
|
21
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-timeline-item.js","sourceRoot":"","sources":["../../../src/models/operations/update-timeline-item.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-timeline-item.js","sourceRoot":"","sources":["../../../src/models/operations/update-timeline-item.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAyBtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,yCAAyC,GAGlD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,gCAAgC,CAC9C,0BAAsD,EAC9C;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AAAA,CACH;AASD,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAGjD,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC,iCAAiC;CAC/C,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,+BAA+B,CAC7C,yBAAoD,EAC5C;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AAAA,CACH"}
|
|
@@ -9,6 +9,10 @@ export type UpdateTransactionRequest = {
|
|
|
9
9
|
* UUID v4
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
idempotencyKey?: string | undefined;
|
|
12
16
|
body: models.TransactionUpdate;
|
|
13
17
|
};
|
|
14
18
|
/** @internal */
|
|
@@ -22,6 +26,7 @@ export declare function updateTransactionSecurityToJSON(updateTransactionSecurit
|
|
|
22
26
|
/** @internal */
|
|
23
27
|
export type UpdateTransactionRequest$Outbound = {
|
|
24
28
|
id: string;
|
|
29
|
+
"Idempotency-Key"?: string | undefined;
|
|
25
30
|
body: models.TransactionUpdate$Outbound;
|
|
26
31
|
};
|
|
27
32
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-transaction.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-transaction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"update-transaction.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-transaction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,yBAAyB,GAAG;IACtC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC,iBAAiB,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,kCAAkC,EAClC,yBAAyB,CAIzB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,0BAA0B,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,WAAW,CACjE,iCAAiC,EACjC,wBAAwB,CAYzB,CAAC;AAEF,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR"}
|