@matochmat/api-client 2.0.0-next.38 → 2.0.0-next.39
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.cjs.js +2 -22
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -6
- package/dist/index.esm.js +2 -17
- package/dist/index.esm.js.map +1 -1
- package/dist/v2/restaurant.d.ts +0 -4
- package/dist/v3/{customerManagement.d.ts → restaurantManagement.d.ts} +10 -10
- package/dist/v3/user.d.ts +1 -1
- package/package.json +1 -1
- package/dist/v2/customer.d.ts +0 -70
- package/dist/v2/customerContact.d.ts +0 -42
- package/dist/v2/customerManagemement.d.ts +0 -4
- package/dist/v3/customer.d.ts +0 -11
- package/dist/v3/customerContact.d.ts +0 -11
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { ApiV2BaseResponseType } from '../v2/baseResponse';
|
|
2
|
-
/**
|
|
3
|
-
* Type for the individual array items in v2 of the API for the customer contact endpoint.
|
|
4
|
-
*/
|
|
5
|
-
export type ApiV2CustomerContactType = {
|
|
6
|
-
/**
|
|
7
|
-
* ID of the customer the contact belongs to.
|
|
8
|
-
*/
|
|
9
|
-
customerId: number;
|
|
10
|
-
/**
|
|
11
|
-
* Email address of the contact.
|
|
12
|
-
*/
|
|
13
|
-
emailAddress: string;
|
|
14
|
-
/**
|
|
15
|
-
* First name of the contact.
|
|
16
|
-
*/
|
|
17
|
-
firstName: string;
|
|
18
|
-
/**
|
|
19
|
-
* Unique ID for the entity.
|
|
20
|
-
*/
|
|
21
|
-
id: number;
|
|
22
|
-
/**
|
|
23
|
-
* Last name of the contact.
|
|
24
|
-
*/
|
|
25
|
-
lastName: string;
|
|
26
|
-
/**
|
|
27
|
-
* Timestamp for when the entity eas last udpated.
|
|
28
|
-
*/
|
|
29
|
-
lastUpdated: string;
|
|
30
|
-
/**
|
|
31
|
-
* Phone number of the contact.
|
|
32
|
-
*/
|
|
33
|
-
phoneNumber: string;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* The API response type for customer contacts.
|
|
37
|
-
*/
|
|
38
|
-
export type ApiV2CustomerContactResponseType = ApiV2BaseResponseType<ApiV2CustomerContactType[], number>;
|
|
39
|
-
/**
|
|
40
|
-
* API endpoint slug.
|
|
41
|
-
*/
|
|
42
|
-
export declare const apiV2CustomerContactApiEndpointSlug = "customer-contacts";
|
package/dist/v3/customer.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2CustomerType } from '../v2/customer';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2CustomerApiEndpointSlug as apiV3CustomerApiEndpointSlug } from '../v2/customer';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the customer endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3CustomerType = ApiV2CustomerType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for customer items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3CustomerResponseType = ApiV3BaseResponseType<ApiV3CustomerType[], number>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2CustomerContactType } from '../v2/customerContact';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2CustomerContactApiEndpointSlug as apiV3CustomerContactApiEndpointSlug } from '../v2/customerContact';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the customer contact endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3CustomerContactType = ApiV2CustomerContactType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for customer contacts items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3CustomerContactResponseType = ApiV3BaseResponseType<ApiV3CustomerContactType[], number>;
|