@heymantle/core-api-client 0.2.2 → 0.2.3
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 +21 -4
- package/dist/index.d.ts +21 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4508,7 +4508,7 @@ type paths = {
|
|
|
4508
4508
|
/** @description The ID of the resource */
|
|
4509
4509
|
resourceId: string;
|
|
4510
4510
|
/** @description The type of resource */
|
|
4511
|
-
resourceType: "customer" | "ticket" | "conversation" | "deal";
|
|
4511
|
+
resourceType: "customer" | "ticket" | "conversation" | "deal" | "list_entity";
|
|
4512
4512
|
};
|
|
4513
4513
|
header?: never;
|
|
4514
4514
|
path?: never;
|
|
@@ -4585,7 +4585,7 @@ type paths = {
|
|
|
4585
4585
|
* @description The type of resource
|
|
4586
4586
|
* @enum {string}
|
|
4587
4587
|
*/
|
|
4588
|
-
resourceType: "customer" | "ticket" | "conversation" | "deal";
|
|
4588
|
+
resourceType: "customer" | "ticket" | "conversation" | "deal" | "list_entity";
|
|
4589
4589
|
/** @description The value to store. For select_single use a string, for select_multiple use an array of strings. */
|
|
4590
4590
|
value: string | boolean | number | Record<string, never> | string[];
|
|
4591
4591
|
};
|
|
@@ -4612,7 +4612,7 @@ type paths = {
|
|
|
4612
4612
|
* @description The type of resource
|
|
4613
4613
|
* @enum {string}
|
|
4614
4614
|
*/
|
|
4615
|
-
resourceType?: "customer" | "ticket" | "conversation" | "deal";
|
|
4615
|
+
resourceType?: "customer" | "ticket" | "conversation" | "deal" | "list_entity";
|
|
4616
4616
|
/**
|
|
4617
4617
|
* @description The data type of this custom data field
|
|
4618
4618
|
* @enum {string}
|
|
@@ -12626,6 +12626,13 @@ type paths = {
|
|
|
12626
12626
|
};
|
|
12627
12627
|
content: {
|
|
12628
12628
|
"application/json": {
|
|
12629
|
+
/** @description The AI bot identity for this organization, if configured. Use this to display the correct name and avatar for system messages. */
|
|
12630
|
+
bot?: {
|
|
12631
|
+
/** @description Avatar image URL for the AI bot agent. */
|
|
12632
|
+
imageUrl?: string | null;
|
|
12633
|
+
/** @description Display name of the AI bot agent. */
|
|
12634
|
+
name?: string;
|
|
12635
|
+
} | null;
|
|
12629
12636
|
messages: components["schemas"]["TicketMessage"][];
|
|
12630
12637
|
} & components["schemas"]["Pagination"];
|
|
12631
12638
|
};
|
|
@@ -16555,6 +16562,8 @@ type components = {
|
|
|
16555
16562
|
domain?: string;
|
|
16556
16563
|
email?: string;
|
|
16557
16564
|
id?: string;
|
|
16565
|
+
/** @description The customer's myshopify.com domain. */
|
|
16566
|
+
myshopifyDomain?: string | null;
|
|
16558
16567
|
name?: string;
|
|
16559
16568
|
};
|
|
16560
16569
|
TicketEvent: {
|
|
@@ -18569,7 +18578,7 @@ declare class CustomDataResource extends BaseResource {
|
|
|
18569
18578
|
name?: string | undefined;
|
|
18570
18579
|
options?: string[] | null | undefined;
|
|
18571
18580
|
resourceId?: string | undefined;
|
|
18572
|
-
resourceType?: "customer" | "ticket" | "conversation" | "deal" | undefined;
|
|
18581
|
+
resourceType?: "customer" | "ticket" | "conversation" | "deal" | "list_entity" | undefined;
|
|
18573
18582
|
type?: "string" | "boolean" | "url" | "date" | "date_time" | "json" | "number_integer" | "number_decimal" | "select_single" | "select_multiple" | undefined;
|
|
18574
18583
|
value?: string | number | boolean | {} | string[] | undefined;
|
|
18575
18584
|
} | undefined;
|
|
@@ -23779,6 +23788,7 @@ declare class TicketsResource extends BaseResource {
|
|
|
23779
23788
|
domain?: string | undefined;
|
|
23780
23789
|
email?: string | undefined;
|
|
23781
23790
|
id?: string | undefined;
|
|
23791
|
+
myshopifyDomain?: string | null | undefined;
|
|
23782
23792
|
name?: string | undefined;
|
|
23783
23793
|
} | undefined;
|
|
23784
23794
|
firstResponseAt?: string | null | undefined;
|
|
@@ -23864,6 +23874,7 @@ declare class TicketsResource extends BaseResource {
|
|
|
23864
23874
|
domain?: string | undefined;
|
|
23865
23875
|
email?: string | undefined;
|
|
23866
23876
|
id?: string | undefined;
|
|
23877
|
+
myshopifyDomain?: string | null | undefined;
|
|
23867
23878
|
name?: string | undefined;
|
|
23868
23879
|
} | undefined;
|
|
23869
23880
|
firstResponseAt?: string | null | undefined;
|
|
@@ -24091,6 +24102,10 @@ declare class TicketsResource extends BaseResource {
|
|
|
24091
24102
|
};
|
|
24092
24103
|
}>;
|
|
24093
24104
|
listMessages(ticketId: string, params?: paths['/tickets/{id}/messages']['get']['parameters']['query']): Promise<{
|
|
24105
|
+
bot?: {
|
|
24106
|
+
imageUrl?: string | null | undefined;
|
|
24107
|
+
name?: string | undefined;
|
|
24108
|
+
} | null | undefined;
|
|
24094
24109
|
messages: {
|
|
24095
24110
|
actorType: "customer" | "agent" | "system";
|
|
24096
24111
|
agent?: {
|
|
@@ -24234,6 +24249,7 @@ declare class TicketsResource extends BaseResource {
|
|
|
24234
24249
|
domain?: string | undefined;
|
|
24235
24250
|
email?: string | undefined;
|
|
24236
24251
|
id?: string | undefined;
|
|
24252
|
+
myshopifyDomain?: string | null | undefined;
|
|
24237
24253
|
name?: string | undefined;
|
|
24238
24254
|
} | undefined;
|
|
24239
24255
|
firstResponseAt?: string | null | undefined;
|
|
@@ -24315,6 +24331,7 @@ declare class TicketsResource extends BaseResource {
|
|
|
24315
24331
|
domain?: string | undefined;
|
|
24316
24332
|
email?: string | undefined;
|
|
24317
24333
|
id?: string | undefined;
|
|
24334
|
+
myshopifyDomain?: string | null | undefined;
|
|
24318
24335
|
name?: string | undefined;
|
|
24319
24336
|
} | undefined;
|
|
24320
24337
|
firstResponseAt?: string | null | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -4508,7 +4508,7 @@ type paths = {
|
|
|
4508
4508
|
/** @description The ID of the resource */
|
|
4509
4509
|
resourceId: string;
|
|
4510
4510
|
/** @description The type of resource */
|
|
4511
|
-
resourceType: "customer" | "ticket" | "conversation" | "deal";
|
|
4511
|
+
resourceType: "customer" | "ticket" | "conversation" | "deal" | "list_entity";
|
|
4512
4512
|
};
|
|
4513
4513
|
header?: never;
|
|
4514
4514
|
path?: never;
|
|
@@ -4585,7 +4585,7 @@ type paths = {
|
|
|
4585
4585
|
* @description The type of resource
|
|
4586
4586
|
* @enum {string}
|
|
4587
4587
|
*/
|
|
4588
|
-
resourceType: "customer" | "ticket" | "conversation" | "deal";
|
|
4588
|
+
resourceType: "customer" | "ticket" | "conversation" | "deal" | "list_entity";
|
|
4589
4589
|
/** @description The value to store. For select_single use a string, for select_multiple use an array of strings. */
|
|
4590
4590
|
value: string | boolean | number | Record<string, never> | string[];
|
|
4591
4591
|
};
|
|
@@ -4612,7 +4612,7 @@ type paths = {
|
|
|
4612
4612
|
* @description The type of resource
|
|
4613
4613
|
* @enum {string}
|
|
4614
4614
|
*/
|
|
4615
|
-
resourceType?: "customer" | "ticket" | "conversation" | "deal";
|
|
4615
|
+
resourceType?: "customer" | "ticket" | "conversation" | "deal" | "list_entity";
|
|
4616
4616
|
/**
|
|
4617
4617
|
* @description The data type of this custom data field
|
|
4618
4618
|
* @enum {string}
|
|
@@ -12626,6 +12626,13 @@ type paths = {
|
|
|
12626
12626
|
};
|
|
12627
12627
|
content: {
|
|
12628
12628
|
"application/json": {
|
|
12629
|
+
/** @description The AI bot identity for this organization, if configured. Use this to display the correct name and avatar for system messages. */
|
|
12630
|
+
bot?: {
|
|
12631
|
+
/** @description Avatar image URL for the AI bot agent. */
|
|
12632
|
+
imageUrl?: string | null;
|
|
12633
|
+
/** @description Display name of the AI bot agent. */
|
|
12634
|
+
name?: string;
|
|
12635
|
+
} | null;
|
|
12629
12636
|
messages: components["schemas"]["TicketMessage"][];
|
|
12630
12637
|
} & components["schemas"]["Pagination"];
|
|
12631
12638
|
};
|
|
@@ -16555,6 +16562,8 @@ type components = {
|
|
|
16555
16562
|
domain?: string;
|
|
16556
16563
|
email?: string;
|
|
16557
16564
|
id?: string;
|
|
16565
|
+
/** @description The customer's myshopify.com domain. */
|
|
16566
|
+
myshopifyDomain?: string | null;
|
|
16558
16567
|
name?: string;
|
|
16559
16568
|
};
|
|
16560
16569
|
TicketEvent: {
|
|
@@ -18569,7 +18578,7 @@ declare class CustomDataResource extends BaseResource {
|
|
|
18569
18578
|
name?: string | undefined;
|
|
18570
18579
|
options?: string[] | null | undefined;
|
|
18571
18580
|
resourceId?: string | undefined;
|
|
18572
|
-
resourceType?: "customer" | "ticket" | "conversation" | "deal" | undefined;
|
|
18581
|
+
resourceType?: "customer" | "ticket" | "conversation" | "deal" | "list_entity" | undefined;
|
|
18573
18582
|
type?: "string" | "boolean" | "url" | "date" | "date_time" | "json" | "number_integer" | "number_decimal" | "select_single" | "select_multiple" | undefined;
|
|
18574
18583
|
value?: string | number | boolean | {} | string[] | undefined;
|
|
18575
18584
|
} | undefined;
|
|
@@ -23779,6 +23788,7 @@ declare class TicketsResource extends BaseResource {
|
|
|
23779
23788
|
domain?: string | undefined;
|
|
23780
23789
|
email?: string | undefined;
|
|
23781
23790
|
id?: string | undefined;
|
|
23791
|
+
myshopifyDomain?: string | null | undefined;
|
|
23782
23792
|
name?: string | undefined;
|
|
23783
23793
|
} | undefined;
|
|
23784
23794
|
firstResponseAt?: string | null | undefined;
|
|
@@ -23864,6 +23874,7 @@ declare class TicketsResource extends BaseResource {
|
|
|
23864
23874
|
domain?: string | undefined;
|
|
23865
23875
|
email?: string | undefined;
|
|
23866
23876
|
id?: string | undefined;
|
|
23877
|
+
myshopifyDomain?: string | null | undefined;
|
|
23867
23878
|
name?: string | undefined;
|
|
23868
23879
|
} | undefined;
|
|
23869
23880
|
firstResponseAt?: string | null | undefined;
|
|
@@ -24091,6 +24102,10 @@ declare class TicketsResource extends BaseResource {
|
|
|
24091
24102
|
};
|
|
24092
24103
|
}>;
|
|
24093
24104
|
listMessages(ticketId: string, params?: paths['/tickets/{id}/messages']['get']['parameters']['query']): Promise<{
|
|
24105
|
+
bot?: {
|
|
24106
|
+
imageUrl?: string | null | undefined;
|
|
24107
|
+
name?: string | undefined;
|
|
24108
|
+
} | null | undefined;
|
|
24094
24109
|
messages: {
|
|
24095
24110
|
actorType: "customer" | "agent" | "system";
|
|
24096
24111
|
agent?: {
|
|
@@ -24234,6 +24249,7 @@ declare class TicketsResource extends BaseResource {
|
|
|
24234
24249
|
domain?: string | undefined;
|
|
24235
24250
|
email?: string | undefined;
|
|
24236
24251
|
id?: string | undefined;
|
|
24252
|
+
myshopifyDomain?: string | null | undefined;
|
|
24237
24253
|
name?: string | undefined;
|
|
24238
24254
|
} | undefined;
|
|
24239
24255
|
firstResponseAt?: string | null | undefined;
|
|
@@ -24315,6 +24331,7 @@ declare class TicketsResource extends BaseResource {
|
|
|
24315
24331
|
domain?: string | undefined;
|
|
24316
24332
|
email?: string | undefined;
|
|
24317
24333
|
id?: string | undefined;
|
|
24334
|
+
myshopifyDomain?: string | null | undefined;
|
|
24318
24335
|
name?: string | undefined;
|
|
24319
24336
|
} | undefined;
|
|
24320
24337
|
firstResponseAt?: string | null | undefined;
|