@avallon-labs/sdk 57.2.0 → 58.0.0-staging.1300

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/dist/index.d.ts CHANGED
@@ -1400,7 +1400,7 @@ interface CaseDetail {
1400
1400
  * OpenAPI spec version: 1.0.0
1401
1401
  */
1402
1402
  /**
1403
- * JSON Schema properties, keyed by permanent snake_case field key. Each field is a string, number, boolean or enum, or an array of those; a nullable type makes it optional. `title` is the label people see and can change any time. Set `x_sensitive` on fields holding personal data.
1403
+ * JSON Schema properties, keyed by permanent snake_case field key. Each field is a string, number, boolean or enum, or an array of those; a nullable type allows `null`. `title` is the label people see and can change any time. Set `x_sensitive` on fields holding personal data.
1404
1404
  */
1405
1405
  interface CaseFieldsSchema {
1406
1406
  [key: string]: {
@@ -1460,7 +1460,7 @@ interface CaseFieldsSchema {
1460
1460
  * OpenAPI spec version: 1.0.0
1461
1461
  */
1462
1462
  /**
1463
- * Values keyed by field key, validated against the case type. `null` clears a field.
1463
+ * Values keyed by field key, validated against the case type. `null` clears a field whose `type` includes `"null"`.
1464
1464
  */
1465
1465
  interface CaseFieldWrites {
1466
1466
  [key: string]: {
@@ -2338,8 +2338,8 @@ type CreateCaseBody = {
2338
2338
  */
2339
2339
  id: string;
2340
2340
  environment?: CreateCaseBodyEnvironment;
2341
- /** Defaults to `default`. */
2342
- type_slug?: string;
2341
+ /** Slug of a case type. List the case types to pick one, then get it to see its fields. */
2342
+ type_slug: string;
2343
2343
  /** Initial field values. */
2344
2344
  fields?: CaseFieldWrites;
2345
2345
  /** Short description of what the case is about. */
@@ -16105,7 +16105,7 @@ declare const useDeleteCase: <TError = ErrorType<ErrorResponse>>(id: string, par
16105
16105
  };
16106
16106
  declare const getUpdateCaseUrl: (id: string, params?: UpdateCaseParams) => string;
16107
16107
  /**
16108
- * Only the fields sent change; `null` clears one.
16108
+ * Only the fields sent change.
16109
16109
  * @summary Update case
16110
16110
  */
16111
16111
  declare const updateCase: (id: string, updateCaseBody?: UpdateCaseBody, params?: UpdateCaseParams, options?: Parameters<typeof customFetch>[1]) => Promise<UpdateCaseEnvelope>;