@kohost/api-client 7.25.1 → 7.27.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.
Files changed (39) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/models/credential.js +1 -0
  3. package/dist/models/credential.js.map +1 -1
  4. package/dist/schemas/credential.d.ts +7 -0
  5. package/dist/schemas/credential.js +5 -0
  6. package/dist/schemas/credential.js.map +1 -1
  7. package/dist/schemas/definitions.d.ts +1 -1
  8. package/dist/schemas/definitions.js +1 -0
  9. package/dist/schemas/definitions.js.map +1 -1
  10. package/dist/useCases/index.d.ts +1 -0
  11. package/dist/useCases/index.js +3 -1
  12. package/dist/useCases/index.js.map +1 -1
  13. package/dist/useCases/{updateVendorProfile.d.ts → setApiKeyAllowedOperations.d.ts} +9 -9
  14. package/dist/useCases/setApiKeyAllowedOperations.js +47 -0
  15. package/dist/useCases/setApiKeyAllowedOperations.js.map +1 -0
  16. package/package.json +1 -1
  17. package/dist/lib/vendorDocuments.d.ts +0 -23
  18. package/dist/lib/vendorPrivateDetails.d.ts +0 -35
  19. package/dist/models/order.d.ts +0 -17
  20. package/dist/models/vendorProfile.d.ts +0 -17
  21. package/dist/schemas/order.d.ts +0 -186
  22. package/dist/schemas/vendorProfile.d.ts +0 -188
  23. package/dist/useCases/addVendorDocument.d.ts +0 -36
  24. package/dist/useCases/addVendorProfileDocument.d.ts +0 -36
  25. package/dist/useCases/createImageUploadEndpoint.d.ts +0 -27
  26. package/dist/useCases/createVendorProfile.d.ts +0 -27
  27. package/dist/useCases/deleteVendorProfile.d.ts +0 -36
  28. package/dist/useCases/describeConciergeBillsSummary.d.ts +0 -27
  29. package/dist/useCases/describeVendorProfile.d.ts +0 -36
  30. package/dist/useCases/listConciergeWorkspaceBillLines.d.ts +0 -27
  31. package/dist/useCases/listVendorDirectory.d.ts +0 -27
  32. package/dist/useCases/listVendorProfiles.d.ts +0 -27
  33. package/dist/useCases/openUnsubscribePage.d.ts +0 -36
  34. package/dist/useCases/removeVendorDocument.d.ts +0 -39
  35. package/dist/useCases/removeVendorProfileDocument.d.ts +0 -39
  36. package/dist/useCases/removeWorkItem.d.ts +0 -39
  37. package/dist/useCases/unsubscribe.d.ts +0 -36
  38. package/dist/useCases/updateWorkItem.d.ts +0 -39
  39. package/dist/useCases/uploadImage.d.ts +0 -27
@@ -1,27 +0,0 @@
1
- export interface ListVendorProfilesCommandConfig {
2
- data?: Record<string, unknown> | unknown[] | null;
3
- headers?: Record<string, string> | null;
4
- query?: Record<string, unknown> | null;
5
- }
6
- export interface ListVendorProfilesCommandRequestConfig {
7
- method: "get";
8
- url: string;
9
- data: Record<string, unknown> | unknown[] | null;
10
- params: Record<string, unknown> | null;
11
- headers: Record<string, string> | null;
12
- [key: string]: unknown;
13
- }
14
- /**
15
- *
16
- */
17
- export declare class ListVendorProfilesCommand {
18
- url: string;
19
- data: Record<string, unknown> | unknown[] | null;
20
- query: Record<string, unknown> | null;
21
- headers: Record<string, string> | null;
22
- config: ListVendorProfilesCommandRequestConfig;
23
- static params: readonly [];
24
- static url: string;
25
- static method: "get";
26
- constructor(commandConfig: ListVendorProfilesCommandConfig, options?: Record<string, unknown>);
27
- }
@@ -1,36 +0,0 @@
1
- export interface OpenUnsubscribePageCommandConfig {
2
- data?: {
3
- token: string;
4
- [key: string]: unknown;
5
- } | null;
6
- headers?: Record<string, string> | null;
7
- query?: Record<string, unknown> | null;
8
- }
9
- export interface OpenUnsubscribePageCommandRequestConfig {
10
- method: "get";
11
- url: string;
12
- data: {
13
- token: string;
14
- [key: string]: unknown;
15
- } | null;
16
- params: Record<string, unknown> | null;
17
- headers: Record<string, string> | null;
18
- [key: string]: unknown;
19
- }
20
- /**
21
- *
22
- */
23
- export declare class OpenUnsubscribePageCommand {
24
- url: string;
25
- data: {
26
- token: string;
27
- [key: string]: unknown;
28
- } | null;
29
- query: Record<string, unknown> | null;
30
- headers: Record<string, string> | null;
31
- config: OpenUnsubscribePageCommandRequestConfig;
32
- static params: readonly ["token"];
33
- static url: string;
34
- static method: "get";
35
- constructor(commandConfig: OpenUnsubscribePageCommandConfig, options?: Record<string, unknown>);
36
- }
@@ -1,39 +0,0 @@
1
- export interface RemoveVendorDocumentCommandConfig {
2
- data?: {
3
- id: string;
4
- documentId: string;
5
- [key: string]: unknown;
6
- } | null;
7
- headers?: Record<string, string> | null;
8
- query?: Record<string, unknown> | null;
9
- }
10
- export interface RemoveVendorDocumentCommandRequestConfig {
11
- method: "delete";
12
- url: string;
13
- data: {
14
- id: string;
15
- documentId: string;
16
- [key: string]: unknown;
17
- } | null;
18
- params: Record<string, unknown> | null;
19
- headers: Record<string, string> | null;
20
- [key: string]: unknown;
21
- }
22
- /**
23
- *
24
- */
25
- export declare class RemoveVendorDocumentCommand {
26
- url: string;
27
- data: {
28
- id: string;
29
- documentId: string;
30
- [key: string]: unknown;
31
- } | null;
32
- query: Record<string, unknown> | null;
33
- headers: Record<string, string> | null;
34
- config: RemoveVendorDocumentCommandRequestConfig;
35
- static params: readonly ["id", "documentId"];
36
- static url: string;
37
- static method: "delete";
38
- constructor(commandConfig: RemoveVendorDocumentCommandConfig, options?: Record<string, unknown>);
39
- }
@@ -1,39 +0,0 @@
1
- export interface RemoveVendorProfileDocumentCommandConfig {
2
- data?: {
3
- id: string;
4
- documentId: string;
5
- [key: string]: unknown;
6
- } | null;
7
- headers?: Record<string, string> | null;
8
- query?: Record<string, unknown> | null;
9
- }
10
- export interface RemoveVendorProfileDocumentCommandRequestConfig {
11
- method: "delete";
12
- url: string;
13
- data: {
14
- id: string;
15
- documentId: string;
16
- [key: string]: unknown;
17
- } | null;
18
- params: Record<string, unknown> | null;
19
- headers: Record<string, string> | null;
20
- [key: string]: unknown;
21
- }
22
- /**
23
- *
24
- */
25
- export declare class RemoveVendorProfileDocumentCommand {
26
- url: string;
27
- data: {
28
- id: string;
29
- documentId: string;
30
- [key: string]: unknown;
31
- } | null;
32
- query: Record<string, unknown> | null;
33
- headers: Record<string, string> | null;
34
- config: RemoveVendorProfileDocumentCommandRequestConfig;
35
- static params: readonly ["id", "documentId"];
36
- static url: string;
37
- static method: "delete";
38
- constructor(commandConfig: RemoveVendorProfileDocumentCommandConfig, options?: Record<string, unknown>);
39
- }
@@ -1,39 +0,0 @@
1
- export interface RemoveWorkItemCommandConfig {
2
- data?: {
3
- id: string;
4
- workItemId: string;
5
- [key: string]: unknown;
6
- } | null;
7
- headers?: Record<string, string> | null;
8
- query?: Record<string, unknown> | null;
9
- }
10
- export interface RemoveWorkItemCommandRequestConfig {
11
- method: "delete";
12
- url: string;
13
- data: {
14
- id: string;
15
- workItemId: string;
16
- [key: string]: unknown;
17
- } | null;
18
- params: Record<string, unknown> | null;
19
- headers: Record<string, string> | null;
20
- [key: string]: unknown;
21
- }
22
- /**
23
- *
24
- */
25
- export declare class RemoveWorkItemCommand {
26
- url: string;
27
- data: {
28
- id: string;
29
- workItemId: string;
30
- [key: string]: unknown;
31
- } | null;
32
- query: Record<string, unknown> | null;
33
- headers: Record<string, string> | null;
34
- config: RemoveWorkItemCommandRequestConfig;
35
- static params: readonly ["id", "workItemId"];
36
- static url: string;
37
- static method: "delete";
38
- constructor(commandConfig: RemoveWorkItemCommandConfig, options?: Record<string, unknown>);
39
- }
@@ -1,36 +0,0 @@
1
- export interface UnsubscribeCommandConfig {
2
- data?: {
3
- token: string;
4
- [key: string]: unknown;
5
- } | null;
6
- headers?: Record<string, string> | null;
7
- query?: Record<string, unknown> | null;
8
- }
9
- export interface UnsubscribeCommandRequestConfig {
10
- method: "post";
11
- url: string;
12
- data: {
13
- token: string;
14
- [key: string]: unknown;
15
- } | null;
16
- params: Record<string, unknown> | null;
17
- headers: Record<string, string> | null;
18
- [key: string]: unknown;
19
- }
20
- /**
21
- *
22
- */
23
- export declare class UnsubscribeCommand {
24
- url: string;
25
- data: {
26
- token: string;
27
- [key: string]: unknown;
28
- } | null;
29
- query: Record<string, unknown> | null;
30
- headers: Record<string, string> | null;
31
- config: UnsubscribeCommandRequestConfig;
32
- static params: readonly ["token"];
33
- static url: string;
34
- static method: "post";
35
- constructor(commandConfig: UnsubscribeCommandConfig, options?: Record<string, unknown>);
36
- }
@@ -1,39 +0,0 @@
1
- export interface UpdateWorkItemCommandConfig {
2
- data?: {
3
- id: string;
4
- workItemId: string;
5
- [key: string]: unknown;
6
- } | null;
7
- headers?: Record<string, string> | null;
8
- query?: Record<string, unknown> | null;
9
- }
10
- export interface UpdateWorkItemCommandRequestConfig {
11
- method: "put";
12
- url: string;
13
- data: {
14
- id: string;
15
- workItemId: string;
16
- [key: string]: unknown;
17
- } | null;
18
- params: Record<string, unknown> | null;
19
- headers: Record<string, string> | null;
20
- [key: string]: unknown;
21
- }
22
- /**
23
- *
24
- */
25
- export declare class UpdateWorkItemCommand {
26
- url: string;
27
- data: {
28
- id: string;
29
- workItemId: string;
30
- [key: string]: unknown;
31
- } | null;
32
- query: Record<string, unknown> | null;
33
- headers: Record<string, string> | null;
34
- config: UpdateWorkItemCommandRequestConfig;
35
- static params: readonly ["id", "workItemId"];
36
- static url: string;
37
- static method: "put";
38
- constructor(commandConfig: UpdateWorkItemCommandConfig, options?: Record<string, unknown>);
39
- }
@@ -1,27 +0,0 @@
1
- export interface UploadImageCommandConfig {
2
- data?: Record<string, unknown> | null;
3
- headers?: Record<string, string> | null;
4
- query?: Record<string, unknown> | null;
5
- }
6
- export interface UploadImageCommandRequestConfig {
7
- method: "post";
8
- url: string;
9
- data: Record<string, unknown> | null;
10
- params: Record<string, unknown> | null;
11
- headers: Record<string, string> | null;
12
- [key: string]: unknown;
13
- }
14
- /**
15
- *
16
- */
17
- export declare class UploadImageCommand {
18
- url: string;
19
- data: Record<string, unknown> | null;
20
- query: Record<string, unknown> | null;
21
- headers: Record<string, string> | null;
22
- config: UploadImageCommandRequestConfig;
23
- static params: readonly [];
24
- static url: string;
25
- static method: "post";
26
- constructor(commandConfig: UploadImageCommandConfig, options?: Record<string, unknown>);
27
- }