@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.
- 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 { 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,
|
|
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 {
|
package/build/cjs/index.js
CHANGED
|
@@ -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
|
|
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
|