@kohost/api-client 7.25.1 → 7.26.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 (36) 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/useCases/index.d.ts +1 -0
  8. package/dist/useCases/index.js +3 -1
  9. package/dist/useCases/index.js.map +1 -1
  10. package/dist/useCases/{updateVendorProfile.d.ts → setApiKeyAllowedOperations.d.ts} +9 -9
  11. package/dist/useCases/setApiKeyAllowedOperations.js +47 -0
  12. package/dist/useCases/setApiKeyAllowedOperations.js.map +1 -0
  13. package/package.json +1 -1
  14. package/dist/lib/vendorDocuments.d.ts +0 -23
  15. package/dist/lib/vendorPrivateDetails.d.ts +0 -35
  16. package/dist/models/order.d.ts +0 -17
  17. package/dist/models/vendorProfile.d.ts +0 -17
  18. package/dist/schemas/order.d.ts +0 -186
  19. package/dist/schemas/vendorProfile.d.ts +0 -188
  20. package/dist/useCases/addVendorDocument.d.ts +0 -36
  21. package/dist/useCases/addVendorProfileDocument.d.ts +0 -36
  22. package/dist/useCases/createImageUploadEndpoint.d.ts +0 -27
  23. package/dist/useCases/createVendorProfile.d.ts +0 -27
  24. package/dist/useCases/deleteVendorProfile.d.ts +0 -36
  25. package/dist/useCases/describeConciergeBillsSummary.d.ts +0 -27
  26. package/dist/useCases/describeVendorProfile.d.ts +0 -36
  27. package/dist/useCases/listConciergeWorkspaceBillLines.d.ts +0 -27
  28. package/dist/useCases/listVendorDirectory.d.ts +0 -27
  29. package/dist/useCases/listVendorProfiles.d.ts +0 -27
  30. package/dist/useCases/openUnsubscribePage.d.ts +0 -36
  31. package/dist/useCases/removeVendorDocument.d.ts +0 -39
  32. package/dist/useCases/removeVendorProfileDocument.d.ts +0 -39
  33. package/dist/useCases/removeWorkItem.d.ts +0 -39
  34. package/dist/useCases/unsubscribe.d.ts +0 -36
  35. package/dist/useCases/updateWorkItem.d.ts +0 -39
  36. package/dist/useCases/uploadImage.d.ts +0 -27
@@ -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
- }