@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
|
@@ -102,6 +102,11 @@ async function $do(
|
|
|
102
102
|
const headers = new Headers(compactMap({
|
|
103
103
|
"Content-Type": "application/json",
|
|
104
104
|
Accept: "application/json",
|
|
105
|
+
"Idempotency-Key": encodeSimple(
|
|
106
|
+
"Idempotency-Key",
|
|
107
|
+
payload["Idempotency-Key"],
|
|
108
|
+
{ explode: false, charEncoding: "none" },
|
|
109
|
+
),
|
|
105
110
|
}));
|
|
106
111
|
|
|
107
112
|
const requestSecurity = resolveSecurity(
|
|
@@ -190,7 +195,7 @@ async function $do(
|
|
|
190
195
|
| SDKValidationError
|
|
191
196
|
>(
|
|
192
197
|
M.json(200, models.Contact$inboundSchema),
|
|
193
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
198
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
194
199
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
195
200
|
M.fail("4XX"),
|
|
196
201
|
M.fail("5XX"),
|
|
@@ -105,6 +105,11 @@ async function $do(
|
|
|
105
105
|
const headers = new Headers(compactMap({
|
|
106
106
|
"Content-Type": "application/json",
|
|
107
107
|
Accept: "application/json",
|
|
108
|
+
"Idempotency-Key": encodeSimple(
|
|
109
|
+
"Idempotency-Key",
|
|
110
|
+
payload["Idempotency-Key"],
|
|
111
|
+
{ explode: false, charEncoding: "none" },
|
|
112
|
+
),
|
|
108
113
|
}));
|
|
109
114
|
|
|
110
115
|
const requestSecurity = resolveSecurity(
|
|
@@ -193,7 +198,7 @@ async function $do(
|
|
|
193
198
|
| SDKValidationError
|
|
194
199
|
>(
|
|
195
200
|
M.json(200, models.Contract$inboundSchema),
|
|
196
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
201
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
197
202
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
198
203
|
M.fail("4XX"),
|
|
199
204
|
M.fail("5XX"),
|
|
@@ -103,6 +103,11 @@ async function $do(
|
|
|
103
103
|
const headers = new Headers(compactMap({
|
|
104
104
|
"Content-Type": "application/json",
|
|
105
105
|
Accept: "application/json",
|
|
106
|
+
"Idempotency-Key": encodeSimple(
|
|
107
|
+
"Idempotency-Key",
|
|
108
|
+
payload["Idempotency-Key"],
|
|
109
|
+
{ explode: false, charEncoding: "none" },
|
|
110
|
+
),
|
|
106
111
|
}));
|
|
107
112
|
|
|
108
113
|
const requestSecurity = resolveSecurity(
|
|
@@ -191,7 +196,7 @@ async function $do(
|
|
|
191
196
|
| SDKValidationError
|
|
192
197
|
>(
|
|
193
198
|
M.json(200, models.EventDayVendor$inboundSchema),
|
|
194
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
199
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
195
200
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
196
201
|
M.fail("4XX"),
|
|
197
202
|
M.fail("5XX"),
|
|
@@ -102,6 +102,11 @@ async function $do(
|
|
|
102
102
|
const headers = new Headers(compactMap({
|
|
103
103
|
"Content-Type": "application/json",
|
|
104
104
|
Accept: "application/json",
|
|
105
|
+
"Idempotency-Key": encodeSimple(
|
|
106
|
+
"Idempotency-Key",
|
|
107
|
+
payload["Idempotency-Key"],
|
|
108
|
+
{ explode: false, charEncoding: "none" },
|
|
109
|
+
),
|
|
105
110
|
}));
|
|
106
111
|
|
|
107
112
|
const requestSecurity = resolveSecurity(
|
|
@@ -190,7 +195,7 @@ async function $do(
|
|
|
190
195
|
| SDKValidationError
|
|
191
196
|
>(
|
|
192
197
|
M.json(200, models.EventDay$inboundSchema),
|
|
193
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
198
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
194
199
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
195
200
|
M.fail("4XX"),
|
|
196
201
|
M.fail("5XX"),
|
|
@@ -102,6 +102,11 @@ async function $do(
|
|
|
102
102
|
const headers = new Headers(compactMap({
|
|
103
103
|
"Content-Type": "application/json",
|
|
104
104
|
Accept: "application/json",
|
|
105
|
+
"Idempotency-Key": encodeSimple(
|
|
106
|
+
"Idempotency-Key",
|
|
107
|
+
payload["Idempotency-Key"],
|
|
108
|
+
{ explode: false, charEncoding: "none" },
|
|
109
|
+
),
|
|
105
110
|
}));
|
|
106
111
|
|
|
107
112
|
const requestSecurity = resolveSecurity(
|
|
@@ -190,7 +195,7 @@ async function $do(
|
|
|
190
195
|
| SDKValidationError
|
|
191
196
|
>(
|
|
192
197
|
M.json(200, models.Invoice$inboundSchema),
|
|
193
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
198
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
194
199
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
195
200
|
M.fail("4XX"),
|
|
196
201
|
M.fail("5XX"),
|
|
@@ -102,6 +102,11 @@ async function $do(
|
|
|
102
102
|
const headers = new Headers(compactMap({
|
|
103
103
|
"Content-Type": "application/json",
|
|
104
104
|
Accept: "application/json",
|
|
105
|
+
"Idempotency-Key": encodeSimple(
|
|
106
|
+
"Idempotency-Key",
|
|
107
|
+
payload["Idempotency-Key"],
|
|
108
|
+
{ explode: false, charEncoding: "none" },
|
|
109
|
+
),
|
|
105
110
|
}));
|
|
106
111
|
|
|
107
112
|
const requestSecurity = resolveSecurity(
|
|
@@ -190,7 +195,7 @@ async function $do(
|
|
|
190
195
|
| SDKValidationError
|
|
191
196
|
>(
|
|
192
197
|
M.json(200, models.Milestone$inboundSchema),
|
|
193
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
198
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
194
199
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
195
200
|
M.fail("4XX"),
|
|
196
201
|
M.fail("5XX"),
|
|
@@ -102,6 +102,11 @@ async function $do(
|
|
|
102
102
|
const headers = new Headers(compactMap({
|
|
103
103
|
"Content-Type": "application/json",
|
|
104
104
|
Accept: "application/json",
|
|
105
|
+
"Idempotency-Key": encodeSimple(
|
|
106
|
+
"Idempotency-Key",
|
|
107
|
+
payload["Idempotency-Key"],
|
|
108
|
+
{ explode: false, charEncoding: "none" },
|
|
109
|
+
),
|
|
105
110
|
}));
|
|
106
111
|
|
|
107
112
|
const requestSecurity = resolveSecurity(
|
|
@@ -190,7 +195,7 @@ async function $do(
|
|
|
190
195
|
| SDKValidationError
|
|
191
196
|
>(
|
|
192
197
|
M.json(200, models.Payment$inboundSchema),
|
|
193
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
198
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
194
199
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
195
200
|
M.fail("4XX"),
|
|
196
201
|
M.fail("5XX"),
|
|
@@ -102,6 +102,11 @@ async function $do(
|
|
|
102
102
|
const headers = new Headers(compactMap({
|
|
103
103
|
"Content-Type": "application/json",
|
|
104
104
|
Accept: "application/json",
|
|
105
|
+
"Idempotency-Key": encodeSimple(
|
|
106
|
+
"Idempotency-Key",
|
|
107
|
+
payload["Idempotency-Key"],
|
|
108
|
+
{ explode: false, charEncoding: "none" },
|
|
109
|
+
),
|
|
105
110
|
}));
|
|
106
111
|
|
|
107
112
|
const requestSecurity = resolveSecurity(
|
|
@@ -190,7 +195,7 @@ async function $do(
|
|
|
190
195
|
| SDKValidationError
|
|
191
196
|
>(
|
|
192
197
|
M.json(200, models.Project$inboundSchema),
|
|
193
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
198
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
194
199
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
195
200
|
M.fail("4XX"),
|
|
196
201
|
M.fail("5XX"),
|
|
@@ -105,6 +105,11 @@ async function $do(
|
|
|
105
105
|
const headers = new Headers(compactMap({
|
|
106
106
|
"Content-Type": "application/json",
|
|
107
107
|
Accept: "application/json",
|
|
108
|
+
"Idempotency-Key": encodeSimple(
|
|
109
|
+
"Idempotency-Key",
|
|
110
|
+
payload["Idempotency-Key"],
|
|
111
|
+
{ explode: false, charEncoding: "none" },
|
|
112
|
+
),
|
|
108
113
|
}));
|
|
109
114
|
|
|
110
115
|
const requestSecurity = resolveSecurity(
|
|
@@ -193,7 +198,7 @@ async function $do(
|
|
|
193
198
|
| SDKValidationError
|
|
194
199
|
>(
|
|
195
200
|
M.json(200, models.TimeEntry$inboundSchema),
|
|
196
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
201
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
197
202
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
198
203
|
M.fail("4XX"),
|
|
199
204
|
M.fail("5XX"),
|
|
@@ -103,6 +103,11 @@ async function $do(
|
|
|
103
103
|
const headers = new Headers(compactMap({
|
|
104
104
|
"Content-Type": "application/json",
|
|
105
105
|
Accept: "application/json",
|
|
106
|
+
"Idempotency-Key": encodeSimple(
|
|
107
|
+
"Idempotency-Key",
|
|
108
|
+
payload["Idempotency-Key"],
|
|
109
|
+
{ explode: false, charEncoding: "none" },
|
|
110
|
+
),
|
|
106
111
|
}));
|
|
107
112
|
|
|
108
113
|
const requestSecurity = resolveSecurity(
|
|
@@ -191,7 +196,7 @@ async function $do(
|
|
|
191
196
|
| SDKValidationError
|
|
192
197
|
>(
|
|
193
198
|
M.json(200, models.TimelineItem$inboundSchema),
|
|
194
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
199
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
195
200
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
196
201
|
M.fail("4XX"),
|
|
197
202
|
M.fail("5XX"),
|
|
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* Create a transaction (expense or charge)
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
|
-
* A `global` transaction applies org-wide (all clients for revenue, overhead for cost), so it cannot carry `assignments` — send an empty array, or use mode `each`/`split` to scope it.
|
|
35
|
+
* A `global` transaction applies org-wide (all clients for revenue, overhead for cost), so it cannot carry `assignments` — send an empty array, or use mode `each`/`split` to scope it. Enforced against the *stored* row as well as the request body, so a PATCH that omits `mode` is still checked. Refused with `400 invalid_request` and `details.code: "global_mode_has_assignments"`.
|
|
36
36
|
*/
|
|
37
37
|
export function transactionsCreate(
|
|
38
38
|
client: ClientCasaCore,
|
|
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* Update a transaction
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
|
-
* Transactions billed to a sent/paid invoice may be frozen — the server will return 409 if so. A `global` transaction applies org-wide (all clients for revenue, overhead for cost), so it cannot carry `assignments` — send an empty array, or use mode `each`/`split` to scope it.
|
|
35
|
+
* Transactions billed to a sent/paid invoice may be frozen — the server will return 409 if so. A `global` transaction applies org-wide (all clients for revenue, overhead for cost), so it cannot carry `assignments` — send an empty array, or use mode `each`/`split` to scope it. Enforced against the *stored* row as well as the request body, so a PATCH that omits `mode` is still checked. Refused with `400 invalid_request` and `details.code: "global_mode_has_assignments"`.
|
|
36
36
|
*/
|
|
37
37
|
export function transactionsUpdate(
|
|
38
38
|
client: ClientCasaCore,
|
|
@@ -106,6 +106,11 @@ async function $do(
|
|
|
106
106
|
const headers = new Headers(compactMap({
|
|
107
107
|
"Content-Type": "application/json",
|
|
108
108
|
Accept: "application/json",
|
|
109
|
+
"Idempotency-Key": encodeSimple(
|
|
110
|
+
"Idempotency-Key",
|
|
111
|
+
payload["Idempotency-Key"],
|
|
112
|
+
{ explode: false, charEncoding: "none" },
|
|
113
|
+
),
|
|
109
114
|
}));
|
|
110
115
|
|
|
111
116
|
const requestSecurity = resolveSecurity(
|
|
@@ -194,7 +199,7 @@ async function $do(
|
|
|
194
199
|
| SDKValidationError
|
|
195
200
|
>(
|
|
196
201
|
M.json(200, models.Transaction$inboundSchema),
|
|
197
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
202
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
198
203
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
199
204
|
M.fail("4XX"),
|
|
200
205
|
M.fail("5XX"),
|
|
@@ -102,6 +102,11 @@ async function $do(
|
|
|
102
102
|
const headers = new Headers(compactMap({
|
|
103
103
|
"Content-Type": "application/json",
|
|
104
104
|
Accept: "application/json",
|
|
105
|
+
"Idempotency-Key": encodeSimple(
|
|
106
|
+
"Idempotency-Key",
|
|
107
|
+
payload["Idempotency-Key"],
|
|
108
|
+
{ explode: false, charEncoding: "none" },
|
|
109
|
+
),
|
|
105
110
|
}));
|
|
106
111
|
|
|
107
112
|
const requestSecurity = resolveSecurity(
|
|
@@ -190,7 +195,7 @@ async function $do(
|
|
|
190
195
|
| SDKValidationError
|
|
191
196
|
>(
|
|
192
197
|
M.json(200, models.Vendor$inboundSchema),
|
|
193
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
198
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
194
199
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
195
200
|
M.fail("4XX"),
|
|
196
201
|
M.fail("5XX"),
|
|
@@ -102,6 +102,11 @@ async function $do(
|
|
|
102
102
|
const headers = new Headers(compactMap({
|
|
103
103
|
"Content-Type": "application/json",
|
|
104
104
|
Accept: "application/json",
|
|
105
|
+
"Idempotency-Key": encodeSimple(
|
|
106
|
+
"Idempotency-Key",
|
|
107
|
+
payload["Idempotency-Key"],
|
|
108
|
+
{ explode: false, charEncoding: "none" },
|
|
109
|
+
),
|
|
105
110
|
}));
|
|
106
111
|
|
|
107
112
|
const requestSecurity = resolveSecurity(
|
|
@@ -190,7 +195,7 @@ async function $do(
|
|
|
190
195
|
| SDKValidationError
|
|
191
196
|
>(
|
|
192
197
|
M.json(200, models.Venue$inboundSchema),
|
|
193
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
198
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
194
199
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
195
200
|
M.fail("4XX"),
|
|
196
201
|
M.fail("5XX"),
|
|
@@ -105,6 +105,11 @@ async function $do(
|
|
|
105
105
|
const headers = new Headers(compactMap({
|
|
106
106
|
"Content-Type": "application/json",
|
|
107
107
|
Accept: "application/json",
|
|
108
|
+
"Idempotency-Key": encodeSimple(
|
|
109
|
+
"Idempotency-Key",
|
|
110
|
+
payload["Idempotency-Key"],
|
|
111
|
+
{ explode: false, charEncoding: "none" },
|
|
112
|
+
),
|
|
108
113
|
}));
|
|
109
114
|
|
|
110
115
|
const requestSecurity = resolveSecurity(
|
|
@@ -193,7 +198,7 @@ async function $do(
|
|
|
193
198
|
| SDKValidationError
|
|
194
199
|
>(
|
|
195
200
|
M.json(200, models.Webhook$inboundSchema),
|
|
196
|
-
M.jsonErr([400, 401, 403, 404, 429], errors.ApiError$inboundSchema),
|
|
201
|
+
M.jsonErr([400, 401, 403, 404, 409, 429], errors.ApiError$inboundSchema),
|
|
197
202
|
M.jsonErr(500, errors.ApiError$inboundSchema),
|
|
198
203
|
M.fail("4XX"),
|
|
199
204
|
M.fail("5XX"),
|
package/src/lib/config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "1.0.0",
|
|
64
|
-
sdkVersion: "0.7.
|
|
64
|
+
sdkVersion: "0.7.5",
|
|
65
65
|
genVersion: "2.935.1",
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 0.7.
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 0.7.5 2.935.1 1.0.0 @clientcasa/sdk",
|
|
67
67
|
} as const;
|
package/src/models/api-error.ts
CHANGED
|
@@ -14,9 +14,12 @@ export const Code = {
|
|
|
14
14
|
Unauthorized: "unauthorized",
|
|
15
15
|
Forbidden: "forbidden",
|
|
16
16
|
NotFound: "not_found",
|
|
17
|
+
MethodNotAllowed: "method_not_allowed",
|
|
17
18
|
InvalidRequest: "invalid_request",
|
|
18
19
|
RateLimited: "rate_limited",
|
|
19
20
|
Conflict: "conflict",
|
|
21
|
+
RequestInProgress: "request_in_progress",
|
|
22
|
+
IdempotencyKeyReused: "idempotency_key_reused",
|
|
20
23
|
Gone: "gone",
|
|
21
24
|
PayloadTooLarge: "payload_too_large",
|
|
22
25
|
ClientError: "client_error",
|
|
@@ -26,17 +29,34 @@ export type Code = OpenEnum<typeof Code>;
|
|
|
26
29
|
|
|
27
30
|
export const DetailsCode = {
|
|
28
31
|
ArchivedRecordReadOnly: "archived_record_read_only",
|
|
32
|
+
PausedTransactionWindowLocked: "paused_transaction_window_locked",
|
|
29
33
|
RecordHasDependents: "record_has_dependents",
|
|
30
34
|
DuplicateRecord: "duplicate_record",
|
|
31
35
|
RecordImmutable: "record_immutable",
|
|
32
36
|
QuotaExceeded: "quota_exceeded",
|
|
33
37
|
InvalidPayload: "invalid_payload",
|
|
38
|
+
GlobalModeHasAssignments: "global_mode_has_assignments",
|
|
34
39
|
UnsupportedFileType: "unsupported_file_type",
|
|
35
40
|
FileTooLarge: "file_too_large",
|
|
36
41
|
CrossOrganization: "cross_organization",
|
|
42
|
+
LinkedRecordNotFound: "linked_record_not_found",
|
|
37
43
|
RateLimited: "rate_limited",
|
|
38
44
|
RevenueOnInternalProject: "revenue_on_internal_project",
|
|
39
45
|
NumberSeriesUnlocked: "number_series_unlocked",
|
|
46
|
+
InvoiceNotDeletable: "invoice_not_deletable",
|
|
47
|
+
SaleNotDeletable: "sale_not_deletable",
|
|
48
|
+
TaxCategoryDefault: "tax_category_default",
|
|
49
|
+
TaxCategoryReferenced: "tax_category_referenced",
|
|
50
|
+
RecipePricePropagationFailed: "recipe_price_propagation_failed",
|
|
51
|
+
PriceHistoryHeadMismatch: "price_history_head_mismatch",
|
|
52
|
+
PriceHistoryNotDerived: "price_history_not_derived",
|
|
53
|
+
TimeEntryAlreadyBilled: "time_entry_already_billed",
|
|
54
|
+
ChargePeriodAlreadyBilled: "charge_period_already_billed",
|
|
55
|
+
OwnerImmutable: "owner_immutable",
|
|
56
|
+
PaymentClientMismatch: "payment_client_mismatch",
|
|
57
|
+
PaymentTargetNotCollectible: "payment_target_not_collectible",
|
|
58
|
+
CurrencyLocked: "currency_locked",
|
|
59
|
+
UnknownAssignmentId: "unknown_assignment_id",
|
|
40
60
|
} as const;
|
|
41
61
|
export type DetailsCode = OpenEnum<typeof DetailsCode>;
|
|
42
62
|
|
|
@@ -25,16 +25,16 @@ export type CalendarEventUpdate = {
|
|
|
25
25
|
*/
|
|
26
26
|
clientId?: string | null | undefined;
|
|
27
27
|
actionable?: boolean | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* ISO 8601 timestamp (UTC)
|
|
30
|
-
*/
|
|
31
|
-
completedAt?: Date | null | undefined;
|
|
32
28
|
recurring?: boolean | undefined;
|
|
33
29
|
rrule?: string | null | undefined;
|
|
34
30
|
/**
|
|
35
31
|
* ISO 8601 timestamp (UTC)
|
|
36
32
|
*/
|
|
37
33
|
recurrenceEnd?: Date | null | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* ISO 8601 timestamp (UTC)
|
|
36
|
+
*/
|
|
37
|
+
completedAt?: Date | null | undefined;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
/** @internal */
|
|
@@ -47,10 +47,10 @@ export type CalendarEventUpdate$Outbound = {
|
|
|
47
47
|
projectId?: string | null | undefined;
|
|
48
48
|
clientId?: string | null | undefined;
|
|
49
49
|
actionable?: boolean | undefined;
|
|
50
|
-
completedAt?: string | null | undefined;
|
|
51
50
|
recurring?: boolean | undefined;
|
|
52
51
|
rrule?: string | null | undefined;
|
|
53
52
|
recurrenceEnd?: string | null | undefined;
|
|
53
|
+
completedAt?: string | null | undefined;
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
/** @internal */
|
|
@@ -68,14 +68,14 @@ export const CalendarEventUpdate$outboundSchema: z.ZodMiniType<
|
|
|
68
68
|
projectId: z.optional(z.nullable(z.string())),
|
|
69
69
|
clientId: z.optional(z.nullable(z.string())),
|
|
70
70
|
actionable: z.optional(z.boolean()),
|
|
71
|
-
completedAt: z.optional(
|
|
72
|
-
z.nullable(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
73
|
-
),
|
|
74
71
|
recurring: z.optional(z.boolean()),
|
|
75
72
|
rrule: z.optional(z.nullable(z.string())),
|
|
76
73
|
recurrenceEnd: z.optional(
|
|
77
74
|
z.nullable(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
78
75
|
),
|
|
76
|
+
completedAt: z.optional(
|
|
77
|
+
z.nullable(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
78
|
+
),
|
|
79
79
|
});
|
|
80
80
|
|
|
81
81
|
export function calendarEventUpdateToJSON(
|
|
@@ -13,7 +13,7 @@ export type CreateCalendarEventSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateCalendarEventRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.CalendarEventCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateCatalogItemSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateCatalogItemRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.CatalogItemCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateClientSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateClientRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.ClientCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateContactSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateContactRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.ContactCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateContractSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateContractRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.ContractCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateEventDayVendorSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateEventDayVendorRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.EventDayVendorCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateEventDaySecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateEventDayRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.EventDayCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateInquirySecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateInquiryRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.InquiryCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateInvoiceSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateInvoiceRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.InvoiceCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateMilestoneSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateMilestoneRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.MilestoneCreate;
|
|
@@ -13,7 +13,7 @@ export type CreatePaymentSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreatePaymentRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.PaymentCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateProjectSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateProjectRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.ProjectCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateTimeEntrySecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateTimeEntryRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.TimeEntryCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateTimelineItemSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateTimelineItemRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.TimelineItemCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateTransactionSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateTransactionRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.TransactionCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateVendorSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateVendorRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.VendorCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateVenueSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateVenueRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.VenueCreate;
|
|
@@ -13,7 +13,7 @@ export type CreateWebhookSecurity = {
|
|
|
13
13
|
|
|
14
14
|
export type CreateWebhookRequest = {
|
|
15
15
|
/**
|
|
16
|
-
* Optional unique key that makes this
|
|
16
|
+
* 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.
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey?: string | undefined;
|
|
19
19
|
body: models.WebhookCreate;
|
|
@@ -26,11 +26,11 @@ export type ListCalendarEventsRequest = {
|
|
|
26
26
|
*/
|
|
27
27
|
clientId?: string | undefined;
|
|
28
28
|
/**
|
|
29
|
-
* ISO 8601 timestamp (
|
|
29
|
+
* ISO 8601 timestamp. A UTC offset (`+02:00`) is accepted as well as `Z`.
|
|
30
30
|
*/
|
|
31
31
|
startsAfter?: Date | undefined;
|
|
32
32
|
/**
|
|
33
|
-
* ISO 8601 timestamp (
|
|
33
|
+
* ISO 8601 timestamp. A UTC offset (`+02:00`) is accepted as well as `Z`.
|
|
34
34
|
*/
|
|
35
35
|
startsBefore?: Date | undefined;
|
|
36
36
|
};
|