@caraer/client 2.0.640 → 2.0.655

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.
@@ -51,6 +51,7 @@ docs/AppSettingOptionsSource.md
51
51
  docs/AppSettingsSection.md
52
52
  docs/AppSubcategoryDTO.md
53
53
  docs/ApplicationsApi.md
54
+ docs/ArchivedRecordObjectDTO.md
54
55
  docs/AutomationsApi.md
55
56
  docs/BillingApi.md
56
57
  docs/BillingSettingsDTO.md
@@ -337,6 +338,7 @@ docs/SuccessResponseListAggregateResponse.md
337
338
  docs/SuccessResponseListAppExternalOAuthProviderDTO.md
338
339
  docs/SuccessResponseListAppInboundRouteDTO.md
339
340
  docs/SuccessResponseListAppScheduleDTO.md
341
+ docs/SuccessResponseListArchivedRecordObjectDTO.md
340
342
  docs/SuccessResponseListCalendarRecordDTO.md
341
343
  docs/SuccessResponseListCalendarTeamOptionDTO.md
342
344
  docs/SuccessResponseListCaraerObjectDTO.md
@@ -1 +1 @@
1
- 7.26.0
1
+ 7.27.0
package/api.ts CHANGED
@@ -1026,8 +1026,8 @@ export interface AppSettingFieldSchema {
1026
1026
  'clearValue'?: boolean;
1027
1027
  'mappingValue'?: AppSettingFieldMappingStructure;
1028
1028
  'valueScope'?: string;
1029
- 'settingsGroup'?: boolean;
1030
1029
  'action'?: boolean;
1030
+ 'settingsGroup'?: boolean;
1031
1031
  'filterPropertyTypes'?: Array<string>;
1032
1032
  'filterPropertyFormats'?: Array<string>;
1033
1033
  }
@@ -1057,6 +1057,13 @@ export interface AppSubcategoryDTO {
1057
1057
  */
1058
1058
  'label'?: string;
1059
1059
  }
1060
+ export interface ArchivedRecordObjectDTO {
1061
+ 'uuid'?: string;
1062
+ 'name'?: string;
1063
+ 'label'?: string;
1064
+ 'icon'?: string;
1065
+ 'index'?: number;
1066
+ }
1060
1067
  /**
1061
1068
  * The billing settings of the company.
1062
1069
  */
@@ -3729,9 +3736,9 @@ export interface ModelRecord {
3729
3736
  'complete'?: boolean;
3730
3737
  'deleted'?: boolean;
3731
3738
  'uuid': string;
3732
- 'user'?: PublicUserDTO;
3733
3739
  'properties'?: Array<FilledProperty>;
3734
3740
  'objects'?: { [key: string]: any | null; };
3741
+ 'user'?: PublicUserDTO;
3735
3742
  }
3736
3743
  export interface MultiFile extends PropertyFormat {
3737
3744
  }
@@ -5389,7 +5396,7 @@ export interface RecordRelationRequestDTO {
5389
5396
  */
5390
5397
  'uuid'?: string;
5391
5398
  /**
5392
- * Properties to update on the existing record referenced by uuid before linking
5399
+ * With uuid: patch the existing target before linking. Without uuid or record: create-or-update the target using its unique properties, then link. Use objectName when ambiguous.
5393
5400
  */
5394
5401
  'properties'?: { [key: string]: any | null; };
5395
5402
  /**
@@ -7249,6 +7256,19 @@ export interface SuccessResponseListAppScheduleDTO {
7249
7256
  */
7250
7257
  'data'?: Array<AppScheduleDTO>;
7251
7258
  }
7259
+ /**
7260
+ * Represents a standard successful response with a message and optional data.
7261
+ */
7262
+ export interface SuccessResponseListArchivedRecordObjectDTO {
7263
+ /**
7264
+ * A message detailing the result of the operation.
7265
+ */
7266
+ 'message'?: string;
7267
+ /**
7268
+ * The data payload of the response, if any.
7269
+ */
7270
+ 'data'?: Array<ArchivedRecordObjectDTO>;
7271
+ }
7252
7272
  /**
7253
7273
  * Represents a standard successful response with a message and optional data.
7254
7274
  */
@@ -26004,6 +26024,40 @@ export const RecordsApiAxiosParamCreator = function (configuration?: Configurati
26004
26024
  options: localVarRequestOptions,
26005
26025
  };
26006
26026
  },
26027
+ /**
26028
+ * Returns lightweight object metadata in display order. Includes primary and extended object contexts only when they contain an archived record visible under the current user\'s record permissions and access filters. Uses the selected company\'s database.
26029
+ * @summary List objects with visible archived records
26030
+ * @param {*} [options] Override http request option.
26031
+ * @throws {RequiredError}
26032
+ */
26033
+ archivedObjects: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26034
+ const localVarPath = `/api/v2/records/archived/objects`;
26035
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26036
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26037
+ let baseOptions;
26038
+ if (configuration) {
26039
+ baseOptions = configuration.baseOptions;
26040
+ }
26041
+
26042
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
26043
+ const localVarHeaderParameter = {} as any;
26044
+ const localVarQueryParameter = {} as any;
26045
+
26046
+ // authentication bearerAuth required
26047
+ // http bearer authentication required
26048
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
26049
+
26050
+ localVarHeaderParameter['Accept'] = 'application/json';
26051
+
26052
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26053
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26054
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26055
+
26056
+ return {
26057
+ url: toPathString(localVarUrlObj),
26058
+ options: localVarRequestOptions,
26059
+ };
26060
+ },
26007
26061
  /**
26008
26062
  * Archives, anonymizes, or permanently deletes multiple records in one request. Returns HTTP 200 when every item succeeds. Returns HTTP 200 with per-record errors when one or more items fail; successful items are still applied and listed in data.uuids.
26009
26063
  * @summary Bulk delete records
@@ -27188,6 +27242,18 @@ export const RecordsApiFp = function(configuration?: Configuration) {
27188
27242
  const localVarOperationServerBasePath = operationServerMap['RecordsApi.aggregateBatch']?.[localVarOperationServerIndex]?.url;
27189
27243
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27190
27244
  },
27245
+ /**
27246
+ * Returns lightweight object metadata in display order. Includes primary and extended object contexts only when they contain an archived record visible under the current user\'s record permissions and access filters. Uses the selected company\'s database.
27247
+ * @summary List objects with visible archived records
27248
+ * @param {*} [options] Override http request option.
27249
+ * @throws {RequiredError}
27250
+ */
27251
+ async archivedObjects(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseListArchivedRecordObjectDTO>> {
27252
+ const localVarAxiosArgs = await localVarAxiosParamCreator.archivedObjects(options);
27253
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27254
+ const localVarOperationServerBasePath = operationServerMap['RecordsApi.archivedObjects']?.[localVarOperationServerIndex]?.url;
27255
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27256
+ },
27191
27257
  /**
27192
27258
  * Archives, anonymizes, or permanently deletes multiple records in one request. Returns HTTP 200 when every item succeeds. Returns HTTP 200 with per-record errors when one or more items fail; successful items are still applied and listed in data.uuids.
27193
27259
  * @summary Bulk delete records
@@ -27574,6 +27640,15 @@ export const RecordsApiFactory = function (configuration?: Configuration, basePa
27574
27640
  aggregateBatch(aggregateBatchRequest: AggregateBatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListAggregateResponse> {
27575
27641
  return localVarFp.aggregateBatch(aggregateBatchRequest, options).then((request) => request(axios, basePath));
27576
27642
  },
27643
+ /**
27644
+ * Returns lightweight object metadata in display order. Includes primary and extended object contexts only when they contain an archived record visible under the current user\'s record permissions and access filters. Uses the selected company\'s database.
27645
+ * @summary List objects with visible archived records
27646
+ * @param {*} [options] Override http request option.
27647
+ * @throws {RequiredError}
27648
+ */
27649
+ archivedObjects(options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListArchivedRecordObjectDTO> {
27650
+ return localVarFp.archivedObjects(options).then((request) => request(axios, basePath));
27651
+ },
27577
27652
  /**
27578
27653
  * Archives, anonymizes, or permanently deletes multiple records in one request. Returns HTTP 200 when every item succeeds. Returns HTTP 200 with per-record errors when one or more items fail; successful items are still applied and listed in data.uuids.
27579
27654
  * @summary Bulk delete records
@@ -27895,6 +27970,16 @@ export class RecordsApi extends BaseAPI {
27895
27970
  return RecordsApiFp(this.configuration).aggregateBatch(aggregateBatchRequest, options).then((request) => request(this.axios, this.basePath));
27896
27971
  }
27897
27972
 
27973
+ /**
27974
+ * Returns lightweight object metadata in display order. Includes primary and extended object contexts only when they contain an archived record visible under the current user\'s record permissions and access filters. Uses the selected company\'s database.
27975
+ * @summary List objects with visible archived records
27976
+ * @param {*} [options] Override http request option.
27977
+ * @throws {RequiredError}
27978
+ */
27979
+ public archivedObjects(options?: RawAxiosRequestConfig) {
27980
+ return RecordsApiFp(this.configuration).archivedObjects(options).then((request) => request(this.axios, this.basePath));
27981
+ }
27982
+
27898
27983
  /**
27899
27984
  * Archives, anonymizes, or permanently deletes multiple records in one request. Returns HTTP 200 when every item succeeds. Returns HTTP 200 with per-record errors when one or more items fail; successful items are still applied and listed in data.uuids.
27900
27985
  * @summary Bulk delete records