@caraer/client 2.0.639 → 2.0.650

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
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
  */
@@ -2813,9 +2820,9 @@ export const EventRsvpRequestScopeEnum = {
2813
2820
  export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
2814
2821
 
2815
2822
  export interface ExistingWidgetSummary {
2816
- 'xproperty'?: string;
2817
2823
  'ymetric'?: string;
2818
2824
  'yproperty'?: string;
2825
+ 'xproperty'?: string;
2819
2826
  'title'?: string;
2820
2827
  'chartType'?: string;
2821
2828
  'xProperty'?: string;
@@ -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
package/dist/api.d.ts CHANGED
@@ -1016,8 +1016,8 @@ export interface AppSettingFieldSchema {
1016
1016
  'clearValue'?: boolean;
1017
1017
  'mappingValue'?: AppSettingFieldMappingStructure;
1018
1018
  'valueScope'?: string;
1019
- 'settingsGroup'?: boolean;
1020
1019
  'action'?: boolean;
1020
+ 'settingsGroup'?: boolean;
1021
1021
  'filterPropertyTypes'?: Array<string>;
1022
1022
  'filterPropertyFormats'?: Array<string>;
1023
1023
  }
@@ -1047,6 +1047,13 @@ export interface AppSubcategoryDTO {
1047
1047
  */
1048
1048
  'label'?: string;
1049
1049
  }
1050
+ export interface ArchivedRecordObjectDTO {
1051
+ 'uuid'?: string;
1052
+ 'name'?: string;
1053
+ 'label'?: string;
1054
+ 'icon'?: string;
1055
+ 'index'?: number;
1056
+ }
1050
1057
  /**
1051
1058
  * The billing settings of the company.
1052
1059
  */
@@ -2806,9 +2813,9 @@ export declare const EventRsvpRequestScopeEnum: {
2806
2813
  };
2807
2814
  export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
2808
2815
  export interface ExistingWidgetSummary {
2809
- 'xproperty'?: string;
2810
2816
  'ymetric'?: string;
2811
2817
  'yproperty'?: string;
2818
+ 'xproperty'?: string;
2812
2819
  'title'?: string;
2813
2820
  'chartType'?: string;
2814
2821
  'xProperty'?: string;
@@ -5424,7 +5431,7 @@ export interface RecordRelationRequestDTO {
5424
5431
  */
5425
5432
  'uuid'?: string;
5426
5433
  /**
5427
- * Properties to update on the existing record referenced by uuid before linking
5434
+ * 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.
5428
5435
  */
5429
5436
  'properties'?: {
5430
5437
  [key: string]: any | null;
@@ -7352,6 +7359,19 @@ export interface SuccessResponseListAppScheduleDTO {
7352
7359
  */
7353
7360
  'data'?: Array<AppScheduleDTO>;
7354
7361
  }
7362
+ /**
7363
+ * Represents a standard successful response with a message and optional data.
7364
+ */
7365
+ export interface SuccessResponseListArchivedRecordObjectDTO {
7366
+ /**
7367
+ * A message detailing the result of the operation.
7368
+ */
7369
+ 'message'?: string;
7370
+ /**
7371
+ * The data payload of the response, if any.
7372
+ */
7373
+ 'data'?: Array<ArchivedRecordObjectDTO>;
7374
+ }
7355
7375
  /**
7356
7376
  * Represents a standard successful response with a message and optional data.
7357
7377
  */
@@ -16742,6 +16762,13 @@ export declare const RecordsApiAxiosParamCreator: (configuration?: Configuration
16742
16762
  * @throws {RequiredError}
16743
16763
  */
16744
16764
  aggregateBatch: (aggregateBatchRequest: AggregateBatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16765
+ /**
16766
+ * 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.
16767
+ * @summary List objects with visible archived records
16768
+ * @param {*} [options] Override http request option.
16769
+ * @throws {RequiredError}
16770
+ */
16771
+ archivedObjects: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16745
16772
  /**
16746
16773
  * 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.
16747
16774
  * @summary Bulk delete records
@@ -17008,6 +17035,13 @@ export declare const RecordsApiFp: (configuration?: Configuration) => {
17008
17035
  * @throws {RequiredError}
17009
17036
  */
17010
17037
  aggregateBatch(aggregateBatchRequest: AggregateBatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseListAggregateResponse>>;
17038
+ /**
17039
+ * 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.
17040
+ * @summary List objects with visible archived records
17041
+ * @param {*} [options] Override http request option.
17042
+ * @throws {RequiredError}
17043
+ */
17044
+ archivedObjects(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseListArchivedRecordObjectDTO>>;
17011
17045
  /**
17012
17046
  * 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.
17013
17047
  * @summary Bulk delete records
@@ -17274,6 +17308,13 @@ export declare const RecordsApiFactory: (configuration?: Configuration, basePath
17274
17308
  * @throws {RequiredError}
17275
17309
  */
17276
17310
  aggregateBatch(aggregateBatchRequest: AggregateBatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListAggregateResponse>;
17311
+ /**
17312
+ * 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.
17313
+ * @summary List objects with visible archived records
17314
+ * @param {*} [options] Override http request option.
17315
+ * @throws {RequiredError}
17316
+ */
17317
+ archivedObjects(options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListArchivedRecordObjectDTO>;
17277
17318
  /**
17278
17319
  * 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.
17279
17320
  * @summary Bulk delete records
@@ -17540,6 +17581,13 @@ export declare class RecordsApi extends BaseAPI {
17540
17581
  * @throws {RequiredError}
17541
17582
  */
17542
17583
  aggregateBatch(aggregateBatchRequest: AggregateBatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseListAggregateResponse, any, {}>>;
17584
+ /**
17585
+ * 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.
17586
+ * @summary List objects with visible archived records
17587
+ * @param {*} [options] Override http request option.
17588
+ * @throws {RequiredError}
17589
+ */
17590
+ archivedObjects(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseListArchivedRecordObjectDTO, any, {}>>;
17543
17591
  /**
17544
17592
  * 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.
17545
17593
  * @summary Bulk delete records
package/dist/api.js CHANGED
@@ -16878,6 +16878,35 @@ const RecordsApiAxiosParamCreator = function (configuration) {
16878
16878
  options: localVarRequestOptions,
16879
16879
  };
16880
16880
  }),
16881
+ /**
16882
+ * 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.
16883
+ * @summary List objects with visible archived records
16884
+ * @param {*} [options] Override http request option.
16885
+ * @throws {RequiredError}
16886
+ */
16887
+ archivedObjects: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
16888
+ const localVarPath = `/api/v2/records/archived/objects`;
16889
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16890
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16891
+ let baseOptions;
16892
+ if (configuration) {
16893
+ baseOptions = configuration.baseOptions;
16894
+ }
16895
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16896
+ const localVarHeaderParameter = {};
16897
+ const localVarQueryParameter = {};
16898
+ // authentication bearerAuth required
16899
+ // http bearer authentication required
16900
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16901
+ localVarHeaderParameter['Accept'] = 'application/json';
16902
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16903
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16904
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16905
+ return {
16906
+ url: (0, common_1.toPathString)(localVarUrlObj),
16907
+ options: localVarRequestOptions,
16908
+ };
16909
+ }),
16881
16910
  /**
16882
16911
  * 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.
16883
16912
  * @summary Bulk delete records
@@ -17919,6 +17948,21 @@ const RecordsApiFp = function (configuration) {
17919
17948
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17920
17949
  });
17921
17950
  },
17951
+ /**
17952
+ * 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.
17953
+ * @summary List objects with visible archived records
17954
+ * @param {*} [options] Override http request option.
17955
+ * @throws {RequiredError}
17956
+ */
17957
+ archivedObjects(options) {
17958
+ return __awaiter(this, void 0, void 0, function* () {
17959
+ var _a, _b, _c;
17960
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.archivedObjects(options);
17961
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17962
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RecordsApi.archivedObjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17963
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17964
+ });
17965
+ },
17922
17966
  /**
17923
17967
  * 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.
17924
17968
  * @summary Bulk delete records
@@ -18371,6 +18415,15 @@ const RecordsApiFactory = function (configuration, basePath, axios) {
18371
18415
  aggregateBatch(aggregateBatchRequest, options) {
18372
18416
  return localVarFp.aggregateBatch(aggregateBatchRequest, options).then((request) => request(axios, basePath));
18373
18417
  },
18418
+ /**
18419
+ * 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.
18420
+ * @summary List objects with visible archived records
18421
+ * @param {*} [options] Override http request option.
18422
+ * @throws {RequiredError}
18423
+ */
18424
+ archivedObjects(options) {
18425
+ return localVarFp.archivedObjects(options).then((request) => request(axios, basePath));
18426
+ },
18374
18427
  /**
18375
18428
  * 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.
18376
18429
  * @summary Bulk delete records
@@ -18689,6 +18742,15 @@ class RecordsApi extends base_1.BaseAPI {
18689
18742
  aggregateBatch(aggregateBatchRequest, options) {
18690
18743
  return (0, exports.RecordsApiFp)(this.configuration).aggregateBatch(aggregateBatchRequest, options).then((request) => request(this.axios, this.basePath));
18691
18744
  }
18745
+ /**
18746
+ * 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.
18747
+ * @summary List objects with visible archived records
18748
+ * @param {*} [options] Override http request option.
18749
+ * @throws {RequiredError}
18750
+ */
18751
+ archivedObjects(options) {
18752
+ return (0, exports.RecordsApiFp)(this.configuration).archivedObjects(options).then((request) => request(this.axios, this.basePath));
18753
+ }
18692
18754
  /**
18693
18755
  * 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.
18694
18756
  * @summary Bulk delete records
package/dist/esm/api.d.ts CHANGED
@@ -1016,8 +1016,8 @@ export interface AppSettingFieldSchema {
1016
1016
  'clearValue'?: boolean;
1017
1017
  'mappingValue'?: AppSettingFieldMappingStructure;
1018
1018
  'valueScope'?: string;
1019
- 'settingsGroup'?: boolean;
1020
1019
  'action'?: boolean;
1020
+ 'settingsGroup'?: boolean;
1021
1021
  'filterPropertyTypes'?: Array<string>;
1022
1022
  'filterPropertyFormats'?: Array<string>;
1023
1023
  }
@@ -1047,6 +1047,13 @@ export interface AppSubcategoryDTO {
1047
1047
  */
1048
1048
  'label'?: string;
1049
1049
  }
1050
+ export interface ArchivedRecordObjectDTO {
1051
+ 'uuid'?: string;
1052
+ 'name'?: string;
1053
+ 'label'?: string;
1054
+ 'icon'?: string;
1055
+ 'index'?: number;
1056
+ }
1050
1057
  /**
1051
1058
  * The billing settings of the company.
1052
1059
  */
@@ -2806,9 +2813,9 @@ export declare const EventRsvpRequestScopeEnum: {
2806
2813
  };
2807
2814
  export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
2808
2815
  export interface ExistingWidgetSummary {
2809
- 'xproperty'?: string;
2810
2816
  'ymetric'?: string;
2811
2817
  'yproperty'?: string;
2818
+ 'xproperty'?: string;
2812
2819
  'title'?: string;
2813
2820
  'chartType'?: string;
2814
2821
  'xProperty'?: string;
@@ -5424,7 +5431,7 @@ export interface RecordRelationRequestDTO {
5424
5431
  */
5425
5432
  'uuid'?: string;
5426
5433
  /**
5427
- * Properties to update on the existing record referenced by uuid before linking
5434
+ * 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.
5428
5435
  */
5429
5436
  'properties'?: {
5430
5437
  [key: string]: any | null;
@@ -7352,6 +7359,19 @@ export interface SuccessResponseListAppScheduleDTO {
7352
7359
  */
7353
7360
  'data'?: Array<AppScheduleDTO>;
7354
7361
  }
7362
+ /**
7363
+ * Represents a standard successful response with a message and optional data.
7364
+ */
7365
+ export interface SuccessResponseListArchivedRecordObjectDTO {
7366
+ /**
7367
+ * A message detailing the result of the operation.
7368
+ */
7369
+ 'message'?: string;
7370
+ /**
7371
+ * The data payload of the response, if any.
7372
+ */
7373
+ 'data'?: Array<ArchivedRecordObjectDTO>;
7374
+ }
7355
7375
  /**
7356
7376
  * Represents a standard successful response with a message and optional data.
7357
7377
  */
@@ -16742,6 +16762,13 @@ export declare const RecordsApiAxiosParamCreator: (configuration?: Configuration
16742
16762
  * @throws {RequiredError}
16743
16763
  */
16744
16764
  aggregateBatch: (aggregateBatchRequest: AggregateBatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16765
+ /**
16766
+ * 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.
16767
+ * @summary List objects with visible archived records
16768
+ * @param {*} [options] Override http request option.
16769
+ * @throws {RequiredError}
16770
+ */
16771
+ archivedObjects: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16745
16772
  /**
16746
16773
  * 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.
16747
16774
  * @summary Bulk delete records
@@ -17008,6 +17035,13 @@ export declare const RecordsApiFp: (configuration?: Configuration) => {
17008
17035
  * @throws {RequiredError}
17009
17036
  */
17010
17037
  aggregateBatch(aggregateBatchRequest: AggregateBatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseListAggregateResponse>>;
17038
+ /**
17039
+ * 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.
17040
+ * @summary List objects with visible archived records
17041
+ * @param {*} [options] Override http request option.
17042
+ * @throws {RequiredError}
17043
+ */
17044
+ archivedObjects(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseListArchivedRecordObjectDTO>>;
17011
17045
  /**
17012
17046
  * 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.
17013
17047
  * @summary Bulk delete records
@@ -17274,6 +17308,13 @@ export declare const RecordsApiFactory: (configuration?: Configuration, basePath
17274
17308
  * @throws {RequiredError}
17275
17309
  */
17276
17310
  aggregateBatch(aggregateBatchRequest: AggregateBatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListAggregateResponse>;
17311
+ /**
17312
+ * 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.
17313
+ * @summary List objects with visible archived records
17314
+ * @param {*} [options] Override http request option.
17315
+ * @throws {RequiredError}
17316
+ */
17317
+ archivedObjects(options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListArchivedRecordObjectDTO>;
17277
17318
  /**
17278
17319
  * 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.
17279
17320
  * @summary Bulk delete records
@@ -17540,6 +17581,13 @@ export declare class RecordsApi extends BaseAPI {
17540
17581
  * @throws {RequiredError}
17541
17582
  */
17542
17583
  aggregateBatch(aggregateBatchRequest: AggregateBatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseListAggregateResponse, any, {}>>;
17584
+ /**
17585
+ * 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.
17586
+ * @summary List objects with visible archived records
17587
+ * @param {*} [options] Override http request option.
17588
+ * @throws {RequiredError}
17589
+ */
17590
+ archivedObjects(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseListArchivedRecordObjectDTO, any, {}>>;
17543
17591
  /**
17544
17592
  * 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.
17545
17593
  * @summary Bulk delete records
package/dist/esm/api.js CHANGED
@@ -16776,6 +16776,35 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
16776
16776
  options: localVarRequestOptions,
16777
16777
  };
16778
16778
  }),
16779
+ /**
16780
+ * 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.
16781
+ * @summary List objects with visible archived records
16782
+ * @param {*} [options] Override http request option.
16783
+ * @throws {RequiredError}
16784
+ */
16785
+ archivedObjects: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
16786
+ const localVarPath = `/api/v2/records/archived/objects`;
16787
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16788
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16789
+ let baseOptions;
16790
+ if (configuration) {
16791
+ baseOptions = configuration.baseOptions;
16792
+ }
16793
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16794
+ const localVarHeaderParameter = {};
16795
+ const localVarQueryParameter = {};
16796
+ // authentication bearerAuth required
16797
+ // http bearer authentication required
16798
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
16799
+ localVarHeaderParameter['Accept'] = 'application/json';
16800
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16801
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16802
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16803
+ return {
16804
+ url: toPathString(localVarUrlObj),
16805
+ options: localVarRequestOptions,
16806
+ };
16807
+ }),
16779
16808
  /**
16780
16809
  * 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.
16781
16810
  * @summary Bulk delete records
@@ -17816,6 +17845,21 @@ export const RecordsApiFp = function (configuration) {
17816
17845
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17817
17846
  });
17818
17847
  },
17848
+ /**
17849
+ * 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.
17850
+ * @summary List objects with visible archived records
17851
+ * @param {*} [options] Override http request option.
17852
+ * @throws {RequiredError}
17853
+ */
17854
+ archivedObjects(options) {
17855
+ return __awaiter(this, void 0, void 0, function* () {
17856
+ var _a, _b, _c;
17857
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.archivedObjects(options);
17858
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17859
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RecordsApi.archivedObjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17860
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17861
+ });
17862
+ },
17819
17863
  /**
17820
17864
  * 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.
17821
17865
  * @summary Bulk delete records
@@ -18267,6 +18311,15 @@ export const RecordsApiFactory = function (configuration, basePath, axios) {
18267
18311
  aggregateBatch(aggregateBatchRequest, options) {
18268
18312
  return localVarFp.aggregateBatch(aggregateBatchRequest, options).then((request) => request(axios, basePath));
18269
18313
  },
18314
+ /**
18315
+ * 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.
18316
+ * @summary List objects with visible archived records
18317
+ * @param {*} [options] Override http request option.
18318
+ * @throws {RequiredError}
18319
+ */
18320
+ archivedObjects(options) {
18321
+ return localVarFp.archivedObjects(options).then((request) => request(axios, basePath));
18322
+ },
18270
18323
  /**
18271
18324
  * 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.
18272
18325
  * @summary Bulk delete records
@@ -18584,6 +18637,15 @@ export class RecordsApi extends BaseAPI {
18584
18637
  aggregateBatch(aggregateBatchRequest, options) {
18585
18638
  return RecordsApiFp(this.configuration).aggregateBatch(aggregateBatchRequest, options).then((request) => request(this.axios, this.basePath));
18586
18639
  }
18640
+ /**
18641
+ * 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.
18642
+ * @summary List objects with visible archived records
18643
+ * @param {*} [options] Override http request option.
18644
+ * @throws {RequiredError}
18645
+ */
18646
+ archivedObjects(options) {
18647
+ return RecordsApiFp(this.configuration).archivedObjects(options).then((request) => request(this.axios, this.basePath));
18648
+ }
18587
18649
  /**
18588
18650
  * 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.
18589
18651
  * @summary Bulk delete records
@@ -33,8 +33,8 @@ Name | Type | Description | Notes
33
33
  **clearValue** | **boolean** | | [optional] [default to undefined]
34
34
  **mappingValue** | [**AppSettingFieldMappingStructure**](AppSettingFieldMappingStructure.md) | | [optional] [default to undefined]
35
35
  **valueScope** | **string** | | [optional] [default to undefined]
36
- **settingsGroup** | **boolean** | | [optional] [default to undefined]
37
36
  **action** | **boolean** | | [optional] [default to undefined]
37
+ **settingsGroup** | **boolean** | | [optional] [default to undefined]
38
38
  **filterPropertyTypes** | **Array&lt;string&gt;** | | [optional] [default to undefined]
39
39
  **filterPropertyFormats** | **Array&lt;string&gt;** | | [optional] [default to undefined]
40
40
 
@@ -72,8 +72,8 @@ const instance: AppSettingFieldSchema = {
72
72
  clearValue,
73
73
  mappingValue,
74
74
  valueScope,
75
- settingsGroup,
76
75
  action,
76
+ settingsGroup,
77
77
  filterPropertyTypes,
78
78
  filterPropertyFormats,
79
79
  };
@@ -0,0 +1,28 @@
1
+ # ArchivedRecordObjectDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **uuid** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **label** | **string** | | [optional] [default to undefined]
11
+ **icon** | **string** | | [optional] [default to undefined]
12
+ **index** | **number** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { ArchivedRecordObjectDTO } from '@caraer/client';
18
+
19
+ const instance: ArchivedRecordObjectDTO = {
20
+ uuid,
21
+ name,
22
+ label,
23
+ icon,
24
+ index,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,9 +5,9 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **xproperty** | **string** | | [optional] [default to undefined]
9
8
  **ymetric** | **string** | | [optional] [default to undefined]
10
9
  **yproperty** | **string** | | [optional] [default to undefined]
10
+ **xproperty** | **string** | | [optional] [default to undefined]
11
11
  **title** | **string** | | [optional] [default to undefined]
12
12
  **chartType** | **string** | | [optional] [default to undefined]
13
13
  **xProperty** | **string** | | [optional] [default to undefined]
@@ -20,9 +20,9 @@ Name | Type | Description | Notes
20
20
  import { ExistingWidgetSummary } from '@caraer/client';
21
21
 
22
22
  const instance: ExistingWidgetSummary = {
23
- xproperty,
24
23
  ymetric,
25
24
  yproperty,
25
+ xproperty,
26
26
  title,
27
27
  chartType,
28
28
  xProperty,
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **relationName** | **string** | Name of the relation type | [default to undefined]
10
10
  **uuid** | **string** | UUID of an existing record to link to | [optional] [default to undefined]
11
- **properties** | **{ [key: string]: any | null; }** | Properties to update on the existing record referenced by uuid before linking | [optional] [default to undefined]
11
+ **properties** | **{ [key: string]: any | null; }** | 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. | [optional] [default to undefined]
12
12
  **edgeProperties** | **{ [key: string]: any | null; }** | Values for properties declared on the relation schema, stored on the relation edge itself (not on either record). Omit to leave existing edge values untouched; a null value clears a key. | [optional] [default to undefined]
13
13
  **record** | [**RecordDTO**](RecordDTO.md) | Nested record to create or update (by uuid or unique properties) before linking | [optional] [default to undefined]
14
14
  **objectName** | **string** | Object name for nested record create when relation allows multiple target types | [optional] [default to undefined]
@@ -7,6 +7,7 @@ All URIs are relative to *https://v2.api.caraer.com*
7
7
  |[**_delete**](#_delete) | **DELETE** /api/v2/records/{uuid} | Delete a record|
8
8
  |[**aggregate**](#aggregate) | **POST** /api/v2/records/aggregate | Aggregate records for analytics charts|
9
9
  |[**aggregateBatch**](#aggregatebatch) | **POST** /api/v2/records/aggregate/batch | Batch aggregate records for analytics dashboards|
10
+ |[**archivedObjects**](#archivedobjects) | **GET** /api/v2/records/archived/objects | List objects with visible archived records|
10
11
  |[**bulkDelete**](#bulkdelete) | **POST** /api/v2/records/{objectName}/bulk-delete | Bulk delete records|
11
12
  |[**bulkEdit**](#bulkedit) | **PUT** /api/v2/records/{objectName}/bulk | Bulk create or update records|
12
13
  |[**create**](#create) | **POST** /api/v2/records/{objectName} | Create a new record|
@@ -202,6 +203,54 @@ const { status, data } = await apiInstance.aggregateBatch(
202
203
 
203
204
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
204
205
 
206
+ # **archivedObjects**
207
+ > SuccessResponseListArchivedRecordObjectDTO archivedObjects()
208
+
209
+ 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.
210
+
211
+ ### Example
212
+
213
+ ```typescript
214
+ import {
215
+ RecordsApi,
216
+ Configuration
217
+ } from '@caraer/client';
218
+
219
+ const configuration = new Configuration();
220
+ const apiInstance = new RecordsApi(configuration);
221
+
222
+ const { status, data } = await apiInstance.archivedObjects();
223
+ ```
224
+
225
+ ### Parameters
226
+ This endpoint does not have any parameters.
227
+
228
+
229
+ ### Return type
230
+
231
+ **SuccessResponseListArchivedRecordObjectDTO**
232
+
233
+ ### Authorization
234
+
235
+ [bearerAuth](../README.md#bearerAuth)
236
+
237
+ ### HTTP request headers
238
+
239
+ - **Content-Type**: Not defined
240
+ - **Accept**: application/json
241
+
242
+
243
+ ### HTTP response details
244
+ | Status code | Description | Response headers |
245
+ |-------------|-------------|------------------|
246
+ |**200** | OK | - |
247
+ |**401** | Authentication is required or the token is invalid. | - |
248
+ |**403** | The caller is missing a required role or scope. | - |
249
+ |**404** | The requested resource was not found. | - |
250
+ |**500** | An internal server error occurred. | - |
251
+
252
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
253
+
205
254
  # **bulkDelete**
206
255
  > BulkDeleteRecordsResponse bulkDelete(bulkDeleteRecordsRequest)
207
256
 
@@ -0,0 +1,23 @@
1
+ # SuccessResponseListArchivedRecordObjectDTO
2
+
3
+ Represents a standard successful response with a message and optional data.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
10
+ **data** | [**Array&lt;ArchivedRecordObjectDTO&gt;**](ArchivedRecordObjectDTO.md) | The data payload of the response, if any. | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { SuccessResponseListArchivedRecordObjectDTO } from '@caraer/client';
16
+
17
+ const instance: SuccessResponseListArchivedRecordObjectDTO = {
18
+ message,
19
+ data,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caraer/client",
3
- "version": "2.0.639",
3
+ "version": "2.0.650",
4
4
  "description": "Generated TypeScript client for the Caraer API",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {