@onereach/types-contacts-api 4.9.2-beta.2343.0 → 4.9.2-beta.2345.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.d.ts +5 -2
- package/dist/esm/index.d.ts +5 -2
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -106,11 +106,11 @@ export interface ContactBookFieldSchemaDto extends CreateFieldSchemaDto {
|
|
|
106
106
|
}
|
|
107
107
|
export interface CreateFieldSchemaDto extends MachineNameParamDto {
|
|
108
108
|
label: string;
|
|
109
|
-
type: ColumnTypes;
|
|
110
109
|
singular_label?: string;
|
|
111
110
|
properties?: Record<string, string>;
|
|
112
|
-
|
|
111
|
+
type: ColumnTypes;
|
|
113
112
|
readonly?: boolean;
|
|
113
|
+
schemaPresets?: SchemaPresetResponseDto[];
|
|
114
114
|
}
|
|
115
115
|
export declare enum ColumnTypes {
|
|
116
116
|
string = "string",
|
|
@@ -246,6 +246,9 @@ export interface CreateSchemaPresetDto {
|
|
|
246
246
|
label: string;
|
|
247
247
|
fieldSchemas?: FieldSchemaResponseDto[];
|
|
248
248
|
}
|
|
249
|
+
export interface PresetSearchParamsDto extends ReturnType<typeof IntersectionType<OrderParams, ListApiParams>> {
|
|
250
|
+
ids?: string[];
|
|
251
|
+
}
|
|
249
252
|
export interface SchemaPresetListDto extends ListApiResponse {
|
|
250
253
|
items: SchemaPresetResponseDto[];
|
|
251
254
|
}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -106,11 +106,11 @@ export interface ContactBookFieldSchemaDto extends CreateFieldSchemaDto {
|
|
|
106
106
|
}
|
|
107
107
|
export interface CreateFieldSchemaDto extends MachineNameParamDto {
|
|
108
108
|
label: string;
|
|
109
|
-
type: ColumnTypes;
|
|
110
109
|
singular_label?: string;
|
|
111
110
|
properties?: Record<string, string>;
|
|
112
|
-
|
|
111
|
+
type: ColumnTypes;
|
|
113
112
|
readonly?: boolean;
|
|
113
|
+
schemaPresets?: SchemaPresetResponseDto[];
|
|
114
114
|
}
|
|
115
115
|
export declare enum ColumnTypes {
|
|
116
116
|
string = "string",
|
|
@@ -246,6 +246,9 @@ export interface CreateSchemaPresetDto {
|
|
|
246
246
|
label: string;
|
|
247
247
|
fieldSchemas?: FieldSchemaResponseDto[];
|
|
248
248
|
}
|
|
249
|
+
export interface PresetSearchParamsDto extends ReturnType<typeof IntersectionType<OrderParams, ListApiParams>> {
|
|
250
|
+
ids?: string[];
|
|
251
|
+
}
|
|
249
252
|
export interface SchemaPresetListDto extends ListApiResponse {
|
|
250
253
|
items: SchemaPresetResponseDto[];
|
|
251
254
|
}
|
package/package.json
CHANGED