@wix/auto_sdk_pricing-plans_plans 1.0.99 → 1.0.100

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.
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { ListPublicPlansOptions, ListPublicPlansResponse, ListPublicPlansApplicationErrors, Plan, GetPlanApplicationErrors, ListPlansOptions, ListPlansResponse, ListPlansApplicationErrors, ListPlansValidationErrors, GetPlanStatsResponse, GetPlanStatsApplicationErrors, CreatePlanApplicationErrors, CreatePlanValidationErrors, UpdatePlan, UpdatePlanApplicationErrors, UpdatePlanValidationErrors, SetPlanVisibilityResponse, SetPlanVisibilityApplicationErrors, MakePlanPrimaryResponse, MakePlanPrimaryApplicationErrors, ClearPrimaryApplicationErrors, ArchivePlanResponse, ArchivePlanApplicationErrors, PlanBuyerCanCancelUpdatedEnvelope, PlanCreatedEnvelope, PlanArchivedEnvelope, PlanUpdatedEnvelope, PlansQueryBuilder, PlanQuery, typedQueryPublicPlans } from './index.typings.js';
3
- export { AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, AppliedAt, AppliedAtWithLiterals, ArchivePlanRequest, ArchivedFilter, ArchivedFilterWithLiterals, ArrangePlansRequest, ArrangePlansResponse, BaseEventMetadata, BulkActionMetadata, BulkArchivePlanRequest, BulkArchivePlanResponse, BulkPlanResult, BuyerCanCancelUpdated, ClearPrimaryRequest, ClearPrimaryResponse, CommonQueryWithEntityContext, CountPlansRequest, CountPlansResponse, CreatePlanRequest, CreatePlanResponse, Cursors, DomainEvent, DomainEventBodyOneOf, Duration, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, Fee, FeeConfig, Filter, GetPlanRequest, GetPlanResponse, GetPlanStatsRequest, GetPlansPremiumStatusRequest, GetPlansPremiumStatusResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, ListPlansRequest, ListPublicPlansRequest, MakePlanPrimaryRequest, MessageEnvelope, Money, Paging, PagingMetadataV2, PeriodUnit, PeriodUnitWithLiterals, PlanArchived, PlanQuerySpec, PlansQueryResult, Pricing, PricingPricingModelOneOf, PublicFilter, PublicFilterWithLiterals, PublicPlan, QueryBuilder, QueryPublicPlansApplicationErrors, QueryPublicPlansRequest, QueryPublicPlansResponse, QueryPublicPlansValidationErrors, QueryV2, Recurrence, RestoreInfo, SearchPlansRequest, SearchPlansResponse, SetPlanVisibilityRequest, Sort, SortOrder, SortOrderWithLiterals, Sorting, StringList, UpdatePlanRequest, UpdatePlanResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
3
+ export { AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, AppliedAt, AppliedAtWithLiterals, ArchivePlanRequest, ArchivedFilter, ArchivedFilterWithLiterals, ArrangePlansRequest, ArrangePlansResponse, BaseEventMetadata, BulkActionMetadata, BulkArchivePlanRequest, BulkArchivePlanResponse, BulkPlanResult, BuyerCanCancelUpdated, ClearPrimaryRequest, ClearPrimaryResponse, CommonQueryWithEntityContext, CountPlansRequest, CountPlansResponse, CreatePlanRequest, CreatePlanResponse, Cursors, DomainEvent, DomainEventBodyOneOf, Duration, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, Fee, FeeConfig, GetPlanRequest, GetPlanResponse, GetPlanStatsRequest, GetPlansPremiumStatusRequest, GetPlansPremiumStatusResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, ListPlansRequest, ListPublicPlansRequest, MakePlanPrimaryRequest, MessageEnvelope, Money, Paging, PagingMetadataV2, PeriodUnit, PeriodUnitWithLiterals, PlanArchived, PlanQuerySpec, PlansQueryResult, Pricing, PricingPricingModelOneOf, PublicFilter, PublicFilterWithLiterals, PublicPlan, QueryPublicPlansApplicationErrors, QueryPublicPlansRequest, QueryPublicPlansResponse, QueryPublicPlansValidationErrors, QueryV2, Recurrence, RestoreInfo, SearchPlansRequest, SearchPlansResponse, SetPlanVisibilityRequest, SortOrder, SortOrderWithLiterals, Sorting, StringList, UpdatePlanRequest, UpdatePlanResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
4
4
 
5
5
  declare function listPublicPlans$1(httpClient: HttpClient): ListPublicPlansSignature;
6
6
  interface ListPublicPlansSignature {
@@ -22,11 +22,8 @@ var index_exports = {};
22
22
  __export(index_exports, {
23
23
  AppliedAt: () => AppliedAt,
24
24
  ArchivedFilter: () => ArchivedFilter,
25
- Filter: () => Filter,
26
25
  PeriodUnit: () => PeriodUnit,
27
26
  PublicFilter: () => PublicFilter,
28
- QueryBuilder: () => QueryBuilder,
29
- Sort: () => Sort,
30
27
  SortOrder: () => SortOrder,
31
28
  WebhookIdentityType: () => WebhookIdentityType,
32
29
  archivePlan: () => archivePlan4,
@@ -43,7 +40,8 @@ __export(index_exports, {
43
40
  onPlanUpdated: () => onPlanUpdated2,
44
41
  queryPublicPlans: () => queryPublicPlans4,
45
42
  setPlanVisibility: () => setPlanVisibility4,
46
- updatePlan: () => updatePlan4
43
+ updatePlan: () => updatePlan4,
44
+ utils: () => utils
47
45
  });
48
46
  module.exports = __toCommonJS(index_exports);
49
47
 
@@ -614,7 +612,9 @@ async function typedQueryPublicPlans(query) {
614
612
  throw transformedError;
615
613
  }
616
614
  }
617
- var { QueryBuilder, Filter, Sort } = (0, import_query_builder_utils.createQueryUtils)();
615
+ var utils = {
616
+ ...(0, import_query_builder_utils.createQueryUtils)()
617
+ };
618
618
  async function getPlan2(_id) {
619
619
  const { httpClient, sideEffects } = arguments[1];
620
620
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ id: _id });
@@ -1025,11 +1025,8 @@ var onPlanUpdated2 = (0, import_event_definition_modules.createEventModule)(onPl
1025
1025
  0 && (module.exports = {
1026
1026
  AppliedAt,
1027
1027
  ArchivedFilter,
1028
- Filter,
1029
1028
  PeriodUnit,
1030
1029
  PublicFilter,
1031
- QueryBuilder,
1032
- Sort,
1033
1030
  SortOrder,
1034
1031
  WebhookIdentityType,
1035
1032
  archivePlan,
@@ -1046,6 +1043,7 @@ var onPlanUpdated2 = (0, import_event_definition_modules.createEventModule)(onPl
1046
1043
  onPlanUpdated,
1047
1044
  queryPublicPlans,
1048
1045
  setPlanVisibility,
1049
- updatePlan
1046
+ updatePlan,
1047
+ utils
1050
1048
  });
1051
1049
  //# sourceMappingURL=index.js.map