@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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/models/credential.js +1 -0
- package/dist/models/credential.js.map +1 -1
- package/dist/schemas/credential.d.ts +7 -0
- package/dist/schemas/credential.js +5 -0
- package/dist/schemas/credential.js.map +1 -1
- package/dist/schemas/definitions.d.ts +1 -1
- package/dist/schemas/definitions.js +1 -0
- package/dist/schemas/definitions.js.map +1 -1
- package/dist/useCases/index.d.ts +1 -0
- package/dist/useCases/index.js +3 -1
- package/dist/useCases/index.js.map +1 -1
- package/dist/useCases/{updateVendorProfile.d.ts → setApiKeyAllowedOperations.d.ts} +9 -9
- package/dist/useCases/setApiKeyAllowedOperations.js +47 -0
- package/dist/useCases/setApiKeyAllowedOperations.js.map +1 -0
- package/package.json +1 -1
- package/dist/lib/vendorDocuments.d.ts +0 -23
- package/dist/lib/vendorPrivateDetails.d.ts +0 -35
- package/dist/models/order.d.ts +0 -17
- package/dist/models/vendorProfile.d.ts +0 -17
- package/dist/schemas/order.d.ts +0 -186
- package/dist/schemas/vendorProfile.d.ts +0 -188
- package/dist/useCases/addVendorDocument.d.ts +0 -36
- package/dist/useCases/addVendorProfileDocument.d.ts +0 -36
- package/dist/useCases/createImageUploadEndpoint.d.ts +0 -27
- package/dist/useCases/createVendorProfile.d.ts +0 -27
- package/dist/useCases/deleteVendorProfile.d.ts +0 -36
- package/dist/useCases/describeConciergeBillsSummary.d.ts +0 -27
- package/dist/useCases/describeVendorProfile.d.ts +0 -36
- package/dist/useCases/listConciergeWorkspaceBillLines.d.ts +0 -27
- package/dist/useCases/listVendorDirectory.d.ts +0 -27
- package/dist/useCases/listVendorProfiles.d.ts +0 -27
- package/dist/useCases/openUnsubscribePage.d.ts +0 -36
- package/dist/useCases/removeVendorDocument.d.ts +0 -39
- package/dist/useCases/removeVendorProfileDocument.d.ts +0 -39
- package/dist/useCases/removeWorkItem.d.ts +0 -39
- package/dist/useCases/unsubscribe.d.ts +0 -36
- package/dist/useCases/updateWorkItem.d.ts +0 -39
- package/dist/useCases/uploadImage.d.ts +0 -27
package/dist/schemas/order.d.ts
DELETED
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
import defs from "./definitions.js";
|
|
2
|
-
import type { FromSchema } from "json-schema-to-ts";
|
|
3
|
-
export declare const orderSchema: {
|
|
4
|
-
readonly $schema: "http://json-schema.org/draft-07/schema";
|
|
5
|
-
readonly $id: "order.json";
|
|
6
|
-
readonly title: "Order";
|
|
7
|
-
readonly description: "A purchase order for products or services.";
|
|
8
|
-
readonly type: "object";
|
|
9
|
-
readonly required: readonly ["type", "status"];
|
|
10
|
-
readonly additionalProperties: false;
|
|
11
|
-
readonly properties: {
|
|
12
|
-
readonly id: {
|
|
13
|
-
readonly $ref: "definitions.json#/definitions/id";
|
|
14
|
-
};
|
|
15
|
-
readonly propertyId: {
|
|
16
|
-
readonly type: "string";
|
|
17
|
-
readonly description: "ID of the property this entity belongs to. Optional — used as a per-document filter inside the org-scoped database.";
|
|
18
|
-
};
|
|
19
|
-
readonly type: {
|
|
20
|
-
readonly type: "string";
|
|
21
|
-
readonly default: "order";
|
|
22
|
-
readonly enum: readonly ["order"];
|
|
23
|
-
};
|
|
24
|
-
readonly orderNumber: {
|
|
25
|
-
readonly type: "string";
|
|
26
|
-
};
|
|
27
|
-
readonly status: {
|
|
28
|
-
readonly type: "string";
|
|
29
|
-
readonly enum: readonly ["draft", "pendingPayment", "processing", "outForDelivery", "completed", "paymentFailed", "cancelled", "refunded"];
|
|
30
|
-
};
|
|
31
|
-
readonly userId: {
|
|
32
|
-
readonly $ref: "definitions.json#/definitions/id";
|
|
33
|
-
readonly description: "User id of purchaser";
|
|
34
|
-
};
|
|
35
|
-
readonly reservationId: {
|
|
36
|
-
readonly $ref: "definitions.json#/definitions/id";
|
|
37
|
-
readonly description: "Reservation id if the order is for a reservation";
|
|
38
|
-
};
|
|
39
|
-
readonly date: {
|
|
40
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
41
|
-
};
|
|
42
|
-
readonly items: {
|
|
43
|
-
readonly type: "array";
|
|
44
|
-
readonly default: readonly [];
|
|
45
|
-
readonly items: {
|
|
46
|
-
readonly type: "object";
|
|
47
|
-
readonly required: readonly ["name", "price"];
|
|
48
|
-
readonly properties: {
|
|
49
|
-
readonly additionalProperties: false;
|
|
50
|
-
readonly name: {
|
|
51
|
-
readonly type: "string";
|
|
52
|
-
};
|
|
53
|
-
readonly sku: {
|
|
54
|
-
readonly type: "string";
|
|
55
|
-
};
|
|
56
|
-
readonly quantity: {
|
|
57
|
-
readonly type: "number";
|
|
58
|
-
readonly default: 1;
|
|
59
|
-
};
|
|
60
|
-
readonly price: {
|
|
61
|
-
readonly type: "number";
|
|
62
|
-
};
|
|
63
|
-
readonly taxClass: {
|
|
64
|
-
readonly type: "string";
|
|
65
|
-
};
|
|
66
|
-
readonly deliveryClass: {
|
|
67
|
-
readonly type: "string";
|
|
68
|
-
};
|
|
69
|
-
readonly productId: {
|
|
70
|
-
readonly type: "string";
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
readonly taxes: {
|
|
76
|
-
readonly type: "array";
|
|
77
|
-
readonly default: readonly [];
|
|
78
|
-
readonly items: {
|
|
79
|
-
readonly type: "object";
|
|
80
|
-
readonly required: readonly ["name", "rate"];
|
|
81
|
-
readonly properties: {
|
|
82
|
-
readonly additionalProperties: false;
|
|
83
|
-
readonly name: {
|
|
84
|
-
readonly type: "string";
|
|
85
|
-
};
|
|
86
|
-
readonly class: {
|
|
87
|
-
readonly type: "string";
|
|
88
|
-
};
|
|
89
|
-
readonly rateType: {
|
|
90
|
-
readonly type: "string";
|
|
91
|
-
readonly enum: readonly ["percentage", "flat"];
|
|
92
|
-
readonly default: "percentage";
|
|
93
|
-
};
|
|
94
|
-
readonly rate: {
|
|
95
|
-
readonly type: "number";
|
|
96
|
-
};
|
|
97
|
-
readonly total: {
|
|
98
|
-
readonly type: "number";
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
readonly fees: {
|
|
104
|
-
readonly type: "array";
|
|
105
|
-
readonly default: readonly [];
|
|
106
|
-
readonly items: {
|
|
107
|
-
readonly type: "object";
|
|
108
|
-
readonly required: readonly ["name", "price"];
|
|
109
|
-
readonly properties: {
|
|
110
|
-
readonly additionalProperties: false;
|
|
111
|
-
readonly name: {
|
|
112
|
-
readonly type: "string";
|
|
113
|
-
};
|
|
114
|
-
readonly price: {
|
|
115
|
-
readonly type: "number";
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
readonly delivery: {
|
|
121
|
-
readonly type: "array";
|
|
122
|
-
readonly default: readonly [];
|
|
123
|
-
readonly items: {
|
|
124
|
-
readonly type: "object";
|
|
125
|
-
readonly required: readonly ["name", "rate"];
|
|
126
|
-
readonly properties: {
|
|
127
|
-
readonly additionalProperties: false;
|
|
128
|
-
readonly name: {
|
|
129
|
-
readonly type: "string";
|
|
130
|
-
};
|
|
131
|
-
readonly class: {
|
|
132
|
-
readonly type: "string";
|
|
133
|
-
};
|
|
134
|
-
readonly rateType: {
|
|
135
|
-
readonly type: "string";
|
|
136
|
-
readonly enum: readonly ["percentage", "flat"];
|
|
137
|
-
readonly default: "percentage";
|
|
138
|
-
};
|
|
139
|
-
readonly rate: {
|
|
140
|
-
readonly type: "number";
|
|
141
|
-
};
|
|
142
|
-
readonly total: {
|
|
143
|
-
readonly type: "number";
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
readonly payments: {
|
|
149
|
-
readonly type: "array";
|
|
150
|
-
readonly default: readonly [];
|
|
151
|
-
readonly items: {
|
|
152
|
-
readonly type: "object";
|
|
153
|
-
readonly properties: {
|
|
154
|
-
readonly method: {
|
|
155
|
-
readonly type: "string";
|
|
156
|
-
readonly enum: readonly ["folio", "invoice", "amex", "visa", "masterCard", "maestro", "discover", "diners", "jcb", "applePay", "alipay", "chinaUnionPay", "vpay"];
|
|
157
|
-
};
|
|
158
|
-
readonly name: {
|
|
159
|
-
readonly type: "string";
|
|
160
|
-
};
|
|
161
|
-
readonly date: {
|
|
162
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
163
|
-
};
|
|
164
|
-
readonly amount: {
|
|
165
|
-
readonly type: "number";
|
|
166
|
-
};
|
|
167
|
-
readonly transactionReference: {
|
|
168
|
-
readonly type: "string";
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
readonly createdAt: {
|
|
174
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
175
|
-
};
|
|
176
|
-
readonly updatedAt: {
|
|
177
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
178
|
-
};
|
|
179
|
-
readonly deletedAt: {
|
|
180
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
export type OrderSchema = FromSchema<typeof orderSchema, {
|
|
185
|
-
references: [typeof defs];
|
|
186
|
-
}>;
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import defs, { ISODateString } from "./definitions.js";
|
|
2
|
-
import type { FromSchema } from "json-schema-to-ts";
|
|
3
|
-
import { mediaFileSchema } from "./mediaFile.js";
|
|
4
|
-
/**
|
|
5
|
-
* One Organization's relationship with a contractor. Either linked to a
|
|
6
|
-
* catalog Vendor (`vendorId` set — the business's identity is read from the
|
|
7
|
-
* catalog and never stored here) or custom (`vendorId` null — the Organization
|
|
8
|
-
* typed the contractor in and holds the identity itself). Which fields are
|
|
9
|
-
* required on which path is the use case's rule, not the schema's: the schema
|
|
10
|
-
* requires only `id`.
|
|
11
|
-
*/
|
|
12
|
-
export declare const vendorProfileSchema: {
|
|
13
|
-
readonly $schema: "http://json-schema.org/draft-07/schema";
|
|
14
|
-
readonly $id: "vendorProfile.json";
|
|
15
|
-
readonly title: "VendorProfile";
|
|
16
|
-
readonly type: "object";
|
|
17
|
-
readonly required: readonly ["id"];
|
|
18
|
-
readonly additionalProperties: false;
|
|
19
|
-
readonly properties: {
|
|
20
|
-
readonly id: {
|
|
21
|
-
readonly $ref: "definitions.json#/definitions/id";
|
|
22
|
-
};
|
|
23
|
-
readonly type: {
|
|
24
|
-
readonly type: "string";
|
|
25
|
-
readonly default: "vendorProfile";
|
|
26
|
-
readonly enum: readonly ["vendorProfile"];
|
|
27
|
-
};
|
|
28
|
-
readonly vendorId: {
|
|
29
|
-
readonly type: readonly ["string", "null"];
|
|
30
|
-
readonly description: "The catalog Vendor this profile is linked to. Null means custom: the Organization holds the identity fields itself.";
|
|
31
|
-
};
|
|
32
|
-
readonly name: {
|
|
33
|
-
readonly type: readonly ["string", "null"];
|
|
34
|
-
};
|
|
35
|
-
readonly address: {
|
|
36
|
-
readonly anyOf: readonly [{
|
|
37
|
-
readonly $ref: "definitions.json#/definitions/address";
|
|
38
|
-
}, {
|
|
39
|
-
readonly type: "null";
|
|
40
|
-
}];
|
|
41
|
-
};
|
|
42
|
-
readonly latitude: {
|
|
43
|
-
readonly type: readonly ["number", "null"];
|
|
44
|
-
};
|
|
45
|
-
readonly longitude: {
|
|
46
|
-
readonly type: readonly ["number", "null"];
|
|
47
|
-
};
|
|
48
|
-
readonly placeId: {
|
|
49
|
-
readonly type: readonly ["string", "null"];
|
|
50
|
-
readonly description: "Google Places id the address was prefilled from.";
|
|
51
|
-
};
|
|
52
|
-
readonly photo: {
|
|
53
|
-
readonly anyOf: readonly [{
|
|
54
|
-
readonly $ref: "mediaFile.json#";
|
|
55
|
-
}, {
|
|
56
|
-
readonly type: "null";
|
|
57
|
-
}];
|
|
58
|
-
};
|
|
59
|
-
readonly email: {
|
|
60
|
-
readonly type: readonly ["string", "null"];
|
|
61
|
-
readonly format: "email";
|
|
62
|
-
};
|
|
63
|
-
readonly phone: {
|
|
64
|
-
readonly type: readonly ["string", "null"];
|
|
65
|
-
readonly pattern: "^\\+[0-9]{1,14}$";
|
|
66
|
-
};
|
|
67
|
-
readonly notes: {
|
|
68
|
-
readonly type: readonly ["string", "null"];
|
|
69
|
-
readonly maxLength: 1000;
|
|
70
|
-
};
|
|
71
|
-
readonly properties: {
|
|
72
|
-
readonly type: "array";
|
|
73
|
-
readonly description: "List of propertyIds where this vendor is enabled. Profiles are org-scoped; an empty list means every property.";
|
|
74
|
-
readonly default: readonly [];
|
|
75
|
-
readonly items: {
|
|
76
|
-
readonly type: "string";
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
readonly vendor: {
|
|
80
|
-
readonly type: readonly ["object", "null"];
|
|
81
|
-
readonly readOnly: true;
|
|
82
|
-
readonly description: "The linked catalog Vendor's listing state, filled in on every read and never stored. Null on a custom profile.";
|
|
83
|
-
readonly additionalProperties: false;
|
|
84
|
-
readonly required: readonly ["id", "kohostVerified", "status"];
|
|
85
|
-
readonly properties: {
|
|
86
|
-
readonly id: {
|
|
87
|
-
readonly type: "string";
|
|
88
|
-
};
|
|
89
|
-
readonly kohostVerified: {
|
|
90
|
-
readonly type: "boolean";
|
|
91
|
-
};
|
|
92
|
-
readonly status: {
|
|
93
|
-
readonly type: "string";
|
|
94
|
-
readonly enum: readonly ["unlisted", "listed"];
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
readonly private: {
|
|
99
|
-
readonly type: "object";
|
|
100
|
-
readonly description: "Private Details: the Organization's own account and compliance record for this contractor. Visible only to that Organization.";
|
|
101
|
-
readonly additionalProperties: false;
|
|
102
|
-
readonly properties: {
|
|
103
|
-
readonly accountNumber: {
|
|
104
|
-
readonly type: readonly ["string", "null"];
|
|
105
|
-
readonly maxLength: 100;
|
|
106
|
-
};
|
|
107
|
-
readonly paymentTerms: {
|
|
108
|
-
readonly type: readonly ["string", "null"];
|
|
109
|
-
readonly maxLength: 200;
|
|
110
|
-
};
|
|
111
|
-
readonly insuranceCarrier: {
|
|
112
|
-
readonly type: readonly ["string", "null"];
|
|
113
|
-
readonly maxLength: 200;
|
|
114
|
-
};
|
|
115
|
-
readonly policyNumber: {
|
|
116
|
-
readonly type: readonly ["string", "null"];
|
|
117
|
-
readonly maxLength: 100;
|
|
118
|
-
};
|
|
119
|
-
readonly coverageExpiresOn: {
|
|
120
|
-
readonly anyOf: readonly [{
|
|
121
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
122
|
-
}, {
|
|
123
|
-
readonly type: "null";
|
|
124
|
-
}];
|
|
125
|
-
readonly description: "When this campus's coverage for the vendor lapses. Null once an operator clears it.";
|
|
126
|
-
};
|
|
127
|
-
readonly documents: {
|
|
128
|
-
readonly type: "array";
|
|
129
|
-
readonly default: readonly [];
|
|
130
|
-
readonly items: {
|
|
131
|
-
readonly type: "object";
|
|
132
|
-
readonly additionalProperties: false;
|
|
133
|
-
readonly required: readonly ["id", "url", "label", "mimeType", "size", "uploadedAt"];
|
|
134
|
-
readonly properties: {
|
|
135
|
-
readonly id: {
|
|
136
|
-
readonly type: "string";
|
|
137
|
-
};
|
|
138
|
-
readonly url: {
|
|
139
|
-
readonly type: "string";
|
|
140
|
-
readonly format: "uri";
|
|
141
|
-
};
|
|
142
|
-
readonly label: {
|
|
143
|
-
readonly type: "string";
|
|
144
|
-
readonly maxLength: 200;
|
|
145
|
-
};
|
|
146
|
-
readonly expiresAt: {
|
|
147
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
148
|
-
};
|
|
149
|
-
readonly mimeType: {
|
|
150
|
-
readonly type: "string";
|
|
151
|
-
};
|
|
152
|
-
readonly size: {
|
|
153
|
-
readonly type: "integer";
|
|
154
|
-
readonly minimum: 0;
|
|
155
|
-
};
|
|
156
|
-
readonly uploadedAt: {
|
|
157
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
158
|
-
};
|
|
159
|
-
readonly uploadedBy: {
|
|
160
|
-
readonly type: readonly ["string", "null"];
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
};
|
|
167
|
-
readonly createdAt: {
|
|
168
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
169
|
-
};
|
|
170
|
-
readonly updatedAt: {
|
|
171
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
172
|
-
};
|
|
173
|
-
readonly deletedAt: {
|
|
174
|
-
readonly $ref: "definitions.json#/definitions/date";
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
};
|
|
178
|
-
export type VendorProfileSchema = FromSchema<typeof vendorProfileSchema, {
|
|
179
|
-
references: [typeof defs, typeof mediaFileSchema];
|
|
180
|
-
deserialize: [
|
|
181
|
-
{
|
|
182
|
-
pattern: {
|
|
183
|
-
format: "date-time";
|
|
184
|
-
};
|
|
185
|
-
output: Date | ISODateString;
|
|
186
|
-
}
|
|
187
|
-
];
|
|
188
|
-
}>;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export interface AddVendorDocumentCommandConfig {
|
|
2
|
-
data?: {
|
|
3
|
-
id: string;
|
|
4
|
-
[key: string]: unknown;
|
|
5
|
-
} | null;
|
|
6
|
-
headers?: Record<string, string> | null;
|
|
7
|
-
query?: Record<string, unknown> | null;
|
|
8
|
-
}
|
|
9
|
-
export interface AddVendorDocumentCommandRequestConfig {
|
|
10
|
-
method: "post";
|
|
11
|
-
url: string;
|
|
12
|
-
data: {
|
|
13
|
-
id: 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 AddVendorDocumentCommand {
|
|
24
|
-
url: string;
|
|
25
|
-
data: {
|
|
26
|
-
id: string;
|
|
27
|
-
[key: string]: unknown;
|
|
28
|
-
} | null;
|
|
29
|
-
query: Record<string, unknown> | null;
|
|
30
|
-
headers: Record<string, string> | null;
|
|
31
|
-
config: AddVendorDocumentCommandRequestConfig;
|
|
32
|
-
static params: readonly ["id"];
|
|
33
|
-
static url: string;
|
|
34
|
-
static method: "post";
|
|
35
|
-
constructor(commandConfig: AddVendorDocumentCommandConfig, options?: Record<string, unknown>);
|
|
36
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export interface AddVendorProfileDocumentCommandConfig {
|
|
2
|
-
data?: {
|
|
3
|
-
id: string;
|
|
4
|
-
[key: string]: unknown;
|
|
5
|
-
} | null;
|
|
6
|
-
headers?: Record<string, string> | null;
|
|
7
|
-
query?: Record<string, unknown> | null;
|
|
8
|
-
}
|
|
9
|
-
export interface AddVendorProfileDocumentCommandRequestConfig {
|
|
10
|
-
method: "post";
|
|
11
|
-
url: string;
|
|
12
|
-
data: {
|
|
13
|
-
id: 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 AddVendorProfileDocumentCommand {
|
|
24
|
-
url: string;
|
|
25
|
-
data: {
|
|
26
|
-
id: string;
|
|
27
|
-
[key: string]: unknown;
|
|
28
|
-
} | null;
|
|
29
|
-
query: Record<string, unknown> | null;
|
|
30
|
-
headers: Record<string, string> | null;
|
|
31
|
-
config: AddVendorProfileDocumentCommandRequestConfig;
|
|
32
|
-
static params: readonly ["id"];
|
|
33
|
-
static url: string;
|
|
34
|
-
static method: "post";
|
|
35
|
-
constructor(commandConfig: AddVendorProfileDocumentCommandConfig, options?: Record<string, unknown>);
|
|
36
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface CreateImageUploadEndpointCommandConfig {
|
|
2
|
-
data?: Record<string, unknown> | null;
|
|
3
|
-
headers?: Record<string, string> | null;
|
|
4
|
-
query?: Record<string, unknown> | null;
|
|
5
|
-
}
|
|
6
|
-
export interface CreateImageUploadEndpointCommandRequestConfig {
|
|
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 CreateImageUploadEndpointCommand {
|
|
18
|
-
url: string;
|
|
19
|
-
data: Record<string, unknown> | null;
|
|
20
|
-
query: Record<string, unknown> | null;
|
|
21
|
-
headers: Record<string, string> | null;
|
|
22
|
-
config: CreateImageUploadEndpointCommandRequestConfig;
|
|
23
|
-
static params: readonly [];
|
|
24
|
-
static url: string;
|
|
25
|
-
static method: "post";
|
|
26
|
-
constructor(commandConfig: CreateImageUploadEndpointCommandConfig, options?: Record<string, unknown>);
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface CreateVendorProfileCommandConfig {
|
|
2
|
-
data?: Record<string, unknown> | unknown[] | null;
|
|
3
|
-
headers?: Record<string, string> | null;
|
|
4
|
-
query?: Record<string, unknown> | null;
|
|
5
|
-
}
|
|
6
|
-
export interface CreateVendorProfileCommandRequestConfig {
|
|
7
|
-
method: "post";
|
|
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 CreateVendorProfileCommand {
|
|
18
|
-
url: string;
|
|
19
|
-
data: Record<string, unknown> | unknown[] | null;
|
|
20
|
-
query: Record<string, unknown> | null;
|
|
21
|
-
headers: Record<string, string> | null;
|
|
22
|
-
config: CreateVendorProfileCommandRequestConfig;
|
|
23
|
-
static params: readonly [];
|
|
24
|
-
static url: string;
|
|
25
|
-
static method: "post";
|
|
26
|
-
constructor(commandConfig: CreateVendorProfileCommandConfig, options?: Record<string, unknown>);
|
|
27
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export interface DeleteVendorProfileCommandConfig {
|
|
2
|
-
data?: {
|
|
3
|
-
id: string;
|
|
4
|
-
[key: string]: unknown;
|
|
5
|
-
} | null;
|
|
6
|
-
headers?: Record<string, string> | null;
|
|
7
|
-
query?: Record<string, unknown> | null;
|
|
8
|
-
}
|
|
9
|
-
export interface DeleteVendorProfileCommandRequestConfig {
|
|
10
|
-
method: "delete";
|
|
11
|
-
url: string;
|
|
12
|
-
data: {
|
|
13
|
-
id: 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 DeleteVendorProfileCommand {
|
|
24
|
-
url: string;
|
|
25
|
-
data: {
|
|
26
|
-
id: string;
|
|
27
|
-
[key: string]: unknown;
|
|
28
|
-
} | null;
|
|
29
|
-
query: Record<string, unknown> | null;
|
|
30
|
-
headers: Record<string, string> | null;
|
|
31
|
-
config: DeleteVendorProfileCommandRequestConfig;
|
|
32
|
-
static params: readonly ["id"];
|
|
33
|
-
static url: string;
|
|
34
|
-
static method: "delete";
|
|
35
|
-
constructor(commandConfig: DeleteVendorProfileCommandConfig, options?: Record<string, unknown>);
|
|
36
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface DescribeConciergeBillsSummaryCommandConfig {
|
|
2
|
-
data?: Record<string, unknown> | unknown[] | null;
|
|
3
|
-
headers?: Record<string, string> | null;
|
|
4
|
-
query?: Record<string, unknown> | null;
|
|
5
|
-
}
|
|
6
|
-
export interface DescribeConciergeBillsSummaryCommandRequestConfig {
|
|
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
|
-
* Revenue, vendor cost, profit and margin billed through OneBill over a sentAt window, across the KFC-enabled organizations or one of them.
|
|
16
|
-
*/
|
|
17
|
-
export declare class DescribeConciergeBillsSummaryCommand {
|
|
18
|
-
url: string;
|
|
19
|
-
data: Record<string, unknown> | unknown[] | null;
|
|
20
|
-
query: Record<string, unknown> | null;
|
|
21
|
-
headers: Record<string, string> | null;
|
|
22
|
-
config: DescribeConciergeBillsSummaryCommandRequestConfig;
|
|
23
|
-
static params: readonly [];
|
|
24
|
-
static url: string;
|
|
25
|
-
static method: "get";
|
|
26
|
-
constructor(commandConfig: DescribeConciergeBillsSummaryCommandConfig, options?: Record<string, unknown>);
|
|
27
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export interface DescribeVendorProfileCommandConfig {
|
|
2
|
-
data?: {
|
|
3
|
-
id: string;
|
|
4
|
-
[key: string]: unknown;
|
|
5
|
-
} | null;
|
|
6
|
-
headers?: Record<string, string> | null;
|
|
7
|
-
query?: Record<string, unknown> | null;
|
|
8
|
-
}
|
|
9
|
-
export interface DescribeVendorProfileCommandRequestConfig {
|
|
10
|
-
method: "get";
|
|
11
|
-
url: string;
|
|
12
|
-
data: {
|
|
13
|
-
id: 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 DescribeVendorProfileCommand {
|
|
24
|
-
url: string;
|
|
25
|
-
data: {
|
|
26
|
-
id: string;
|
|
27
|
-
[key: string]: unknown;
|
|
28
|
-
} | null;
|
|
29
|
-
query: Record<string, unknown> | null;
|
|
30
|
-
headers: Record<string, string> | null;
|
|
31
|
-
config: DescribeVendorProfileCommandRequestConfig;
|
|
32
|
-
static params: readonly ["id"];
|
|
33
|
-
static url: string;
|
|
34
|
-
static method: "get";
|
|
35
|
-
constructor(commandConfig: DescribeVendorProfileCommandConfig, options?: Record<string, unknown>);
|
|
36
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface ListConciergeWorkspaceBillLinesCommandConfig {
|
|
2
|
-
data?: Record<string, unknown> | unknown[] | null;
|
|
3
|
-
headers?: Record<string, string> | null;
|
|
4
|
-
query?: Record<string, unknown> | null;
|
|
5
|
-
}
|
|
6
|
-
export interface ListConciergeWorkspaceBillLinesCommandRequestConfig {
|
|
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
|
-
* OneBill transactions view: every line on a sent or paid bill across every KFC-enabled organization, newest send first, paged and searchable, with the vendor-cost snapshot and resolved organization and vendor names.
|
|
16
|
-
*/
|
|
17
|
-
export declare class ListConciergeWorkspaceBillLinesCommand {
|
|
18
|
-
url: string;
|
|
19
|
-
data: Record<string, unknown> | unknown[] | null;
|
|
20
|
-
query: Record<string, unknown> | null;
|
|
21
|
-
headers: Record<string, string> | null;
|
|
22
|
-
config: ListConciergeWorkspaceBillLinesCommandRequestConfig;
|
|
23
|
-
static params: readonly [];
|
|
24
|
-
static url: string;
|
|
25
|
-
static method: "get";
|
|
26
|
-
constructor(commandConfig: ListConciergeWorkspaceBillLinesCommandConfig, options?: Record<string, unknown>);
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface ListVendorDirectoryCommandConfig {
|
|
2
|
-
data?: Record<string, unknown> | unknown[] | null;
|
|
3
|
-
headers?: Record<string, string> | null;
|
|
4
|
-
query?: Record<string, unknown> | null;
|
|
5
|
-
}
|
|
6
|
-
export interface ListVendorDirectoryCommandRequestConfig {
|
|
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
|
-
* The org-facing Vendor directory: listed catalog Vendors with Private Details stripped, filtered by name.
|
|
16
|
-
*/
|
|
17
|
-
export declare class ListVendorDirectoryCommand {
|
|
18
|
-
url: string;
|
|
19
|
-
data: Record<string, unknown> | unknown[] | null;
|
|
20
|
-
query: Record<string, unknown> | null;
|
|
21
|
-
headers: Record<string, string> | null;
|
|
22
|
-
config: ListVendorDirectoryCommandRequestConfig;
|
|
23
|
-
static params: readonly [];
|
|
24
|
-
static url: string;
|
|
25
|
-
static method: "get";
|
|
26
|
-
constructor(commandConfig: ListVendorDirectoryCommandConfig, options?: Record<string, unknown>);
|
|
27
|
-
}
|