@wix/auto_sdk_ecom_discount-rules 1.0.81 → 1.0.82
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 +1 -1
- package/build/cjs/index.js +7 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -4
- package/build/cjs/index.typings.js +7 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -4
- package/build/es/index.typings.mjs +5 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +7 -9
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +6 -4
- package/build/internal/cjs/index.typings.js +7 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +5 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +6 -4
- package/build/internal/es/index.typings.mjs +5 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { DiscountRule, CreateDiscountRuleApplicationErrors, CreateDiscountRuleValidationErrors, UpdateDiscountRule, DiscountRuleCreatedEnvelope, DiscountRuleDeletedEnvelope, DiscountRuleUpdatedEnvelope, DiscountRulesQueryBuilder, DiscountRuleQuery, typedQueryDiscountRules } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, ActiveTimeInfo, Address, And, AppliedDiscount, AppliedDiscountRule, AppliedSubjectType, AppliedSubjectTypeWithLiterals, BaseEventMetadata, BuyXGetYInfo, BuyerInfo, CatalogItemFilter, CatalogReference, CommonQueryWithEntityContext, ContactSegments, ContactTags, CreateDiscountRuleRequest, CreateDiscountRuleResponse, CursorPaging, Cursors, Custom, CustomFilter, CustomerBuy, CustomerBuyConditionOneOf, CustomerEligibility, CustomerEligibilityOptionsOneOf, CustomerGet, DayOfWeek, DayOfWeekWithLiterals, DeleteDiscountRuleRequest, DeleteDiscountRuleResponse, Discount, DiscountConfig, DiscountDiscountOneOf, DiscountRuleName, DiscountRuleQuerySpec, DiscountRuleUsageLimitReached, DiscountRulesQueryResult, DiscountSettings, DiscountTrigger, DiscountTriggerTriggerOneOf, DiscountType, DiscountTypeWithLiterals, Discounts, DomainEvent, DomainEventBodyOneOf, EligibilityType, EligibilityTypeWithLiterals, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields,
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, ActiveTimeInfo, Address, And, AppliedDiscount, AppliedDiscountRule, AppliedSubjectType, AppliedSubjectTypeWithLiterals, BaseEventMetadata, BuyXGetYInfo, BuyerInfo, CatalogItemFilter, CatalogReference, CommonQueryWithEntityContext, ContactSegments, ContactTags, CreateDiscountRuleRequest, CreateDiscountRuleResponse, CursorPaging, Cursors, Custom, CustomFilter, CustomerBuy, CustomerBuyConditionOneOf, CustomerEligibility, CustomerEligibilityOptionsOneOf, CustomerGet, DayOfWeek, DayOfWeekWithLiterals, DeleteDiscountRuleRequest, DeleteDiscountRuleResponse, Discount, DiscountConfig, DiscountDiscountOneOf, DiscountRuleName, DiscountRuleQuerySpec, DiscountRuleUsageLimitReached, DiscountRulesQueryResult, DiscountSettings, DiscountTrigger, DiscountTriggerTriggerOneOf, DiscountType, DiscountTypeWithLiterals, Discounts, DomainEvent, DomainEventBodyOneOf, EligibilityType, EligibilityTypeWithLiterals, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetAppliedDiscountsRequest, GetAppliedDiscountsResponse, GetDiscountRuleRequest, GetDiscountRuleResponse, IdentificationData, IdentificationDataIdOneOf, IndividualMembers, ItemCombination, ItemCombinationLineItem, ItemQuantityRange, LineItem, MessageEnvelope, MultiCurrencyPrice, Or, PlatformPaging, PlatformPagingMetadata, PlatformQuery, PlatformQueryPagingMethodOneOf, QuantityBased, QueryDiscountRulesRequest, QueryDiscountRulesResponse, Recurrence, RestoreInfo, Scope, ScopeScopeItemsOneOf, ScopeType, ScopeTypeWithLiterals, ShippingInfo, SortOrder, SortOrderWithLiterals, Sorting, SpecificItemsInfo, Status, StatusWithLiterals, SubtotalRange, TagReference, TimeOfDay, TimeWindow, TriggerType, TriggerTypeWithLiterals, Type, TypeWithLiterals, UpdateDiscountRuleRequest, UpdateDiscountRuleResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeeklySchedule, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createDiscountRule$1(httpClient: HttpClient): CreateDiscountRuleSignature;
|
|
6
6
|
interface CreateDiscountRuleSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -24,10 +24,7 @@ __export(index_exports, {
|
|
|
24
24
|
DayOfWeek: () => DayOfWeek,
|
|
25
25
|
DiscountType: () => DiscountType,
|
|
26
26
|
EligibilityType: () => EligibilityType,
|
|
27
|
-
Filter: () => Filter,
|
|
28
|
-
QueryBuilder: () => QueryBuilder,
|
|
29
27
|
ScopeType: () => ScopeType,
|
|
30
|
-
Sort: () => Sort,
|
|
31
28
|
SortOrder: () => SortOrder,
|
|
32
29
|
Status: () => Status,
|
|
33
30
|
TriggerType: () => TriggerType,
|
|
@@ -40,7 +37,8 @@ __export(index_exports, {
|
|
|
40
37
|
onDiscountRuleDeleted: () => onDiscountRuleDeleted2,
|
|
41
38
|
onDiscountRuleUpdated: () => onDiscountRuleUpdated2,
|
|
42
39
|
queryDiscountRules: () => queryDiscountRules4,
|
|
43
|
-
updateDiscountRule: () => updateDiscountRule4
|
|
40
|
+
updateDiscountRule: () => updateDiscountRule4,
|
|
41
|
+
utils: () => utils
|
|
44
42
|
});
|
|
45
43
|
module.exports = __toCommonJS(index_exports);
|
|
46
44
|
|
|
@@ -545,7 +543,9 @@ async function typedQueryDiscountRules(query) {
|
|
|
545
543
|
throw transformedError;
|
|
546
544
|
}
|
|
547
545
|
}
|
|
548
|
-
var
|
|
546
|
+
var utils = {
|
|
547
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
548
|
+
};
|
|
549
549
|
|
|
550
550
|
// src/ecom-discounts-v1-discount-rule-discount-rules.public.ts
|
|
551
551
|
function createDiscountRule3(httpClient) {
|
|
@@ -699,10 +699,7 @@ var onDiscountRuleUpdated2 = (0, import_event_definition_modules.createEventModu
|
|
|
699
699
|
DayOfWeek,
|
|
700
700
|
DiscountType,
|
|
701
701
|
EligibilityType,
|
|
702
|
-
Filter,
|
|
703
|
-
QueryBuilder,
|
|
704
702
|
ScopeType,
|
|
705
|
-
Sort,
|
|
706
703
|
SortOrder,
|
|
707
704
|
Status,
|
|
708
705
|
TriggerType,
|
|
@@ -715,6 +712,7 @@ var onDiscountRuleUpdated2 = (0, import_event_definition_modules.createEventModu
|
|
|
715
712
|
onDiscountRuleDeleted,
|
|
716
713
|
onDiscountRuleUpdated,
|
|
717
714
|
queryDiscountRules,
|
|
718
|
-
updateDiscountRule
|
|
715
|
+
updateDiscountRule,
|
|
716
|
+
utils
|
|
719
717
|
});
|
|
720
718
|
//# sourceMappingURL=index.js.map
|