@stock-in-the-channel/sinch-vue-components 0.0.353 → 0.0.355
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/index.es.js +16 -12
- package/dist/types/api-clients/SearchApiClient.d.ts +2 -0
- package/dist/types/api-clients/generated/graphql.d.ts +28 -70
- package/dist/types/components/CloudChannel/Pages/Basket/BasketDataClient.d.ts +2 -2
- package/dist/types/components/CloudChannel/Pages/MarketPlace/ProductDetails.vue.d.ts +1 -0
- package/package.json +1 -1
- /package/dist/types/{main.d.ts → Main.d.ts} +0 -0
package/dist/index.es.js
CHANGED
|
@@ -27052,6 +27052,7 @@ let Xr = class jy {
|
|
|
27052
27052
|
}
|
|
27053
27053
|
};
|
|
27054
27054
|
class zd {
|
|
27055
|
+
id;
|
|
27055
27056
|
clientHasPriceAccount;
|
|
27056
27057
|
clientPrice;
|
|
27057
27058
|
clientPriceCulture;
|
|
@@ -27076,7 +27077,7 @@ class zd {
|
|
|
27076
27077
|
}
|
|
27077
27078
|
init(t) {
|
|
27078
27079
|
if (t) {
|
|
27079
|
-
if (this.clientHasPriceAccount = t.clientHasPriceAccount, this.clientPrice = t.clientPrice, this.clientPriceCulture = t.clientPriceCulture, this.datafeedOwnerClientID = t.datafeedOwnerClientID, this.distributorId = t.distributorId, this.distributorLogoImageUrl = t.distributorLogoImageUrl, this.distributorName = t.distributorName, this.isParticipating = t.isParticipating, this.name = t.name, this.priceType = t.priceType, this.rrp = t.rrp, this.sku = t.sku, this.stock = t.stock, this.stockLevelLastUpdate = t.stockLevelLastUpdate ? new Date(t.stockLevelLastUpdate.toString()) : void 0, Array.isArray(t.warehouseStocks)) {
|
|
27080
|
+
if (this.id = t.id, this.clientHasPriceAccount = t.clientHasPriceAccount, this.clientPrice = t.clientPrice, this.clientPriceCulture = t.clientPriceCulture, this.datafeedOwnerClientID = t.datafeedOwnerClientID, this.distributorId = t.distributorId, this.distributorLogoImageUrl = t.distributorLogoImageUrl, this.distributorName = t.distributorName, this.isParticipating = t.isParticipating, this.name = t.name, this.priceType = t.priceType, this.rrp = t.rrp, this.sku = t.sku, this.stock = t.stock, this.stockLevelLastUpdate = t.stockLevelLastUpdate ? new Date(t.stockLevelLastUpdate.toString()) : void 0, Array.isArray(t.warehouseStocks)) {
|
|
27080
27081
|
this.warehouseStocks = [];
|
|
27081
27082
|
for (let n of t.warehouseStocks)
|
|
27082
27083
|
this.warehouseStocks.push(Gd.fromJS(n));
|
|
@@ -27090,7 +27091,7 @@ class zd {
|
|
|
27090
27091
|
return n.init(t), n;
|
|
27091
27092
|
}
|
|
27092
27093
|
toJSON(t) {
|
|
27093
|
-
if (t = typeof t == "object" ? t : {}, t.clientHasPriceAccount = this.clientHasPriceAccount, t.clientPrice = this.clientPrice, t.clientPriceCulture = this.clientPriceCulture, t.datafeedOwnerClientID = this.datafeedOwnerClientID, t.distributorId = this.distributorId, t.distributorLogoImageUrl = this.distributorLogoImageUrl, t.distributorName = this.distributorName, t.isParticipating = this.isParticipating, t.name = this.name, t.priceType = this.priceType, t.sku = this.sku, t.stock = this.stock, t.stockLevelLastUpdate = this.stockLevelLastUpdate ? this.stockLevelLastUpdate.toISOString() : void 0, Array.isArray(this.warehouseStocks)) {
|
|
27094
|
+
if (t = typeof t == "object" ? t : {}, t.id = this.id, t.clientHasPriceAccount = this.clientHasPriceAccount, t.clientPrice = this.clientPrice, t.clientPriceCulture = this.clientPriceCulture, t.datafeedOwnerClientID = this.datafeedOwnerClientID, t.distributorId = this.distributorId, t.distributorLogoImageUrl = this.distributorLogoImageUrl, t.distributorName = this.distributorName, t.isParticipating = this.isParticipating, t.name = this.name, t.priceType = this.priceType, t.sku = this.sku, t.stock = this.stock, t.stockLevelLastUpdate = this.stockLevelLastUpdate ? this.stockLevelLastUpdate.toISOString() : void 0, Array.isArray(this.warehouseStocks)) {
|
|
27094
27095
|
t.warehouseStocks = [];
|
|
27095
27096
|
for (let n of this.warehouseStocks)
|
|
27096
27097
|
t.warehouseStocks.push(n.toJSON());
|
|
@@ -37141,9 +37142,8 @@ const ZN = new r0({
|
|
|
37141
37142
|
}
|
|
37142
37143
|
}
|
|
37143
37144
|
function I(O) {
|
|
37144
|
-
O && O.distributorProducts && O.distributorProducts.length > 0 && (k.value = O.distributorProducts.filter(($) => $.distributorId && d.enabledDistributorIds.indexOf($.distributorId) > -1).map((
|
|
37145
|
-
id:
|
|
37146
|
-
// Assign a unique id (can use a more meaningful unique field if available)
|
|
37145
|
+
O && O.distributorProducts && O.distributorProducts.length > 0 && (k.value = O.distributorProducts.filter(($) => $.distributorId && d.enabledDistributorIds.indexOf($.distributorId) > -1).map(($) => ({
|
|
37146
|
+
id: $.id,
|
|
37147
37147
|
image: $.distributorLogoImageUrl,
|
|
37148
37148
|
productName: $.name,
|
|
37149
37149
|
price: $.clientPrice ? $.clientPrice : "",
|
|
@@ -37156,11 +37156,12 @@ const ZN = new r0({
|
|
|
37156
37156
|
vendor: O.brandName,
|
|
37157
37157
|
distributorName: $.distributorName,
|
|
37158
37158
|
distributorId: $.distributorId,
|
|
37159
|
-
margin: d.enabledDistributorIds.some((
|
|
37159
|
+
margin: d.enabledDistributorIds.some((N) => N == $.distributorId) && $.rrp && $.rrp > 0 && $.clientPrice && $.clientPrice > 0 ? Math.round(($.rrp - $.clientPrice) * 100 / $.rrp) / 100 : null,
|
|
37160
37160
|
variants: $.variants,
|
|
37161
37161
|
clientPriceCulture: $.clientPriceCulture,
|
|
37162
37162
|
clientPriceCurrency: $.clientPriceCurrency,
|
|
37163
|
-
clientPrice: $.clientPrice
|
|
37163
|
+
clientPrice: $.clientPrice,
|
|
37164
|
+
productId: O.id
|
|
37164
37165
|
})), k.value.length > 0 && (h.value = k.value[0]));
|
|
37165
37166
|
}
|
|
37166
37167
|
function q() {
|
|
@@ -41805,7 +41806,7 @@ const GA = { class: "contact-us-block q-mb-lg" }, XA = { class: "top wide" }, ZA
|
|
|
41805
41806
|
]));
|
|
41806
41807
|
}
|
|
41807
41808
|
}), kL = Ct`
|
|
41808
|
-
mutation addItemToBasket($data:
|
|
41809
|
+
mutation addItemToBasket($data: AddItemToBasketInput!) {
|
|
41809
41810
|
addItemToBasket(input: { item: $data }) {
|
|
41810
41811
|
createBasketPayload {
|
|
41811
41812
|
id
|
|
@@ -42033,7 +42034,7 @@ const $L = { class: "text-body q-mr-md" }, NL = { class: "text-body q-mr-md" },
|
|
|
42033
42034
|
emits: ["onBasketItemRemoved", "onBasketChanged"],
|
|
42034
42035
|
setup(e, { expose: t, emit: n }) {
|
|
42035
42036
|
const r = e, a = n, i = R(), o = R(!1), l = Xn(), { t: u } = an(), c = new qL(), s = R([]), d = [
|
|
42036
|
-
{ align: "left", sortable: !1, name: "
|
|
42037
|
+
{ align: "left", sortable: !1, name: "mpn", label: u("Sku"), field: "mpn" },
|
|
42037
42038
|
{ align: "left", sortable: !1, name: "externalSystemType", label: u("Provider"), field: "externalSystemType" },
|
|
42038
42039
|
{ align: "left", sortable: !1, name: "name", label: u("Name"), field: "name" },
|
|
42039
42040
|
{ align: "left", sortable: !1, name: "quantity", label: u("Qty"), field: "quantity" },
|
|
@@ -42148,9 +42149,9 @@ const $L = { class: "text-body q-mr-md" }, NL = { class: "text-body q-mr-md" },
|
|
|
42148
42149
|
body: U((C) => [
|
|
42149
42150
|
D(x(ur), { props: C }, {
|
|
42150
42151
|
default: U(() => [
|
|
42151
|
-
D(x(Ae), { key: "
|
|
42152
|
+
D(x(Ae), { key: "mpn" }, {
|
|
42152
42153
|
default: U(() => [
|
|
42153
|
-
w("span", $L, A(C.row.product.
|
|
42154
|
+
w("span", $L, A(C.row.product.mpn), 1)
|
|
42154
42155
|
]),
|
|
42155
42156
|
_: 2
|
|
42156
42157
|
}, 1024),
|
|
@@ -42302,7 +42303,10 @@ const $L = { class: "text-body q-mr-md" }, NL = { class: "text-body q-mr-md" },
|
|
|
42302
42303
|
}, 1024),
|
|
42303
42304
|
Se(D(x(Ae), null, {
|
|
42304
42305
|
default: U(() => [
|
|
42305
|
-
Me(A(h.$formatCurrency(
|
|
42306
|
+
Me(A(h.$formatCurrency(
|
|
42307
|
+
T.price,
|
|
42308
|
+
r.basket?.currency
|
|
42309
|
+
)), 1)
|
|
42306
42310
|
]),
|
|
42307
42311
|
_: 2
|
|
42308
42312
|
}, 1536), [
|
|
@@ -500,6 +500,7 @@ export declare enum ProductCondition {
|
|
|
500
500
|
Used = "Used"
|
|
501
501
|
}
|
|
502
502
|
export declare class ProductDistributorResult implements IProductDistributorResult {
|
|
503
|
+
id?: number;
|
|
503
504
|
clientHasPriceAccount?: boolean;
|
|
504
505
|
clientPrice?: number | undefined;
|
|
505
506
|
clientPriceCulture?: string | undefined;
|
|
@@ -523,6 +524,7 @@ export declare class ProductDistributorResult implements IProductDistributorResu
|
|
|
523
524
|
toJSON(data?: any): any;
|
|
524
525
|
}
|
|
525
526
|
export interface IProductDistributorResult {
|
|
527
|
+
id?: number;
|
|
526
528
|
clientHasPriceAccount?: boolean;
|
|
527
529
|
clientPrice?: number | undefined;
|
|
528
530
|
clientPriceCulture?: string | undefined;
|
|
@@ -147,7 +147,22 @@ export type AcronisQuotaUsage = {
|
|
|
147
147
|
};
|
|
148
148
|
export type AddItemToBasketError = InvalidBasket | InvalidReseller | ProductNotFound | UserNotLoggedIn;
|
|
149
149
|
export type AddItemToBasketInput = {
|
|
150
|
-
|
|
150
|
+
basketId?: InputMaybe<Scalars['Int']['input']>;
|
|
151
|
+
billingPeriodDuration?: InputMaybe<Scalars['Int']['input']>;
|
|
152
|
+
billingPeriodType?: InputMaybe<PeriodType>;
|
|
153
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
154
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
155
|
+
mpn: Scalars['String']['input'];
|
|
156
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
157
|
+
price?: InputMaybe<Scalars['Decimal']['input']>;
|
|
158
|
+
quantity: Scalars['Int']['input'];
|
|
159
|
+
rrp?: InputMaybe<Scalars['Decimal']['input']>;
|
|
160
|
+
sinchDistributorId: Scalars['Int']['input'];
|
|
161
|
+
sinchDistributorProductId: Scalars['Int']['input'];
|
|
162
|
+
sinchProductId: Scalars['Int']['input'];
|
|
163
|
+
subscriptionPeriodDuration?: InputMaybe<Scalars['Int']['input']>;
|
|
164
|
+
subscriptionPeriodType?: InputMaybe<PeriodType>;
|
|
165
|
+
vendor?: InputMaybe<Scalars['String']['input']>;
|
|
151
166
|
};
|
|
152
167
|
export type AddItemToBasketPayload = {
|
|
153
168
|
__typename?: 'AddItemToBasketPayload';
|
|
@@ -174,7 +189,7 @@ export type BasketItemPayload = {
|
|
|
174
189
|
__typename?: 'BasketItemPayload';
|
|
175
190
|
basketId: Scalars['Int']['output'];
|
|
176
191
|
billingPeriodDuration?: Maybe<Scalars['Decimal']['output']>;
|
|
177
|
-
billingPeriodType:
|
|
192
|
+
billingPeriodType: PeriodType;
|
|
178
193
|
description?: Maybe<Scalars['String']['output']>;
|
|
179
194
|
externalSystemType: ExternalSystemType;
|
|
180
195
|
isMainProduct: Scalars['Boolean']['output'];
|
|
@@ -188,9 +203,11 @@ export type BasketItemPayload = {
|
|
|
188
203
|
price?: Maybe<Scalars['Decimal']['output']>;
|
|
189
204
|
quantity: Scalars['Int']['output'];
|
|
190
205
|
rowNumber: Scalars['Int']['output'];
|
|
206
|
+
sinchDistributorProductId?: Maybe<Scalars['Int']['output']>;
|
|
207
|
+
sinchProductId?: Maybe<Scalars['Int']['output']>;
|
|
191
208
|
startDate: Scalars['DateTime']['output'];
|
|
192
209
|
subscriptionPeriodDuration?: Maybe<Scalars['Decimal']['output']>;
|
|
193
|
-
subscriptionPeriodType:
|
|
210
|
+
subscriptionPeriodType: PeriodType;
|
|
194
211
|
};
|
|
195
212
|
export declare enum BasketStatus {
|
|
196
213
|
BasketDraft = "BASKET_DRAFT",
|
|
@@ -213,15 +230,6 @@ export type BasketStatusOperationFilterInput = {
|
|
|
213
230
|
neq?: InputMaybe<BasketStatus>;
|
|
214
231
|
nin?: InputMaybe<Array<BasketStatus>>;
|
|
215
232
|
};
|
|
216
|
-
export declare enum BillingPeriodType {
|
|
217
|
-
Annual = "ANNUAL",
|
|
218
|
-
Daily = "DAILY",
|
|
219
|
-
Monthly = "MONTHLY",
|
|
220
|
-
Quarterly = "QUARTERLY",
|
|
221
|
-
Retail = "RETAIL",
|
|
222
|
-
Triennial = "TRIENNIAL",
|
|
223
|
-
Unknown = "UNKNOWN"
|
|
224
|
-
}
|
|
225
233
|
export type BooleanOperationFilterInput = {
|
|
226
234
|
eq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
227
235
|
neq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -675,7 +683,7 @@ export type CheckForProductVariantsInput = {
|
|
|
675
683
|
export type CheckForProductVariantsPayload = {
|
|
676
684
|
__typename?: 'CheckForProductVariantsPayload';
|
|
677
685
|
billingPeriodDuration?: Maybe<Scalars['Decimal']['output']>;
|
|
678
|
-
billingPeriodType:
|
|
686
|
+
billingPeriodType: PeriodType;
|
|
679
687
|
cost?: Maybe<Scalars['Decimal']['output']>;
|
|
680
688
|
cspProductId: Scalars['Int']['output'];
|
|
681
689
|
currency?: Maybe<Scalars['String']['output']>;
|
|
@@ -684,7 +692,7 @@ export type CheckForProductVariantsPayload = {
|
|
|
684
692
|
name: Scalars['String']['output'];
|
|
685
693
|
price?: Maybe<Scalars['Decimal']['output']>;
|
|
686
694
|
subscriptionPeriodDuration?: Maybe<Scalars['Decimal']['output']>;
|
|
687
|
-
subscriptionPeriodType:
|
|
695
|
+
subscriptionPeriodType: PeriodType;
|
|
688
696
|
vendor: Scalars['String']['output'];
|
|
689
697
|
};
|
|
690
698
|
export type ClientIdNotFound = Error & {
|
|
@@ -767,24 +775,6 @@ export type CreateAcronisCustomerPayload = {
|
|
|
767
775
|
boolean?: Maybe<Scalars['Boolean']['output']>;
|
|
768
776
|
errors?: Maybe<Array<CreateAcronisCustomerError>>;
|
|
769
777
|
};
|
|
770
|
-
export type CreateBasketInputItemInput = {
|
|
771
|
-
basketId?: InputMaybe<Scalars['Int']['input']>;
|
|
772
|
-
billingPeriodDuration?: InputMaybe<Scalars['Int']['input']>;
|
|
773
|
-
billingPeriodType?: InputMaybe<BillingPeriodType>;
|
|
774
|
-
currency?: InputMaybe<Scalars['String']['input']>;
|
|
775
|
-
description?: InputMaybe<Scalars['String']['input']>;
|
|
776
|
-
/** Manufacturer Product Number */
|
|
777
|
-
mpn: Scalars['String']['input'];
|
|
778
|
-
name: Scalars['String']['input'];
|
|
779
|
-
price?: InputMaybe<Scalars['Decimal']['input']>;
|
|
780
|
-
quantity: Scalars['Int']['input'];
|
|
781
|
-
rrp?: InputMaybe<Scalars['Decimal']['input']>;
|
|
782
|
-
sinchDistributorId: Scalars['Int']['input'];
|
|
783
|
-
sinchDistributorProductId?: InputMaybe<Scalars['Int']['input']>;
|
|
784
|
-
subscriptionPeriodDuration?: InputMaybe<Scalars['Int']['input']>;
|
|
785
|
-
subscriptionPeriodType?: InputMaybe<SubscriptionPeriodType>;
|
|
786
|
-
vendor?: InputMaybe<Scalars['String']['input']>;
|
|
787
|
-
};
|
|
788
778
|
export type CreateBasketPayload = {
|
|
789
779
|
__typename?: 'CreateBasketPayload';
|
|
790
780
|
basketItems: Array<BasketItemPayload>;
|
|
@@ -897,22 +887,7 @@ export type CspCustomerStatusOperationFilterInput = {
|
|
|
897
887
|
};
|
|
898
888
|
export type CustomerAddItemToBasketError = InvalidBasket | InvalidReseller | ProductNotFound | UserNotLoggedIn;
|
|
899
889
|
export type CustomerAddItemToBasketInput = {
|
|
900
|
-
|
|
901
|
-
billingPeriodDuration?: InputMaybe<Scalars['Int']['input']>;
|
|
902
|
-
billingPeriodType?: InputMaybe<BillingPeriodType>;
|
|
903
|
-
currency?: InputMaybe<Scalars['String']['input']>;
|
|
904
|
-
description?: InputMaybe<Scalars['String']['input']>;
|
|
905
|
-
/** Manufacturer Product Number */
|
|
906
|
-
mpn: Scalars['String']['input'];
|
|
907
|
-
name: Scalars['String']['input'];
|
|
908
|
-
price?: InputMaybe<Scalars['Decimal']['input']>;
|
|
909
|
-
quantity: Scalars['Int']['input'];
|
|
910
|
-
rrp?: InputMaybe<Scalars['Decimal']['input']>;
|
|
911
|
-
sinchDistributorId: Scalars['Int']['input'];
|
|
912
|
-
sinchDistributorProductId?: InputMaybe<Scalars['Int']['input']>;
|
|
913
|
-
subscriptionPeriodDuration?: InputMaybe<Scalars['Int']['input']>;
|
|
914
|
-
subscriptionPeriodType?: InputMaybe<SubscriptionPeriodType>;
|
|
915
|
-
vendor: Scalars['String']['input'];
|
|
890
|
+
item: AddItemToBasketInput;
|
|
916
891
|
};
|
|
917
892
|
export type CustomerAddItemToBasketPayload = {
|
|
918
893
|
__typename?: 'CustomerAddItemToBasketPayload';
|
|
@@ -1326,7 +1301,7 @@ export type GetProductDetailsInput = {
|
|
|
1326
1301
|
export type GetProductDetailsPayload = {
|
|
1327
1302
|
__typename?: 'GetProductDetailsPayload';
|
|
1328
1303
|
addOns: Array<GetProductDetailsPayload>;
|
|
1329
|
-
billingPeriodType:
|
|
1304
|
+
billingPeriodType: PeriodType;
|
|
1330
1305
|
billintPeriodDuration: Scalars['Int']['output'];
|
|
1331
1306
|
currency: Scalars['String']['output'];
|
|
1332
1307
|
description: Scalars['String']['output'];
|
|
@@ -1336,7 +1311,7 @@ export type GetProductDetailsPayload = {
|
|
|
1336
1311
|
productId: Scalars['Int']['output'];
|
|
1337
1312
|
sku: Scalars['String']['output'];
|
|
1338
1313
|
subscriptionPeriodDuration: Scalars['Int']['output'];
|
|
1339
|
-
subscriptionPeriodType:
|
|
1314
|
+
subscriptionPeriodType: PeriodType;
|
|
1340
1315
|
vendor: Scalars['String']['output'];
|
|
1341
1316
|
};
|
|
1342
1317
|
export type GetPurchaseAvailabilitiesRequestInput = {
|
|
@@ -1622,13 +1597,6 @@ export type Mutation = {
|
|
|
1622
1597
|
deleteIntegration: DeleteIntegrationPayload;
|
|
1623
1598
|
deleteMicrosoftScheduledNextTermInstructions: DeleteMicrosoftScheduledNextTermInstructionsPayload;
|
|
1624
1599
|
patchIngramSubscripton: PatchIngramSubscriptonPayload;
|
|
1625
|
-
/**
|
|
1626
|
-
* Gets the created order Id and tries to place the order to the provider
|
|
1627
|
-
*
|
|
1628
|
-
*
|
|
1629
|
-
* **Returns:**
|
|
1630
|
-
* Created order details
|
|
1631
|
-
*/
|
|
1632
1600
|
placeSalesOrder: PlaceSalesOrderPayload;
|
|
1633
1601
|
removeItemFromBasket: RemoveItemFromBasketPayload;
|
|
1634
1602
|
/**
|
|
@@ -1652,7 +1620,7 @@ export type Mutation = {
|
|
|
1652
1620
|
updateWestcoastCustomer: UpdateWestcoastCustomerPayload;
|
|
1653
1621
|
};
|
|
1654
1622
|
export type MutationAddItemToBasketArgs = {
|
|
1655
|
-
|
|
1623
|
+
item: AddItemToBasketInput;
|
|
1656
1624
|
};
|
|
1657
1625
|
export type MutationCancelIngramSubscriptionArgs = {
|
|
1658
1626
|
input: CancelIngramSubscriptionInput;
|
|
@@ -1682,7 +1650,7 @@ export type MutationCreateWestcoastCustomerArgs = {
|
|
|
1682
1650
|
input: CreateWestcoastCustomerInput;
|
|
1683
1651
|
};
|
|
1684
1652
|
export type MutationCustomerAddItemToBasketArgs = {
|
|
1685
|
-
|
|
1653
|
+
input: CustomerAddItemToBasketInput;
|
|
1686
1654
|
};
|
|
1687
1655
|
export type MutationCustomerChangeBasketItemQtyArgs = {
|
|
1688
1656
|
input: CustomerChangeBasketItemQtyInput;
|
|
@@ -1933,9 +1901,7 @@ export type Period = {
|
|
|
1933
1901
|
export declare enum PeriodType {
|
|
1934
1902
|
Day = "DAY",
|
|
1935
1903
|
Month = "MONTH",
|
|
1936
|
-
None = "NONE",
|
|
1937
1904
|
OneTime = "ONE_TIME",
|
|
1938
|
-
Triennial = "TRIENNIAL",
|
|
1939
1905
|
Unknown = "UNKNOWN",
|
|
1940
1906
|
Year = "YEAR"
|
|
1941
1907
|
}
|
|
@@ -2716,7 +2682,7 @@ export type SubscriptionOrderStatusHistoriesModel = {
|
|
|
2716
2682
|
cspSubscriptionId: Scalars['Int']['output'];
|
|
2717
2683
|
cspSubscriptionOrderId: Scalars['Int']['output'];
|
|
2718
2684
|
date: Scalars['DateTime']['output'];
|
|
2719
|
-
idpUserName
|
|
2685
|
+
idpUserName?: Maybe<Scalars['String']['output']>;
|
|
2720
2686
|
message?: Maybe<Scalars['String']['output']>;
|
|
2721
2687
|
providerOrderId?: Maybe<Scalars['String']['output']>;
|
|
2722
2688
|
status: OrderPayloadStatus;
|
|
@@ -2750,14 +2716,6 @@ export type SubscriptionOrderStatusHistoriesModelSortInput = {
|
|
|
2750
2716
|
providerOrderId?: InputMaybe<SortEnumType>;
|
|
2751
2717
|
status?: InputMaybe<SortEnumType>;
|
|
2752
2718
|
};
|
|
2753
|
-
export declare enum SubscriptionPeriodType {
|
|
2754
|
-
Day = "DAY",
|
|
2755
|
-
Month = "MONTH",
|
|
2756
|
-
OneOff = "ONE_OFF",
|
|
2757
|
-
Triennial = "TRIENNIAL",
|
|
2758
|
-
Unknown = "UNKNOWN",
|
|
2759
|
-
Year = "YEAR"
|
|
2760
|
-
}
|
|
2761
2719
|
export type SubscriptionPrice = {
|
|
2762
2720
|
__typename?: 'SubscriptionPrice';
|
|
2763
2721
|
amount: Scalars['Decimal']['output'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChangeBasketItemQtyInput, CreateBasketPayload, type
|
|
1
|
+
import { ChangeBasketItemQtyInput, CreateBasketPayload, type AddItemToBasketInput, RemoveItemFromBasketInput, AddItemToBasketPayload, ChangeBasketItemQtyPayload, RemoveItemFromBasketPayload, SaveVendorParametersInput, PlaceSalesOrderInput, SetBasketCustomerInput, PlaceSalesOrderPayload } from '@/api-clients/generated/graphql';
|
|
2
2
|
export declare class BasketDataClient {
|
|
3
|
-
addItemToBasket(data:
|
|
3
|
+
addItemToBasket(data: AddItemToBasketInput): Promise<AddItemToBasketPayload>;
|
|
4
4
|
changeBasketItemQty(data: ChangeBasketItemQtyInput): Promise<ChangeBasketItemQtyPayload>;
|
|
5
5
|
removeItemFromBasket(data: RemoveItemFromBasketInput): Promise<RemoveItemFromBasketPayload>;
|
|
6
6
|
saveVendorParameters(data: SaveVendorParametersInput): Promise<boolean>;
|
|
@@ -28,6 +28,7 @@ export type DistributorProduct = {
|
|
|
28
28
|
clientPriceCulture?: string;
|
|
29
29
|
clientPriceCurrency?: string;
|
|
30
30
|
variants: ProductVariantResult[];
|
|
31
|
+
productId: number;
|
|
31
32
|
};
|
|
32
33
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
33
34
|
route: RouteLocationNormalizedLoaded;
|
package/package.json
CHANGED
|
File without changes
|