@wix/auto_sdk_pricing-plans_plans 1.0.98 → 1.0.99

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, 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 } 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';
4
4
 
5
5
  declare function listPublicPlans$1(httpClient: HttpClient): ListPublicPlansSignature;
6
6
  interface ListPublicPlansSignature {
@@ -22,8 +22,11 @@ var index_exports = {};
22
22
  __export(index_exports, {
23
23
  AppliedAt: () => AppliedAt,
24
24
  ArchivedFilter: () => ArchivedFilter,
25
+ Filter: () => Filter,
25
26
  PeriodUnit: () => PeriodUnit,
26
27
  PublicFilter: () => PublicFilter,
28
+ QueryBuilder: () => QueryBuilder,
29
+ Sort: () => Sort,
27
30
  SortOrder: () => SortOrder,
28
31
  WebhookIdentityType: () => WebhookIdentityType,
29
32
  archivePlan: () => archivePlan4,
@@ -475,6 +478,7 @@ function archivePlan(payload) {
475
478
 
476
479
  // src/pricing-plans-v2-plan-plans.universal.ts
477
480
  var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
481
+ var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
478
482
  var PeriodUnit = /* @__PURE__ */ ((PeriodUnit2) => {
479
483
  PeriodUnit2["UNDEFINED"] = "UNDEFINED";
480
484
  PeriodUnit2["DAY"] = "DAY";
@@ -610,6 +614,7 @@ async function typedQueryPublicPlans(query) {
610
614
  throw transformedError;
611
615
  }
612
616
  }
617
+ var { QueryBuilder, Filter, Sort } = (0, import_query_builder_utils.createQueryUtils)();
613
618
  async function getPlan2(_id) {
614
619
  const { httpClient, sideEffects } = arguments[1];
615
620
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ id: _id });
@@ -1020,8 +1025,11 @@ var onPlanUpdated2 = (0, import_event_definition_modules.createEventModule)(onPl
1020
1025
  0 && (module.exports = {
1021
1026
  AppliedAt,
1022
1027
  ArchivedFilter,
1028
+ Filter,
1023
1029
  PeriodUnit,
1024
1030
  PublicFilter,
1031
+ QueryBuilder,
1032
+ Sort,
1025
1033
  SortOrder,
1026
1034
  WebhookIdentityType,
1027
1035
  archivePlan,