@caraer/client 2.0.353 → 2.0.368

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/api.ts CHANGED
@@ -2124,9 +2124,9 @@ export interface ModelRecord {
2124
2124
  'deleted'?: boolean;
2125
2125
  'complete'?: boolean;
2126
2126
  'uuid': string;
2127
+ 'user'?: PublicUserDTO;
2127
2128
  'properties'?: Array<FilledProperty>;
2128
2129
  'objects'?: { [key: string]: any | null; };
2129
- 'user'?: PublicUserDTO;
2130
2130
  }
2131
2131
  /**
2132
2132
  * Request to morph a record
@@ -14703,10 +14703,11 @@ export const RecordsApiAxiosParamCreator = function (configuration?: Configurati
14703
14703
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
14704
14704
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
14705
14705
  * @param {boolean} [parse] Whether to parse the record before returning it.
14706
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
14706
14707
  * @param {*} [options] Override http request option.
14707
14708
  * @throws {RequiredError}
14708
14709
  */
14709
- show1: async (uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14710
+ show1: async (uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, fields?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14710
14711
  // verify required parameter 'uuid' is not null or undefined
14711
14712
  assertParamExists('show1', 'uuid', uuid)
14712
14713
  const localVarPath = `/api/v2/records/{uuid}`
@@ -14738,6 +14739,10 @@ export const RecordsApiAxiosParamCreator = function (configuration?: Configurati
14738
14739
  localVarQueryParameter['parse'] = parse;
14739
14740
  }
14740
14741
 
14742
+ if (fields !== undefined) {
14743
+ localVarQueryParameter['fields'] = fields;
14744
+ }
14745
+
14741
14746
  localVarHeaderParameter['Accept'] = 'application/json';
14742
14747
 
14743
14748
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -15031,11 +15036,12 @@ export const RecordsApiFp = function(configuration?: Configuration) {
15031
15036
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
15032
15037
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
15033
15038
  * @param {boolean} [parse] Whether to parse the record before returning it.
15039
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
15034
15040
  * @param {*} [options] Override http request option.
15035
15041
  * @throws {RequiredError}
15036
15042
  */
15037
- async show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponse>> {
15038
- const localVarAxiosArgs = await localVarAxiosParamCreator.show1(uuid, object, recordReturnFormat, parse, options);
15043
+ async show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponse>> {
15044
+ const localVarAxiosArgs = await localVarAxiosParamCreator.show1(uuid, object, recordReturnFormat, parse, fields, options);
15039
15045
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15040
15046
  const localVarOperationServerBasePath = operationServerMap['RecordsApi.show1']?.[localVarOperationServerIndex]?.url;
15041
15047
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -15239,11 +15245,12 @@ export const RecordsApiFactory = function (configuration?: Configuration, basePa
15239
15245
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
15240
15246
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
15241
15247
  * @param {boolean} [parse] Whether to parse the record before returning it.
15248
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
15242
15249
  * @param {*} [options] Override http request option.
15243
15250
  * @throws {RequiredError}
15244
15251
  */
15245
- show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponse> {
15246
- return localVarFp.show1(uuid, object, recordReturnFormat, parse, options).then((request) => request(axios, basePath));
15252
+ show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, fields?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponse> {
15253
+ return localVarFp.show1(uuid, object, recordReturnFormat, parse, fields, options).then((request) => request(axios, basePath));
15247
15254
  },
15248
15255
  /**
15249
15256
  * Updates a record\'s details identified by its UUID. The record data is provided as a RecordDTO. Returns an UpdateResponse with the updated record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
@@ -15452,11 +15459,12 @@ export class RecordsApi extends BaseAPI {
15452
15459
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
15453
15460
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
15454
15461
  * @param {boolean} [parse] Whether to parse the record before returning it.
15462
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
15455
15463
  * @param {*} [options] Override http request option.
15456
15464
  * @throws {RequiredError}
15457
15465
  */
15458
- public show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, options?: RawAxiosRequestConfig) {
15459
- return RecordsApiFp(this.configuration).show1(uuid, object, recordReturnFormat, parse, options).then((request) => request(this.axios, this.basePath));
15466
+ public show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, fields?: string, options?: RawAxiosRequestConfig) {
15467
+ return RecordsApiFp(this.configuration).show1(uuid, object, recordReturnFormat, parse, fields, options).then((request) => request(this.axios, this.basePath));
15460
15468
  }
15461
15469
 
15462
15470
  /**
package/dist/api.d.ts CHANGED
@@ -2117,11 +2117,11 @@ export interface ModelRecord {
2117
2117
  'deleted'?: boolean;
2118
2118
  'complete'?: boolean;
2119
2119
  'uuid': string;
2120
+ 'user'?: PublicUserDTO;
2120
2121
  'properties'?: Array<FilledProperty>;
2121
2122
  'objects'?: {
2122
2123
  [key: string]: any | null;
2123
2124
  };
2124
- 'user'?: PublicUserDTO;
2125
2125
  }
2126
2126
  /**
2127
2127
  * Request to morph a record
@@ -9382,10 +9382,11 @@ export declare const RecordsApiAxiosParamCreator: (configuration?: Configuration
9382
9382
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9383
9383
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9384
9384
  * @param {boolean} [parse] Whether to parse the record before returning it.
9385
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9385
9386
  * @param {*} [options] Override http request option.
9386
9387
  * @throws {RequiredError}
9387
9388
  */
9388
- show1: (uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9389
+ show1: (uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9389
9390
  /**
9390
9391
  * Updates a record\'s details identified by its UUID. The record data is provided as a RecordDTO. Returns an UpdateResponse with the updated record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
9391
9392
  * @summary Update a record
@@ -9550,10 +9551,11 @@ export declare const RecordsApiFp: (configuration?: Configuration) => {
9550
9551
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9551
9552
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9552
9553
  * @param {boolean} [parse] Whether to parse the record before returning it.
9554
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9553
9555
  * @param {*} [options] Override http request option.
9554
9556
  * @throws {RequiredError}
9555
9557
  */
9556
- show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponse>>;
9558
+ show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponse>>;
9557
9559
  /**
9558
9560
  * Updates a record\'s details identified by its UUID. The record data is provided as a RecordDTO. Returns an UpdateResponse with the updated record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
9559
9561
  * @summary Update a record
@@ -9718,10 +9720,11 @@ export declare const RecordsApiFactory: (configuration?: Configuration, basePath
9718
9720
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9719
9721
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9720
9722
  * @param {boolean} [parse] Whether to parse the record before returning it.
9723
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9721
9724
  * @param {*} [options] Override http request option.
9722
9725
  * @throws {RequiredError}
9723
9726
  */
9724
- show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponse>;
9727
+ show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, fields?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponse>;
9725
9728
  /**
9726
9729
  * Updates a record\'s details identified by its UUID. The record data is provided as a RecordDTO. Returns an UpdateResponse with the updated record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
9727
9730
  * @summary Update a record
@@ -9886,10 +9889,11 @@ export declare class RecordsApi extends BaseAPI {
9886
9889
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9887
9890
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9888
9891
  * @param {boolean} [parse] Whether to parse the record before returning it.
9892
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9889
9893
  * @param {*} [options] Override http request option.
9890
9894
  * @throws {RequiredError}
9891
9895
  */
9892
- show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponse, any, {}>>;
9896
+ show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, fields?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponse, any, {}>>;
9893
9897
  /**
9894
9898
  * Updates a record\'s details identified by its UUID. The record data is provided as a RecordDTO. Returns an UpdateResponse with the updated record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
9895
9899
  * @summary Update a record
package/dist/api.js CHANGED
@@ -9143,10 +9143,11 @@ const RecordsApiAxiosParamCreator = function (configuration) {
9143
9143
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9144
9144
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9145
9145
  * @param {boolean} [parse] Whether to parse the record before returning it.
9146
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9146
9147
  * @param {*} [options] Override http request option.
9147
9148
  * @throws {RequiredError}
9148
9149
  */
9149
- show1: (uuid_1, object_1, recordReturnFormat_1, parse_1, ...args_1) => __awaiter(this, [uuid_1, object_1, recordReturnFormat_1, parse_1, ...args_1], void 0, function* (uuid, object, recordReturnFormat, parse, options = {}) {
9150
+ show1: (uuid_1, object_1, recordReturnFormat_1, parse_1, fields_1, ...args_1) => __awaiter(this, [uuid_1, object_1, recordReturnFormat_1, parse_1, fields_1, ...args_1], void 0, function* (uuid, object, recordReturnFormat, parse, fields, options = {}) {
9150
9151
  // verify required parameter 'uuid' is not null or undefined
9151
9152
  (0, common_1.assertParamExists)('show1', 'uuid', uuid);
9152
9153
  const localVarPath = `/api/v2/records/{uuid}`
@@ -9172,6 +9173,9 @@ const RecordsApiAxiosParamCreator = function (configuration) {
9172
9173
  if (parse !== undefined) {
9173
9174
  localVarQueryParameter['parse'] = parse;
9174
9175
  }
9176
+ if (fields !== undefined) {
9177
+ localVarQueryParameter['fields'] = fields;
9178
+ }
9175
9179
  localVarHeaderParameter['Accept'] = 'application/json';
9176
9180
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9177
9181
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -9494,13 +9498,14 @@ const RecordsApiFp = function (configuration) {
9494
9498
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9495
9499
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9496
9500
  * @param {boolean} [parse] Whether to parse the record before returning it.
9501
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9497
9502
  * @param {*} [options] Override http request option.
9498
9503
  * @throws {RequiredError}
9499
9504
  */
9500
- show1(uuid, object, recordReturnFormat, parse, options) {
9505
+ show1(uuid, object, recordReturnFormat, parse, fields, options) {
9501
9506
  return __awaiter(this, void 0, void 0, function* () {
9502
9507
  var _a, _b, _c;
9503
- const localVarAxiosArgs = yield localVarAxiosParamCreator.show1(uuid, object, recordReturnFormat, parse, options);
9508
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.show1(uuid, object, recordReturnFormat, parse, fields, options);
9504
9509
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9505
9510
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RecordsApi.show1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9506
9511
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9708,11 +9713,12 @@ const RecordsApiFactory = function (configuration, basePath, axios) {
9708
9713
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9709
9714
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9710
9715
  * @param {boolean} [parse] Whether to parse the record before returning it.
9716
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9711
9717
  * @param {*} [options] Override http request option.
9712
9718
  * @throws {RequiredError}
9713
9719
  */
9714
- show1(uuid, object, recordReturnFormat, parse, options) {
9715
- return localVarFp.show1(uuid, object, recordReturnFormat, parse, options).then((request) => request(axios, basePath));
9720
+ show1(uuid, object, recordReturnFormat, parse, fields, options) {
9721
+ return localVarFp.show1(uuid, object, recordReturnFormat, parse, fields, options).then((request) => request(axios, basePath));
9716
9722
  },
9717
9723
  /**
9718
9724
  * Updates a record\'s details identified by its UUID. The record data is provided as a RecordDTO. Returns an UpdateResponse with the updated record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
@@ -9908,11 +9914,12 @@ class RecordsApi extends base_1.BaseAPI {
9908
9914
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9909
9915
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9910
9916
  * @param {boolean} [parse] Whether to parse the record before returning it.
9917
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9911
9918
  * @param {*} [options] Override http request option.
9912
9919
  * @throws {RequiredError}
9913
9920
  */
9914
- show1(uuid, object, recordReturnFormat, parse, options) {
9915
- return (0, exports.RecordsApiFp)(this.configuration).show1(uuid, object, recordReturnFormat, parse, options).then((request) => request(this.axios, this.basePath));
9921
+ show1(uuid, object, recordReturnFormat, parse, fields, options) {
9922
+ return (0, exports.RecordsApiFp)(this.configuration).show1(uuid, object, recordReturnFormat, parse, fields, options).then((request) => request(this.axios, this.basePath));
9916
9923
  }
9917
9924
  /**
9918
9925
  * Updates a record\'s details identified by its UUID. The record data is provided as a RecordDTO. Returns an UpdateResponse with the updated record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
package/dist/esm/api.d.ts CHANGED
@@ -2117,11 +2117,11 @@ export interface ModelRecord {
2117
2117
  'deleted'?: boolean;
2118
2118
  'complete'?: boolean;
2119
2119
  'uuid': string;
2120
+ 'user'?: PublicUserDTO;
2120
2121
  'properties'?: Array<FilledProperty>;
2121
2122
  'objects'?: {
2122
2123
  [key: string]: any | null;
2123
2124
  };
2124
- 'user'?: PublicUserDTO;
2125
2125
  }
2126
2126
  /**
2127
2127
  * Request to morph a record
@@ -9382,10 +9382,11 @@ export declare const RecordsApiAxiosParamCreator: (configuration?: Configuration
9382
9382
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9383
9383
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9384
9384
  * @param {boolean} [parse] Whether to parse the record before returning it.
9385
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9385
9386
  * @param {*} [options] Override http request option.
9386
9387
  * @throws {RequiredError}
9387
9388
  */
9388
- show1: (uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9389
+ show1: (uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9389
9390
  /**
9390
9391
  * Updates a record\'s details identified by its UUID. The record data is provided as a RecordDTO. Returns an UpdateResponse with the updated record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
9391
9392
  * @summary Update a record
@@ -9550,10 +9551,11 @@ export declare const RecordsApiFp: (configuration?: Configuration) => {
9550
9551
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9551
9552
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9552
9553
  * @param {boolean} [parse] Whether to parse the record before returning it.
9554
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9553
9555
  * @param {*} [options] Override http request option.
9554
9556
  * @throws {RequiredError}
9555
9557
  */
9556
- show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponse>>;
9558
+ show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponse>>;
9557
9559
  /**
9558
9560
  * Updates a record\'s details identified by its UUID. The record data is provided as a RecordDTO. Returns an UpdateResponse with the updated record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
9559
9561
  * @summary Update a record
@@ -9718,10 +9720,11 @@ export declare const RecordsApiFactory: (configuration?: Configuration, basePath
9718
9720
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9719
9721
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9720
9722
  * @param {boolean} [parse] Whether to parse the record before returning it.
9723
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9721
9724
  * @param {*} [options] Override http request option.
9722
9725
  * @throws {RequiredError}
9723
9726
  */
9724
- show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponse>;
9727
+ show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, fields?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponse>;
9725
9728
  /**
9726
9729
  * Updates a record\'s details identified by its UUID. The record data is provided as a RecordDTO. Returns an UpdateResponse with the updated record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
9727
9730
  * @summary Update a record
@@ -9886,10 +9889,11 @@ export declare class RecordsApi extends BaseAPI {
9886
9889
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9887
9890
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9888
9891
  * @param {boolean} [parse] Whether to parse the record before returning it.
9892
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9889
9893
  * @param {*} [options] Override http request option.
9890
9894
  * @throws {RequiredError}
9891
9895
  */
9892
- show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponse, any, {}>>;
9896
+ show1(uuid: string, object?: string, recordReturnFormat?: string, parse?: boolean, fields?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponse, any, {}>>;
9893
9897
  /**
9894
9898
  * Updates a record\'s details identified by its UUID. The record data is provided as a RecordDTO. Returns an UpdateResponse with the updated record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
9895
9899
  * @summary Update a record
package/dist/esm/api.js CHANGED
@@ -9087,10 +9087,11 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
9087
9087
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9088
9088
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9089
9089
  * @param {boolean} [parse] Whether to parse the record before returning it.
9090
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9090
9091
  * @param {*} [options] Override http request option.
9091
9092
  * @throws {RequiredError}
9092
9093
  */
9093
- show1: (uuid_1, object_1, recordReturnFormat_1, parse_1, ...args_1) => __awaiter(this, [uuid_1, object_1, recordReturnFormat_1, parse_1, ...args_1], void 0, function* (uuid, object, recordReturnFormat, parse, options = {}) {
9094
+ show1: (uuid_1, object_1, recordReturnFormat_1, parse_1, fields_1, ...args_1) => __awaiter(this, [uuid_1, object_1, recordReturnFormat_1, parse_1, fields_1, ...args_1], void 0, function* (uuid, object, recordReturnFormat, parse, fields, options = {}) {
9094
9095
  // verify required parameter 'uuid' is not null or undefined
9095
9096
  assertParamExists('show1', 'uuid', uuid);
9096
9097
  const localVarPath = `/api/v2/records/{uuid}`
@@ -9116,6 +9117,9 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
9116
9117
  if (parse !== undefined) {
9117
9118
  localVarQueryParameter['parse'] = parse;
9118
9119
  }
9120
+ if (fields !== undefined) {
9121
+ localVarQueryParameter['fields'] = fields;
9122
+ }
9119
9123
  localVarHeaderParameter['Accept'] = 'application/json';
9120
9124
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9121
9125
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -9437,13 +9441,14 @@ export const RecordsApiFp = function (configuration) {
9437
9441
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9438
9442
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9439
9443
  * @param {boolean} [parse] Whether to parse the record before returning it.
9444
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9440
9445
  * @param {*} [options] Override http request option.
9441
9446
  * @throws {RequiredError}
9442
9447
  */
9443
- show1(uuid, object, recordReturnFormat, parse, options) {
9448
+ show1(uuid, object, recordReturnFormat, parse, fields, options) {
9444
9449
  return __awaiter(this, void 0, void 0, function* () {
9445
9450
  var _a, _b, _c;
9446
- const localVarAxiosArgs = yield localVarAxiosParamCreator.show1(uuid, object, recordReturnFormat, parse, options);
9451
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.show1(uuid, object, recordReturnFormat, parse, fields, options);
9447
9452
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9448
9453
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RecordsApi.show1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9449
9454
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9650,11 +9655,12 @@ export const RecordsApiFactory = function (configuration, basePath, axios) {
9650
9655
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9651
9656
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9652
9657
  * @param {boolean} [parse] Whether to parse the record before returning it.
9658
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9653
9659
  * @param {*} [options] Override http request option.
9654
9660
  * @throws {RequiredError}
9655
9661
  */
9656
- show1(uuid, object, recordReturnFormat, parse, options) {
9657
- return localVarFp.show1(uuid, object, recordReturnFormat, parse, options).then((request) => request(axios, basePath));
9662
+ show1(uuid, object, recordReturnFormat, parse, fields, options) {
9663
+ return localVarFp.show1(uuid, object, recordReturnFormat, parse, fields, options).then((request) => request(axios, basePath));
9658
9664
  },
9659
9665
  /**
9660
9666
  * Updates a record\'s details identified by its UUID. The record data is provided as a RecordDTO. Returns an UpdateResponse with the updated record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
@@ -9849,11 +9855,12 @@ export class RecordsApi extends BaseAPI {
9849
9855
  * @param {string} [object] Optional object name to resolve the record in a specific object context.
9850
9856
  * @param {string} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
9851
9857
  * @param {boolean} [parse] Whether to parse the record before returning it.
9858
+ * @param {string} [fields] Comma-separated property names to include (for example: name,status). When omitted, all properties are returned.
9852
9859
  * @param {*} [options] Override http request option.
9853
9860
  * @throws {RequiredError}
9854
9861
  */
9855
- show1(uuid, object, recordReturnFormat, parse, options) {
9856
- return RecordsApiFp(this.configuration).show1(uuid, object, recordReturnFormat, parse, options).then((request) => request(this.axios, this.basePath));
9862
+ show1(uuid, object, recordReturnFormat, parse, fields, options) {
9863
+ return RecordsApiFp(this.configuration).show1(uuid, object, recordReturnFormat, parse, fields, options).then((request) => request(this.axios, this.basePath));
9857
9864
  }
9858
9865
  /**
9859
9866
  * Updates a record\'s details identified by its UUID. The record data is provided as a RecordDTO. Returns an UpdateResponse with the updated record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
package/docs/Record.md CHANGED
@@ -17,9 +17,9 @@ Name | Type | Description | Notes
17
17
  **deleted** | **boolean** | | [optional] [default to undefined]
18
18
  **complete** | **boolean** | | [optional] [default to undefined]
19
19
  **uuid** | **string** | | [default to undefined]
20
+ **user** | [**PublicUserDTO**](PublicUserDTO.md) | | [optional] [default to undefined]
20
21
  **properties** | [**Array&lt;FilledProperty&gt;**](FilledProperty.md) | | [optional] [default to undefined]
21
22
  **objects** | **{ [key: string]: any | null; }** | | [optional] [default to undefined]
22
- **user** | [**PublicUserDTO**](PublicUserDTO.md) | | [optional] [default to undefined]
23
23
 
24
24
  ## Example
25
25
 
@@ -39,9 +39,9 @@ const instance: ModelRecord = {
39
39
  deleted,
40
40
  complete,
41
41
  uuid,
42
+ user,
42
43
  properties,
43
44
  objects,
44
- user,
45
45
  };
46
46
  ```
47
47
 
@@ -835,12 +835,14 @@ let uuid: string; // (default to undefined)
835
835
  let object: string; //Optional object name to resolve the record in a specific object context. (optional) (default to undefined)
836
836
  let recordReturnFormat: string; //Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED. (optional) (default to 'LEGACY')
837
837
  let parse: boolean; //Whether to parse the record before returning it. (optional) (default to undefined)
838
+ let fields: string; //Comma-separated property names to include (for example: name,status). When omitted, all properties are returned. (optional) (default to undefined)
838
839
 
839
840
  const { status, data } = await apiInstance.show1(
840
841
  uuid,
841
842
  object,
842
843
  recordReturnFormat,
843
- parse
844
+ parse,
845
+ fields
844
846
  );
845
847
  ```
846
848
 
@@ -852,6 +854,7 @@ const { status, data } = await apiInstance.show1(
852
854
  | **object** | [**string**] | Optional object name to resolve the record in a specific object context. | (optional) defaults to undefined|
853
855
  | **recordReturnFormat** | [**string**] | Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED. | (optional) defaults to 'LEGACY'|
854
856
  | **parse** | [**boolean**] | Whether to parse the record before returning it. | (optional) defaults to undefined|
857
+ | **fields** | [**string**] | Comma-separated property names to include (for example: name,status). When omitted, all properties are returned. | (optional) defaults to undefined|
855
858
 
856
859
 
857
860
  ### Return type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caraer/client",
3
- "version": "2.0.353",
3
+ "version": "2.0.368",
4
4
  "description": "Generated TypeScript client for the Caraer API",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "prepare": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "axios": "^1.16.0"
27
+ "axios": "1.18.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "12.11.5 - 12.20.42",