@heymantle/core-api-client 0.1.15 → 0.1.16
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/index.d.mts +12 -5
- package/dist/index.d.ts +12 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -306,7 +306,7 @@ interface AccountOwnersListResponse {
|
|
|
306
306
|
interface CustomField {
|
|
307
307
|
id: string;
|
|
308
308
|
name: string;
|
|
309
|
-
type: 'string' | 'number' | 'boolean' | 'date' | 'select';
|
|
309
|
+
type: 'string' | 'number' | 'boolean' | 'date' | 'select' | 'select_single' | 'select_multiple' | 'url' | 'date_time' | 'json' | 'number_integer' | 'number_decimal';
|
|
310
310
|
defaultValue?: unknown;
|
|
311
311
|
options?: string[];
|
|
312
312
|
appLevel?: boolean;
|
|
@@ -322,7 +322,7 @@ interface CustomField {
|
|
|
322
322
|
interface CustomFieldCreateParams {
|
|
323
323
|
appId: string;
|
|
324
324
|
name: string;
|
|
325
|
-
type: 'string' | 'number' | 'boolean' | 'date' | 'select';
|
|
325
|
+
type: 'string' | 'number' | 'boolean' | 'date' | 'select' | 'select_single' | 'select_multiple' | 'url' | 'date_time' | 'json' | 'number_integer' | 'number_decimal';
|
|
326
326
|
defaultValue?: unknown;
|
|
327
327
|
options?: string[];
|
|
328
328
|
appLevel?: boolean;
|
|
@@ -2168,7 +2168,11 @@ interface EntitiesSearchResponse {
|
|
|
2168
2168
|
/**
|
|
2169
2169
|
* Resource type for custom data
|
|
2170
2170
|
*/
|
|
2171
|
-
type CustomDataResourceType = 'ticket' | 'customer' | 'contact';
|
|
2171
|
+
type CustomDataResourceType = 'ticket' | 'customer' | 'contact' | 'deal' | 'conversation';
|
|
2172
|
+
/**
|
|
2173
|
+
* Field type for custom data
|
|
2174
|
+
*/
|
|
2175
|
+
type CustomDataFieldType = 'string' | 'boolean' | 'url' | 'date' | 'date_time' | 'json' | 'number_integer' | 'number_decimal' | 'select_single' | 'select_multiple';
|
|
2172
2176
|
/**
|
|
2173
2177
|
* Parameters for setting custom data
|
|
2174
2178
|
*/
|
|
@@ -2176,7 +2180,7 @@ interface CustomDataSetParams {
|
|
|
2176
2180
|
resourceId: string;
|
|
2177
2181
|
resourceType: CustomDataResourceType;
|
|
2178
2182
|
key: string;
|
|
2179
|
-
value: string;
|
|
2183
|
+
value: string | string[];
|
|
2180
2184
|
}
|
|
2181
2185
|
/**
|
|
2182
2186
|
* Parameters for getting custom data
|
|
@@ -2193,7 +2197,10 @@ interface CustomDataResponse {
|
|
|
2193
2197
|
resourceId: string;
|
|
2194
2198
|
resourceType: CustomDataResourceType;
|
|
2195
2199
|
key: string;
|
|
2196
|
-
value: string;
|
|
2200
|
+
value: string | boolean | number | object | string[];
|
|
2201
|
+
type?: CustomDataFieldType;
|
|
2202
|
+
name?: string;
|
|
2203
|
+
options?: string[] | null;
|
|
2197
2204
|
}
|
|
2198
2205
|
/**
|
|
2199
2206
|
* Parameters for deleting custom data
|
package/dist/index.d.ts
CHANGED
|
@@ -306,7 +306,7 @@ interface AccountOwnersListResponse {
|
|
|
306
306
|
interface CustomField {
|
|
307
307
|
id: string;
|
|
308
308
|
name: string;
|
|
309
|
-
type: 'string' | 'number' | 'boolean' | 'date' | 'select';
|
|
309
|
+
type: 'string' | 'number' | 'boolean' | 'date' | 'select' | 'select_single' | 'select_multiple' | 'url' | 'date_time' | 'json' | 'number_integer' | 'number_decimal';
|
|
310
310
|
defaultValue?: unknown;
|
|
311
311
|
options?: string[];
|
|
312
312
|
appLevel?: boolean;
|
|
@@ -322,7 +322,7 @@ interface CustomField {
|
|
|
322
322
|
interface CustomFieldCreateParams {
|
|
323
323
|
appId: string;
|
|
324
324
|
name: string;
|
|
325
|
-
type: 'string' | 'number' | 'boolean' | 'date' | 'select';
|
|
325
|
+
type: 'string' | 'number' | 'boolean' | 'date' | 'select' | 'select_single' | 'select_multiple' | 'url' | 'date_time' | 'json' | 'number_integer' | 'number_decimal';
|
|
326
326
|
defaultValue?: unknown;
|
|
327
327
|
options?: string[];
|
|
328
328
|
appLevel?: boolean;
|
|
@@ -2168,7 +2168,11 @@ interface EntitiesSearchResponse {
|
|
|
2168
2168
|
/**
|
|
2169
2169
|
* Resource type for custom data
|
|
2170
2170
|
*/
|
|
2171
|
-
type CustomDataResourceType = 'ticket' | 'customer' | 'contact';
|
|
2171
|
+
type CustomDataResourceType = 'ticket' | 'customer' | 'contact' | 'deal' | 'conversation';
|
|
2172
|
+
/**
|
|
2173
|
+
* Field type for custom data
|
|
2174
|
+
*/
|
|
2175
|
+
type CustomDataFieldType = 'string' | 'boolean' | 'url' | 'date' | 'date_time' | 'json' | 'number_integer' | 'number_decimal' | 'select_single' | 'select_multiple';
|
|
2172
2176
|
/**
|
|
2173
2177
|
* Parameters for setting custom data
|
|
2174
2178
|
*/
|
|
@@ -2176,7 +2180,7 @@ interface CustomDataSetParams {
|
|
|
2176
2180
|
resourceId: string;
|
|
2177
2181
|
resourceType: CustomDataResourceType;
|
|
2178
2182
|
key: string;
|
|
2179
|
-
value: string;
|
|
2183
|
+
value: string | string[];
|
|
2180
2184
|
}
|
|
2181
2185
|
/**
|
|
2182
2186
|
* Parameters for getting custom data
|
|
@@ -2193,7 +2197,10 @@ interface CustomDataResponse {
|
|
|
2193
2197
|
resourceId: string;
|
|
2194
2198
|
resourceType: CustomDataResourceType;
|
|
2195
2199
|
key: string;
|
|
2196
|
-
value: string;
|
|
2200
|
+
value: string | boolean | number | object | string[];
|
|
2201
|
+
type?: CustomDataFieldType;
|
|
2202
|
+
name?: string;
|
|
2203
|
+
options?: string[] | null;
|
|
2197
2204
|
}
|
|
2198
2205
|
/**
|
|
2199
2206
|
* Parameters for deleting custom data
|