@clientcasa/sdk 0.1.0 → 0.1.3
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/README.md +106 -92
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/catalog-item-create.d.ts +10 -0
- package/esm/models/catalog-item-create.d.ts.map +1 -1
- package/esm/models/catalog-item-create.js +8 -0
- package/esm/models/catalog-item-create.js.map +1 -1
- package/esm/models/catalog-item-update.d.ts +10 -0
- package/esm/models/catalog-item-update.d.ts.map +1 -1
- package/esm/models/catalog-item-update.js +8 -0
- package/esm/models/catalog-item-update.js.map +1 -1
- package/esm/models/catalog-item.d.ts +9 -0
- package/esm/models/catalog-item.d.ts.map +1 -1
- package/esm/models/catalog-item.js +8 -0
- package/esm/models/catalog-item.js.map +1 -1
- package/esm/models/invoice-create.d.ts +0 -1
- package/esm/models/invoice-create.d.ts.map +1 -1
- package/esm/models/invoice-create.js +0 -1
- package/esm/models/invoice-create.js.map +1 -1
- package/esm/models/payout.d.ts +1 -1
- package/esm/models/payout.d.ts.map +1 -1
- package/esm/models/payout.js +1 -1
- package/esm/models/payout.js.map +1 -1
- package/esm/models/time-entry-create.d.ts +0 -2
- package/esm/models/time-entry-create.d.ts.map +1 -1
- package/esm/models/time-entry-create.js +0 -1
- package/esm/models/time-entry-create.js.map +1 -1
- package/esm/models/time-entry-update.d.ts +0 -2
- package/esm/models/time-entry-update.d.ts.map +1 -1
- package/esm/models/time-entry-update.js +0 -1
- package/esm/models/time-entry-update.js.map +1 -1
- package/esm/models/time-entry.d.ts +0 -1
- package/esm/models/time-entry.d.ts.map +1 -1
- package/esm/models/time-entry.js +0 -1
- package/esm/models/time-entry.js.map +1 -1
- package/esm/models/transaction.d.ts +1 -1
- package/esm/models/transaction.d.ts.map +1 -1
- package/esm/models/transaction.js +1 -1
- package/esm/models/transaction.js.map +1 -1
- package/esm/sdk/calendar-events.d.ts +4 -4
- package/esm/sdk/calendar-events.d.ts.map +1 -1
- package/esm/sdk/calendar-events.js +6 -6
- package/esm/sdk/calendar-events.js.map +1 -1
- package/esm/sdk/catalog-items.d.ts +4 -4
- package/esm/sdk/catalog-items.d.ts.map +1 -1
- package/esm/sdk/catalog-items.js +6 -6
- package/esm/sdk/catalog-items.js.map +1 -1
- package/esm/sdk/clients.d.ts +4 -4
- package/esm/sdk/clients.d.ts.map +1 -1
- package/esm/sdk/clients.js +6 -6
- package/esm/sdk/clients.js.map +1 -1
- package/esm/sdk/contacts.d.ts +4 -4
- package/esm/sdk/contacts.d.ts.map +1 -1
- package/esm/sdk/contacts.js +6 -6
- package/esm/sdk/contacts.js.map +1 -1
- package/esm/sdk/contracts.d.ts +4 -4
- package/esm/sdk/contracts.d.ts.map +1 -1
- package/esm/sdk/contracts.js +6 -6
- package/esm/sdk/contracts.js.map +1 -1
- package/esm/sdk/inquiries.d.ts +4 -4
- package/esm/sdk/inquiries.d.ts.map +1 -1
- package/esm/sdk/inquiries.js +6 -6
- package/esm/sdk/inquiries.js.map +1 -1
- package/esm/sdk/invoices.d.ts +4 -4
- package/esm/sdk/invoices.d.ts.map +1 -1
- package/esm/sdk/invoices.js +6 -6
- package/esm/sdk/invoices.js.map +1 -1
- package/esm/sdk/milestones.d.ts +4 -4
- package/esm/sdk/milestones.d.ts.map +1 -1
- package/esm/sdk/milestones.js +6 -6
- package/esm/sdk/milestones.js.map +1 -1
- package/esm/sdk/projects.d.ts +4 -4
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/projects.js +6 -6
- package/esm/sdk/projects.js.map +1 -1
- package/esm/sdk/proposals.d.ts +4 -4
- package/esm/sdk/proposals.d.ts.map +1 -1
- package/esm/sdk/proposals.js +6 -6
- package/esm/sdk/proposals.js.map +1 -1
- package/esm/sdk/time-entries.d.ts +6 -6
- package/esm/sdk/time-entries.d.ts.map +1 -1
- package/esm/sdk/time-entries.js +8 -8
- package/esm/sdk/time-entries.js.map +1 -1
- package/esm/sdk/transactions.d.ts +6 -6
- package/esm/sdk/transactions.d.ts.map +1 -1
- package/esm/sdk/transactions.js +8 -8
- package/esm/sdk/transactions.js.map +1 -1
- package/esm/sdk/webhooks.d.ts +4 -4
- package/esm/sdk/webhooks.d.ts.map +1 -1
- package/esm/sdk/webhooks.js +6 -6
- package/esm/sdk/webhooks.js.map +1 -1
- package/esm/types/async.d.ts.map +1 -1
- package/esm/types/async.js +6 -6
- package/esm/types/async.js.map +1 -1
- package/esm/types/primitives.d.ts +0 -2
- package/esm/types/primitives.d.ts.map +1 -1
- package/esm/types/primitives.js +0 -22
- package/esm/types/primitives.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +6 -24
- package/src/lib/config.ts +3 -3
- package/src/models/catalog-item-create.ts +17 -0
- package/src/models/catalog-item-update.ts +17 -0
- package/src/models/catalog-item.ts +15 -0
- package/src/models/invoice-create.ts +0 -1
- package/src/models/payout.ts +2 -2
- package/src/models/time-entry-create.ts +0 -3
- package/src/models/time-entry-update.ts +0 -3
- package/src/models/time-entry.ts +0 -2
- package/src/models/transaction.ts +2 -2
- package/src/sdk/calendar-events.ts +15 -15
- package/src/sdk/catalog-items.ts +12 -12
- package/src/sdk/clients.ts +12 -12
- package/src/sdk/contacts.ts +12 -12
- package/src/sdk/contracts.ts +15 -15
- package/src/sdk/inquiries.ts +15 -15
- package/src/sdk/invoices.ts +12 -12
- package/src/sdk/milestones.ts +12 -12
- package/src/sdk/projects.ts +12 -12
- package/src/sdk/proposals.ts +15 -15
- package/src/sdk/time-entries.ts +14 -14
- package/src/sdk/transactions.ts +14 -14
- package/src/sdk/webhooks.ts +15 -15
- package/src/types/async.ts +8 -7
- package/src/types/primitives.ts +0 -26
package/README.md
CHANGED
|
@@ -14,141 +14,159 @@ Works in Node.js 18+, modern browsers, Edge runtimes, Cloudflare Workers, and De
|
|
|
14
14
|
|
|
15
15
|
## Quick start
|
|
16
16
|
|
|
17
|
-
Get an API key from **Settings → API Keys** in your dashboard
|
|
17
|
+
Get an API key from **Settings → API Keys** in your dashboard, then:
|
|
18
18
|
|
|
19
19
|
```ts
|
|
20
20
|
import { ClientCasa } from '@clientcasa/sdk'
|
|
21
21
|
|
|
22
|
-
const cc = new ClientCasa(
|
|
23
|
-
|
|
24
|
-
})
|
|
22
|
+
const cc = new ClientCasa()
|
|
23
|
+
const security = { apiKey: process.env.CLIENTCASA_API_KEY ?? '' }
|
|
25
24
|
|
|
26
25
|
// List clients
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
})
|
|
30
|
-
if (error) throw new Error(error.error.message)
|
|
31
|
-
for (const client of data.data) {
|
|
26
|
+
const result = await cc.clients.listClients(security, { pageSize: 25 })
|
|
27
|
+
for (const client of result.data) {
|
|
32
28
|
console.log(client.name, client.status)
|
|
33
29
|
}
|
|
34
30
|
|
|
35
31
|
// Create a client
|
|
36
|
-
const
|
|
37
|
-
|
|
32
|
+
const created = await cc.clients.createClient(security, {
|
|
33
|
+
name: 'Acme Inc.',
|
|
34
|
+
status: 'active',
|
|
38
35
|
})
|
|
39
36
|
|
|
40
37
|
// Get one by ID
|
|
41
|
-
const
|
|
42
|
-
path: { id: created!.id },
|
|
43
|
-
})
|
|
38
|
+
const fetched = await cc.clients.getClient(security, { id: created.id })
|
|
44
39
|
|
|
45
40
|
// Update
|
|
46
|
-
await cc.clients.
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
await cc.clients.updateClient(security, {
|
|
42
|
+
id: created.id,
|
|
43
|
+
clientUpdate: { notes: 'Updated via SDK' },
|
|
49
44
|
})
|
|
50
45
|
|
|
51
46
|
// Delete
|
|
52
|
-
await cc.clients.
|
|
47
|
+
await cc.clients.deleteClient(security, { id: created.id })
|
|
53
48
|
```
|
|
54
49
|
|
|
50
|
+
Errors are thrown — wrap calls in `try/catch` to handle them.
|
|
51
|
+
|
|
55
52
|
## OAuth (third-party apps)
|
|
56
53
|
|
|
57
54
|
If you're building a third-party app that acts on behalf of a user, use the access token from your OAuth flow:
|
|
58
55
|
|
|
59
56
|
```ts
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
})
|
|
57
|
+
const security = { bearer: 'eyJhbGc...' } // from /api/auth/oauth2/token
|
|
58
|
+
const result = await cc.clients.listClients(security, {})
|
|
63
59
|
```
|
|
64
60
|
|
|
65
61
|
See the [OAuth Apps guide](https://www.clientcasa.com/docs/api/oauth-apps) for the full authorization-code-with-PKCE flow.
|
|
66
62
|
|
|
67
63
|
## Resources
|
|
68
64
|
|
|
69
|
-
The client exposes one accessor per v1 resource:
|
|
65
|
+
The client exposes one accessor per v1 resource. Method names follow the verb-then-resource pattern (`listClients`, `createInvoice`, `getPayout`, etc.):
|
|
70
66
|
|
|
71
67
|
| Accessor | Methods | Notes |
|
|
72
68
|
|---|---|---|
|
|
73
|
-
| `cc.clients` |
|
|
74
|
-
| `cc.contacts` |
|
|
75
|
-
| `cc.projects` |
|
|
76
|
-
| `cc.invoices` |
|
|
77
|
-
| `cc.proposals` |
|
|
78
|
-
| `cc.contracts` |
|
|
79
|
-
| `cc.payments` |
|
|
80
|
-
| `cc.payouts` |
|
|
81
|
-
| `cc.timeEntries` |
|
|
82
|
-
| `cc.milestones` |
|
|
83
|
-
| `cc.calendarEvents` |
|
|
84
|
-
| `cc.inquiries` |
|
|
85
|
-
| `cc.transactions` |
|
|
86
|
-
| `cc.catalogItems` |
|
|
87
|
-
| `cc.webhooks` |
|
|
69
|
+
| `cc.clients` | listClients, createClient, getClient, updateClient, deleteClient | |
|
|
70
|
+
| `cc.contacts` | listContacts, createContact, getContact, updateContact, deleteContact | |
|
|
71
|
+
| `cc.projects` | listProjects, createProject, getProject, updateProject, deleteProject | |
|
|
72
|
+
| `cc.invoices` | listInvoices, createInvoice, getInvoice, updateInvoice, deleteInvoice | Status is payment-derived; only `draft`, `sent`, `void` writable |
|
|
73
|
+
| `cc.proposals` | listProposals, createProposal, getProposal, updateProposal, deleteProposal | Tiptap content not editable via API |
|
|
74
|
+
| `cc.contracts` | listContracts, createContract, getContract, updateContract, deleteContract | Create makes drafts only; signing is dashboard-managed |
|
|
75
|
+
| `cc.payments` | listPayments, createPayment, getPayment, updatePayment | Immutable — no delete. Refunds are negative-amount entries with `kind=refund` |
|
|
76
|
+
| `cc.payouts` | listPayouts, getPayout | Read-only — Stripe-managed |
|
|
77
|
+
| `cc.timeEntries` | listTimeEntries, createTimeEntry, getTimeEntry, updateTimeEntry, deleteTimeEntry | |
|
|
78
|
+
| `cc.milestones` | listMilestones, createMilestone, getMilestone, updateMilestone, deleteMilestone | Polymorphic parent (`parentType: 'projects' \| 'proposals'`) |
|
|
79
|
+
| `cc.calendarEvents` | listCalendarEvents, createCalendarEvent, getCalendarEvent, updateCalendarEvent, deleteCalendarEvent | Externally-synced events are read-only |
|
|
80
|
+
| `cc.inquiries` | listInquiries, createInquiry, getInquiry, updateInquiry, deleteInquiry | Inquiries land in `status: 'new'`; `converted` set by the dashboard |
|
|
81
|
+
| `cc.transactions` | listTransactions, createTransaction, getTransaction, updateTransaction, deleteTransaction | |
|
|
82
|
+
| `cc.catalogItems` | listCatalogItems, createCatalogItem, getCatalogItem, updateCatalogItem, deleteCatalogItem | |
|
|
83
|
+
| `cc.webhooks` | listWebhooks, createWebhook, getWebhook, updateWebhook, deleteWebhook | Secret is write-only |
|
|
88
84
|
|
|
89
85
|
## Error handling
|
|
90
86
|
|
|
91
|
-
|
|
87
|
+
Methods throw typed errors on non-2xx responses. Each operation has its own named error class:
|
|
92
88
|
|
|
93
89
|
```ts
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
90
|
+
import { ClientCasa } from '@clientcasa/sdk'
|
|
91
|
+
import { APIError, HTTPClientErrors } from '@clientcasa/sdk/models/errors'
|
|
92
|
+
|
|
93
|
+
try {
|
|
94
|
+
const result = await cc.clients.getClient(security, { id: 'bad-id' })
|
|
95
|
+
console.log(result.name)
|
|
96
|
+
} catch (err) {
|
|
97
|
+
if (err instanceof APIError) {
|
|
98
|
+
console.error(err.statusCode) // 404
|
|
99
|
+
console.error(err.message) // human-readable
|
|
100
|
+
// Decoded error body if the response was JSON:
|
|
101
|
+
// err.body has { error: { code, message, requestId, details? } }
|
|
102
|
+
} else {
|
|
103
|
+
throw err
|
|
104
|
+
}
|
|
100
105
|
}
|
|
101
|
-
console.log(data.name) // type-narrowed
|
|
102
106
|
```
|
|
103
107
|
|
|
108
|
+
See [`docs/models/errors/`](./docs/models/errors) for per-operation error types.
|
|
109
|
+
|
|
104
110
|
## Idempotency
|
|
105
111
|
|
|
106
|
-
Pass an `Idempotency-Key` header on
|
|
112
|
+
Pass an `Idempotency-Key` header on write operations to safely retry:
|
|
107
113
|
|
|
108
114
|
```ts
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
115
|
+
import { randomUUID } from 'node:crypto'
|
|
116
|
+
|
|
117
|
+
await cc.invoices.createInvoice(
|
|
118
|
+
security,
|
|
119
|
+
{
|
|
120
|
+
clientId: 'cli_...',
|
|
121
|
+
issueDate: '2026-05-19',
|
|
122
|
+
dueDate: '2026-06-18',
|
|
123
|
+
lineItems: [{ description: 'Consult', quantity: 1, unitPrice: 500, taxable: false }],
|
|
124
|
+
},
|
|
125
|
+
{ headers: { 'Idempotency-Key': randomUUID() } },
|
|
126
|
+
)
|
|
113
127
|
```
|
|
114
128
|
|
|
115
|
-
The same key replayed within 24h returns the cached response. See [Idempotency](https://www.clientcasa.com/docs/
|
|
129
|
+
The same key replayed within 24h returns the cached response. See the [Idempotency guide](https://www.clientcasa.com/docs/integrations/idempotent-writes) for the full pattern, including payments and refunds.
|
|
116
130
|
|
|
117
131
|
## Configuration
|
|
118
132
|
|
|
119
133
|
```ts
|
|
134
|
+
import { ClientCasa } from '@clientcasa/sdk'
|
|
135
|
+
|
|
120
136
|
new ClientCasa({
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
137
|
+
// Optional default API key — applied to every method that takes `security`.
|
|
138
|
+
// Per-call security still overrides if both are set.
|
|
139
|
+
apiKey: process.env.CLIENTCASA_API_KEY ?? '',
|
|
140
|
+
// Override the production base URL (e.g., for staging or test envs)
|
|
141
|
+
serverURL: 'https://www.clientcasa.com',
|
|
142
|
+
// Override the underlying HTTP client (e.g., to inject middleware)
|
|
143
|
+
httpClient: undefined,
|
|
144
|
+
// Custom retry config (defaults are already sensible)
|
|
145
|
+
retryConfig: undefined,
|
|
146
|
+
// Per-call timeout in milliseconds
|
|
147
|
+
timeoutMs: 30_000,
|
|
125
148
|
})
|
|
126
149
|
```
|
|
127
150
|
|
|
128
151
|
## TypeScript
|
|
129
152
|
|
|
130
|
-
All DTOs are exported
|
|
153
|
+
All DTOs are exported under the `@clientcasa/sdk/models` subpath:
|
|
131
154
|
|
|
132
155
|
```ts
|
|
133
|
-
import type {
|
|
156
|
+
import type { Client, InvoiceCreate, PaginationMeta } from '@clientcasa/sdk/models'
|
|
134
157
|
```
|
|
135
158
|
|
|
136
|
-
|
|
159
|
+
Per-operation request/response types live under `@clientcasa/sdk/models/operations`.
|
|
137
160
|
|
|
138
|
-
|
|
161
|
+
## Contributing
|
|
139
162
|
|
|
140
|
-
|
|
141
|
-
# From repo root: dump the current spec
|
|
142
|
-
pnpm --filter @clientcasa/app generate:openapi-spec
|
|
143
|
-
|
|
144
|
-
# Regenerate the SDK client + types
|
|
145
|
-
pnpm --filter @clientcasa/sdk gen
|
|
163
|
+
This SDK is auto-generated from the [ClientCasa OpenAPI spec](https://www.clientcasa.com/api/v1/openapi.json) by [Speakeasy](https://www.speakeasy.com). Most changes belong upstream in the API, not here.
|
|
146
164
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
165
|
+
- **Found a bug or want a feature?** [Open an issue](https://github.com/clientcasa/sdk-typescript/issues) — include the SDK version, what you tried, and the unexpected behavior.
|
|
166
|
+
- **Want to suggest an SDK-specific improvement** (ergonomics, retries, packaging)? Open an issue and we'll discuss before code.
|
|
167
|
+
- **Security issue?** See [SECURITY.md](./SECURITY.md). Do not file a public issue.
|
|
150
168
|
|
|
151
|
-
|
|
169
|
+
Pull requests touching `src/generated/` will be regenerated and overwritten — please don't edit generated code directly. See [CONTRIBUTING.md](./CONTRIBUTING.md) for the full contributor guide.
|
|
152
170
|
|
|
153
171
|
## Versioning
|
|
154
172
|
|
|
@@ -175,7 +193,7 @@ ClientCasa API: REST API for ClientCasa — proposals, contracts, time tracking,
|
|
|
175
193
|
* [Idempotency](#idempotency)
|
|
176
194
|
* [Configuration](#configuration)
|
|
177
195
|
* [TypeScript](#typescript)
|
|
178
|
-
* [
|
|
196
|
+
* [Contributing](#contributing)
|
|
179
197
|
* [Versioning](#versioning)
|
|
180
198
|
* [License](#license)
|
|
181
199
|
* [SDK Installation](#sdk-installation)
|
|
@@ -195,39 +213,35 @@ ClientCasa API: REST API for ClientCasa — proposals, contracts, time tracking,
|
|
|
195
213
|
<!-- Start SDK Installation [installation] -->
|
|
196
214
|
## SDK Installation
|
|
197
215
|
|
|
198
|
-
> [!TIP]
|
|
199
|
-
> To finish publishing your SDK to npm and others you must [run your first generation action](https://www.speakeasy.com/docs/github-setup#step-by-step-guide).
|
|
200
|
-
|
|
201
|
-
|
|
202
216
|
The SDK can be installed with either [npm](https://www.npmjs.com/), [pnpm](https://pnpm.io/), [bun](https://bun.sh/) or [yarn](https://classic.yarnpkg.com/en/) package managers.
|
|
203
217
|
|
|
204
218
|
### NPM
|
|
205
219
|
|
|
206
220
|
```bash
|
|
207
|
-
npm add
|
|
221
|
+
npm add @clientcasa/sdk
|
|
208
222
|
```
|
|
209
223
|
|
|
210
224
|
### PNPM
|
|
211
225
|
|
|
212
226
|
```bash
|
|
213
|
-
pnpm add
|
|
227
|
+
pnpm add @clientcasa/sdk
|
|
214
228
|
```
|
|
215
229
|
|
|
216
230
|
### Bun
|
|
217
231
|
|
|
218
232
|
```bash
|
|
219
|
-
bun add
|
|
233
|
+
bun add @clientcasa/sdk
|
|
220
234
|
```
|
|
221
235
|
|
|
222
236
|
### Yarn
|
|
223
237
|
|
|
224
238
|
```bash
|
|
225
|
-
yarn add
|
|
239
|
+
yarn add @clientcasa/sdk
|
|
226
240
|
```
|
|
227
241
|
|
|
228
242
|
> [!NOTE]
|
|
229
243
|
> This package is published as an ES Module (ESM) only. For applications using
|
|
230
|
-
> CommonJS, use `await import()` to import and use this package.
|
|
244
|
+
> CommonJS, use `await import("@clientcasa/sdk")` to import and use this package.
|
|
231
245
|
<!-- End SDK Installation [installation] -->
|
|
232
246
|
|
|
233
247
|
<!-- Start Requirements [requirements] -->
|
|
@@ -303,64 +317,64 @@ run();
|
|
|
303
317
|
* [listCalendarEvents](docs/sdks/calendarevents/README.md#listcalendarevents) - List calendar events
|
|
304
318
|
* [createCalendarEvent](docs/sdks/calendarevents/README.md#createcalendarevent) - Create a calendar event
|
|
305
319
|
* [getCalendarEvent](docs/sdks/calendarevents/README.md#getcalendarevent) - Get a calendar event
|
|
306
|
-
* [updateCalendarEvent](docs/sdks/calendarevents/README.md#updatecalendarevent) - Update a calendar event
|
|
307
320
|
* [deleteCalendarEvent](docs/sdks/calendarevents/README.md#deletecalendarevent) - Delete a calendar event
|
|
321
|
+
* [updateCalendarEvent](docs/sdks/calendarevents/README.md#updatecalendarevent) - Update a calendar event
|
|
308
322
|
|
|
309
323
|
### [CatalogItems](docs/sdks/catalogitems/README.md)
|
|
310
324
|
|
|
311
325
|
* [listCatalogItems](docs/sdks/catalogitems/README.md#listcatalogitems) - List catalog items
|
|
312
326
|
* [createCatalogItem](docs/sdks/catalogitems/README.md#createcatalogitem) - Create a catalog item
|
|
313
327
|
* [getCatalogItem](docs/sdks/catalogitems/README.md#getcatalogitem) - Get a catalog item
|
|
314
|
-
* [updateCatalogItem](docs/sdks/catalogitems/README.md#updatecatalogitem) - Update a catalog item
|
|
315
328
|
* [deleteCatalogItem](docs/sdks/catalogitems/README.md#deletecatalogitem) - Delete a catalog item
|
|
329
|
+
* [updateCatalogItem](docs/sdks/catalogitems/README.md#updatecatalogitem) - Update a catalog item
|
|
316
330
|
|
|
317
331
|
### [Clients](docs/sdks/clients/README.md)
|
|
318
332
|
|
|
319
333
|
* [listClients](docs/sdks/clients/README.md#listclients) - List clients
|
|
320
334
|
* [createClient](docs/sdks/clients/README.md#createclient) - Create a client
|
|
321
335
|
* [getClient](docs/sdks/clients/README.md#getclient) - Get a client
|
|
322
|
-
* [updateClient](docs/sdks/clients/README.md#updateclient) - Update a client
|
|
323
336
|
* [deleteClient](docs/sdks/clients/README.md#deleteclient) - Delete a client
|
|
337
|
+
* [updateClient](docs/sdks/clients/README.md#updateclient) - Update a client
|
|
324
338
|
|
|
325
339
|
### [Contacts](docs/sdks/contacts/README.md)
|
|
326
340
|
|
|
327
341
|
* [listContacts](docs/sdks/contacts/README.md#listcontacts) - List contacts
|
|
328
342
|
* [createContact](docs/sdks/contacts/README.md#createcontact) - Create a contact
|
|
329
343
|
* [getContact](docs/sdks/contacts/README.md#getcontact) - Get a contact
|
|
330
|
-
* [updateContact](docs/sdks/contacts/README.md#updatecontact) - Update a contact
|
|
331
344
|
* [deleteContact](docs/sdks/contacts/README.md#deletecontact) - Delete a contact
|
|
345
|
+
* [updateContact](docs/sdks/contacts/README.md#updatecontact) - Update a contact
|
|
332
346
|
|
|
333
347
|
### [Contracts](docs/sdks/contracts/README.md)
|
|
334
348
|
|
|
335
349
|
* [listContracts](docs/sdks/contracts/README.md#listcontracts) - List contracts
|
|
336
350
|
* [createContract](docs/sdks/contracts/README.md#createcontract) - Create a draft contract
|
|
337
351
|
* [getContract](docs/sdks/contracts/README.md#getcontract) - Get a contract
|
|
338
|
-
* [updateContract](docs/sdks/contracts/README.md#updatecontract) - Update a contract (limited fields)
|
|
339
352
|
* [deleteContract](docs/sdks/contracts/README.md#deletecontract) - Delete a contract (only drafts)
|
|
353
|
+
* [updateContract](docs/sdks/contracts/README.md#updatecontract) - Update a contract (limited fields)
|
|
340
354
|
|
|
341
355
|
### [Inquiries](docs/sdks/inquiries/README.md)
|
|
342
356
|
|
|
343
357
|
* [listInquiries](docs/sdks/inquiries/README.md#listinquiries) - List inquiries
|
|
344
358
|
* [createInquiry](docs/sdks/inquiries/README.md#createinquiry) - Create an inquiry
|
|
345
359
|
* [getInquiry](docs/sdks/inquiries/README.md#getinquiry) - Get an inquiry
|
|
346
|
-
* [updateInquiry](docs/sdks/inquiries/README.md#updateinquiry) - Update an inquiry
|
|
347
360
|
* [deleteInquiry](docs/sdks/inquiries/README.md#deleteinquiry) - Delete an inquiry
|
|
361
|
+
* [updateInquiry](docs/sdks/inquiries/README.md#updateinquiry) - Update an inquiry
|
|
348
362
|
|
|
349
363
|
### [Invoices](docs/sdks/invoices/README.md)
|
|
350
364
|
|
|
351
365
|
* [listInvoices](docs/sdks/invoices/README.md#listinvoices) - List invoices
|
|
352
366
|
* [createInvoice](docs/sdks/invoices/README.md#createinvoice) - Create an invoice
|
|
353
367
|
* [getInvoice](docs/sdks/invoices/README.md#getinvoice) - Get an invoice
|
|
354
|
-
* [updateInvoice](docs/sdks/invoices/README.md#updateinvoice) - Update an invoice (line items not editable in v1)
|
|
355
368
|
* [deleteInvoice](docs/sdks/invoices/README.md#deleteinvoice) - Delete an invoice (only drafts)
|
|
369
|
+
* [updateInvoice](docs/sdks/invoices/README.md#updateinvoice) - Update an invoice (line items not editable in v1)
|
|
356
370
|
|
|
357
371
|
### [Milestones](docs/sdks/milestones/README.md)
|
|
358
372
|
|
|
359
373
|
* [listMilestones](docs/sdks/milestones/README.md#listmilestones) - List milestones
|
|
360
374
|
* [createMilestone](docs/sdks/milestones/README.md#createmilestone) - Create a milestone
|
|
361
375
|
* [getMilestone](docs/sdks/milestones/README.md#getmilestone) - Get a milestone
|
|
362
|
-
* [updateMilestone](docs/sdks/milestones/README.md#updatemilestone) - Update a milestone
|
|
363
376
|
* [deleteMilestone](docs/sdks/milestones/README.md#deletemilestone) - Delete a milestone
|
|
377
|
+
* [updateMilestone](docs/sdks/milestones/README.md#updatemilestone) - Update a milestone
|
|
364
378
|
|
|
365
379
|
### [Payments](docs/sdks/payments/README.md)
|
|
366
380
|
|
|
@@ -379,40 +393,40 @@ run();
|
|
|
379
393
|
* [listProjects](docs/sdks/projects/README.md#listprojects) - List projects
|
|
380
394
|
* [createProject](docs/sdks/projects/README.md#createproject) - Create a project
|
|
381
395
|
* [getProject](docs/sdks/projects/README.md#getproject) - Get a project
|
|
382
|
-
* [updateProject](docs/sdks/projects/README.md#updateproject) - Update a project
|
|
383
396
|
* [deleteProject](docs/sdks/projects/README.md#deleteproject) - Delete a project
|
|
397
|
+
* [updateProject](docs/sdks/projects/README.md#updateproject) - Update a project
|
|
384
398
|
|
|
385
399
|
### [Proposals](docs/sdks/proposals/README.md)
|
|
386
400
|
|
|
387
401
|
* [listProposals](docs/sdks/proposals/README.md#listproposals) - List proposals
|
|
388
402
|
* [createProposal](docs/sdks/proposals/README.md#createproposal) - Create a proposal (metadata only — rich-text content is dashboard-managed)
|
|
389
403
|
* [getProposal](docs/sdks/proposals/README.md#getproposal) - Get a proposal
|
|
390
|
-
* [updateProposal](docs/sdks/proposals/README.md#updateproposal) - Update a proposal
|
|
391
404
|
* [deleteProposal](docs/sdks/proposals/README.md#deleteproposal) - Delete a proposal (only drafts)
|
|
405
|
+
* [updateProposal](docs/sdks/proposals/README.md#updateproposal) - Update a proposal
|
|
392
406
|
|
|
393
407
|
### [TimeEntries](docs/sdks/timeentries/README.md)
|
|
394
408
|
|
|
395
409
|
* [listTimeEntries](docs/sdks/timeentries/README.md#listtimeentries) - List time entries
|
|
396
410
|
* [createTimeEntry](docs/sdks/timeentries/README.md#createtimeentry) - Create a time entry
|
|
397
411
|
* [getTimeEntry](docs/sdks/timeentries/README.md#gettimeentry) - Get a time entry
|
|
398
|
-
* [updateTimeEntry](docs/sdks/timeentries/README.md#updatetimeentry) - Update a time entry
|
|
399
412
|
* [deleteTimeEntry](docs/sdks/timeentries/README.md#deletetimeentry) - Delete a time entry
|
|
413
|
+
* [updateTimeEntry](docs/sdks/timeentries/README.md#updatetimeentry) - Update a time entry
|
|
400
414
|
|
|
401
415
|
### [Transactions](docs/sdks/transactions/README.md)
|
|
402
416
|
|
|
403
417
|
* [listTransactions](docs/sdks/transactions/README.md#listtransactions) - List transactions
|
|
404
418
|
* [createTransaction](docs/sdks/transactions/README.md#createtransaction) - Create a transaction (expense or charge)
|
|
405
419
|
* [getTransaction](docs/sdks/transactions/README.md#gettransaction) - Get a transaction
|
|
406
|
-
* [updateTransaction](docs/sdks/transactions/README.md#updatetransaction) - Update a transaction
|
|
407
420
|
* [deleteTransaction](docs/sdks/transactions/README.md#deletetransaction) - Delete a transaction
|
|
421
|
+
* [updateTransaction](docs/sdks/transactions/README.md#updatetransaction) - Update a transaction
|
|
408
422
|
|
|
409
423
|
### [Webhooks](docs/sdks/webhooks/README.md)
|
|
410
424
|
|
|
411
425
|
* [listWebhooks](docs/sdks/webhooks/README.md#listwebhooks) - List webhook subscriptions
|
|
412
426
|
* [createWebhook](docs/sdks/webhooks/README.md#createwebhook) - Subscribe to events
|
|
413
427
|
* [getWebhook](docs/sdks/webhooks/README.md#getwebhook) - Get a webhook
|
|
414
|
-
* [updateWebhook](docs/sdks/webhooks/README.md#updatewebhook) - Update a webhook
|
|
415
428
|
* [deleteWebhook](docs/sdks/webhooks/README.md#deletewebhook) - Delete a webhook
|
|
429
|
+
* [updateWebhook](docs/sdks/webhooks/README.md#updatewebhook) - Update a webhook
|
|
416
430
|
|
|
417
431
|
</details>
|
|
418
432
|
<!-- End Available Resources and Operations [operations] -->
|
package/esm/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.0.0";
|
|
34
|
-
readonly sdkVersion: "0.
|
|
35
|
-
readonly genVersion: "2.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.
|
|
34
|
+
readonly sdkVersion: "0.1.3";
|
|
35
|
+
readonly genVersion: "2.885.1";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.3 2.885.1 1.0.0 @clientcasa/sdk";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/esm/lib/config.js
CHANGED
|
@@ -27,8 +27,8 @@ export function serverURLFromOptions(options) {
|
|
|
27
27
|
export const SDK_METADATA = {
|
|
28
28
|
language: "typescript",
|
|
29
29
|
openapiDocVersion: "1.0.0",
|
|
30
|
-
sdkVersion: "0.
|
|
31
|
-
genVersion: "2.
|
|
32
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
30
|
+
sdkVersion: "0.1.3",
|
|
31
|
+
genVersion: "2.885.1",
|
|
32
|
+
userAgent: "speakeasy-sdk/typescript 0.1.3 2.885.1 1.0.0 @clientcasa/sdk",
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.js.map
|
|
@@ -18,6 +18,12 @@ export declare const CatalogItemCreateType: {
|
|
|
18
18
|
readonly Charge: "charge";
|
|
19
19
|
};
|
|
20
20
|
export type CatalogItemCreateType = ClosedEnum<typeof CatalogItemCreateType>;
|
|
21
|
+
export declare const CatalogItemCreatePricingMode: {
|
|
22
|
+
readonly Fixed: "fixed";
|
|
23
|
+
readonly Hourly: "hourly";
|
|
24
|
+
readonly Bom: "bom";
|
|
25
|
+
};
|
|
26
|
+
export type CatalogItemCreatePricingMode = ClosedEnum<typeof CatalogItemCreatePricingMode>;
|
|
21
27
|
export declare const CatalogItemCreateStatus: {
|
|
22
28
|
readonly Active: "active";
|
|
23
29
|
readonly Paused: "paused";
|
|
@@ -33,6 +39,7 @@ export type CatalogItemCreate = {
|
|
|
33
39
|
unit?: CatalogItemCreateUnit | undefined;
|
|
34
40
|
defaultFrequency?: CatalogItemCreateDefaultFrequency | undefined;
|
|
35
41
|
type: CatalogItemCreateType;
|
|
42
|
+
pricingMode?: CatalogItemCreatePricingMode | undefined;
|
|
36
43
|
/**
|
|
37
44
|
* UUID v4
|
|
38
45
|
*/
|
|
@@ -50,6 +57,8 @@ export declare const CatalogItemCreateDefaultFrequency$outboundSchema: z.ZodMini
|
|
|
50
57
|
/** @internal */
|
|
51
58
|
export declare const CatalogItemCreateType$outboundSchema: z.ZodMiniEnum<typeof CatalogItemCreateType>;
|
|
52
59
|
/** @internal */
|
|
60
|
+
export declare const CatalogItemCreatePricingMode$outboundSchema: z.ZodMiniEnum<typeof CatalogItemCreatePricingMode>;
|
|
61
|
+
/** @internal */
|
|
53
62
|
export declare const CatalogItemCreateStatus$outboundSchema: z.ZodMiniEnum<typeof CatalogItemCreateStatus>;
|
|
54
63
|
/** @internal */
|
|
55
64
|
export type CatalogItemCreate$Outbound = {
|
|
@@ -61,6 +70,7 @@ export type CatalogItemCreate$Outbound = {
|
|
|
61
70
|
unit: string;
|
|
62
71
|
defaultFrequency: string;
|
|
63
72
|
type: string;
|
|
73
|
+
pricingMode: string;
|
|
64
74
|
taxCategoryId?: string | undefined;
|
|
65
75
|
status: string;
|
|
66
76
|
clientId?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-item-create.d.ts","sourceRoot":"","sources":["../../src/models/catalog-item-create.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,qBAAqB;;;;CAIxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,eAAO,MAAM,iCAAiC;;;;;CAKpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,UAAU,CACxD,OAAO,iCAAiC,CACzC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;CAGxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,eAAO,MAAM,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GAAG,SAAS,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,0BAA0B,EAC1B,iBAAiB,CAiBjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
|
|
@@ -17,6 +17,11 @@ export const CatalogItemCreateType = {
|
|
|
17
17
|
Expense: "expense",
|
|
18
18
|
Charge: "charge",
|
|
19
19
|
};
|
|
20
|
+
export const CatalogItemCreatePricingMode = {
|
|
21
|
+
Fixed: "fixed",
|
|
22
|
+
Hourly: "hourly",
|
|
23
|
+
Bom: "bom",
|
|
24
|
+
};
|
|
20
25
|
export const CatalogItemCreateStatus = {
|
|
21
26
|
Active: "active",
|
|
22
27
|
Paused: "paused",
|
|
@@ -29,6 +34,8 @@ export const CatalogItemCreateDefaultFrequency$outboundSchema = z.enum(CatalogIt
|
|
|
29
34
|
/** @internal */
|
|
30
35
|
export const CatalogItemCreateType$outboundSchema = z.enum(CatalogItemCreateType);
|
|
31
36
|
/** @internal */
|
|
37
|
+
export const CatalogItemCreatePricingMode$outboundSchema = z.enum(CatalogItemCreatePricingMode);
|
|
38
|
+
/** @internal */
|
|
32
39
|
export const CatalogItemCreateStatus$outboundSchema = z.enum(CatalogItemCreateStatus);
|
|
33
40
|
/** @internal */
|
|
34
41
|
export const CatalogItemCreate$outboundSchema = z.object({
|
|
@@ -40,6 +47,7 @@ export const CatalogItemCreate$outboundSchema = z.object({
|
|
|
40
47
|
unit: z._default(CatalogItemCreateUnit$outboundSchema, "flat"),
|
|
41
48
|
defaultFrequency: z._default(CatalogItemCreateDefaultFrequency$outboundSchema, "one-time"),
|
|
42
49
|
type: CatalogItemCreateType$outboundSchema,
|
|
50
|
+
pricingMode: z._default(CatalogItemCreatePricingMode$outboundSchema, "fixed"),
|
|
43
51
|
taxCategoryId: z.optional(z.string()),
|
|
44
52
|
status: z._default(CatalogItemCreateStatus$outboundSchema, "active"),
|
|
45
53
|
clientId: z.optional(z.string()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-item-create.js","sourceRoot":"","sources":["../../src/models/catalog-item-create.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACJ,CAAC;AAGX,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAC;AAKX,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACZ,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog-item-create.js","sourceRoot":"","sources":["../../src/models/catalog-item-create.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,MAAM,CAAC,MAAM,qBAAqB,G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,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACpC,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnC,kBAAkB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1C,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,oCAAoC,EAAE,MAAM,CAAC;IAC9D,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAC1B,gDAAgD,EAChD,UAAU,CACX;IACD,IAAI,EAAE,oCAAoC;IAC1C,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,2CAA2C,EAAE,OAAO,CAAC;IAC7E,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACrC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,sCAAsC,EAAE,QAAQ,CAAC;IACpE,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACjC,CAAC,CAAC;AAEH,MAAM,UAAU,uBAAuB,CACrC,iBAAoC,EAC5B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,gCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AAAA,CACH"}
|
|
@@ -18,6 +18,12 @@ export declare const CatalogItemUpdateType: {
|
|
|
18
18
|
readonly Charge: "charge";
|
|
19
19
|
};
|
|
20
20
|
export type CatalogItemUpdateType = ClosedEnum<typeof CatalogItemUpdateType>;
|
|
21
|
+
export declare const CatalogItemUpdatePricingMode: {
|
|
22
|
+
readonly Fixed: "fixed";
|
|
23
|
+
readonly Hourly: "hourly";
|
|
24
|
+
readonly Bom: "bom";
|
|
25
|
+
};
|
|
26
|
+
export type CatalogItemUpdatePricingMode = ClosedEnum<typeof CatalogItemUpdatePricingMode>;
|
|
21
27
|
export declare const CatalogItemUpdateStatus: {
|
|
22
28
|
readonly Active: "active";
|
|
23
29
|
readonly Paused: "paused";
|
|
@@ -33,6 +39,7 @@ export type CatalogItemUpdate = {
|
|
|
33
39
|
unit?: CatalogItemUpdateUnit | undefined;
|
|
34
40
|
defaultFrequency?: CatalogItemUpdateDefaultFrequency | undefined;
|
|
35
41
|
type?: CatalogItemUpdateType | undefined;
|
|
42
|
+
pricingMode?: CatalogItemUpdatePricingMode | undefined;
|
|
36
43
|
/**
|
|
37
44
|
* UUID v4
|
|
38
45
|
*/
|
|
@@ -50,6 +57,8 @@ export declare const CatalogItemUpdateDefaultFrequency$outboundSchema: z.ZodMini
|
|
|
50
57
|
/** @internal */
|
|
51
58
|
export declare const CatalogItemUpdateType$outboundSchema: z.ZodMiniEnum<typeof CatalogItemUpdateType>;
|
|
52
59
|
/** @internal */
|
|
60
|
+
export declare const CatalogItemUpdatePricingMode$outboundSchema: z.ZodMiniEnum<typeof CatalogItemUpdatePricingMode>;
|
|
61
|
+
/** @internal */
|
|
53
62
|
export declare const CatalogItemUpdateStatus$outboundSchema: z.ZodMiniEnum<typeof CatalogItemUpdateStatus>;
|
|
54
63
|
/** @internal */
|
|
55
64
|
export type CatalogItemUpdate$Outbound = {
|
|
@@ -61,6 +70,7 @@ export type CatalogItemUpdate$Outbound = {
|
|
|
61
70
|
unit: string;
|
|
62
71
|
defaultFrequency: string;
|
|
63
72
|
type?: string | undefined;
|
|
73
|
+
pricingMode: string;
|
|
64
74
|
taxCategoryId?: string | undefined;
|
|
65
75
|
status: string;
|
|
66
76
|
clientId?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-item-update.d.ts","sourceRoot":"","sources":["../../src/models/catalog-item-update.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,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O,iCAAiC,CACG,CAAC;AAE9C,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,OAAO,qBAAqB,CACG,CAAC;AAElC,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,WAAW,CACrE,OAAO,4BAA4B,CACG,CAAC;AAEzC,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,OAAO,uBAAuB,CACG,CAAC;AAEpC,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,0BAA0B,EAC1B,iBAAiB,CAiBjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
|
|
@@ -17,6 +17,11 @@ export const CatalogItemUpdateType = {
|
|
|
17
17
|
Expense: "expense",
|
|
18
18
|
Charge: "charge",
|
|
19
19
|
};
|
|
20
|
+
export const CatalogItemUpdatePricingMode = {
|
|
21
|
+
Fixed: "fixed",
|
|
22
|
+
Hourly: "hourly",
|
|
23
|
+
Bom: "bom",
|
|
24
|
+
};
|
|
20
25
|
export const CatalogItemUpdateStatus = {
|
|
21
26
|
Active: "active",
|
|
22
27
|
Paused: "paused",
|
|
@@ -29,6 +34,8 @@ export const CatalogItemUpdateDefaultFrequency$outboundSchema = z.enum(CatalogIt
|
|
|
29
34
|
/** @internal */
|
|
30
35
|
export const CatalogItemUpdateType$outboundSchema = z.enum(CatalogItemUpdateType);
|
|
31
36
|
/** @internal */
|
|
37
|
+
export const CatalogItemUpdatePricingMode$outboundSchema = z.enum(CatalogItemUpdatePricingMode);
|
|
38
|
+
/** @internal */
|
|
32
39
|
export const CatalogItemUpdateStatus$outboundSchema = z.enum(CatalogItemUpdateStatus);
|
|
33
40
|
/** @internal */
|
|
34
41
|
export const CatalogItemUpdate$outboundSchema = z.object({
|
|
@@ -40,6 +47,7 @@ export const CatalogItemUpdate$outboundSchema = z.object({
|
|
|
40
47
|
unit: z._default(CatalogItemUpdateUnit$outboundSchema, "flat"),
|
|
41
48
|
defaultFrequency: z._default(CatalogItemUpdateDefaultFrequency$outboundSchema, "one-time"),
|
|
42
49
|
type: z.optional(CatalogItemUpdateType$outboundSchema),
|
|
50
|
+
pricingMode: z._default(CatalogItemUpdatePricingMode$outboundSchema, "fixed"),
|
|
43
51
|
taxCategoryId: z.optional(z.string()),
|
|
44
52
|
status: z._default(CatalogItemUpdateStatus$outboundSchema, "active"),
|
|
45
53
|
clientId: z.optional(z.string()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-item-update.js","sourceRoot":"","sources":["../../src/models/catalog-item-update.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACJ,CAAC;AAGX,MAAM,CA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