@viu/emporix-sdk 2.22.0 → 2.23.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/CHANGELOG.md +122 -0
- package/dist/availability.cjs +118 -0
- package/dist/availability.cjs.map +1 -1
- package/dist/availability.d.cts +178 -2
- package/dist/availability.d.ts +178 -2
- package/dist/availability.js +1 -1
- package/dist/cart.cjs +156 -11
- package/dist/cart.cjs.map +1 -1
- package/dist/cart.d.cts +176 -3
- package/dist/cart.d.ts +176 -3
- package/dist/cart.js +1 -1
- package/dist/category.cjs +192 -2
- package/dist/category.cjs.map +1 -1
- package/dist/category.d.cts +398 -1
- package/dist/category.d.ts +398 -1
- package/dist/category.js +1 -1
- package/dist/{chunk-HD5RBCM6.js → chunk-27NLS646.js} +10 -2
- package/dist/chunk-27NLS646.js.map +1 -0
- package/dist/{chunk-MMX5FGMI.js → chunk-6PJFOX3A.js} +109 -2
- package/dist/chunk-6PJFOX3A.js.map +1 -0
- package/dist/chunk-HWVFF6B2.js +378 -0
- package/dist/chunk-HWVFF6B2.js.map +1 -0
- package/dist/chunk-LQFRJSVT.js +224 -0
- package/dist/chunk-LQFRJSVT.js.map +1 -0
- package/dist/chunk-P7G4LOOV.js +264 -0
- package/dist/chunk-P7G4LOOV.js.map +1 -0
- package/dist/{chunk-44F52KRE.js → chunk-QQMLN76U.js} +27 -2
- package/dist/chunk-QQMLN76U.js.map +1 -0
- package/dist/chunk-UNW6SFSB.js +363 -0
- package/dist/chunk-UNW6SFSB.js.map +1 -0
- package/dist/chunk-V3275BA7.js +181 -0
- package/dist/chunk-V3275BA7.js.map +1 -0
- package/dist/chunk-W2KBVWJ2.js +323 -0
- package/dist/chunk-W2KBVWJ2.js.map +1 -0
- package/dist/{chunk-5DWCYDQD.js → chunk-YVZ6GOLE.js} +158 -13
- package/dist/chunk-YVZ6GOLE.js.map +1 -0
- package/dist/chunk-ZOFGDNSX.js +305 -0
- package/dist/chunk-ZOFGDNSX.js.map +1 -0
- package/dist/companies.cjs +25 -0
- package/dist/companies.cjs.map +1 -1
- package/dist/companies.d.cts +14 -0
- package/dist/companies.d.ts +14 -0
- package/dist/companies.js +1 -1
- package/dist/contacts.cjs +8 -0
- package/dist/contacts.cjs.map +1 -1
- package/dist/contacts.d.cts +2 -0
- package/dist/contacts.d.ts +2 -0
- package/dist/contacts.js +1 -1
- package/dist/customer-groups-BxSNFHq1.d.cts +706 -0
- package/dist/customer-groups-GlzWhDsi.d.ts +706 -0
- package/dist/customer-groups.cjs +200 -17
- package/dist/customer-groups.cjs.map +1 -1
- package/dist/customer-groups.d.cts +2 -110
- package/dist/customer-groups.d.ts +2 -110
- package/dist/customer-groups.js +1 -1
- package/dist/index.cjs +2220 -391
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +433 -11
- package/dist/index.d.ts +433 -11
- package/dist/index.js +668 -340
- package/dist/index.js.map +1 -1
- package/dist/orders.cjs +160 -2
- package/dist/orders.cjs.map +1 -1
- package/dist/orders.d.cts +221 -1
- package/dist/orders.d.ts +221 -1
- package/dist/orders.js +1 -1
- package/dist/payment.cjs +107 -0
- package/dist/payment.cjs.map +1 -1
- package/dist/payment.d.cts +299 -1
- package/dist/payment.d.ts +299 -1
- package/dist/payment.js +1 -1
- package/dist/price.cjs +197 -0
- package/dist/price.cjs.map +1 -1
- package/dist/price.d.cts +577 -1
- package/dist/price.d.ts +577 -1
- package/dist/price.js +1 -1
- package/dist/product.cjs +190 -0
- package/dist/product.cjs.map +1 -1
- package/dist/product.d.cts +503 -1
- package/dist/product.d.ts +503 -1
- package/dist/product.js +1 -1
- package/dist/segment.cjs +179 -0
- package/dist/segment.cjs.map +1 -1
- package/dist/segment.d.cts +181 -1
- package/dist/segment.d.ts +181 -1
- package/dist/segment.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-36T4YPQJ.js +0 -106
- package/dist/chunk-36T4YPQJ.js.map +0 -1
- package/dist/chunk-3BTPX7IJ.js +0 -41
- package/dist/chunk-3BTPX7IJ.js.map +0 -1
- package/dist/chunk-44F52KRE.js.map +0 -1
- package/dist/chunk-5DWCYDQD.js.map +0 -1
- package/dist/chunk-A3LYJUD4.js +0 -108
- package/dist/chunk-A3LYJUD4.js.map +0 -1
- package/dist/chunk-DXOLWAOY.js +0 -188
- package/dist/chunk-DXOLWAOY.js.map +0 -1
- package/dist/chunk-FZMP5NQZ.js +0 -173
- package/dist/chunk-FZMP5NQZ.js.map +0 -1
- package/dist/chunk-HD5RBCM6.js.map +0 -1
- package/dist/chunk-IVCCGJN5.js +0 -63
- package/dist/chunk-IVCCGJN5.js.map +0 -1
- package/dist/chunk-MMX5FGMI.js.map +0 -1
- package/dist/chunk-NE7MIZPR.js +0 -144
- package/dist/chunk-NE7MIZPR.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -3,30 +3,29 @@ export { A as AnonymousSession, a as AnonymousSessionStore, c as AuthKind, d as
|
|
|
3
3
|
import { CustomerService } from './customer.cjs';
|
|
4
4
|
export { Address, AddressCreateInput, AddressUpdateInput, ChangeEmailInput, ConfirmEmailChangeInput, Customer, CustomerSession, CustomerSignupInput, CustomerUpdateInput, PasswordChangeInput, PasswordResetConfirmInput, PasswordResetRequestInput, ResendActivationInput } from './customer.cjs';
|
|
5
5
|
import { ProductService } from './product.cjs';
|
|
6
|
-
export { Media, Product } from './product.cjs';
|
|
6
|
+
export { Media, Product, ProductBulkCreateInput, ProductBulkResult, ProductBulkUpdateInput, ProductCreateInput, ProductCreated, ProductPatchInput, ProductRecalculationInput, ProductRecalculationJob, ProductRecalculationJobStatus, ProductRecalculationResult, ProductTemplate, ProductTemplateCreateInput, ProductTemplateCreated, ProductTemplateUpdateInput, ProductUpdateInput, ProductWriteOptions } from './product.cjs';
|
|
7
7
|
import { CategoryService } from './category.cjs';
|
|
8
|
-
export { Category, CategoryNode } from './category.cjs';
|
|
8
|
+
export { Category, CategoryAssignment, CategoryAssignmentBulkInput, CategoryAssignmentBulkResult, CategoryAssignmentCreated, CategoryAssignmentInput, CategoryAssignmentRefBulkInput, CategoryCreateInput, CategoryCreated, CategoryNode, CategoryPatchInput, CategoryTreeSearchInput, CategoryUpdateInput } from './category.cjs';
|
|
9
9
|
import { CartService } from './cart.cjs';
|
|
10
|
-
export { Cart, CartAddress, CartCreated, CartItem, CartItemInput, CartItemUpdate, CartItemsBatchUpdateInput, CartItemsBatchUpdateResult, CartValidationResult, CreateCartInput } from './cart.cjs';
|
|
10
|
+
export { Cart, CartAddress, CartCreated, CartDeliveryRestrictions, CartDiscount, CartItem, CartItemInput, CartItemUpdate, CartItemsBatchUpdateInput, CartItemsBatchUpdateResult, CartSearchInput, CartSummary, CartUpdateInput, CartValidationResult, CreateCartInput } from './cart.cjs';
|
|
11
11
|
import { CheckoutService } from './checkout.cjs';
|
|
12
12
|
export { CheckoutInput, CheckoutOptions, CheckoutResult, QuoteCheckoutInput } from './checkout.cjs';
|
|
13
13
|
import { PaymentGatewayService } from './payment.cjs';
|
|
14
|
-
export { AuthorizePaymentInput, AuthorizePaymentResult, InitializePaymentInput, InitializePaymentResult, PaymentMode } from './payment.cjs';
|
|
14
|
+
export { AuthorizePaymentInput, AuthorizePaymentResult, InitializePaymentInput, InitializePaymentResult, PaymentActionResult, PaymentAuthorizeResult, PaymentCaptureInput, PaymentCaptureResult, PaymentMode, PaymentModeConfig, PaymentModeCreateInput, PaymentModeUpdateInput, PaymentRefundInput, PaymentTransaction } from './payment.cjs';
|
|
15
15
|
import { PriceService } from './price.cjs';
|
|
16
|
-
export { MatchByContextChunkedOptions, PriceMatch, PriceMatchByContextInput, PriceMatchInput, PriceMatchItemRef } from './price.cjs';
|
|
16
|
+
export { MatchByContextChunkedOptions, Price, PriceBulkResult, PriceCreateInput, PriceList, PriceListInput, PriceListPrice, PriceListPriceInput, PriceListPriceUpdateInput, PriceListUpdateInput, PriceMatch, PriceMatchByContextInput, PriceMatchInput, PriceMatchItemRef, PriceModel, PriceModelInput } from './price.cjs';
|
|
17
17
|
import { MediaService } from './media.cjs';
|
|
18
18
|
export { Asset, AssetCreateBlobInput, AssetCreateLinkInput, AssetRefId, AssetUpdateBlobInput, AssetUpdateInput, AssetUpdateLinkInput, DownloadResult, ListAssetsQuery } from './media.cjs';
|
|
19
19
|
import { SegmentService } from './segment.cjs';
|
|
20
|
-
export { Segment, SegmentCategoryTree, SegmentCategoryTreeNode, SegmentItem, SegmentServiceDeps } from './segment.cjs';
|
|
20
|
+
export { Segment, SegmentAssignmentBulkResult, SegmentBulkItem, SegmentBulkResult, SegmentCategoryTree, SegmentCategoryTreeNode, SegmentCustomer, SegmentCustomerBulkInput, SegmentCustomerInput, SegmentInput, SegmentItem, SegmentItemBulkInput, SegmentItemInput, SegmentMatchInput, SegmentPatchInput, SegmentSearchQuery, SegmentServiceDeps, SegmentUpdateInput } from './segment.cjs';
|
|
21
21
|
import { CompaniesService } from './companies.cjs';
|
|
22
22
|
import { ContactsService } from './contacts.cjs';
|
|
23
23
|
import { LocationsService } from './locations.cjs';
|
|
24
|
-
import { CustomerGroupsService } from './customer-groups.cjs';
|
|
25
|
-
export { IamGroup, IamGroupMemberAssignment } from './customer-groups.cjs';
|
|
24
|
+
import { m as UserResponse, U as UserCreateRequest, l as UserIdResponse, k as UserExtendedResponse, o as UserUpdateRequest, j as GroupsQueryDocument, n as UserScopesResponse, a as AccessControlQueryDocument, G as GroupCreateRequest, h as GroupIdResponse, i as GroupUpdateRequest, c as AssignmentCreateRequest, d as AssignmentIdResponse, b as AccessControlUpsertRequest, A as AccessControlIdResponse, e as CustomScopeQueryDocument, f as CustomScopeUpsertRequest, C as CustomScopeIdResponse, g as CustomerGroupsService } from './customer-groups-BxSNFHq1.cjs';
|
|
26
25
|
import { OrdersService, SalesOrdersService } from './orders.cjs';
|
|
27
|
-
export { GetOrderOptions, ListMyOrdersOptions, Order, OrderEntry, OrderStatus, OrderTransitionOptions, SalesOrder, SalesOrderPatch, Transition, UpdateSalesOrderOptions } from './orders.cjs';
|
|
26
|
+
export { GetOrderOptions, ListLegalEntityOrdersOptions, ListMyOrdersOptions, ListSalesOrdersOptions, Order, OrderEntry, OrderStatus, OrderTransitionOptions, SalesOrder, SalesOrderCalculationInput, SalesOrderCreateInput, SalesOrderCreated, SalesOrderEntriesInput, SalesOrderHistoricalTransitions, SalesOrderPatch, SalesOrderReplaceInput, SalesOrderSearchInput, SalesOrderSplitInput, SalesOrderSplitResult, Transition, UpdateSalesOrderOptions } from './orders.cjs';
|
|
28
27
|
import { AvailabilityService } from './availability.cjs';
|
|
29
|
-
export { Availability, AvailabilityOptions } from './availability.cjs';
|
|
28
|
+
export { Availability, AvailabilityBulkDeleteInput, AvailabilityBulkInput, AvailabilityBulkResult, AvailabilityCreated, AvailabilityInput, AvailabilityOptions } from './availability.cjs';
|
|
30
29
|
import { a as QueryFor } from './query-mLQs2WFr.cjs';
|
|
31
30
|
export { B as BuiltQuery, Q as QueryCapability, r as resolveQuery } from './query-mLQs2WFr.cjs';
|
|
32
31
|
export { A as AccountLimit, C as ContactAssignment, a as ContactAssignmentCreate, b as ContactAssignmentUpdate, c as ContactDetails, d as CustomerGroup, L as LegalEntity, e as LegalEntityCreate, f as LegalEntityUpdate, g as LegalInfo, h as Location, i as LocationCreate, j as LocationUpdate } from './types.gen-C_wOXYZB.cjs';
|
|
@@ -228,6 +227,24 @@ type ServiceSettingsDto = {
|
|
|
228
227
|
[key: string]: unknown;
|
|
229
228
|
};
|
|
230
229
|
};
|
|
230
|
+
type ResourceLocation$2 = {
|
|
231
|
+
/**
|
|
232
|
+
* Resource identifier.
|
|
233
|
+
*/
|
|
234
|
+
id?: string;
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* Represents a single mixin. The payload is represented as a map with a single key and value, where key represents a mixin group name and value represents a map with keys and values.
|
|
238
|
+
*/
|
|
239
|
+
type Mixin = {
|
|
240
|
+
[key: string]: unknown;
|
|
241
|
+
};
|
|
242
|
+
/**
|
|
243
|
+
* Represents mixins. The object is represented as a map with keys and values, where key represents a mixin group name and value represents a map with keys and values.
|
|
244
|
+
*/
|
|
245
|
+
type Mixins = {
|
|
246
|
+
[key: string]: unknown;
|
|
247
|
+
};
|
|
231
248
|
type AssistedBuying$1 = {
|
|
232
249
|
/**
|
|
233
250
|
* Storefront URL, where an employee should be redirected when the assisted buying mechanism is used.
|
|
@@ -248,6 +265,23 @@ type Site$1 = Omit<SiteDto, "active" | "default"> & {
|
|
|
248
265
|
active: boolean;
|
|
249
266
|
default: boolean;
|
|
250
267
|
};
|
|
268
|
+
/**
|
|
269
|
+
* Body for creating or updating a site. This is the raw generated `SiteDto`
|
|
270
|
+
* (with `active`/`default` optional) — unlike the read-side {@link Site},
|
|
271
|
+
* which re-tightens both to required.
|
|
272
|
+
*/
|
|
273
|
+
type SiteInput = SiteDto;
|
|
274
|
+
/** Id/location envelope returned when a site is created. */
|
|
275
|
+
type SiteCreated = ResourceLocation$2;
|
|
276
|
+
/**
|
|
277
|
+
* A single site mixin group's content. The spec defines no structure — it is an
|
|
278
|
+
* open map of keys to values.
|
|
279
|
+
*/
|
|
280
|
+
type SiteMixin = Mixin;
|
|
281
|
+
/** All mixin groups of a site, as a map of group name to content. */
|
|
282
|
+
type SiteMixins = Mixins;
|
|
283
|
+
/** Id/location envelope returned when a site mixin is created. */
|
|
284
|
+
type SiteMixinCreated = ResourceLocation$2;
|
|
251
285
|
|
|
252
286
|
/**
|
|
253
287
|
* Read-only access to the tenant's site catalog. List returns active sites
|
|
@@ -267,6 +301,48 @@ declare class SiteService {
|
|
|
267
301
|
* Throws if no default is configured — a tenant should always have one.
|
|
268
302
|
*/
|
|
269
303
|
current(authCtx?: AuthContext): Promise<Site$1>;
|
|
304
|
+
/** Lists just the tenant's site codes (`GET /siteslist`). Default auth: anonymous. */
|
|
305
|
+
listCodes(authCtx?: AuthContext): Promise<string[]>;
|
|
306
|
+
/** Creates a site (`POST /sites`). Default auth: service. */
|
|
307
|
+
create(input: SiteInput, authCtx?: AuthContext): Promise<SiteCreated>;
|
|
308
|
+
/**
|
|
309
|
+
* Partially updates a site (`PATCH /sites/{siteCode}`). The endpoint responds
|
|
310
|
+
* 200 without a defined body, so nothing is returned — re-read with
|
|
311
|
+
* {@link get} when the updated site is needed. Default auth: service.
|
|
312
|
+
*/
|
|
313
|
+
update(siteCode: string, input: SiteInput, authCtx?: AuthContext): Promise<void>;
|
|
314
|
+
/**
|
|
315
|
+
* Full-replaces a site (`PUT /sites/{siteCode}`). Like {@link update} it
|
|
316
|
+
* returns nothing (200 with no defined body). `options.expand` is forwarded as
|
|
317
|
+
* a query parameter. Default auth: service.
|
|
318
|
+
*/
|
|
319
|
+
replace(siteCode: string, input: SiteInput, options?: {
|
|
320
|
+
expand?: string;
|
|
321
|
+
}, authCtx?: AuthContext): Promise<void>;
|
|
322
|
+
/** Deletes a site (`DELETE /sites/{siteCode}`). Default auth: service. */
|
|
323
|
+
delete(siteCode: string, authCtx?: AuthContext): Promise<void>;
|
|
324
|
+
/**
|
|
325
|
+
* Site mixins (`/sites/{siteCode}/mixins`). Mixin content is an open map —
|
|
326
|
+
* the spec defines no structure. Reads default to anonymous, writes to
|
|
327
|
+
* service auth.
|
|
328
|
+
*/
|
|
329
|
+
readonly mixins: {
|
|
330
|
+
/** All mixin groups of a site, as a map of group name to content. */
|
|
331
|
+
list: (siteCode: string, authCtx?: AuthContext) => Promise<SiteMixins>;
|
|
332
|
+
/** One mixin group's content by name. */
|
|
333
|
+
get: (siteCode: string, mixinName: string, authCtx?: AuthContext) => Promise<SiteMixin>;
|
|
334
|
+
/** Adds a mixin to a site. Default auth: service. */
|
|
335
|
+
create: (siteCode: string, input: SiteMixin, authCtx?: AuthContext) => Promise<SiteMixinCreated>;
|
|
336
|
+
/**
|
|
337
|
+
* Partially updates a mixin (PATCH). Responds 200 without a defined body,
|
|
338
|
+
* so nothing is returned. Default auth: service.
|
|
339
|
+
*/
|
|
340
|
+
update: (siteCode: string, mixinName: string, input: SiteMixin, authCtx?: AuthContext) => Promise<void>;
|
|
341
|
+
/** Full-replaces a mixin (PUT). Returns nothing, like {@link update}. Default auth: service. */
|
|
342
|
+
replace: (siteCode: string, mixinName: string, input: SiteMixin, authCtx?: AuthContext) => Promise<void>;
|
|
343
|
+
/** Removes a mixin from a site. Default auth: service. */
|
|
344
|
+
delete: (siteCode: string, mixinName: string, authCtx?: AuthContext) => Promise<void>;
|
|
345
|
+
};
|
|
270
346
|
}
|
|
271
347
|
|
|
272
348
|
/**
|
|
@@ -424,6 +500,79 @@ declare class SessionContextService {
|
|
|
424
500
|
removeAttribute(name: string, authCtx?: AuthContext): Promise<void>;
|
|
425
501
|
}
|
|
426
502
|
|
|
503
|
+
/** A user as returned by IAM (list item / summary). */
|
|
504
|
+
type IamUser = UserResponse;
|
|
505
|
+
/** A user with its group memberships (single-user GET). */
|
|
506
|
+
type IamUserDetail = UserExtendedResponse;
|
|
507
|
+
type IamUserCreate = UserCreateRequest;
|
|
508
|
+
type IamUserUpdate = UserUpdateRequest;
|
|
509
|
+
type IamUserScopes = UserScopesResponse;
|
|
510
|
+
type IamUserCreated = UserIdResponse;
|
|
511
|
+
/** A user group. */
|
|
512
|
+
type IamGroup = GroupsQueryDocument;
|
|
513
|
+
type IamGroupCreate = GroupCreateRequest;
|
|
514
|
+
type IamGroupUpdate = GroupUpdateRequest;
|
|
515
|
+
type IamGroupCreated = GroupIdResponse;
|
|
516
|
+
/** Body to add/assign a user to a group. */
|
|
517
|
+
type IamGroupMemberInput = AssignmentCreateRequest;
|
|
518
|
+
type IamGroupMemberCreated = AssignmentIdResponse;
|
|
519
|
+
type IamAccessControl = AccessControlQueryDocument;
|
|
520
|
+
type IamAccessControlUpsert = AccessControlUpsertRequest;
|
|
521
|
+
type IamAccessControlCreated = AccessControlIdResponse;
|
|
522
|
+
type IamScope = CustomScopeQueryDocument;
|
|
523
|
+
type IamScopeUpsert = CustomScopeUpsertRequest;
|
|
524
|
+
type IamScopeCreated = CustomScopeIdResponse;
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* IAM admin CRUD: users, user-groups, access-controls, scopes. Every method
|
|
528
|
+
* requires an explicit `auth` (admin/service token; `getMe*` take the caller's
|
|
529
|
+
* customer token). The deprecated legacy-RBAC model (roles/permissions/
|
|
530
|
+
* resources/templates) is intentionally not wrapped.
|
|
531
|
+
*/
|
|
532
|
+
declare class IamService {
|
|
533
|
+
private readonly ctx;
|
|
534
|
+
static readonly channel: "iam";
|
|
535
|
+
constructor(ctx: ClientContext);
|
|
536
|
+
private base;
|
|
537
|
+
readonly users: {
|
|
538
|
+
list: (auth: AuthContext, query?: Record<string, string | number>) => Promise<IamUser[]>;
|
|
539
|
+
create: (input: IamUserCreate, auth: AuthContext) => Promise<IamUserCreated>;
|
|
540
|
+
get: (userId: string, auth: AuthContext) => Promise<IamUserDetail>;
|
|
541
|
+
getMe: (auth: AuthContext) => Promise<IamUserDetail>;
|
|
542
|
+
update: (userId: string, input: IamUserUpdate, auth: AuthContext) => Promise<void>;
|
|
543
|
+
delete: (userId: string, auth: AuthContext) => Promise<void>;
|
|
544
|
+
getGroups: (userId: string, auth: AuthContext) => Promise<IamGroup[]>;
|
|
545
|
+
getScopes: (userId: string, auth: AuthContext) => Promise<IamUserScopes>;
|
|
546
|
+
getMyScopes: (auth: AuthContext) => Promise<IamUserScopes>;
|
|
547
|
+
getAccessControls: (userId: string, auth: AuthContext) => Promise<IamAccessControl[]>;
|
|
548
|
+
getMyAccessControls: (auth: AuthContext) => Promise<IamAccessControl[]>;
|
|
549
|
+
};
|
|
550
|
+
readonly groups: {
|
|
551
|
+
list: (auth: AuthContext, query?: Record<string, string | number>) => Promise<IamGroup[]>;
|
|
552
|
+
create: (input: IamGroupCreate, auth: AuthContext) => Promise<IamGroupCreated>;
|
|
553
|
+
get: (groupId: string, auth: AuthContext) => Promise<IamGroup>;
|
|
554
|
+
update: (groupId: string, input: IamGroupUpdate, auth: AuthContext) => Promise<void>;
|
|
555
|
+
delete: (groupId: string, auth: AuthContext) => Promise<void>;
|
|
556
|
+
listUsers: (groupId: string, auth: AuthContext) => Promise<IamUser[]>;
|
|
557
|
+
addUser: (groupId: string, input: IamGroupMemberInput, auth: AuthContext) => Promise<IamGroupMemberCreated>;
|
|
558
|
+
updateUser: (groupId: string, userType: string, userId: string, input: IamGroupMemberInput, auth: AuthContext) => Promise<IamGroupMemberCreated>;
|
|
559
|
+
removeAllUsers: (groupId: string, auth: AuthContext) => Promise<void>;
|
|
560
|
+
listAccessControls: (groupId: string, auth: AuthContext) => Promise<IamAccessControl[]>;
|
|
561
|
+
};
|
|
562
|
+
readonly accessControls: {
|
|
563
|
+
list: (auth: AuthContext) => Promise<IamAccessControl[]>;
|
|
564
|
+
get: (id: string, auth: AuthContext) => Promise<IamAccessControl>;
|
|
565
|
+
upsert: (id: string, input: IamAccessControlUpsert, auth: AuthContext) => Promise<IamAccessControlCreated>;
|
|
566
|
+
delete: (id: string, auth: AuthContext) => Promise<void>;
|
|
567
|
+
};
|
|
568
|
+
readonly scopes: {
|
|
569
|
+
list: (auth: AuthContext) => Promise<IamScope[]>;
|
|
570
|
+
get: (scopeId: string, auth: AuthContext) => Promise<IamScope>;
|
|
571
|
+
upsertCustom: (scopeId: string, input: IamScopeUpsert, auth: AuthContext) => Promise<IamScopeCreated>;
|
|
572
|
+
deleteCustom: (scopeId: string, auth: AuthContext) => Promise<void>;
|
|
573
|
+
};
|
|
574
|
+
}
|
|
575
|
+
|
|
427
576
|
type BaseConfiguration = {
|
|
428
577
|
/**
|
|
429
578
|
* Configuration key.
|
|
@@ -516,6 +665,12 @@ declare class TenantConfigService {
|
|
|
516
665
|
update<T = unknown>(key: string, draft: ConfigurationDraft<T>, auth?: AuthContext): Promise<Configuration$1<T>>;
|
|
517
666
|
/** Delete one tenant configuration by key. */
|
|
518
667
|
delete(key: string, auth?: AuthContext): Promise<void>;
|
|
668
|
+
/**
|
|
669
|
+
* List the platform-wide global configurations
|
|
670
|
+
* (`GET /global-configurations`) — a separate resource from the tenant's own
|
|
671
|
+
* `/configurations`.
|
|
672
|
+
*/
|
|
673
|
+
listGlobal<T = unknown>(auth?: AuthContext): Promise<Configuration$1<T>[]>;
|
|
519
674
|
}
|
|
520
675
|
|
|
521
676
|
/**
|
|
@@ -540,6 +695,12 @@ declare class ClientConfigService {
|
|
|
540
695
|
update<T = unknown>(client: string, key: string, draft: ConfigurationDraft<T>, auth?: AuthContext): Promise<ClientConfiguration<T>>;
|
|
541
696
|
/** Delete one client configuration by key. */
|
|
542
697
|
delete(client: string, key: string, auth?: AuthContext): Promise<void>;
|
|
698
|
+
/**
|
|
699
|
+
* List the client ids that have configurations (`GET /clients`). Note this
|
|
700
|
+
* targets `/configuration/{tenant}/clients` directly — the private `base`
|
|
701
|
+
* helper appends `/configurations` for a specific client.
|
|
702
|
+
*/
|
|
703
|
+
listClients(auth?: AuthContext): Promise<string[]>;
|
|
543
704
|
}
|
|
544
705
|
|
|
545
706
|
/** A single shopping-list line item. */
|
|
@@ -965,6 +1126,31 @@ interface ItemFeeSearch {
|
|
|
965
1126
|
itemYrns: string[];
|
|
966
1127
|
siteCode: string;
|
|
967
1128
|
}
|
|
1129
|
+
/**
|
|
1130
|
+
* Body of `POST /itemFees/searchByProductId` — one product, several sites.
|
|
1131
|
+
*
|
|
1132
|
+
* **Note:** this and {@link ItemFeeSearchByProductIds} are asymmetric in the
|
|
1133
|
+
* upstream spec (singular here takes `siteCodes: string[]`, plural takes a
|
|
1134
|
+
* single `siteCode` and a comma-joined `productIds` **string**). The SDK mirrors
|
|
1135
|
+
* the schema verbatim rather than normalizing it.
|
|
1136
|
+
*/
|
|
1137
|
+
interface ItemFeeSearchByProductId {
|
|
1138
|
+
productId: string;
|
|
1139
|
+
siteCodes: string[];
|
|
1140
|
+
pageNumber?: number;
|
|
1141
|
+
pageSize?: number;
|
|
1142
|
+
}
|
|
1143
|
+
/**
|
|
1144
|
+
* Body of `POST /itemFees/searchByProductIds` — several products, one site.
|
|
1145
|
+
* `productIds` is a **single string** (comma-separated), not an array — see the
|
|
1146
|
+
* note on {@link ItemFeeSearchByProductId}.
|
|
1147
|
+
*/
|
|
1148
|
+
interface ItemFeeSearchByProductIds {
|
|
1149
|
+
productIds: string;
|
|
1150
|
+
siteCode: string;
|
|
1151
|
+
pageNumber?: number;
|
|
1152
|
+
pageSize?: number;
|
|
1153
|
+
}
|
|
968
1154
|
/**
|
|
969
1155
|
* Query for the paginated `GET /fees` list. Explicit fields are typed for
|
|
970
1156
|
* autocomplete; the index signature stays open so Emporix `q`-syntax filters
|
|
@@ -1046,6 +1232,23 @@ declare class FeeService {
|
|
|
1046
1232
|
setProductFees(productId: string, feeIds: string[], opts?: SetItemFeesOptions, auth?: AuthContext): Promise<ItemFee>;
|
|
1047
1233
|
/** Delete all fee mappings for a product id. */
|
|
1048
1234
|
deleteProductFees(productId: string, auth?: AuthContext): Promise<void>;
|
|
1235
|
+
/**
|
|
1236
|
+
* Removes **one** fee from a product
|
|
1237
|
+
* (`DELETE /productFees/{productId}/fees/{feeId}`). Use
|
|
1238
|
+
* {@link deleteProductFees} to clear every fee of a product.
|
|
1239
|
+
*/
|
|
1240
|
+
deleteProductFee(productId: string, feeId: string, auth?: AuthContext): Promise<void>;
|
|
1241
|
+
/**
|
|
1242
|
+
* Finds item fees for one product across several sites
|
|
1243
|
+
* (`POST /itemFees/searchByProductId`).
|
|
1244
|
+
*/
|
|
1245
|
+
searchItemFeesByProductId(search: ItemFeeSearchByProductId, auth?: AuthContext): Promise<ItemFee[]>;
|
|
1246
|
+
/**
|
|
1247
|
+
* Finds item fees for several products on one site
|
|
1248
|
+
* (`POST /itemFees/searchByProductIds`). Note the upstream asymmetry:
|
|
1249
|
+
* `productIds` is a comma-separated **string** and `siteCode` is singular.
|
|
1250
|
+
*/
|
|
1251
|
+
searchItemFeesByProductIds(search: ItemFeeSearchByProductIds, auth?: AuthContext): Promise<ItemFee[]>;
|
|
1049
1252
|
}
|
|
1050
1253
|
|
|
1051
1254
|
/** Options for {@link CloudFunctionsService.invoke}. */
|
|
@@ -1423,6 +1626,31 @@ declare class WebhookService {
|
|
|
1423
1626
|
getDashboardAccess(auth?: AuthContext): Promise<WebhookDashboardAccess>;
|
|
1424
1627
|
}
|
|
1425
1628
|
|
|
1629
|
+
type ExportImportRequest = {
|
|
1630
|
+
/**
|
|
1631
|
+
* Base64 representation of custom entities with corresponding schemas.
|
|
1632
|
+
*/
|
|
1633
|
+
data: string;
|
|
1634
|
+
};
|
|
1635
|
+
type ExportImportResponse = ExportImportRequest & {
|
|
1636
|
+
/**
|
|
1637
|
+
* Date and time when the object was created, compliant with the ISO 8601 standard. For example: `2022-03-31T09:52:15.423Z`
|
|
1638
|
+
*/
|
|
1639
|
+
exportedAt?: string;
|
|
1640
|
+
/**
|
|
1641
|
+
* Base64 representation of custom entities with corresponding schemas.
|
|
1642
|
+
*/
|
|
1643
|
+
data: string;
|
|
1644
|
+
};
|
|
1645
|
+
/**
|
|
1646
|
+
* Id of the created schema.
|
|
1647
|
+
*/
|
|
1648
|
+
type IdResponse$1 = {
|
|
1649
|
+
/**
|
|
1650
|
+
* ID of the generated document.
|
|
1651
|
+
*/
|
|
1652
|
+
id?: string;
|
|
1653
|
+
};
|
|
1426
1654
|
/**
|
|
1427
1655
|
* Type which the schema should be assigned to. Can be one of the predefined values or any custom schema type id.
|
|
1428
1656
|
*/
|
|
@@ -1509,6 +1737,27 @@ type SchemaAttribute$1 = {
|
|
|
1509
1737
|
localized?: Localized;
|
|
1510
1738
|
};
|
|
1511
1739
|
};
|
|
1740
|
+
type AbstractSchemaRequest = {
|
|
1741
|
+
/**
|
|
1742
|
+
* Localized schema name in a form of a map of translations.
|
|
1743
|
+
*/
|
|
1744
|
+
name: {
|
|
1745
|
+
[key: string]: unknown;
|
|
1746
|
+
};
|
|
1747
|
+
/**
|
|
1748
|
+
* List of types which schema should be assigned to.
|
|
1749
|
+
*/
|
|
1750
|
+
types: Array<SchemaType>;
|
|
1751
|
+
};
|
|
1752
|
+
type ReferenceCreation = AbstractSchemaRequest & {
|
|
1753
|
+
/**
|
|
1754
|
+
* Identifier of the schema.
|
|
1755
|
+
*/
|
|
1756
|
+
id?: string;
|
|
1757
|
+
};
|
|
1758
|
+
type ReferenceUpdate = AbstractSchemaRequest & {
|
|
1759
|
+
metadata?: SchemaMetadataUpdate;
|
|
1760
|
+
};
|
|
1512
1761
|
type SchemaMetadataUpdate = {
|
|
1513
1762
|
/**
|
|
1514
1763
|
* Version of the object. The value is required during update operation.
|
|
@@ -1552,6 +1801,7 @@ type SchemaResponse = AbstractSchemaResponse & {
|
|
|
1552
1801
|
*/
|
|
1553
1802
|
attributes?: Array<SchemaAttribute$1>;
|
|
1554
1803
|
};
|
|
1804
|
+
type ReferenceResponse = AbstractSchemaResponse;
|
|
1555
1805
|
type CustomSchemaTypeResponse = {
|
|
1556
1806
|
/**
|
|
1557
1807
|
* Unique id of the custom schema type.
|
|
@@ -1581,6 +1831,56 @@ type CustomSchemaTypeResponse = {
|
|
|
1581
1831
|
version?: number;
|
|
1582
1832
|
};
|
|
1583
1833
|
};
|
|
1834
|
+
type CustomInstanceCreation = {
|
|
1835
|
+
/**
|
|
1836
|
+
* Id of the custom instance.
|
|
1837
|
+
*/
|
|
1838
|
+
id?: string;
|
|
1839
|
+
/**
|
|
1840
|
+
* Localized custom type name in a form of a map of translations.
|
|
1841
|
+
*/
|
|
1842
|
+
name?: {
|
|
1843
|
+
[key: string]: unknown;
|
|
1844
|
+
};
|
|
1845
|
+
owner?: CustomInstanceOwnerRequest;
|
|
1846
|
+
/**
|
|
1847
|
+
* A key-value map of additional attributes.
|
|
1848
|
+
*/
|
|
1849
|
+
mixins?: string;
|
|
1850
|
+
metadata?: {
|
|
1851
|
+
/**
|
|
1852
|
+
* A key-value map, where key is a mixin name and value is a link to the mixin schema.
|
|
1853
|
+
*/
|
|
1854
|
+
mixins?: {
|
|
1855
|
+
[key: string]: unknown;
|
|
1856
|
+
};
|
|
1857
|
+
};
|
|
1858
|
+
};
|
|
1859
|
+
type CustomInstanceUpdate = {
|
|
1860
|
+
/**
|
|
1861
|
+
* Localized custom type name in a form of a map of translations.
|
|
1862
|
+
*/
|
|
1863
|
+
name?: {
|
|
1864
|
+
[key: string]: unknown;
|
|
1865
|
+
};
|
|
1866
|
+
owner?: CustomInstanceOwnerRequest;
|
|
1867
|
+
/**
|
|
1868
|
+
* A key-value map of additional attributes.
|
|
1869
|
+
*/
|
|
1870
|
+
mixins?: string;
|
|
1871
|
+
metadata?: {
|
|
1872
|
+
/**
|
|
1873
|
+
* Version of the custom instance. If provided, it will be validated against the current entity version.
|
|
1874
|
+
*/
|
|
1875
|
+
version?: number;
|
|
1876
|
+
/**
|
|
1877
|
+
* A key-value map, where key is a mixin name and value is a link to the mixin schema.
|
|
1878
|
+
*/
|
|
1879
|
+
mixins?: {
|
|
1880
|
+
[key: string]: unknown;
|
|
1881
|
+
};
|
|
1882
|
+
};
|
|
1883
|
+
};
|
|
1584
1884
|
/**
|
|
1585
1885
|
* Ownership of the custom instance. It can be assigned explicitly during creation by users with a `manage` scope, or populated automatically based on who created the custom instance. Once set, the owner is immutable and cannot be modified.
|
|
1586
1886
|
*
|
|
@@ -1601,6 +1901,26 @@ type CustomInstanceOwner = {
|
|
|
1601
1901
|
*/
|
|
1602
1902
|
legalEntityId?: string | null;
|
|
1603
1903
|
};
|
|
1904
|
+
/**
|
|
1905
|
+
* Ownership of the custom instance that can be provided when creating a custom instance.
|
|
1906
|
+
* The `owner` field can be set explicitly only by users with a `manage` scope, when the request is authorized with a `manage_own` scope, this field is ignored and ownership is set automatically to the user who created the custom instance.
|
|
1907
|
+
* When the user has a `manage` scope but this field is not provided, ownership is set automatically to the user who created the custom instance.
|
|
1908
|
+
*
|
|
1909
|
+
*/
|
|
1910
|
+
type CustomInstanceOwnerRequest = {
|
|
1911
|
+
/**
|
|
1912
|
+
* Type of the owner.
|
|
1913
|
+
*/
|
|
1914
|
+
type: 'EMPLOYEE' | 'CUSTOMER';
|
|
1915
|
+
/**
|
|
1916
|
+
* Identifier of the employee or customer associated with the owner.
|
|
1917
|
+
*/
|
|
1918
|
+
userId: string;
|
|
1919
|
+
/**
|
|
1920
|
+
* Legal entity identifier. Can be provided only when `type` is `CUSTOMER`.
|
|
1921
|
+
*/
|
|
1922
|
+
legalEntityId?: string;
|
|
1923
|
+
};
|
|
1604
1924
|
type CustomInstanceResponse = {
|
|
1605
1925
|
/**
|
|
1606
1926
|
* Unique identifier of the custom instance.
|
|
@@ -1779,6 +2099,34 @@ interface ListCustomEntitiesOptions {
|
|
|
1779
2099
|
}
|
|
1780
2100
|
/** Structured search filter body for {@link SchemaService.searchInstances}. */
|
|
1781
2101
|
type InstanceSearchBody = Record<string, unknown>;
|
|
2102
|
+
/** A reference entity (a schema attached to an uploaded JSON file). */
|
|
2103
|
+
type SchemaReference = ReferenceResponse;
|
|
2104
|
+
/** Metadata part for creating a reference. */
|
|
2105
|
+
type SchemaReferenceInput = ReferenceCreation;
|
|
2106
|
+
/** Metadata part for updating a reference. */
|
|
2107
|
+
type SchemaReferenceUpdateInput = ReferenceUpdate;
|
|
2108
|
+
/** Id envelope returned when a reference is created. */
|
|
2109
|
+
type SchemaReferenceCreated = IdResponse$1;
|
|
2110
|
+
/** One item for {@link SchemaService.bulkCreateInstances}. */
|
|
2111
|
+
type SchemaInstanceBulkCreateItem = CustomInstanceCreation;
|
|
2112
|
+
/** One item for {@link SchemaService.bulkUpsertInstances} — an update plus its id. */
|
|
2113
|
+
type SchemaInstanceBulkUpsertItem = {
|
|
2114
|
+
id: string;
|
|
2115
|
+
} & CustomInstanceUpdate;
|
|
2116
|
+
/** Result of a custom-entity export — base64 `data` plus `exportedAt`. */
|
|
2117
|
+
type SchemaExport = ExportImportResponse;
|
|
2118
|
+
/** Body for a custom-entity import — the base64 `data` produced by an export. */
|
|
2119
|
+
type SchemaImportInput = ExportImportRequest;
|
|
2120
|
+
/** Filter / pagination options for `schema.references.list`. */
|
|
2121
|
+
interface ListSchemaReferencesQuery {
|
|
2122
|
+
pageNumber?: number;
|
|
2123
|
+
pageSize?: number;
|
|
2124
|
+
sort?: string;
|
|
2125
|
+
q?: string;
|
|
2126
|
+
fields?: string;
|
|
2127
|
+
/** Restrict to references attached to this entity type (e.g. `PRODUCT`). */
|
|
2128
|
+
type?: string;
|
|
2129
|
+
}
|
|
1782
2130
|
|
|
1783
2131
|
/**
|
|
1784
2132
|
* Schema Service (`/schema/{tenant}/…`): schemas, entity types, custom
|
|
@@ -1793,6 +2141,7 @@ declare class SchemaService {
|
|
|
1793
2141
|
private schemasBase;
|
|
1794
2142
|
private entitiesBase;
|
|
1795
2143
|
private instancesBase;
|
|
2144
|
+
private referencesBase;
|
|
1796
2145
|
/**
|
|
1797
2146
|
* List schemas, wrapped in the shared {@link PaginatedItems} envelope.
|
|
1798
2147
|
* `hasNextPage` is the standard SDK heuristic (`items.length === pageSize`).
|
|
@@ -1855,6 +2204,43 @@ declare class SchemaService {
|
|
|
1855
2204
|
* each item's `code`/`status`.
|
|
1856
2205
|
*/
|
|
1857
2206
|
bulkPatchInstances(type: string, items: BulkPatchInstanceItem[], auth?: AuthContext): Promise<BulkInstanceResult>;
|
|
2207
|
+
/**
|
|
2208
|
+
* Create multiple instances in one request
|
|
2209
|
+
* (`POST /custom-entities/{type}/instances/bulk`). Returns a 207 envelope:
|
|
2210
|
+
* a per-item result array — a 207 is success, individual failures live in
|
|
2211
|
+
* each item's `code`/`status`.
|
|
2212
|
+
*/
|
|
2213
|
+
bulkCreateInstances(type: string, items: SchemaInstanceBulkCreateItem[], auth?: AuthContext): Promise<BulkInstanceResult>;
|
|
2214
|
+
/**
|
|
2215
|
+
* Upsert multiple instances in one request
|
|
2216
|
+
* (`PUT /custom-entities/{type}/instances/bulk`). Each item carries its `id`.
|
|
2217
|
+
* Returns the same 207 per-item envelope as {@link bulkCreateInstances}.
|
|
2218
|
+
*/
|
|
2219
|
+
bulkUpsertInstances(type: string, items: SchemaInstanceBulkUpsertItem[], auth?: AuthContext): Promise<BulkInstanceResult>;
|
|
2220
|
+
/**
|
|
2221
|
+
* Delete multiple instances by id
|
|
2222
|
+
* (`DELETE /custom-entities/{type}/instances/bulk`). Returns the same 207
|
|
2223
|
+
* per-item envelope as {@link bulkCreateInstances}.
|
|
2224
|
+
*
|
|
2225
|
+
* **Note:** the OpenAPI schema declares no request body for this operation,
|
|
2226
|
+
* but its description mandates one — "The IDs of items should be defined in
|
|
2227
|
+
* the request body as an array of strings" (example
|
|
2228
|
+
* `["firstId", "secondId"]`). The SDK follows the description and sends the
|
|
2229
|
+
* id array. Unverified against the live API.
|
|
2230
|
+
*/
|
|
2231
|
+
bulkDeleteInstances(type: string, ids: string[], auth?: AuthContext): Promise<BulkInstanceResult>;
|
|
2232
|
+
/**
|
|
2233
|
+
* Export custom entities and their schemas
|
|
2234
|
+
* (`POST /custom-entities/export`). Pass the entity types to include; the
|
|
2235
|
+
* result carries a base64 `data` payload plus `exportedAt`.
|
|
2236
|
+
*/
|
|
2237
|
+
exportCustomEntities(types: string[], auth?: AuthContext): Promise<SchemaExport>;
|
|
2238
|
+
/**
|
|
2239
|
+
* Import custom entities and their schemas
|
|
2240
|
+
* (`POST /custom-entities/import`) from the base64 `data` produced by
|
|
2241
|
+
* {@link exportCustomEntities}.
|
|
2242
|
+
*/
|
|
2243
|
+
importCustomEntities(input: SchemaImportInput, auth?: AuthContext): Promise<void>;
|
|
1858
2244
|
/** Delete an instance by id. */
|
|
1859
2245
|
deleteInstance(type: string, id: string, auth?: AuthContext): Promise<void>;
|
|
1860
2246
|
/**
|
|
@@ -1862,6 +2248,41 @@ declare class SchemaService {
|
|
|
1862
2248
|
* (`POST /instances/search`), wrapped in {@link PaginatedItems}.
|
|
1863
2249
|
*/
|
|
1864
2250
|
searchInstances<T = Record<string, unknown>>(type: string, body: InstanceSearchBody, auth?: AuthContext): Promise<PaginatedItems<CustomInstance<T>>>;
|
|
2251
|
+
/**
|
|
2252
|
+
* Reference entities (`/references`) — a schema plus an uploaded JSON file.
|
|
2253
|
+
* Create/update are `multipart/form-data` (parts `file` and `body`), like
|
|
2254
|
+
* the media service's blob upload. Default auth: service.
|
|
2255
|
+
*/
|
|
2256
|
+
readonly references: {
|
|
2257
|
+
/**
|
|
2258
|
+
* List references, wrapped in {@link PaginatedItems}. Pagination defaults
|
|
2259
|
+
* match the rest of this service (`pageNumber: 1`, `pageSize: 60`).
|
|
2260
|
+
*/
|
|
2261
|
+
list: (query?: ListSchemaReferencesQuery, auth?: AuthContext) => Promise<PaginatedItems<SchemaReference>>;
|
|
2262
|
+
/** Retrieve one reference by id. */
|
|
2263
|
+
get: (id: string, auth?: AuthContext) => Promise<SchemaReference>;
|
|
2264
|
+
/**
|
|
2265
|
+
* Create a reference. `file` is the reference's JSON content — pass a
|
|
2266
|
+
* `Blob` to upload as-is, or a plain object to have it serialized into a
|
|
2267
|
+
* JSON blob. `body` carries the metadata.
|
|
2268
|
+
*/
|
|
2269
|
+
create: (input: {
|
|
2270
|
+
file: Blob | Record<string, unknown>;
|
|
2271
|
+
body: SchemaReferenceInput;
|
|
2272
|
+
}, auth?: AuthContext) => Promise<SchemaReferenceCreated>;
|
|
2273
|
+
/**
|
|
2274
|
+
* Update a reference (multipart, like {@link create}). `options.version`
|
|
2275
|
+
* enables optimistic locking — the server answers 409 on a stale version.
|
|
2276
|
+
*/
|
|
2277
|
+
update: (id: string, input: {
|
|
2278
|
+
file: Blob | Record<string, unknown>;
|
|
2279
|
+
body: SchemaReferenceUpdateInput;
|
|
2280
|
+
}, options?: {
|
|
2281
|
+
version?: number;
|
|
2282
|
+
}, auth?: AuthContext) => Promise<void>;
|
|
2283
|
+
/** Delete a reference by id. */
|
|
2284
|
+
delete: (id: string, auth?: AuthContext) => Promise<void>;
|
|
2285
|
+
};
|
|
1865
2286
|
}
|
|
1866
2287
|
|
|
1867
2288
|
type AgenticRequest = {
|
|
@@ -9570,6 +9991,7 @@ declare class EmporixClient {
|
|
|
9570
9991
|
readonly contacts: ContactsService;
|
|
9571
9992
|
readonly locations: LocationsService;
|
|
9572
9993
|
readonly customerGroups: CustomerGroupsService;
|
|
9994
|
+
readonly iam: IamService;
|
|
9573
9995
|
readonly orders: OrdersService;
|
|
9574
9996
|
readonly salesOrders: SalesOrdersService;
|
|
9575
9997
|
readonly availability: AvailabilityService;
|
|
@@ -9704,4 +10126,4 @@ declare function createEmporixClient<S extends Record<string, ServiceClass<unkno
|
|
|
9704
10126
|
*/
|
|
9705
10127
|
declare function productIdFromYrn(yrn: string | undefined): string;
|
|
9706
10128
|
|
|
9707
|
-
export { type AddedPoints, type AdminCustomer, type AdminCustomerAddress, type AdminCustomerAddressInput, type AdminCustomerAddressList, type AdminCustomerAddressUpdate, type AdminCustomerCreated, type AdminCustomerInput, type AdminCustomerList, type AdminCustomerPatch, type AdminCustomerSearchQuery, type AdminCustomerUpdate, type Agent, type AgentAnalytics, type AgentExecutions, type AgentFromTemplate, type AgentInput, type AgentPatchOp, type AgentRequestLog, type AgentSearchQuery, type AgentSessionLog, type AgentTemplate, type AgenticPatchOp, type AgentsExport, type AgentsExportRequest, type AgentsImport, type AgentsImportRequest, AiService, type AnalyticsQuery, type Approval, type ApprovalCreated, type ApprovalInput, type ApprovalList, type ApprovalPatch, type ApprovalPermittedInput, type ApprovalPermittedResult, ApprovalService, type ApprovalUsersQuery, type ApprovalUsersResult, type Assignee, type Attachment, type AttachmentOptions, AuthContext, AvailabilityService, type BatchNextIdEntry, type Brand, type BrandInput, type BrandList, BrandService, type BrandUpdate, type BulkInstanceResult, type BulkPatchInstanceItem, CartService, type Catalog, type CatalogCreated, type CatalogInput, type CatalogList, type CatalogPatch, CatalogService, type CatalogUpdate, CategoryService, type CgRelation, type CgRelationList, type ChatRequest, type ChatResponse, type ChatStreamOptions, CheckoutService, ClientConfigService, type ClientConfiguration, ClientContext, CloudFunctionsService, type CommerceEvents, CompaniesService, type CompletionMessage, type CompletionRequest, type CompletionResponse, type Configuration$1 as Configuration, type ConfigurationDraft, ContactsService, type Conversation, type ConversationSearchQuery, type ConversionFactorInput, type ConversionFactorResult, type ConvertUnitInput, type ConvertUnitResult, type Country, type CountryList, CountryService, type CountryUpdate, type Coupon$1 as Coupon, type CouponCreated, type CouponInput, type CouponList, CouponService, type CouponUpdate, type Created, type Currency, type CurrencyCreated, type CurrencyInput, type CurrencyList, CurrencyService, type CurrencyUpdate, type CustomEntity, type CustomEntityDraft, type CustomInstance, type CustomInstanceDraft, CustomerAdminService, CustomerGroupsService, CustomerService, type CustomerSummaryBatch, CustomerTokenRefresher, type DeleteAgentOptions, type DeleteConfigOptions, type DeliveryCreated, type DeliveryCycleInput, type DeliverySlot, type DeliverySlotList, type DeliveryTime$1 as DeliveryTime, type DeliveryTimeInput, type DeliveryTimeList, type DeliveryTimeUpdate, type DeliveryWindow$2 as DeliveryWindow, type DeliveryWindowList, type DeliveryWindowValidation, EmporixAuthError, EmporixClient, EmporixConfig, type EmporixCore, EmporixError, EmporixForbiddenError, EmporixInsufficientScopeError, EmporixNetworkError, EmporixNotFoundError, EmporixServerError, EmporixTimeoutError, EmporixValidationError, type ExchangeRate, type ExchangeRateCreated, type ExchangeRateInput, type ExchangeRateList, type ExchangeRateUpdate, type ExecutionsQuery, type Fee$1 as Fee, type FeeDraft, FeeService, type FindSiteInput, type GetOptions, type IndexConfig, type IndexConfigCreated, type IndexPublicConfig, IndexingService, type InstanceSearchBody, type InvoiceJob, type InvoiceJobCreated, type InvoiceJobDraft, InvoiceService, type InvokeCloudFunctionOptions, type ItemFee, type ItemFeeDraft, type ItemFeeSearch, type Job, type JobIdResponse, type Label, type LabelInput, type LabelList, LabelService, type LabelUpdate, type ListConfigOptions, type ListCustomEntitiesOptions, type ListFeesQuery, type ListInstancesQuery, type ListQuery, type ListQuoteReasonsQuery, type ListQuotesQuery, type ListReindexJobsOptions, type ListSchemasQuery, LocationsService, LogLevel, type McpServer, type McpServerInput, MediaService, type MetadataFilter, type MinimumFee, type MutateOptions, type NewPointsEntry, type NextIdCommandRequest, type NextIdOptions, type NextIdResponse, type NextIdsBatchRequest, type NextIdsBatchResponse, type OAuthConfig, type OAuthInput, type OrderCycleList, type OrderEntryEventCreate, type OrderStatusChange, OrdersService, type PackagingProductsChange, type PackingEvent, type PackingEventList, PaginatedItems, PaymentGatewayService, type PickOrder, type PickOrderList, type PickPackAck, PickPackService, type PointsSummary, PriceService, ProductService, type ProviderModels, QueryFor, type Quote, type QuoteCreated, type QuoteDraft, type QuoteHistory, type QuoteInput, type QuoteReason, type QuoteReasonCreated, type QuoteReasonDraft, type QuoteReasonUpdate, type QuoteResult, QuoteService, type QuoteSlotInput, type QuoteUpdate, RagIndexerService, type RagType, type RecalculationJob, type RecalculationJobCreated, type RecalculationJobInput, type RedeemCouponResult, type RedeemMyPointsInput, type RedeemOption, type RedeemOptionList, type RedeemedPoints, type Redemption, type RedemptionCreated, type RedemptionInput, type ReferralCoupon, type Region, type RegionList, type ReindexEntityType, type ReindexInput, type ReindexJob, type ReindexJobInput, type ReindexJobStatus, ResolvedConfig, type ResourceCreated, type Return, type ReturnCreated, type ReturnInput, type ReturnList, type ReturnPatch, type ReturnUpdate, ReturnsService, RewardPointsService, SalesOrdersService, type Schema, type SchemaAttribute, type SchemaDraft, SchemaService, type SchemaTypeName, type SchemaUpdate, type SearchQuery, SegmentService, SepaExportService, type SepaJob, type SepaJobCreated, type SepaJobInput, type SequenceSchema, type SequenceSchemaCreate, SequentialIdService, type ServiceClass, ServiceName, type SessionAttributeInput, type SessionContext, type SessionContextPatch, SessionContextService, type SetItemFeesOptions, type ShippingGroup, type ShippingGroupList, type ShippingMethod, type ShippingMethodList, type ShippingPatch, ShippingService, type ShoppingList, type ShoppingListDraft, type ShoppingListItem, ShoppingListService, type Site$1 as Site, type SiteList, SiteService, type TaxCalculationInput, type TaxCalculationRequest, type TaxCalculationResult, type TaxClass, type TaxConfig, type TaxConfigCreated, type TaxCreation as TaxConfigInput, type TaxUpdate as TaxConfigUpdate, type TaxLocation, TaxService, TenantConfigService, type TextRequest, type TextResponse, type Token, type TokenInput, TokenProvider, type Tool, type ToolInput, type Unit, type UnitCreated, UnitHandlingService, type UnitInput, type UnitUpdate, type Vendor, type VendorCreated, type VendorInput, type VendorList, type VendorLocation, type VendorLocationInput, type VendorLocationList, type VendorLocationUpdate, type VendorSearchQuery, VendorService, type VendorUpdate, type WebhookConfig, type WebhookConfigCreated, type WebhookConfigDraft, type WebhookConfigPatch, type WebhookDashboardAccess, WebhookService, type WebhookStatistics, type WebhookStatisticsQuery, type WebhookSubscription, type WebhookSubscriptionUpdateItem, type WebhookSubscriptionUpdateResultItem, type Zone, type ZoneList, createCore, createEmporixClient, errorFromResponse, productIdFromYrn };
|
|
10129
|
+
export { type AddedPoints, type AdminCustomer, type AdminCustomerAddress, type AdminCustomerAddressInput, type AdminCustomerAddressList, type AdminCustomerAddressUpdate, type AdminCustomerCreated, type AdminCustomerInput, type AdminCustomerList, type AdminCustomerPatch, type AdminCustomerSearchQuery, type AdminCustomerUpdate, type Agent, type AgentAnalytics, type AgentExecutions, type AgentFromTemplate, type AgentInput, type AgentPatchOp, type AgentRequestLog, type AgentSearchQuery, type AgentSessionLog, type AgentTemplate, type AgenticPatchOp, type AgentsExport, type AgentsExportRequest, type AgentsImport, type AgentsImportRequest, AiService, type AnalyticsQuery, type Approval, type ApprovalCreated, type ApprovalInput, type ApprovalList, type ApprovalPatch, type ApprovalPermittedInput, type ApprovalPermittedResult, ApprovalService, type ApprovalUsersQuery, type ApprovalUsersResult, type Assignee, type Attachment, type AttachmentOptions, AuthContext, AvailabilityService, type BatchNextIdEntry, type Brand, type BrandInput, type BrandList, BrandService, type BrandUpdate, type BulkInstanceResult, type BulkPatchInstanceItem, CartService, type Catalog, type CatalogCreated, type CatalogInput, type CatalogList, type CatalogPatch, CatalogService, type CatalogUpdate, CategoryService, type CgRelation, type CgRelationList, type ChatRequest, type ChatResponse, type ChatStreamOptions, CheckoutService, ClientConfigService, type ClientConfiguration, ClientContext, CloudFunctionsService, type CommerceEvents, CompaniesService, type CompletionMessage, type CompletionRequest, type CompletionResponse, type Configuration$1 as Configuration, type ConfigurationDraft, ContactsService, type Conversation, type ConversationSearchQuery, type ConversionFactorInput, type ConversionFactorResult, type ConvertUnitInput, type ConvertUnitResult, type Country, type CountryList, CountryService, type CountryUpdate, type Coupon$1 as Coupon, type CouponCreated, type CouponInput, type CouponList, CouponService, type CouponUpdate, type Created, type Currency, type CurrencyCreated, type CurrencyInput, type CurrencyList, CurrencyService, type CurrencyUpdate, type CustomEntity, type CustomEntityDraft, type CustomInstance, type CustomInstanceDraft, CustomerAdminService, CustomerGroupsService, CustomerService, type CustomerSummaryBatch, CustomerTokenRefresher, type DeleteAgentOptions, type DeleteConfigOptions, type DeliveryCreated, type DeliveryCycleInput, type DeliverySlot, type DeliverySlotList, type DeliveryTime$1 as DeliveryTime, type DeliveryTimeInput, type DeliveryTimeList, type DeliveryTimeUpdate, type DeliveryWindow$2 as DeliveryWindow, type DeliveryWindowList, type DeliveryWindowValidation, EmporixAuthError, EmporixClient, EmporixConfig, type EmporixCore, EmporixError, EmporixForbiddenError, EmporixInsufficientScopeError, EmporixNetworkError, EmporixNotFoundError, EmporixServerError, EmporixTimeoutError, EmporixValidationError, type ExchangeRate, type ExchangeRateCreated, type ExchangeRateInput, type ExchangeRateList, type ExchangeRateUpdate, type ExecutionsQuery, type Fee$1 as Fee, type FeeDraft, FeeService, type FindSiteInput, type GetOptions, type IamAccessControl, type IamAccessControlCreated, type IamAccessControlUpsert, type IamGroup, type IamGroupCreate, type IamGroupCreated, AssignmentCreateRequest as IamGroupMemberAssignment, type IamGroupMemberCreated, type IamGroupMemberInput, type IamGroupUpdate, type IamScope, type IamScopeCreated, type IamScopeUpsert, IamService, type IamUser, type IamUserCreate, type IamUserCreated, type IamUserDetail, type IamUserScopes, type IamUserUpdate, type IndexConfig, type IndexConfigCreated, type IndexPublicConfig, IndexingService, type InstanceSearchBody, type InvoiceJob, type InvoiceJobCreated, type InvoiceJobDraft, InvoiceService, type InvokeCloudFunctionOptions, type ItemFee, type ItemFeeDraft, type ItemFeeSearch, type ItemFeeSearchByProductId, type ItemFeeSearchByProductIds, type Job, type JobIdResponse, type Label, type LabelInput, type LabelList, LabelService, type LabelUpdate, type ListConfigOptions, type ListCustomEntitiesOptions, type ListFeesQuery, type ListInstancesQuery, type ListQuery, type ListQuoteReasonsQuery, type ListQuotesQuery, type ListReindexJobsOptions, type ListSchemaReferencesQuery, type ListSchemasQuery, LocationsService, LogLevel, type McpServer, type McpServerInput, MediaService, type MetadataFilter, type MinimumFee, type MutateOptions, type NewPointsEntry, type NextIdCommandRequest, type NextIdOptions, type NextIdResponse, type NextIdsBatchRequest, type NextIdsBatchResponse, type OAuthConfig, type OAuthInput, type OrderCycleList, type OrderEntryEventCreate, type OrderStatusChange, OrdersService, type PackagingProductsChange, type PackingEvent, type PackingEventList, PaginatedItems, PaymentGatewayService, type PickOrder, type PickOrderList, type PickPackAck, PickPackService, type PointsSummary, PriceService, ProductService, type ProviderModels, QueryFor, type Quote, type QuoteCreated, type QuoteDraft, type QuoteHistory, type QuoteInput, type QuoteReason, type QuoteReasonCreated, type QuoteReasonDraft, type QuoteReasonUpdate, type QuoteResult, QuoteService, type QuoteSlotInput, type QuoteUpdate, RagIndexerService, type RagType, type RecalculationJob, type RecalculationJobCreated, type RecalculationJobInput, type RedeemCouponResult, type RedeemMyPointsInput, type RedeemOption, type RedeemOptionList, type RedeemedPoints, type Redemption, type RedemptionCreated, type RedemptionInput, type ReferralCoupon, type Region, type RegionList, type ReindexEntityType, type ReindexInput, type ReindexJob, type ReindexJobInput, type ReindexJobStatus, ResolvedConfig, type ResourceCreated, type Return, type ReturnCreated, type ReturnInput, type ReturnList, type ReturnPatch, type ReturnUpdate, ReturnsService, RewardPointsService, SalesOrdersService, type Schema, type SchemaAttribute, type SchemaDraft, type SchemaExport, type SchemaImportInput, type SchemaInstanceBulkCreateItem, type SchemaInstanceBulkUpsertItem, type SchemaReference, type SchemaReferenceCreated, type SchemaReferenceInput, type SchemaReferenceUpdateInput, SchemaService, type SchemaTypeName, type SchemaUpdate, type SearchQuery, SegmentService, SepaExportService, type SepaJob, type SepaJobCreated, type SepaJobInput, type SequenceSchema, type SequenceSchemaCreate, SequentialIdService, type ServiceClass, ServiceName, type SessionAttributeInput, type SessionContext, type SessionContextPatch, SessionContextService, type SetItemFeesOptions, type ShippingGroup, type ShippingGroupList, type ShippingMethod, type ShippingMethodList, type ShippingPatch, ShippingService, type ShoppingList, type ShoppingListDraft, type ShoppingListItem, ShoppingListService, type Site$1 as Site, type SiteCreated, type SiteInput, type SiteList, type SiteMixin, type SiteMixinCreated, type SiteMixins, SiteService, type TaxCalculationInput, type TaxCalculationRequest, type TaxCalculationResult, type TaxClass, type TaxConfig, type TaxConfigCreated, type TaxCreation as TaxConfigInput, type TaxUpdate as TaxConfigUpdate, type TaxLocation, TaxService, TenantConfigService, type TextRequest, type TextResponse, type Token, type TokenInput, TokenProvider, type Tool, type ToolInput, type Unit, type UnitCreated, UnitHandlingService, type UnitInput, type UnitUpdate, type Vendor, type VendorCreated, type VendorInput, type VendorList, type VendorLocation, type VendorLocationInput, type VendorLocationList, type VendorLocationUpdate, type VendorSearchQuery, VendorService, type VendorUpdate, type WebhookConfig, type WebhookConfigCreated, type WebhookConfigDraft, type WebhookConfigPatch, type WebhookDashboardAccess, WebhookService, type WebhookStatistics, type WebhookStatisticsQuery, type WebhookSubscription, type WebhookSubscriptionUpdateItem, type WebhookSubscriptionUpdateResultItem, type Zone, type ZoneList, createCore, createEmporixClient, errorFromResponse, productIdFromYrn };
|