@wix/auto_sdk_packages_packages 1.0.20 → 1.0.21

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 +1 -1
  2. package/build/cjs/index.js +0 -3
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +4 -38
  5. package/build/cjs/index.typings.js +0 -3
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +4 -38
  8. package/build/cjs/meta.js +0 -3
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +0 -3
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +4 -38
  14. package/build/es/index.typings.mjs +0 -3
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +4 -38
  17. package/build/es/meta.mjs +0 -3
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +0 -3
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +4 -38
  23. package/build/internal/cjs/index.typings.js +0 -3
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +4 -38
  26. package/build/internal/cjs/meta.js +0 -3
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +0 -3
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +4 -38
  32. package/build/internal/es/index.typings.mjs +0 -3
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +4 -38
  35. package/build/internal/es/meta.mjs +0 -3
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -139,17 +139,14 @@ interface ProductInstanceContractDetailsOneOf {
139
139
  billingInfo?: ProductInstanceCycle;
140
140
  }
141
141
  declare enum FailureReasonCode {
142
- UNKNOWN = "UNKNOWN",
143
142
  /** The product instance couldn't be created because the Resellers API timed out. */
144
143
  DELIVERY_TIMEOUT = "DELIVERY_TIMEOUT",
145
144
  /** The product instance couldn't be created because an external process failed. */
146
145
  EXTERNAL_FAILURE = "EXTERNAL_FAILURE"
147
146
  }
148
147
  /** @enumType */
149
- type FailureReasonCodeWithLiterals = FailureReasonCode | 'UNKNOWN' | 'DELIVERY_TIMEOUT' | 'EXTERNAL_FAILURE';
148
+ type FailureReasonCodeWithLiterals = FailureReasonCode | 'DELIVERY_TIMEOUT' | 'EXTERNAL_FAILURE';
150
149
  declare enum IntervalIntervalUnit {
151
- /** unknown interval unit */
152
- UNKNOWN = "UNKNOWN",
153
150
  /** Day */
154
151
  DAY = "DAY",
155
152
  /** Week */
@@ -160,17 +157,15 @@ declare enum IntervalIntervalUnit {
160
157
  YEAR = "YEAR"
161
158
  }
162
159
  /** @enumType */
163
- type IntervalIntervalUnitWithLiterals = IntervalIntervalUnit | 'UNKNOWN' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
160
+ type IntervalIntervalUnitWithLiterals = IntervalIntervalUnit | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
164
161
  declare enum CycleDescriptorType {
165
- /** The payment type hasn't been set. */
166
- UNKNOWN = "UNKNOWN",
167
162
  /** The reseller pays Wix in a single payment. */
168
163
  ONE_TIME = "ONE_TIME",
169
164
  /** The reseller pays Wix on a recurring schedule. */
170
165
  RECURRING = "RECURRING"
171
166
  }
172
167
  /** @enumType */
173
- type CycleDescriptorTypeWithLiterals = CycleDescriptorType | 'UNKNOWN' | 'ONE_TIME' | 'RECURRING';
168
+ type CycleDescriptorTypeWithLiterals = CycleDescriptorType | 'ONE_TIME' | 'RECURRING';
174
169
  interface CycleInterval {
175
170
  /** Unit of the billing cycle. */
176
171
  unit?: IntervalIntervalUnitWithLiterals;
@@ -1190,35 +1185,6 @@ interface ProductInstanceFailed {
1190
1185
  /** Failure reason. */
1191
1186
  reason?: FailureReason;
1192
1187
  }
1193
- interface Task {
1194
- key?: TaskKey;
1195
- executeAt?: Date | null;
1196
- payload?: string | null;
1197
- }
1198
- interface TaskKey {
1199
- appId?: string;
1200
- instanceId?: string;
1201
- subjectId?: string | null;
1202
- }
1203
- interface TaskAction extends TaskActionActionOneOf {
1204
- complete?: Complete;
1205
- cancel?: Cancel;
1206
- reschedule?: Reschedule;
1207
- }
1208
- /** @oneof */
1209
- interface TaskActionActionOneOf {
1210
- complete?: Complete;
1211
- cancel?: Cancel;
1212
- reschedule?: Reschedule;
1213
- }
1214
- interface Complete {
1215
- }
1216
- interface Cancel {
1217
- }
1218
- interface Reschedule {
1219
- executeAt?: Date | null;
1220
- payload?: string | null;
1221
- }
1222
1188
  interface UpdateProductInstanceRequest {
1223
1189
  /**
1224
1190
  * ID of the product instance to update.
@@ -1927,4 +1893,4 @@ interface UpdatePackageExternalIdIdentifiers {
1927
1893
  externalId: string;
1928
1894
  }
1929
1895
 
1930
- export { type AccountInfo, type ActionEvent, type AdjustProductInstanceSpecificationsOptions, type AdjustProductInstanceSpecificationsRequest, type AdjustProductInstanceSpecificationsResponse, type AdjustedProductInstanceSpecifications, type AssignProductInstanceToSiteIdentifiers, type AssignProductInstanceToSiteOptions, type AssignProductInstanceToSiteRequest, type AssignProductInstanceToSiteResponse, type AssignedProductInstanceToSite, type BillingReference, type Cancel, type CancelPackageOptions, type CancelPackageRequest, type CancelPackageResponse, type CancelProductInstanceOptions, type CancelProductInstanceRequest, type CancelProductInstanceResponse, type CancellationDetails, type CommonQueryWithEntityContext, type Complete, ContractSwitchReason, type ContractSwitchReasonWithLiterals, ContractSwitchType, type ContractSwitchTypeWithLiterals, type ContractSwitched, type CountPackagesRequest, type CountPackagesResponse, type CreatePackageOptions, type CreatePackageRequest, type CreatePackageResponse, type CreatePackageV2Options, type CursorPaging, type Cursors, type Cycle, type CycleCycleSelectorOneOf, CycleDescriptorType, type CycleDescriptorTypeWithLiterals, type CycleInterval, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailureReason, FailureReasonCode, type FailureReasonCodeWithLiterals, type FailureReportRequest, FieldToUpdate, type FieldToUpdateWithLiterals, type FixBrokenMigrationRequest, type FixBrokenMigrationResponse, type GetPackageRequest, type GetPackageResponse, type IdentificationData, type IdentificationDataIdOneOf, Initiator, type InitiatorWithLiterals, type Interval, IntervalIntervalUnit, type IntervalIntervalUnitWithLiterals, IntervalUnit, type IntervalUnitWithLiterals, type MessageEnvelope, type MigrateSubscriptionToPackagesRequest, type MigrateSubscriptionToPackagesResponse, type OneTime, type Package, type PackageCanceled, type PackageQuery, type PackageQuerySpec, type PackagesQueryBuilder, type PackagesQueryResult, type Paging, type PagingMetadataV2, PriceIncreaseTrigger, type PriceIncreaseTriggerWithLiterals, ProductAdjustment, type ProductAdjustmentWithLiterals, type ProductInstance, type ProductInstanceCanceled, type ProductInstanceContractDetailsOneOf, type ProductInstanceCycle, type ProductInstanceFailed, type ProductInstanceUpdated, type ProductPriceIncreaseData, ProviderName, type ProviderNameWithLiterals, type QueryPackagesRequest, type QueryPackagesResponse, type QueryV2, type QueryV2PagingMethodOneOf, type ReactivationData, ReactivationReasonEnum, type ReactivationReasonEnumWithLiterals, type RecurringChargeAttemptFailed, type RecurringChargeSucceeded, RefundType, type RefundTypeWithLiterals, type Reschedule, type RestoreInfo, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type Subscription, type SubscriptionAssigned, type SubscriptionAutoRenewTurnedOff, type SubscriptionAutoRenewTurnedOn, type SubscriptionCancelled, type SubscriptionCreated, type SubscriptionEvent, type SubscriptionEventEventOneOf, type SubscriptionNearEndOfPeriod, type SubscriptionPendingChange, SubscriptionStatus, type SubscriptionStatusWithLiterals, type SubscriptionTransferred, type SubscriptionUnassigned, type Task, type TaskAction, type TaskActionActionOneOf, type TaskKey, type UnassignProductInstanceFromSiteOptions, type UnassignProductInstanceFromSiteRequest, type UnassignProductInstanceFromSiteResponse, UnassignReason, type UnassignReasonWithLiterals, type UnassignedProductInstanceFromSite, type UpdatePackageExternalIdIdentifiers, type UpdatePackageExternalIdRequest, type UpdatePackageExternalIdResponse, type UpdateProductInstanceRequest, type UpdateProductInstanceResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, adjustProductInstanceSpecifications, assignProductInstanceToSite, cancelPackage, cancelProductInstance, createPackage, createPackageV2, getPackage, queryPackages, typedQueryPackages, unassignProductInstanceFromSite, updatePackageExternalId, utils };
1896
+ export { type AccountInfo, type ActionEvent, type AdjustProductInstanceSpecificationsOptions, type AdjustProductInstanceSpecificationsRequest, type AdjustProductInstanceSpecificationsResponse, type AdjustedProductInstanceSpecifications, type AssignProductInstanceToSiteIdentifiers, type AssignProductInstanceToSiteOptions, type AssignProductInstanceToSiteRequest, type AssignProductInstanceToSiteResponse, type AssignedProductInstanceToSite, type BillingReference, type CancelPackageOptions, type CancelPackageRequest, type CancelPackageResponse, type CancelProductInstanceOptions, type CancelProductInstanceRequest, type CancelProductInstanceResponse, type CancellationDetails, type CommonQueryWithEntityContext, ContractSwitchReason, type ContractSwitchReasonWithLiterals, ContractSwitchType, type ContractSwitchTypeWithLiterals, type ContractSwitched, type CountPackagesRequest, type CountPackagesResponse, type CreatePackageOptions, type CreatePackageRequest, type CreatePackageResponse, type CreatePackageV2Options, type CursorPaging, type Cursors, type Cycle, type CycleCycleSelectorOneOf, CycleDescriptorType, type CycleDescriptorTypeWithLiterals, type CycleInterval, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailureReason, FailureReasonCode, type FailureReasonCodeWithLiterals, type FailureReportRequest, FieldToUpdate, type FieldToUpdateWithLiterals, type FixBrokenMigrationRequest, type FixBrokenMigrationResponse, type GetPackageRequest, type GetPackageResponse, type IdentificationData, type IdentificationDataIdOneOf, Initiator, type InitiatorWithLiterals, type Interval, IntervalIntervalUnit, type IntervalIntervalUnitWithLiterals, IntervalUnit, type IntervalUnitWithLiterals, type MessageEnvelope, type MigrateSubscriptionToPackagesRequest, type MigrateSubscriptionToPackagesResponse, type OneTime, type Package, type PackageCanceled, type PackageQuery, type PackageQuerySpec, type PackagesQueryBuilder, type PackagesQueryResult, type Paging, type PagingMetadataV2, PriceIncreaseTrigger, type PriceIncreaseTriggerWithLiterals, ProductAdjustment, type ProductAdjustmentWithLiterals, type ProductInstance, type ProductInstanceCanceled, type ProductInstanceContractDetailsOneOf, type ProductInstanceCycle, type ProductInstanceFailed, type ProductInstanceUpdated, type ProductPriceIncreaseData, ProviderName, type ProviderNameWithLiterals, type QueryPackagesRequest, type QueryPackagesResponse, type QueryV2, type QueryV2PagingMethodOneOf, type ReactivationData, ReactivationReasonEnum, type ReactivationReasonEnumWithLiterals, type RecurringChargeAttemptFailed, type RecurringChargeSucceeded, RefundType, type RefundTypeWithLiterals, type RestoreInfo, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type Subscription, type SubscriptionAssigned, type SubscriptionAutoRenewTurnedOff, type SubscriptionAutoRenewTurnedOn, type SubscriptionCancelled, type SubscriptionCreated, type SubscriptionEvent, type SubscriptionEventEventOneOf, type SubscriptionNearEndOfPeriod, type SubscriptionPendingChange, SubscriptionStatus, type SubscriptionStatusWithLiterals, type SubscriptionTransferred, type SubscriptionUnassigned, type UnassignProductInstanceFromSiteOptions, type UnassignProductInstanceFromSiteRequest, type UnassignProductInstanceFromSiteResponse, UnassignReason, type UnassignReasonWithLiterals, type UnassignedProductInstanceFromSite, type UpdatePackageExternalIdIdentifiers, type UpdatePackageExternalIdRequest, type UpdatePackageExternalIdResponse, type UpdateProductInstanceRequest, type UpdateProductInstanceResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, adjustProductInstanceSpecifications, assignProductInstanceToSite, cancelPackage, cancelProductInstance, createPackage, createPackageV2, getPackage, queryPackages, typedQueryPackages, unassignProductInstanceFromSite, updatePackageExternalId, utils };
@@ -383,13 +383,11 @@ function updatePackageExternalId(payload) {
383
383
  import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
384
384
  import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
385
385
  var FailureReasonCode = /* @__PURE__ */ ((FailureReasonCode2) => {
386
- FailureReasonCode2["UNKNOWN"] = "UNKNOWN";
387
386
  FailureReasonCode2["DELIVERY_TIMEOUT"] = "DELIVERY_TIMEOUT";
388
387
  FailureReasonCode2["EXTERNAL_FAILURE"] = "EXTERNAL_FAILURE";
389
388
  return FailureReasonCode2;
390
389
  })(FailureReasonCode || {});
391
390
  var IntervalIntervalUnit = /* @__PURE__ */ ((IntervalIntervalUnit2) => {
392
- IntervalIntervalUnit2["UNKNOWN"] = "UNKNOWN";
393
391
  IntervalIntervalUnit2["DAY"] = "DAY";
394
392
  IntervalIntervalUnit2["WEEK"] = "WEEK";
395
393
  IntervalIntervalUnit2["MONTH"] = "MONTH";
@@ -397,7 +395,6 @@ var IntervalIntervalUnit = /* @__PURE__ */ ((IntervalIntervalUnit2) => {
397
395
  return IntervalIntervalUnit2;
398
396
  })(IntervalIntervalUnit || {});
399
397
  var CycleDescriptorType = /* @__PURE__ */ ((CycleDescriptorType2) => {
400
- CycleDescriptorType2["UNKNOWN"] = "UNKNOWN";
401
398
  CycleDescriptorType2["ONE_TIME"] = "ONE_TIME";
402
399
  CycleDescriptorType2["RECURRING"] = "RECURRING";
403
400
  return CycleDescriptorType2;