@caraer/client 2.0.430 → 2.0.432
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 +8 -8
- package/dist/api.d.ts +8 -8
- package/dist/api.js +8 -8
- package/dist/esm/api.d.ts +8 -8
- package/dist/esm/api.js +8 -8
- package/docs/RecordsApi.md +3 -3
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -18045,10 +18045,10 @@ export const RecordsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
18045
18045
|
};
|
|
18046
18046
|
},
|
|
18047
18047
|
/**
|
|
18048
|
-
* Creates a new record or updates an existing one
|
|
18048
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
18049
18049
|
* @summary Create or update a record
|
|
18050
18050
|
* @param {string} objectName
|
|
18051
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
18051
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
18052
18052
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
18053
18053
|
* @param {boolean} [ignoreErrors]
|
|
18054
18054
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -19126,10 +19126,10 @@ export const RecordsApiFp = function(configuration?: Configuration) {
|
|
|
19126
19126
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19127
19127
|
},
|
|
19128
19128
|
/**
|
|
19129
|
-
* Creates a new record or updates an existing one
|
|
19129
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
19130
19130
|
* @summary Create or update a record
|
|
19131
19131
|
* @param {string} objectName
|
|
19132
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
19132
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
19133
19133
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
19134
19134
|
* @param {boolean} [ignoreErrors]
|
|
19135
19135
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -19503,10 +19503,10 @@ export const RecordsApiFactory = function (configuration?: Configuration, basePa
|
|
|
19503
19503
|
return localVarFp.create(objectName, recordDTO, parse, ignoreErrors, recordReturnFormat, options).then((request) => request(axios, basePath));
|
|
19504
19504
|
},
|
|
19505
19505
|
/**
|
|
19506
|
-
* Creates a new record or updates an existing one
|
|
19506
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
19507
19507
|
* @summary Create or update a record
|
|
19508
19508
|
* @param {string} objectName
|
|
19509
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
19509
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
19510
19510
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
19511
19511
|
* @param {boolean} [ignoreErrors]
|
|
19512
19512
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -19827,10 +19827,10 @@ export class RecordsApi extends BaseAPI {
|
|
|
19827
19827
|
}
|
|
19828
19828
|
|
|
19829
19829
|
/**
|
|
19830
|
-
* Creates a new record or updates an existing one
|
|
19830
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
19831
19831
|
* @summary Create or update a record
|
|
19832
19832
|
* @param {string} objectName
|
|
19833
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
19833
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
19834
19834
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
19835
19835
|
* @param {boolean} [ignoreErrors]
|
|
19836
19836
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
package/dist/api.d.ts
CHANGED
|
@@ -11597,10 +11597,10 @@ export declare const RecordsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
11597
11597
|
*/
|
|
11598
11598
|
create: (objectName: string, recordDTO: RecordDTO, parse?: CreateParseEnum, ignoreErrors?: boolean, recordReturnFormat?: CreateRecordReturnFormatEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11599
11599
|
/**
|
|
11600
|
-
* Creates a new record or updates an existing one
|
|
11600
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
11601
11601
|
* @summary Create or update a record
|
|
11602
11602
|
* @param {string} objectName
|
|
11603
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
11603
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
11604
11604
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
11605
11605
|
* @param {boolean} [ignoreErrors]
|
|
11606
11606
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -11863,10 +11863,10 @@ export declare const RecordsApiFp: (configuration?: Configuration) => {
|
|
|
11863
11863
|
*/
|
|
11864
11864
|
create(objectName: string, recordDTO: RecordDTO, parse?: CreateParseEnum, ignoreErrors?: boolean, recordReturnFormat?: CreateRecordReturnFormatEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateResponse>>;
|
|
11865
11865
|
/**
|
|
11866
|
-
* Creates a new record or updates an existing one
|
|
11866
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
11867
11867
|
* @summary Create or update a record
|
|
11868
11868
|
* @param {string} objectName
|
|
11869
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
11869
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
11870
11870
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
11871
11871
|
* @param {boolean} [ignoreErrors]
|
|
11872
11872
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -12129,10 +12129,10 @@ export declare const RecordsApiFactory: (configuration?: Configuration, basePath
|
|
|
12129
12129
|
*/
|
|
12130
12130
|
create(objectName: string, recordDTO: RecordDTO, parse?: CreateParseEnum, ignoreErrors?: boolean, recordReturnFormat?: CreateRecordReturnFormatEnum, options?: RawAxiosRequestConfig): AxiosPromise<CreateResponse>;
|
|
12131
12131
|
/**
|
|
12132
|
-
* Creates a new record or updates an existing one
|
|
12132
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
12133
12133
|
* @summary Create or update a record
|
|
12134
12134
|
* @param {string} objectName
|
|
12135
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
12135
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
12136
12136
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
12137
12137
|
* @param {boolean} [ignoreErrors]
|
|
12138
12138
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -12395,10 +12395,10 @@ export declare class RecordsApi extends BaseAPI {
|
|
|
12395
12395
|
*/
|
|
12396
12396
|
create(objectName: string, recordDTO: RecordDTO, parse?: CreateParseEnum, ignoreErrors?: boolean, recordReturnFormat?: CreateRecordReturnFormatEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateResponse, any, {}>>;
|
|
12397
12397
|
/**
|
|
12398
|
-
* Creates a new record or updates an existing one
|
|
12398
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
12399
12399
|
* @summary Create or update a record
|
|
12400
12400
|
* @param {string} objectName
|
|
12401
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
12401
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
12402
12402
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
12403
12403
|
* @param {boolean} [ignoreErrors]
|
|
12404
12404
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
package/dist/api.js
CHANGED
|
@@ -11445,10 +11445,10 @@ const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11445
11445
|
};
|
|
11446
11446
|
}),
|
|
11447
11447
|
/**
|
|
11448
|
-
* Creates a new record or updates an existing one
|
|
11448
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
11449
11449
|
* @summary Create or update a record
|
|
11450
11450
|
* @param {string} objectName
|
|
11451
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
11451
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
11452
11452
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
11453
11453
|
* @param {boolean} [ignoreErrors]
|
|
11454
11454
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -12411,10 +12411,10 @@ const RecordsApiFp = function (configuration) {
|
|
|
12411
12411
|
});
|
|
12412
12412
|
},
|
|
12413
12413
|
/**
|
|
12414
|
-
* Creates a new record or updates an existing one
|
|
12414
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
12415
12415
|
* @summary Create or update a record
|
|
12416
12416
|
* @param {string} objectName
|
|
12417
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
12417
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
12418
12418
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
12419
12419
|
* @param {boolean} [ignoreErrors]
|
|
12420
12420
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -12845,10 +12845,10 @@ const RecordsApiFactory = function (configuration, basePath, axios) {
|
|
|
12845
12845
|
return localVarFp.create(objectName, recordDTO, parse, ignoreErrors, recordReturnFormat, options).then((request) => request(axios, basePath));
|
|
12846
12846
|
},
|
|
12847
12847
|
/**
|
|
12848
|
-
* Creates a new record or updates an existing one
|
|
12848
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
12849
12849
|
* @summary Create or update a record
|
|
12850
12850
|
* @param {string} objectName
|
|
12851
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
12851
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
12852
12852
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
12853
12853
|
* @param {boolean} [ignoreErrors]
|
|
12854
12854
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -13163,10 +13163,10 @@ class RecordsApi extends base_1.BaseAPI {
|
|
|
13163
13163
|
return (0, exports.RecordsApiFp)(this.configuration).create(objectName, recordDTO, parse, ignoreErrors, recordReturnFormat, options).then((request) => request(this.axios, this.basePath));
|
|
13164
13164
|
}
|
|
13165
13165
|
/**
|
|
13166
|
-
* Creates a new record or updates an existing one
|
|
13166
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
13167
13167
|
* @summary Create or update a record
|
|
13168
13168
|
* @param {string} objectName
|
|
13169
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
13169
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
13170
13170
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
13171
13171
|
* @param {boolean} [ignoreErrors]
|
|
13172
13172
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -11597,10 +11597,10 @@ export declare const RecordsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
11597
11597
|
*/
|
|
11598
11598
|
create: (objectName: string, recordDTO: RecordDTO, parse?: CreateParseEnum, ignoreErrors?: boolean, recordReturnFormat?: CreateRecordReturnFormatEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11599
11599
|
/**
|
|
11600
|
-
* Creates a new record or updates an existing one
|
|
11600
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
11601
11601
|
* @summary Create or update a record
|
|
11602
11602
|
* @param {string} objectName
|
|
11603
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
11603
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
11604
11604
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
11605
11605
|
* @param {boolean} [ignoreErrors]
|
|
11606
11606
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -11863,10 +11863,10 @@ export declare const RecordsApiFp: (configuration?: Configuration) => {
|
|
|
11863
11863
|
*/
|
|
11864
11864
|
create(objectName: string, recordDTO: RecordDTO, parse?: CreateParseEnum, ignoreErrors?: boolean, recordReturnFormat?: CreateRecordReturnFormatEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateResponse>>;
|
|
11865
11865
|
/**
|
|
11866
|
-
* Creates a new record or updates an existing one
|
|
11866
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
11867
11867
|
* @summary Create or update a record
|
|
11868
11868
|
* @param {string} objectName
|
|
11869
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
11869
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
11870
11870
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
11871
11871
|
* @param {boolean} [ignoreErrors]
|
|
11872
11872
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -12129,10 +12129,10 @@ export declare const RecordsApiFactory: (configuration?: Configuration, basePath
|
|
|
12129
12129
|
*/
|
|
12130
12130
|
create(objectName: string, recordDTO: RecordDTO, parse?: CreateParseEnum, ignoreErrors?: boolean, recordReturnFormat?: CreateRecordReturnFormatEnum, options?: RawAxiosRequestConfig): AxiosPromise<CreateResponse>;
|
|
12131
12131
|
/**
|
|
12132
|
-
* Creates a new record or updates an existing one
|
|
12132
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
12133
12133
|
* @summary Create or update a record
|
|
12134
12134
|
* @param {string} objectName
|
|
12135
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
12135
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
12136
12136
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
12137
12137
|
* @param {boolean} [ignoreErrors]
|
|
12138
12138
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -12395,10 +12395,10 @@ export declare class RecordsApi extends BaseAPI {
|
|
|
12395
12395
|
*/
|
|
12396
12396
|
create(objectName: string, recordDTO: RecordDTO, parse?: CreateParseEnum, ignoreErrors?: boolean, recordReturnFormat?: CreateRecordReturnFormatEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateResponse, any, {}>>;
|
|
12397
12397
|
/**
|
|
12398
|
-
* Creates a new record or updates an existing one
|
|
12398
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
12399
12399
|
* @summary Create or update a record
|
|
12400
12400
|
* @param {string} objectName
|
|
12401
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
12401
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
12402
12402
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
12403
12403
|
* @param {boolean} [ignoreErrors]
|
|
12404
12404
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
package/dist/esm/api.js
CHANGED
|
@@ -11372,10 +11372,10 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11372
11372
|
};
|
|
11373
11373
|
}),
|
|
11374
11374
|
/**
|
|
11375
|
-
* Creates a new record or updates an existing one
|
|
11375
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
11376
11376
|
* @summary Create or update a record
|
|
11377
11377
|
* @param {string} objectName
|
|
11378
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
11378
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
11379
11379
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
11380
11380
|
* @param {boolean} [ignoreErrors]
|
|
11381
11381
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -12337,10 +12337,10 @@ export const RecordsApiFp = function (configuration) {
|
|
|
12337
12337
|
});
|
|
12338
12338
|
},
|
|
12339
12339
|
/**
|
|
12340
|
-
* Creates a new record or updates an existing one
|
|
12340
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
12341
12341
|
* @summary Create or update a record
|
|
12342
12342
|
* @param {string} objectName
|
|
12343
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
12343
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
12344
12344
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
12345
12345
|
* @param {boolean} [ignoreErrors]
|
|
12346
12346
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -12770,10 +12770,10 @@ export const RecordsApiFactory = function (configuration, basePath, axios) {
|
|
|
12770
12770
|
return localVarFp.create(objectName, recordDTO, parse, ignoreErrors, recordReturnFormat, options).then((request) => request(axios, basePath));
|
|
12771
12771
|
},
|
|
12772
12772
|
/**
|
|
12773
|
-
* Creates a new record or updates an existing one
|
|
12773
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
12774
12774
|
* @summary Create or update a record
|
|
12775
12775
|
* @param {string} objectName
|
|
12776
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
12776
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
12777
12777
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
12778
12778
|
* @param {boolean} [ignoreErrors]
|
|
12779
12779
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
@@ -13087,10 +13087,10 @@ export class RecordsApi extends BaseAPI {
|
|
|
13087
13087
|
return RecordsApiFp(this.configuration).create(objectName, recordDTO, parse, ignoreErrors, recordReturnFormat, options).then((request) => request(this.axios, this.basePath));
|
|
13088
13088
|
}
|
|
13089
13089
|
/**
|
|
13090
|
-
* Creates a new record or updates an existing one
|
|
13090
|
+
* Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
13091
13091
|
* @summary Create or update a record
|
|
13092
13092
|
* @param {string} objectName
|
|
13093
|
-
* @param {RecordDTO} recordDTO Record data to create or update
|
|
13093
|
+
* @param {RecordDTO} recordDTO Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
13094
13094
|
* @param {CreateOrUpdateParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
|
|
13095
13095
|
* @param {boolean} [ignoreErrors]
|
|
13096
13096
|
* @param {CreateOrUpdateRecordReturnFormatEnum} [recordReturnFormat] Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
package/docs/RecordsApi.md
CHANGED
|
@@ -377,7 +377,7 @@ const { status, data } = await apiInstance.create(
|
|
|
377
377
|
# **createOrUpdate**
|
|
378
378
|
> createOrUpdate(recordDTO)
|
|
379
379
|
|
|
380
|
-
Creates a new record or updates an existing one
|
|
380
|
+
Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. 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.
|
|
381
381
|
|
|
382
382
|
### Example
|
|
383
383
|
|
|
@@ -392,7 +392,7 @@ const configuration = new Configuration();
|
|
|
392
392
|
const apiInstance = new RecordsApi(configuration);
|
|
393
393
|
|
|
394
394
|
let objectName: string; // (default to undefined)
|
|
395
|
-
let recordDTO: RecordDTO; //Record data to create or update
|
|
395
|
+
let recordDTO: RecordDTO; //Record data to create or update. Top-level uuid updates that record when it already exists.
|
|
396
396
|
let parse: 'DB' | 'HUMAN_READABLE' | 'STRUCTURED'; //Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records). (optional) (default to undefined)
|
|
397
397
|
let ignoreErrors: boolean; // (optional) (default to false)
|
|
398
398
|
let recordReturnFormat: 'LEGACY' | 'USER_FRIENDLY' | 'EXPANDED'; //Format of the record to return. LEGACY, USER_FRIENDLY, EXPANDED. (optional) (default to 'LEGACY')
|
|
@@ -410,7 +410,7 @@ const { status, data } = await apiInstance.createOrUpdate(
|
|
|
410
410
|
|
|
411
411
|
|Name | Type | Description | Notes|
|
|
412
412
|
|------------- | ------------- | ------------- | -------------|
|
|
413
|
-
| **recordDTO** | **RecordDTO**| Record data to create or update | |
|
|
413
|
+
| **recordDTO** | **RecordDTO**| Record data to create or update. Top-level uuid updates that record when it already exists. | |
|
|
414
414
|
| **objectName** | [**string**] | | defaults to undefined|
|
|
415
415
|
| **parse** | [**'DB' | 'HUMAN_READABLE' | 'STRUCTURED'**]**Array<'DB' | 'HUMAN_READABLE' | 'STRUCTURED'>** | Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records). | (optional) defaults to undefined|
|
|
416
416
|
| **ignoreErrors** | [**boolean**] | | (optional) defaults to false|
|