@wix/auto_sdk_ecom_catalog 1.0.77 → 1.0.78
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/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/{interfaces-ecommerce-v1-catalog-provider.public-DtpXD-JJ.d.ts → interfaces-ecommerce-v1-catalog-provider.public-C-m67vj5.d.ts} +24 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/{interfaces-ecommerce-v1-catalog-provider.public-DtpXD-JJ.d.mts → interfaces-ecommerce-v1-catalog-provider.public-C-m67vj5.d.mts} +24 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/{interfaces-ecommerce-v1-catalog-provider.public-otREpPWh.d.ts → interfaces-ecommerce-v1-catalog-provider.public-D4e_doWZ.d.ts} +32 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/{interfaces-ecommerce-v1-catalog-provider.public-otREpPWh.d.mts → interfaces-ecommerce-v1-catalog-provider.public-D4e_doWZ.d.mts} +32 -1
- package/package.json +2 -2
|
@@ -328,6 +328,14 @@ interface ItemData {
|
|
|
328
328
|
* @internal
|
|
329
329
|
*/
|
|
330
330
|
bundleInfo?: BundleInfo;
|
|
331
|
+
/**
|
|
332
|
+
* Parties credited with the sale of this item. Sale attributions are used to calculate commission per line item.
|
|
333
|
+
*
|
|
334
|
+
* Attributions that don't credit a party are ignored.
|
|
335
|
+
* @internal
|
|
336
|
+
* @maxSize 5
|
|
337
|
+
*/
|
|
338
|
+
saleAttributions?: SaleAttribution[];
|
|
331
339
|
}
|
|
332
340
|
interface ProductName {
|
|
333
341
|
/**
|
|
@@ -1002,6 +1010,29 @@ interface BundledItem {
|
|
|
1002
1010
|
/** Service properties, such as time and number of participants. */
|
|
1003
1011
|
serviceProperties?: ServiceProperties;
|
|
1004
1012
|
}
|
|
1013
|
+
/**
|
|
1014
|
+
* A sale attribution records the party credited with the sale of a line item.
|
|
1015
|
+
* You can use sale attributions to calculate commission per line item.
|
|
1016
|
+
*
|
|
1017
|
+
* Currently supports crediting a staff member.
|
|
1018
|
+
*/
|
|
1019
|
+
interface SaleAttribution extends SaleAttributionCreditedPartyOneOf {
|
|
1020
|
+
/** Staff member credited with the sale. */
|
|
1021
|
+
staffMember?: StaffMemberAttribution;
|
|
1022
|
+
}
|
|
1023
|
+
/** @oneof */
|
|
1024
|
+
interface SaleAttributionCreditedPartyOneOf {
|
|
1025
|
+
/** Staff member credited with the sale. */
|
|
1026
|
+
staffMember?: StaffMemberAttribution;
|
|
1027
|
+
}
|
|
1028
|
+
/** A staff member credited with the sale of a line item. */
|
|
1029
|
+
interface StaffMemberAttribution {
|
|
1030
|
+
/**
|
|
1031
|
+
* ID of the credited staff member. Get the ID from the [Bookings Staff Members API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/introduction).
|
|
1032
|
+
* @format GUID
|
|
1033
|
+
*/
|
|
1034
|
+
staffMemberId?: string;
|
|
1035
|
+
}
|
|
1005
1036
|
interface QueryCatalogItemsRequest {
|
|
1006
1037
|
/**
|
|
1007
1038
|
* A list of itemIDs to filter by. If exists, the result will only include the items with the IDs passed.
|
|
@@ -1312,4 +1343,4 @@ declare const provideHandlers: ServicePluginDefinition<{
|
|
|
1312
1343
|
getCatalogItems(payload: GetCatalogItemsEnvelope): GetCatalogItemsResponse | Promise<GetCatalogItemsResponse>;
|
|
1313
1344
|
}>;
|
|
1314
1345
|
|
|
1315
|
-
export { type
|
|
1346
|
+
export { type SaleAttribution as $, FileType as A, type BuyerInfo as B, type CatalogReferenceAndQuantity as C, type DescriptionLine as D, PaymentOptionType as E, type FreeTrialPeriod as F, type GetCatalogItemsRequest as G, type ServiceProperties as H, type Item as I, type PriceDescription as J, type TaxableAddress as K, type TaxableAddressTaxableAddressDataOneOf as L, TaxableAddressType as M, type Policy as N, type AdditionalFee as O, type ProductName as P, type TaxDetails as Q, type ModifierGroup as R, type Scope as S, type Title as T, type TranslatableString as U, type ItemModifier as V, WeightUnit as W, type PlatformFee as X, ChargeType as Y, type BundleInfo as Z, type BundledItem as _, type CatalogReference as a, type SaleAttributionCreditedPartyOneOf as a0, type StaffMemberAttribution as a1, type QueryCatalogItemsRequest as a2, type Paging as a3, type QueryCatalogItemsResponse as a4, type BasicItem as a5, type NumericPropertyRange as a6, PurchaseType as a7, type PagingMetadata as a8, type CatalogSPIConfig as a9, type AllItemsDiscountConfig as aa, type SpecificItemsDiscountConfig as ab, type Context as ac, IdentityType as ad, type IdentificationData as ae, type IdentificationDataIdOneOf as af, type GetCatalogItemsEnvelope as ag, type BuyerInfoIdOneOf as b, type GetCatalogItemsResponse as c, type ItemData as d, type ItemType as e, type ItemTypeItemTypeDataOneOf as f, ItemTypePreset as g, type DescriptionLineValueOneOf as h, type DescriptionLineDescriptionLineValueOneOf as i, type DescriptionLineName as j, type PlainTextValue as k, type Color as l, DescriptionLineType as m, type PhysicalProperties as n, type Dimensions as o, provideHandlers as p, DimensionsUnit as q, type Group as r, type SubscriptionOptionInfo as s, type SubscriptionSettings as t, SubscriptionFrequency as u, type BillingSettings as v, ProductPeriodAlignment as w, type CyclePriceOverride as x, type Description as y, type SecuredMedia as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as provideHandlers$1 } from './interfaces-ecommerce-v1-catalog-provider.public-
|
|
2
|
-
export { O as AdditionalFee,
|
|
1
|
+
import { p as provideHandlers$1 } from './interfaces-ecommerce-v1-catalog-provider.public-D4e_doWZ.mjs';
|
|
2
|
+
export { O as AdditionalFee, aa as AllItemsDiscountConfig, a5 as BasicItem, v as BillingSettings, Z as BundleInfo, _ as BundledItem, B as BuyerInfo, b as BuyerInfoIdOneOf, a as CatalogReference, C as CatalogReferenceAndQuantity, a9 as CatalogSPIConfig, Y as ChargeType, l as Color, ac as Context, x as CyclePriceOverride, y as Description, D as DescriptionLine, i as DescriptionLineDescriptionLineValueOneOf, j as DescriptionLineName, m as DescriptionLineType, h as DescriptionLineValueOneOf, o as Dimensions, q as DimensionsUnit, A as FileType, F as FreeTrialPeriod, G as GetCatalogItemsRequest, c as GetCatalogItemsResponse, r as Group, ae as IdentificationData, af as IdentificationDataIdOneOf, ad as IdentityType, I as Item, d as ItemData, V as ItemModifier, e as ItemType, f as ItemTypeItemTypeDataOneOf, g as ItemTypePreset, R as ModifierGroup, a6 as NumericPropertyRange, a3 as Paging, a8 as PagingMetadata, E as PaymentOptionType, n as PhysicalProperties, k as PlainTextValue, X as PlatformFee, N as Policy, J as PriceDescription, P as ProductName, w as ProductPeriodAlignment, a7 as PurchaseType, a2 as QueryCatalogItemsRequest, a4 as QueryCatalogItemsResponse, $ as SaleAttribution, a0 as SaleAttributionCreditedPartyOneOf, S as Scope, z as SecuredMedia, H as ServiceProperties, ab as SpecificItemsDiscountConfig, a1 as StaffMemberAttribution, u as SubscriptionFrequency, s as SubscriptionOptionInfo, t as SubscriptionSettings, Q as TaxDetails, K as TaxableAddress, L as TaxableAddressTaxableAddressDataOneOf, M as TaxableAddressType, T as Title, U as TranslatableString, W as WeightUnit } from './interfaces-ecommerce-v1-catalog-provider.public-D4e_doWZ.mjs';
|
|
3
3
|
import { BuildServicePluginDefinition } from '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
declare const provideHandlers: BuildServicePluginDefinition<typeof provideHandlers$1> & typeof provideHandlers$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { O as AdditionalFee,
|
|
1
|
+
import { ag as GetCatalogItemsEnvelope, c as GetCatalogItemsResponse } from './interfaces-ecommerce-v1-catalog-provider.public-D4e_doWZ.mjs';
|
|
2
|
+
export { O as AdditionalFee, aa as AllItemsDiscountConfig, a5 as BasicItem, v as BillingSettings, Z as BundleInfo, _ as BundledItem, B as BuyerInfo, b as BuyerInfoIdOneOf, a as CatalogReference, C as CatalogReferenceAndQuantity, a9 as CatalogSPIConfig, Y as ChargeType, l as Color, ac as Context, x as CyclePriceOverride, y as Description, D as DescriptionLine, i as DescriptionLineDescriptionLineValueOneOf, j as DescriptionLineName, m as DescriptionLineType, h as DescriptionLineValueOneOf, o as Dimensions, q as DimensionsUnit, A as FileType, F as FreeTrialPeriod, G as GetCatalogItemsRequest, r as Group, ae as IdentificationData, af as IdentificationDataIdOneOf, ad as IdentityType, I as Item, d as ItemData, V as ItemModifier, e as ItemType, f as ItemTypeItemTypeDataOneOf, g as ItemTypePreset, R as ModifierGroup, a6 as NumericPropertyRange, a3 as Paging, a8 as PagingMetadata, E as PaymentOptionType, n as PhysicalProperties, k as PlainTextValue, X as PlatformFee, N as Policy, J as PriceDescription, P as ProductName, w as ProductPeriodAlignment, a7 as PurchaseType, a2 as QueryCatalogItemsRequest, a4 as QueryCatalogItemsResponse, $ as SaleAttribution, a0 as SaleAttributionCreditedPartyOneOf, S as Scope, z as SecuredMedia, H as ServiceProperties, ab as SpecificItemsDiscountConfig, a1 as StaffMemberAttribution, u as SubscriptionFrequency, s as SubscriptionOptionInfo, t as SubscriptionSettings, Q as TaxDetails, K as TaxableAddress, L as TaxableAddressTaxableAddressDataOneOf, M as TaxableAddressType, T as Title, U as TranslatableString, W as WeightUnit } from './interfaces-ecommerce-v1-catalog-provider.public-D4e_doWZ.mjs';
|
|
3
3
|
import '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -328,6 +328,14 @@ interface ItemData {
|
|
|
328
328
|
* @internal
|
|
329
329
|
*/
|
|
330
330
|
bundleInfo?: BundleInfo;
|
|
331
|
+
/**
|
|
332
|
+
* Parties credited with the sale of this item. Sale attributions are used to calculate commission per line item.
|
|
333
|
+
*
|
|
334
|
+
* Attributions that don't credit a party are ignored.
|
|
335
|
+
* @internal
|
|
336
|
+
* @maxSize 5
|
|
337
|
+
*/
|
|
338
|
+
saleAttributions?: SaleAttribution[];
|
|
331
339
|
}
|
|
332
340
|
interface ProductName {
|
|
333
341
|
/**
|
|
@@ -1002,6 +1010,29 @@ interface BundledItem {
|
|
|
1002
1010
|
/** Service properties, such as time and number of participants. */
|
|
1003
1011
|
serviceProperties?: ServiceProperties;
|
|
1004
1012
|
}
|
|
1013
|
+
/**
|
|
1014
|
+
* A sale attribution records the party credited with the sale of a line item.
|
|
1015
|
+
* You can use sale attributions to calculate commission per line item.
|
|
1016
|
+
*
|
|
1017
|
+
* Currently supports crediting a staff member.
|
|
1018
|
+
*/
|
|
1019
|
+
interface SaleAttribution extends SaleAttributionCreditedPartyOneOf {
|
|
1020
|
+
/** Staff member credited with the sale. */
|
|
1021
|
+
staffMember?: StaffMemberAttribution;
|
|
1022
|
+
}
|
|
1023
|
+
/** @oneof */
|
|
1024
|
+
interface SaleAttributionCreditedPartyOneOf {
|
|
1025
|
+
/** Staff member credited with the sale. */
|
|
1026
|
+
staffMember?: StaffMemberAttribution;
|
|
1027
|
+
}
|
|
1028
|
+
/** A staff member credited with the sale of a line item. */
|
|
1029
|
+
interface StaffMemberAttribution {
|
|
1030
|
+
/**
|
|
1031
|
+
* ID of the credited staff member. Get the ID from the [Bookings Staff Members API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/introduction).
|
|
1032
|
+
* @format GUID
|
|
1033
|
+
*/
|
|
1034
|
+
staffMemberId?: string;
|
|
1035
|
+
}
|
|
1005
1036
|
interface QueryCatalogItemsRequest {
|
|
1006
1037
|
/**
|
|
1007
1038
|
* A list of itemIDs to filter by. If exists, the result will only include the items with the IDs passed.
|
|
@@ -1312,4 +1343,4 @@ declare const provideHandlers: ServicePluginDefinition<{
|
|
|
1312
1343
|
getCatalogItems(payload: GetCatalogItemsEnvelope): GetCatalogItemsResponse | Promise<GetCatalogItemsResponse>;
|
|
1313
1344
|
}>;
|
|
1314
1345
|
|
|
1315
|
-
export { type
|
|
1346
|
+
export { type SaleAttribution as $, FileType as A, type BuyerInfo as B, type CatalogReferenceAndQuantity as C, type DescriptionLine as D, PaymentOptionType as E, type FreeTrialPeriod as F, type GetCatalogItemsRequest as G, type ServiceProperties as H, type Item as I, type PriceDescription as J, type TaxableAddress as K, type TaxableAddressTaxableAddressDataOneOf as L, TaxableAddressType as M, type Policy as N, type AdditionalFee as O, type ProductName as P, type TaxDetails as Q, type ModifierGroup as R, type Scope as S, type Title as T, type TranslatableString as U, type ItemModifier as V, WeightUnit as W, type PlatformFee as X, ChargeType as Y, type BundleInfo as Z, type BundledItem as _, type CatalogReference as a, type SaleAttributionCreditedPartyOneOf as a0, type StaffMemberAttribution as a1, type QueryCatalogItemsRequest as a2, type Paging as a3, type QueryCatalogItemsResponse as a4, type BasicItem as a5, type NumericPropertyRange as a6, PurchaseType as a7, type PagingMetadata as a8, type CatalogSPIConfig as a9, type AllItemsDiscountConfig as aa, type SpecificItemsDiscountConfig as ab, type Context as ac, IdentityType as ad, type IdentificationData as ae, type IdentificationDataIdOneOf as af, type GetCatalogItemsEnvelope as ag, type BuyerInfoIdOneOf as b, type GetCatalogItemsResponse as c, type ItemData as d, type ItemType as e, type ItemTypeItemTypeDataOneOf as f, ItemTypePreset as g, type DescriptionLineValueOneOf as h, type DescriptionLineDescriptionLineValueOneOf as i, type DescriptionLineName as j, type PlainTextValue as k, type Color as l, DescriptionLineType as m, type PhysicalProperties as n, type Dimensions as o, provideHandlers as p, DimensionsUnit as q, type Group as r, type SubscriptionOptionInfo as s, type SubscriptionSettings as t, SubscriptionFrequency as u, type BillingSettings as v, ProductPeriodAlignment as w, type CyclePriceOverride as x, type Description as y, type SecuredMedia as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_catalog",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.78",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"fqdn": "wix.interfaces.ecommerce.v1.catalog_provider"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
"falconPackageHash": "
|
|
47
|
+
"falconPackageHash": "abb6d6a29a0e7ea30e83ad3d0eedf33458c2b80e0427e43fdc85ea20"
|
|
48
48
|
}
|