Comparing version 0.2.17 to 0.2.18
@@ -13,2 +13,3 @@ import { AxiosResponse } from 'axios'; | ||
sendSupportTicket(body: TYPE.NewSupportTicket): Promise<AxiosResponse<string>>; | ||
sendSupportTicketMessage(body: TYPE.NewSupportTicketMessage): Promise<AxiosResponse<string>>; | ||
getSupportRequests(): Promise<AxiosResponse<(TYPE.NewSupportTicket & { | ||
@@ -15,0 +16,0 @@ id: string; |
@@ -43,2 +43,6 @@ "use strict"; | ||
} | ||
sendSupportTicketMessage(body) { | ||
const query = 'support/ticket/message'; | ||
return this.put(query, body); | ||
} | ||
getSupportRequests() { | ||
@@ -45,0 +49,0 @@ const query = 'support'; |
@@ -53,2 +53,6 @@ import { GetProductResponse, Image, Pagination } from '../dto'; | ||
} | ||
export declare type NewSupportTicketMessage = { | ||
message: string; | ||
file?: string; | ||
}; | ||
export declare type SupportTicket = { | ||
@@ -55,0 +59,0 @@ id: number; |
{ | ||
"name": "tayeh.js", | ||
"version": "0.2.17", | ||
"version": "0.2.18", | ||
"description": "tayeh shop-api client", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
198827
3899