@wix/auto_sdk_ecom_discount-rules 1.0.101 → 1.0.103

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +3 -27
  2. package/build/cjs/index.js +0 -138
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +9 -141
  5. package/build/cjs/index.typings.js +0 -120
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +10 -106
  8. package/build/cjs/meta.js +0 -94
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +3 -27
  11. package/build/es/index.mjs +0 -136
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +9 -141
  14. package/build/es/index.typings.mjs +0 -118
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +10 -106
  17. package/build/es/meta.mjs +0 -92
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +3 -27
  20. package/build/internal/cjs/index.js +0 -138
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +9 -141
  23. package/build/internal/cjs/index.typings.js +0 -120
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +10 -106
  26. package/build/internal/cjs/meta.js +0 -94
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +3 -27
  29. package/build/internal/es/index.mjs +0 -136
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +9 -141
  32. package/build/internal/es/index.typings.mjs +0 -118
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +10 -106
  35. package/build/internal/es/meta.mjs +0 -92
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { DiscountRule, CreateDiscountRuleApplicationErrors, CreateDiscountRuleValidationErrors, UpdateDiscountRule, BulkUpdateDiscountRuleTagsOptions, BulkUpdateDiscountRuleTagsResponse, BulkUpdateDiscountRuleTagsApplicationErrors, BulkUpdateDiscountRuleTagsByFilterOptions, BulkUpdateDiscountRuleTagsByFilterResponse, BulkUpdateDiscountRuleTagsByFilterApplicationErrors, DiscountRuleCreatedEnvelope, DiscountRuleDeletedEnvelope, DiscountRuleUpdatedEnvelope, DiscountRulesQueryBuilder, DiscountRuleQuery, typedQueryDiscountRules } from './index.typings.js';
3
- export { AccountInfo, AccountInfoMetadata, ActionEvent, ActiveTimeInfo, Address, And, ApplicationError, AppliedDiscount, AppliedDiscountRule, AppliedSubjectType, AppliedSubjectTypeWithLiterals, BaseEventMetadata, BulkActionMetadata, BulkUpdateDiscountRuleTagsByFilterRequest, BulkUpdateDiscountRuleTagsRequest, BulkUpdateDiscountRuleTagsResult, 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, ItemMetadata, 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, TagList, TagReference, Tags, TagsModified, TimeOfDay, TimeWindow, TriggerType, TriggerTypeWithLiterals, Type, TypeWithLiterals, UpdateDiscountRuleRequest, UpdateDiscountRuleResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeeklySchedule, utils } from './index.typings.js';
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, 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, TagList, TagReference, Tags, TagsModified, 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 {
@@ -56,28 +56,6 @@ interface DeleteDiscountRuleSignature {
56
56
  */
57
57
  (discountRuleId: string): Promise<void>;
58
58
  }
59
- declare function bulkUpdateDiscountRuleTags$1(httpClient: HttpClient): BulkUpdateDiscountRuleTagsSignature;
60
- interface BulkUpdateDiscountRuleTagsSignature {
61
- /**
62
- * Bulk update tags for discount rules by IDs.
63
- * @param - IDs of discount rules to update.
64
- */
65
- (discountRuleIds: string[], options?: BulkUpdateDiscountRuleTagsOptions): Promise<NonNullablePaths<BulkUpdateDiscountRuleTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6> & {
66
- __applicationErrorsType?: BulkUpdateDiscountRuleTagsApplicationErrors;
67
- }>;
68
- }
69
- declare function bulkUpdateDiscountRuleTagsByFilter$1(httpClient: HttpClient): BulkUpdateDiscountRuleTagsByFilterSignature;
70
- interface BulkUpdateDiscountRuleTagsByFilterSignature {
71
- /**
72
- * Asynchronously update tags on multiple discount rules by filter.
73
- * An empty filter will update all discount rules.
74
- * A tag that appears both in the list of assign and unassign tags, will be assigned.
75
- * @param - Filter.
76
- */
77
- (filter: Record<string, any>, options?: BulkUpdateDiscountRuleTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateDiscountRuleTagsByFilterResponse, `jobId`, 2> & {
78
- __applicationErrorsType?: BulkUpdateDiscountRuleTagsByFilterApplicationErrors;
79
- }>;
80
- }
81
59
  declare const onDiscountRuleCreated$1: EventDefinition<DiscountRuleCreatedEnvelope, "wix.ecom.discounts.v1.discount_rule_created">;
82
60
  declare const onDiscountRuleDeleted$1: EventDefinition<DiscountRuleDeletedEnvelope, "wix.ecom.discounts.v1.discount_rule_deleted">;
83
61
  declare const onDiscountRuleUpdated$1: EventDefinition<DiscountRuleUpdatedEnvelope, "wix.ecom.discounts.v1.discount_rule_updated">;
@@ -90,8 +68,6 @@ declare const createDiscountRule: MaybeContext<BuildRESTFunction<typeof createDi
90
68
  declare const getDiscountRule: MaybeContext<BuildRESTFunction<typeof getDiscountRule$1> & typeof getDiscountRule$1>;
91
69
  declare const updateDiscountRule: MaybeContext<BuildRESTFunction<typeof updateDiscountRule$1> & typeof updateDiscountRule$1>;
92
70
  declare const deleteDiscountRule: MaybeContext<BuildRESTFunction<typeof deleteDiscountRule$1> & typeof deleteDiscountRule$1>;
93
- declare const bulkUpdateDiscountRuleTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateDiscountRuleTags$1> & typeof bulkUpdateDiscountRuleTags$1>;
94
- declare const bulkUpdateDiscountRuleTagsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateDiscountRuleTagsByFilter$1> & typeof bulkUpdateDiscountRuleTagsByFilter$1>;
95
71
  declare const queryDiscountRules: MaybeContext<BuildRESTFunction<typeof customQueryDiscountRules> & typeof customQueryDiscountRules>;
96
72
  /**
97
73
  * Triggered when a discount rule is created.
@@ -106,4 +82,4 @@ declare const onDiscountRuleDeleted: BuildEventDefinition<typeof onDiscountRuleD
106
82
  */
107
83
  declare const onDiscountRuleUpdated: BuildEventDefinition<typeof onDiscountRuleUpdated$1> & typeof onDiscountRuleUpdated$1;
108
84
 
109
- export { BulkUpdateDiscountRuleTagsApplicationErrors, BulkUpdateDiscountRuleTagsByFilterApplicationErrors, BulkUpdateDiscountRuleTagsByFilterOptions, BulkUpdateDiscountRuleTagsByFilterResponse, BulkUpdateDiscountRuleTagsOptions, BulkUpdateDiscountRuleTagsResponse, CreateDiscountRuleApplicationErrors, CreateDiscountRuleValidationErrors, DiscountRule, DiscountRuleCreatedEnvelope, DiscountRuleDeletedEnvelope, DiscountRuleQuery, DiscountRuleUpdatedEnvelope, DiscountRulesQueryBuilder, UpdateDiscountRule, bulkUpdateDiscountRuleTags, bulkUpdateDiscountRuleTagsByFilter, createDiscountRule, deleteDiscountRule, getDiscountRule, onDiscountRuleCreated, onDiscountRuleDeleted, onDiscountRuleUpdated, queryDiscountRules, updateDiscountRule };
85
+ export { CreateDiscountRuleApplicationErrors, CreateDiscountRuleValidationErrors, DiscountRule, DiscountRuleCreatedEnvelope, DiscountRuleDeletedEnvelope, DiscountRuleQuery, DiscountRuleUpdatedEnvelope, DiscountRulesQueryBuilder, UpdateDiscountRule, createDiscountRule, deleteDiscountRule, getDiscountRule, onDiscountRuleCreated, onDiscountRuleDeleted, onDiscountRuleUpdated, queryDiscountRules, updateDiscountRule };
@@ -30,8 +30,6 @@ __export(index_exports, {
30
30
  TriggerType: () => TriggerType,
31
31
  Type: () => Type,
32
32
  WebhookIdentityType: () => WebhookIdentityType,
33
- bulkUpdateDiscountRuleTags: () => bulkUpdateDiscountRuleTags4,
34
- bulkUpdateDiscountRuleTagsByFilter: () => bulkUpdateDiscountRuleTagsByFilter4,
35
33
  createDiscountRule: () => createDiscountRule4,
36
34
  deleteDiscountRule: () => deleteDiscountRule4,
37
35
  getDiscountRule: () => getDiscountRule4,
@@ -318,65 +316,20 @@ function queryDiscountRules(payload) {
318
316
  }
319
317
  return __queryDiscountRules;
320
318
  }
321
- function bulkUpdateDiscountRuleTags(payload) {
322
- function __bulkUpdateDiscountRuleTags({ host }) {
323
- const metadata = {
324
- entityFqdn: "wix.ecom.discounts.v1.discount_rule",
325
- method: "POST",
326
- methodFqn: "com.wix.ecom.discounts.DiscountRuleService.BulkUpdateDiscountRuleTags",
327
- packageName: PACKAGE_NAME,
328
- migrationOptions: {
329
- optInTransformResponse: true
330
- },
331
- url: resolveComWixEcomDiscountsDiscountRuleServiceUrl({
332
- protoPath: "/v1/bulk/discount-rules/update-tags",
333
- data: payload,
334
- host
335
- }),
336
- data: payload
337
- };
338
- return metadata;
339
- }
340
- return __bulkUpdateDiscountRuleTags;
341
- }
342
- function bulkUpdateDiscountRuleTagsByFilter(payload) {
343
- function __bulkUpdateDiscountRuleTagsByFilter({ host }) {
344
- const metadata = {
345
- entityFqdn: "wix.ecom.discounts.v1.discount_rule",
346
- method: "POST",
347
- methodFqn: "com.wix.ecom.discounts.DiscountRuleService.BulkUpdateDiscountRuleTagsByFilter",
348
- packageName: PACKAGE_NAME,
349
- migrationOptions: {
350
- optInTransformResponse: true
351
- },
352
- url: resolveComWixEcomDiscountsDiscountRuleServiceUrl({
353
- protoPath: "/v1/bulk/discount-rules/update-tags-by-filter",
354
- data: payload,
355
- host
356
- }),
357
- data: payload
358
- };
359
- return metadata;
360
- }
361
- return __bulkUpdateDiscountRuleTagsByFilter;
362
- }
363
319
 
364
320
  // src/ecom-discounts-v1-discount-rule-discount-rules.universal.ts
365
321
  var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
366
322
  var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
367
323
  var ScopeType = /* @__PURE__ */ ((ScopeType2) => {
368
- ScopeType2["UNDEFINED_SCOPE"] = "UNDEFINED_SCOPE";
369
324
  ScopeType2["CATALOG_ITEM"] = "CATALOG_ITEM";
370
325
  ScopeType2["CUSTOM_FILTER"] = "CUSTOM_FILTER";
371
326
  return ScopeType2;
372
327
  })(ScopeType || {});
373
328
  var EligibilityType = /* @__PURE__ */ ((EligibilityType2) => {
374
- EligibilityType2["UNKNOWN_ELIGIBILITY_TYPE"] = "UNKNOWN_ELIGIBILITY_TYPE";
375
329
  EligibilityType2["INDIVIDUAL_MEMBERS"] = "INDIVIDUAL_MEMBERS";
376
330
  return EligibilityType2;
377
331
  })(EligibilityType || {});
378
332
  var TriggerType = /* @__PURE__ */ ((TriggerType2) => {
379
- TriggerType2["UNDEFINED"] = "UNDEFINED";
380
333
  TriggerType2["AND"] = "AND";
381
334
  TriggerType2["SUBTOTAL_RANGE"] = "SUBTOTAL_RANGE";
382
335
  TriggerType2["ITEM_QUANTITY_RANGE"] = "ITEM_QUANTITY_RANGE";
@@ -386,7 +339,6 @@ var TriggerType = /* @__PURE__ */ ((TriggerType2) => {
386
339
  return TriggerType2;
387
340
  })(TriggerType || {});
388
341
  var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
389
- DayOfWeek2["UNKOWN_DAY_OF_WEEK"] = "UNKOWN_DAY_OF_WEEK";
390
342
  DayOfWeek2["MON"] = "MON";
391
343
  DayOfWeek2["TUE"] = "TUE";
392
344
  DayOfWeek2["WED"] = "WED";
@@ -397,12 +349,10 @@ var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
397
349
  return DayOfWeek2;
398
350
  })(DayOfWeek || {});
399
351
  var Type = /* @__PURE__ */ ((Type2) => {
400
- Type2["UNDEFINED"] = "UNDEFINED";
401
352
  Type2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
402
353
  return Type2;
403
354
  })(Type || {});
404
355
  var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
405
- DiscountType2["UNDEFINED"] = "UNDEFINED";
406
356
  DiscountType2["PERCENTAGE"] = "PERCENTAGE";
407
357
  DiscountType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
408
358
  DiscountType2["FIXED_PRICE"] = "FIXED_PRICE";
@@ -410,14 +360,12 @@ var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
410
360
  return DiscountType2;
411
361
  })(DiscountType || {});
412
362
  var Status = /* @__PURE__ */ ((Status2) => {
413
- Status2["UNDEFINED"] = "UNDEFINED";
414
363
  Status2["LIVE"] = "LIVE";
415
364
  Status2["EXPIRED"] = "EXPIRED";
416
365
  Status2["PENDING"] = "PENDING";
417
366
  return Status2;
418
367
  })(Status || {});
419
368
  var AppliedSubjectType = /* @__PURE__ */ ((AppliedSubjectType2) => {
420
- AppliedSubjectType2["UNDEFINED"] = "UNDEFINED";
421
369
  AppliedSubjectType2["ALL_ITEMS"] = "ALL_ITEMS";
422
370
  AppliedSubjectType2["LOWEST_PRICED_ITEM"] = "LOWEST_PRICED_ITEM";
423
371
  return AppliedSubjectType2;
@@ -607,72 +555,6 @@ var utils = {
607
555
  ...(0, import_query_builder_utils.createQueryUtils)()
608
556
  }
609
557
  };
610
- async function bulkUpdateDiscountRuleTags2(discountRuleIds, options) {
611
- const { httpClient, sideEffects } = arguments[2];
612
- const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
613
- discountRuleIds,
614
- assignTags: options?.assignTags,
615
- unassignTags: options?.unassignTags
616
- });
617
- const reqOpts = bulkUpdateDiscountRuleTags(
618
- payload
619
- );
620
- sideEffects?.onSiteCall?.();
621
- try {
622
- const result = await httpClient.request(reqOpts);
623
- sideEffects?.onSuccess?.(result);
624
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
625
- } catch (err) {
626
- const transformedError = (0, import_transform_error.transformError)(
627
- err,
628
- {
629
- spreadPathsToArguments: {},
630
- explicitPathsToArguments: {
631
- discountRuleIds: "$[0]",
632
- assignTags: "$[1].assignTags",
633
- unassignTags: "$[1].unassignTags"
634
- },
635
- singleArgumentUnchanged: false
636
- },
637
- ["discountRuleIds", "options"]
638
- );
639
- sideEffects?.onError?.(err);
640
- throw transformedError;
641
- }
642
- }
643
- async function bulkUpdateDiscountRuleTagsByFilter2(filter, options) {
644
- const { httpClient, sideEffects } = arguments[2];
645
- const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
646
- filter,
647
- assignTags: options?.assignTags,
648
- unassignTags: options?.unassignTags
649
- });
650
- const reqOpts = bulkUpdateDiscountRuleTagsByFilter(
651
- payload
652
- );
653
- sideEffects?.onSiteCall?.();
654
- try {
655
- const result = await httpClient.request(reqOpts);
656
- sideEffects?.onSuccess?.(result);
657
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
658
- } catch (err) {
659
- const transformedError = (0, import_transform_error.transformError)(
660
- err,
661
- {
662
- spreadPathsToArguments: {},
663
- explicitPathsToArguments: {
664
- filter: "$[0]",
665
- assignTags: "$[1].assignTags",
666
- unassignTags: "$[1].unassignTags"
667
- },
668
- singleArgumentUnchanged: false
669
- },
670
- ["filter", "options"]
671
- );
672
- sideEffects?.onError?.(err);
673
- throw transformedError;
674
- }
675
- }
676
558
 
677
559
  // src/ecom-discounts-v1-discount-rule-discount-rules.public.ts
678
560
  function createDiscountRule3(httpClient) {
@@ -717,22 +599,6 @@ function typedQueryDiscountRules2(httpClient) {
717
599
  { httpClient }
718
600
  );
719
601
  }
720
- function bulkUpdateDiscountRuleTags3(httpClient) {
721
- return (discountRuleIds, options) => bulkUpdateDiscountRuleTags2(
722
- discountRuleIds,
723
- options,
724
- // @ts-ignore
725
- { httpClient }
726
- );
727
- }
728
- function bulkUpdateDiscountRuleTagsByFilter3(httpClient) {
729
- return (filter, options) => bulkUpdateDiscountRuleTagsByFilter2(
730
- filter,
731
- options,
732
- // @ts-ignore
733
- { httpClient }
734
- );
735
- }
736
602
  var onDiscountRuleCreated = (0, import_sdk_types.EventDefinition)(
737
603
  "wix.ecom.discounts.v1.discount_rule_created",
738
604
  true,
@@ -826,8 +692,6 @@ var createDiscountRule4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTMod
826
692
  var getDiscountRule4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getDiscountRule3);
827
693
  var updateDiscountRule4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateDiscountRule3);
828
694
  var deleteDiscountRule4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteDiscountRule3);
829
- var bulkUpdateDiscountRuleTags4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateDiscountRuleTags3);
830
- var bulkUpdateDiscountRuleTagsByFilter4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateDiscountRuleTagsByFilter3);
831
695
  var queryDiscountRules4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQueryDiscountRules);
832
696
  var onDiscountRuleCreated2 = (0, import_event_definition_modules.createEventModule)(
833
697
  onDiscountRuleCreated
@@ -850,8 +714,6 @@ var onDiscountRuleUpdated2 = (0, import_event_definition_modules.createEventModu
850
714
  TriggerType,
851
715
  Type,
852
716
  WebhookIdentityType,
853
- bulkUpdateDiscountRuleTags,
854
- bulkUpdateDiscountRuleTagsByFilter,
855
717
  createDiscountRule,
856
718
  deleteDiscountRule,
857
719
  getDiscountRule,