@wix/auto_sdk_staff-pay_pay-models 1.0.0 → 1.0.1

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,4 +1,4 @@
1
- import { CreatePayModelRequest as CreatePayModelRequest$1, CreatePayModelResponse as CreatePayModelResponse$1, GetPayModelRequest as GetPayModelRequest$1, GetPayModelResponse as GetPayModelResponse$1, UpdatePayModelRequest as UpdatePayModelRequest$1, UpdatePayModelResponse as UpdatePayModelResponse$1, DeletePayModelRequest as DeletePayModelRequest$1, DeletePayModelResponse as DeletePayModelResponse$1, QueryPayModelsRequest as QueryPayModelsRequest$1, QueryPayModelsResponse as QueryPayModelsResponse$1, ArchivePayModelRequest as ArchivePayModelRequest$1, ArchivePayModelResponse as ArchivePayModelResponse$1, UnarchivePayModelRequest as UnarchivePayModelRequest$1, UnarchivePayModelResponse as UnarchivePayModelResponse$1, BulkDeletePayModelsRequest as BulkDeletePayModelsRequest$1, BulkDeletePayModelsResponse as BulkDeletePayModelsResponse$1 } from './index.typings.js';
1
+ import { CreatePayModelRequest as CreatePayModelRequest$1, CreatePayModelResponse as CreatePayModelResponse$1, GetPayModelRequest as GetPayModelRequest$1, GetPayModelResponse as GetPayModelResponse$1, UpdatePayModelRequest as UpdatePayModelRequest$1, UpdatePayModelResponse as UpdatePayModelResponse$1, DeletePayModelRequest as DeletePayModelRequest$1, DeletePayModelResponse as DeletePayModelResponse$1, QueryPayModelsRequest as QueryPayModelsRequest$1, QueryPayModelsResponse as QueryPayModelsResponse$1, ArchivePayModelRequest as ArchivePayModelRequest$1, ArchivePayModelResponse as ArchivePayModelResponse$1 } from './index.typings.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -72,8 +72,7 @@ interface PayModel {
72
72
  * Date and time the pay model was archived.
73
73
  *
74
74
  * Returned only when the pay model is archived. An archived pay model can't be updated and isn't offered for new pay
75
- * terms, but pay terms that already use it keep it, so it can still be retrieved. Set by Archive Pay Model and cleared
76
- * by Unarchive Pay Model.
75
+ * terms, but pay terms that already use it keep it, so it can still be retrieved. Set by Archive Pay Model.
77
76
  * @readonly
78
77
  */
79
78
  archivedDate?: Date | null;
@@ -759,7 +758,7 @@ interface UnarchivePayModelRequest {
759
758
  * ID of the pay model to unarchive.
760
759
  * @format GUID
761
760
  */
762
- payModelId: string;
761
+ payModelId?: string;
763
762
  }
764
763
  interface UnarchivePayModelResponse {
765
764
  /** Unarchived pay model. */
@@ -772,7 +771,7 @@ interface BulkDeletePayModelsRequest {
772
771
  * @maxSize 100
773
772
  * @format GUID
774
773
  */
775
- payModelIds: string[];
774
+ payModelIds?: string[];
776
775
  }
777
776
  interface BulkDeletePayModelsResponse {
778
777
  /**
@@ -1076,12 +1075,6 @@ type DeletePayModelApplicationErrors = {
1076
1075
  description?: string;
1077
1076
  data?: Record<string, any>;
1078
1077
  };
1079
- /** @docsIgnore */
1080
- type BulkDeletePayModelsApplicationErrors = {
1081
- code?: 'PAY_MODEL_IN_USE';
1082
- description?: string;
1083
- data?: Record<string, any>;
1084
- };
1085
1078
 
1086
1079
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1087
1080
  getUrl: (context: any) => string;
@@ -1107,9 +1100,5 @@ declare function queryPayModels(): __PublicMethodMetaInfo<'GET', {}, QueryPayMod
1107
1100
  declare function archivePayModel(): __PublicMethodMetaInfo<'POST', {
1108
1101
  payModelId: string;
1109
1102
  }, ArchivePayModelRequest$1, ArchivePayModelRequest, ArchivePayModelResponse$1, ArchivePayModelResponse>;
1110
- declare function unarchivePayModel(): __PublicMethodMetaInfo<'POST', {
1111
- payModelId: string;
1112
- }, UnarchivePayModelRequest$1, UnarchivePayModelRequest, UnarchivePayModelResponse$1, UnarchivePayModelResponse>;
1113
- declare function bulkDeletePayModels(): __PublicMethodMetaInfo<'POST', {}, BulkDeletePayModelsRequest$1, BulkDeletePayModelsRequest, BulkDeletePayModelsResponse$1, BulkDeletePayModelsResponse>;
1114
1103
 
1115
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type ArchivePayModelRequest as ArchivePayModelRequestOriginal, type ArchivePayModelResponse as ArchivePayModelResponseOriginal, type AttendanceTier as AttendanceTierOriginal, type AttendanceTiersOptions as AttendanceTiersOptionsOriginal, AttendeeCountBasis as AttendeeCountBasisOriginal, type AttendeeCountBasisWithLiterals as AttendeeCountBasisWithLiteralsOriginal, type BasePlusPerHeadOptions as BasePlusPerHeadOptionsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkDeletePayModelsApplicationErrors as BulkDeletePayModelsApplicationErrorsOriginal, type BulkDeletePayModelsRequest as BulkDeletePayModelsRequestOriginal, type BulkDeletePayModelsResponse as BulkDeletePayModelsResponseOriginal, type BulkPayModelResult as BulkPayModelResultOriginal, type CombinatorOptionsOneOf as CombinatorOptionsOneOfOriginal, type Combinator as CombinatorOriginal, CombinatorType as CombinatorTypeOriginal, type CombinatorTypeWithLiterals as CombinatorTypeWithLiteralsOriginal, CommissionTierMode as CommissionTierModeOriginal, type CommissionTierModeWithLiterals as CommissionTierModeWithLiteralsOriginal, type CommissionTier as CommissionTierOriginal, ComponentType as ComponentTypeOriginal, type ComponentTypeWithLiterals as ComponentTypeWithLiteralsOriginal, type CostDeductionKindOneOf as CostDeductionKindOneOfOriginal, type CostDeduction as CostDeductionOriginal, type CreatePayModelApplicationErrors as CreatePayModelApplicationErrorsOriginal, type CreatePayModelRequest as CreatePayModelRequestOriginal, type CreatePayModelResponse as CreatePayModelResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeletePayModelApplicationErrors as DeletePayModelApplicationErrorsOriginal, type DeletePayModelRequest as DeletePayModelRequestOriginal, type DeletePayModelResponse as DeletePayModelResponseOriginal, DiscountBasis as DiscountBasisOriginal, type DiscountBasisWithLiterals as DiscountBasisWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExtraAttendeeTier as ExtraAttendeeTierOriginal, type FlatPerSessionOptions as FlatPerSessionOptionsOriginal, type GetPayModelRequest as GetPayModelRequestOriginal, type GetPayModelResponse as GetPayModelResponseOriginal, type GreaterOfOptions as GreaterOfOptionsOriginal, type HourlyOptions as HourlyOptionsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ItemMetadata as ItemMetadataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type PayComponentOptionsOneOf as PayComponentOptionsOneOfOriginal, type PayComponent as PayComponentOriginal, type PayModel as PayModelOriginal, type PerCourseOptions as PerCourseOptionsOriginal, type PlanSaleCommissionOptions as PlanSaleCommissionOptionsOriginal, type ProductCommissionOptions as ProductCommissionOptionsOriginal, type QueryPayModelsRequest as QueryPayModelsRequestOriginal, type QueryPayModelsResponse as QueryPayModelsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RevenueRules as RevenueRulesOriginal, type SalaryOptions as SalaryOptionsOriginal, type ServiceCommissionOptions as ServiceCommissionOptionsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, TaxBasis as TaxBasisOriginal, type TaxBasisWithLiterals as TaxBasisWithLiteralsOriginal, type TipsOptions as TipsOptionsOriginal, type UnarchivePayModelRequest as UnarchivePayModelRequestOriginal, type UnarchivePayModelResponse as UnarchivePayModelResponseOriginal, type UpdatePayModelApplicationErrors as UpdatePayModelApplicationErrorsOriginal, type UpdatePayModelRequest as UpdatePayModelRequestOriginal, type UpdatePayModelResponse as UpdatePayModelResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, archivePayModel, bulkDeletePayModels, createPayModel, deletePayModel, getPayModel, queryPayModels, unarchivePayModel, updatePayModel };
1104
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type ArchivePayModelRequest as ArchivePayModelRequestOriginal, type ArchivePayModelResponse as ArchivePayModelResponseOriginal, type AttendanceTier as AttendanceTierOriginal, type AttendanceTiersOptions as AttendanceTiersOptionsOriginal, AttendeeCountBasis as AttendeeCountBasisOriginal, type AttendeeCountBasisWithLiterals as AttendeeCountBasisWithLiteralsOriginal, type BasePlusPerHeadOptions as BasePlusPerHeadOptionsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkDeletePayModelsRequest as BulkDeletePayModelsRequestOriginal, type BulkDeletePayModelsResponse as BulkDeletePayModelsResponseOriginal, type BulkPayModelResult as BulkPayModelResultOriginal, type CombinatorOptionsOneOf as CombinatorOptionsOneOfOriginal, type Combinator as CombinatorOriginal, CombinatorType as CombinatorTypeOriginal, type CombinatorTypeWithLiterals as CombinatorTypeWithLiteralsOriginal, CommissionTierMode as CommissionTierModeOriginal, type CommissionTierModeWithLiterals as CommissionTierModeWithLiteralsOriginal, type CommissionTier as CommissionTierOriginal, ComponentType as ComponentTypeOriginal, type ComponentTypeWithLiterals as ComponentTypeWithLiteralsOriginal, type CostDeductionKindOneOf as CostDeductionKindOneOfOriginal, type CostDeduction as CostDeductionOriginal, type CreatePayModelApplicationErrors as CreatePayModelApplicationErrorsOriginal, type CreatePayModelRequest as CreatePayModelRequestOriginal, type CreatePayModelResponse as CreatePayModelResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeletePayModelApplicationErrors as DeletePayModelApplicationErrorsOriginal, type DeletePayModelRequest as DeletePayModelRequestOriginal, type DeletePayModelResponse as DeletePayModelResponseOriginal, DiscountBasis as DiscountBasisOriginal, type DiscountBasisWithLiterals as DiscountBasisWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExtraAttendeeTier as ExtraAttendeeTierOriginal, type FlatPerSessionOptions as FlatPerSessionOptionsOriginal, type GetPayModelRequest as GetPayModelRequestOriginal, type GetPayModelResponse as GetPayModelResponseOriginal, type GreaterOfOptions as GreaterOfOptionsOriginal, type HourlyOptions as HourlyOptionsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ItemMetadata as ItemMetadataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type PayComponentOptionsOneOf as PayComponentOptionsOneOfOriginal, type PayComponent as PayComponentOriginal, type PayModel as PayModelOriginal, type PerCourseOptions as PerCourseOptionsOriginal, type PlanSaleCommissionOptions as PlanSaleCommissionOptionsOriginal, type ProductCommissionOptions as ProductCommissionOptionsOriginal, type QueryPayModelsRequest as QueryPayModelsRequestOriginal, type QueryPayModelsResponse as QueryPayModelsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RevenueRules as RevenueRulesOriginal, type SalaryOptions as SalaryOptionsOriginal, type ServiceCommissionOptions as ServiceCommissionOptionsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, TaxBasis as TaxBasisOriginal, type TaxBasisWithLiterals as TaxBasisWithLiteralsOriginal, type TipsOptions as TipsOptionsOriginal, type UnarchivePayModelRequest as UnarchivePayModelRequestOriginal, type UnarchivePayModelResponse as UnarchivePayModelResponseOriginal, type UpdatePayModelApplicationErrors as UpdatePayModelApplicationErrorsOriginal, type UpdatePayModelRequest as UpdatePayModelRequestOriginal, type UpdatePayModelResponse as UpdatePayModelResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, archivePayModel, createPayModel, deletePayModel, getPayModel, queryPayModels, updatePayModel };
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
- import { PayModel, CreatePayModelApplicationErrors, UpdatePayModel, UpdatePayModelApplicationErrors, DeletePayModelApplicationErrors, ArchivePayModelResponse, UnarchivePayModelResponse, BulkDeletePayModelsResponse, BulkDeletePayModelsApplicationErrors, PayModelsQueryBuilder, PayModelQuery, typedQueryPayModels } from './index.typings.mjs';
3
- export { AccountInfo, ActionEvent, ApplicationError, ArchivePayModelRequest, AttendanceTier, AttendanceTiersOptions, AttendeeCountBasis, AttendeeCountBasisWithLiterals, BasePlusPerHeadOptions, BulkActionMetadata, BulkDeletePayModelsRequest, BulkPayModelResult, Combinator, CombinatorOptionsOneOf, CombinatorType, CombinatorTypeWithLiterals, CommissionTier, CommissionTierMode, CommissionTierModeWithLiterals, CommonQueryWithEntityContext, ComponentType, ComponentTypeWithLiterals, CostDeduction, CostDeductionKindOneOf, CreatePayModelRequest, CreatePayModelResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeletePayModelRequest, DeletePayModelResponse, DiscountBasis, DiscountBasisWithLiterals, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, ExtraAttendeeTier, FlatPerSessionOptions, GetPayModelRequest, GetPayModelResponse, GreaterOfOptions, HourlyOptions, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, PayComponent, PayComponentOptionsOneOf, PayModelQuerySpec, PayModelsQueryResult, PerCourseOptions, PlanSaleCommissionOptions, ProductCommissionOptions, QueryPayModelsRequest, QueryPayModelsResponse, RestoreInfo, RevenueRules, SalaryOptions, ServiceCommissionOptions, SortOrder, SortOrderWithLiterals, Sorting, TaxBasis, TaxBasisWithLiterals, TipsOptions, UnarchivePayModelRequest, UpdatePayModelRequest, UpdatePayModelResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
2
+ import { PayModel, CreatePayModelApplicationErrors, UpdatePayModel, UpdatePayModelApplicationErrors, DeletePayModelApplicationErrors, ArchivePayModelResponse, PayModelsQueryBuilder, PayModelQuery, typedQueryPayModels } from './index.typings.mjs';
3
+ export { AccountInfo, ActionEvent, ApplicationError, ArchivePayModelRequest, AttendanceTier, AttendanceTiersOptions, AttendeeCountBasis, AttendeeCountBasisWithLiterals, BasePlusPerHeadOptions, BulkActionMetadata, BulkDeletePayModelsRequest, BulkDeletePayModelsResponse, BulkPayModelResult, Combinator, CombinatorOptionsOneOf, CombinatorType, CombinatorTypeWithLiterals, CommissionTier, CommissionTierMode, CommissionTierModeWithLiterals, CommonQueryWithEntityContext, ComponentType, ComponentTypeWithLiterals, CostDeduction, CostDeductionKindOneOf, CreatePayModelRequest, CreatePayModelResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeletePayModelRequest, DeletePayModelResponse, DiscountBasis, DiscountBasisWithLiterals, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, ExtraAttendeeTier, FlatPerSessionOptions, GetPayModelRequest, GetPayModelResponse, GreaterOfOptions, HourlyOptions, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, PayComponent, PayComponentOptionsOneOf, PayModelQuerySpec, PayModelsQueryResult, PerCourseOptions, PlanSaleCommissionOptions, ProductCommissionOptions, QueryPayModelsRequest, QueryPayModelsResponse, RestoreInfo, RevenueRules, SalaryOptions, ServiceCommissionOptions, SortOrder, SortOrderWithLiterals, Sorting, TaxBasis, TaxBasisWithLiterals, TipsOptions, UnarchivePayModelRequest, UnarchivePayModelResponse, UpdatePayModelRequest, UpdatePayModelResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
4
4
 
5
5
  declare function createPayModel$1(httpClient: HttpClient): CreatePayModelSignature;
6
6
  interface CreatePayModelSignature {
@@ -38,7 +38,7 @@ interface UpdatePayModelSignature {
38
38
  * lines stay linked to it. Changes apply to staff pays calculated after the update, and the staff pays of the staff
39
39
  * members paid with the pay model are marked stale.
40
40
  *
41
- * An archived pay model can't be updated until it's unarchived with Unarchive Pay Model.
41
+ * An archived pay model can't be updated.
42
42
  * @param - Pay model ID.
43
43
  * @returns Updated pay model.
44
44
  */
@@ -53,8 +53,6 @@ interface DeletePayModelSignature {
53
53
  *
54
54
  * A pay model that any pay terms use, past, current or upcoming, can't be deleted. Archive it instead, with Archive
55
55
  * Pay Model.
56
- *
57
- * To delete multiple pay models in a single API call, call Bulk Delete Pay Models.
58
56
  * @param - ID of the pay model to delete.
59
57
  */
60
58
  (payModelId: string): Promise<void & {
@@ -69,36 +67,11 @@ interface ArchivePayModelSignature {
69
67
  * Use it for a pay model that's no longer offered but that pay terms used, so it can't be deleted. Pay terms that use
70
68
  * the pay model keep it, and it can still be retrieved. An archived pay model can't be updated.
71
69
  *
72
- * Archiving an archived pay model returns it unchanged. To make it available again, call Unarchive Pay Model.
70
+ * Archiving an archived pay model returns it unchanged.
73
71
  * @param - ID of the pay model to archive.
74
72
  */
75
73
  (payModelId: string): Promise<NonNullablePaths<ArchivePayModelResponse, `payModel.name` | `payModel.components` | `payModel.components.${number}.salaryOptions.amountPerPeriod` | `payModel.components.${number}.salaryOptions.prorateByDaysEmployed` | `payModel.components.${number}.hourlyOptions.rate` | `payModel.components.${number}.hourlyOptions.overtimeEligible` | `payModel.components.${number}.hourlyOptions.excludeSessionTime` | `payModel.components.${number}.flatPerSessionOptions.amount` | `payModel.components.${number}.flatPerSessionOptions.zeroWhenCancelled` | `payModel.components.${number}.basePlusPerHeadOptions.includedAttendees` | `payModel.components.${number}.basePlusPerHeadOptions.amountPerAdditionalAttendee` | `payModel.components.${number}.basePlusPerHeadOptions.countBasis` | `payModel.components.${number}.basePlusPerHeadOptions.zeroWhenCancelled` | `payModel.components.${number}.basePlusPerHeadOptions.excludeFreeVisits` | `payModel.components.${number}.attendanceTiersOptions.countBasis` | `payModel.components.${number}.attendanceTiersOptions.zeroWhenCancelled` | `payModel.components.${number}.attendanceTiersOptions.excludeFreeVisits` | `payModel.components.${number}.serviceCommissionOptions.percent` | `payModel.components.${number}.serviceCommissionOptions.tierMode` | `payModel.components.${number}.serviceCommissionOptions.revenueRules.discountBasis` | `payModel.components.${number}.serviceCommissionOptions.revenueRules.taxBasis` | `payModel.components.${number}.productCommissionOptions.percent` | `payModel.components.${number}.name` | `payModel.components.${number}.type` | `payModel.combinator.greaterOfOptions.componentIds` | `payModel.combinator.type`, 5>>;
76
74
  }
77
- declare function unarchivePayModel$1(httpClient: HttpClient): UnarchivePayModelSignature;
78
- interface UnarchivePayModelSignature {
79
- /**
80
- * Unarchives a pay model. Clears `archivedDate`, so the pay model can be updated and offered again.
81
- *
82
- * Unarchiving a pay model that isn't archived returns it unchanged.
83
- * @param - ID of the pay model to unarchive.
84
- */
85
- (payModelId: string): Promise<NonNullablePaths<UnarchivePayModelResponse, `payModel.name` | `payModel.components` | `payModel.components.${number}.salaryOptions.amountPerPeriod` | `payModel.components.${number}.salaryOptions.prorateByDaysEmployed` | `payModel.components.${number}.hourlyOptions.rate` | `payModel.components.${number}.hourlyOptions.overtimeEligible` | `payModel.components.${number}.hourlyOptions.excludeSessionTime` | `payModel.components.${number}.flatPerSessionOptions.amount` | `payModel.components.${number}.flatPerSessionOptions.zeroWhenCancelled` | `payModel.components.${number}.basePlusPerHeadOptions.includedAttendees` | `payModel.components.${number}.basePlusPerHeadOptions.amountPerAdditionalAttendee` | `payModel.components.${number}.basePlusPerHeadOptions.countBasis` | `payModel.components.${number}.basePlusPerHeadOptions.zeroWhenCancelled` | `payModel.components.${number}.basePlusPerHeadOptions.excludeFreeVisits` | `payModel.components.${number}.attendanceTiersOptions.countBasis` | `payModel.components.${number}.attendanceTiersOptions.zeroWhenCancelled` | `payModel.components.${number}.attendanceTiersOptions.excludeFreeVisits` | `payModel.components.${number}.serviceCommissionOptions.percent` | `payModel.components.${number}.serviceCommissionOptions.tierMode` | `payModel.components.${number}.serviceCommissionOptions.revenueRules.discountBasis` | `payModel.components.${number}.serviceCommissionOptions.revenueRules.taxBasis` | `payModel.components.${number}.productCommissionOptions.percent` | `payModel.components.${number}.name` | `payModel.components.${number}.type` | `payModel.combinator.greaterOfOptions.componentIds` | `payModel.combinator.type`, 5>>;
86
- }
87
- declare function bulkDeletePayModels$1(httpClient: HttpClient): BulkDeletePayModelsSignature;
88
- interface BulkDeletePayModelsSignature {
89
- /**
90
- * Deletes multiple pay models.
91
- *
92
- * Each pay model is deleted on its own: one that pay terms use isn't deleted and its result fails with
93
- * `PAY_MODEL_IN_USE`, while the others are still deleted.
94
- *
95
- * To delete a single pay model, call Delete Pay Model.
96
- * @param - IDs of the pay models to delete.
97
- */
98
- (payModelIds: string[]): Promise<NonNullablePaths<BulkDeletePayModelsResponse, `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`, 4> & {
99
- __applicationErrorsType?: BulkDeletePayModelsApplicationErrors;
100
- }>;
101
- }
102
75
 
103
76
  declare function customQueryPayModels(httpClient: HttpClient): {
104
77
  (): PayModelsQueryBuilder;
@@ -109,8 +82,6 @@ declare const getPayModel: MaybeContext<BuildRESTFunction<typeof getPayModel$1>
109
82
  declare const updatePayModel: MaybeContext<BuildRESTFunction<typeof updatePayModel$1> & typeof updatePayModel$1>;
110
83
  declare const deletePayModel: MaybeContext<BuildRESTFunction<typeof deletePayModel$1> & typeof deletePayModel$1>;
111
84
  declare const archivePayModel: MaybeContext<BuildRESTFunction<typeof archivePayModel$1> & typeof archivePayModel$1>;
112
- declare const unarchivePayModel: MaybeContext<BuildRESTFunction<typeof unarchivePayModel$1> & typeof unarchivePayModel$1>;
113
- declare const bulkDeletePayModels: MaybeContext<BuildRESTFunction<typeof bulkDeletePayModels$1> & typeof bulkDeletePayModels$1>;
114
85
  declare const queryPayModels: MaybeContext<BuildRESTFunction<typeof customQueryPayModels> & typeof customQueryPayModels>;
115
86
 
116
- export { ArchivePayModelResponse, BulkDeletePayModelsApplicationErrors, BulkDeletePayModelsResponse, CreatePayModelApplicationErrors, DeletePayModelApplicationErrors, PayModel, PayModelQuery, PayModelsQueryBuilder, UnarchivePayModelResponse, UpdatePayModel, UpdatePayModelApplicationErrors, archivePayModel, bulkDeletePayModels, createPayModel, deletePayModel, getPayModel, queryPayModels, unarchivePayModel, updatePayModel };
87
+ export { ArchivePayModelResponse, CreatePayModelApplicationErrors, DeletePayModelApplicationErrors, PayModel, PayModelQuery, PayModelsQueryBuilder, UpdatePayModel, UpdatePayModelApplicationErrors, archivePayModel, createPayModel, deletePayModel, getPayModel, queryPayModels, updatePayModel };
@@ -72,8 +72,7 @@ interface PayModel {
72
72
  * Date and time the pay model was archived.
73
73
  *
74
74
  * Returned only when the pay model is archived. An archived pay model can't be updated and isn't offered for new pay
75
- * terms, but pay terms that already use it keep it, so it can still be retrieved. Set by Archive Pay Model and cleared
76
- * by Unarchive Pay Model.
75
+ * terms, but pay terms that already use it keep it, so it can still be retrieved. Set by Archive Pay Model.
77
76
  * @readonly
78
77
  */
79
78
  archivedDate?: Date | null;
@@ -759,7 +758,7 @@ interface UnarchivePayModelRequest {
759
758
  * ID of the pay model to unarchive.
760
759
  * @format GUID
761
760
  */
762
- payModelId: string;
761
+ payModelId?: string;
763
762
  }
764
763
  interface UnarchivePayModelResponse {
765
764
  /** Unarchived pay model. */
@@ -772,7 +771,7 @@ interface BulkDeletePayModelsRequest {
772
771
  * @maxSize 100
773
772
  * @format GUID
774
773
  */
775
- payModelIds: string[];
774
+ payModelIds?: string[];
776
775
  }
777
776
  interface BulkDeletePayModelsResponse {
778
777
  /**
@@ -1032,12 +1031,6 @@ type DeletePayModelApplicationErrors = {
1032
1031
  description?: string;
1033
1032
  data?: Record<string, any>;
1034
1033
  };
1035
- /** @docsIgnore */
1036
- type BulkDeletePayModelsApplicationErrors = {
1037
- code?: 'PAY_MODEL_IN_USE';
1038
- description?: string;
1039
- data?: Record<string, any>;
1040
- };
1041
1034
  /**
1042
1035
  * Creates a pay model.
1043
1036
  *
@@ -1077,7 +1070,7 @@ declare function getPayModel(payModelId: string): Promise<NonNullablePaths<PayMo
1077
1070
  * lines stay linked to it. Changes apply to staff pays calculated after the update, and the staff pays of the staff
1078
1071
  * members paid with the pay model are marked stale.
1079
1072
  *
1080
- * An archived pay model can't be updated until it's unarchived with Unarchive Pay Model.
1073
+ * An archived pay model can't be updated.
1081
1074
  * @param _id - Pay model ID.
1082
1075
  * @public
1083
1076
  * @documentationMaturity preview
@@ -1154,8 +1147,7 @@ interface UpdatePayModel {
1154
1147
  * Date and time the pay model was archived.
1155
1148
  *
1156
1149
  * Returned only when the pay model is archived. An archived pay model can't be updated and isn't offered for new pay
1157
- * terms, but pay terms that already use it keep it, so it can still be retrieved. Set by Archive Pay Model and cleared
1158
- * by Unarchive Pay Model.
1150
+ * terms, but pay terms that already use it keep it, so it can still be retrieved. Set by Archive Pay Model.
1159
1151
  * @readonly
1160
1152
  */
1161
1153
  archivedDate?: Date | null;
@@ -1171,8 +1163,6 @@ interface UpdatePayModel {
1171
1163
  *
1172
1164
  * A pay model that any pay terms use, past, current or upcoming, can't be deleted. Archive it instead, with Archive
1173
1165
  * Pay Model.
1174
- *
1175
- * To delete multiple pay models in a single API call, call Bulk Delete Pay Models.
1176
1166
  * @param payModelId - ID of the pay model to delete.
1177
1167
  * @public
1178
1168
  * @documentationMaturity preview
@@ -1344,7 +1334,7 @@ declare const utils: {
1344
1334
  * Use it for a pay model that's no longer offered but that pay terms used, so it can't be deleted. Pay terms that use
1345
1335
  * the pay model keep it, and it can still be retrieved. An archived pay model can't be updated.
1346
1336
  *
1347
- * Archiving an archived pay model returns it unchanged. To make it available again, call Unarchive Pay Model.
1337
+ * Archiving an archived pay model returns it unchanged.
1348
1338
  * @param payModelId - ID of the pay model to archive.
1349
1339
  * @public
1350
1340
  * @documentationMaturity preview
@@ -1353,34 +1343,5 @@ declare const utils: {
1353
1343
  * @fqn wix.staff.pay.v1.PayModelsService.ArchivePayModel
1354
1344
  */
1355
1345
  declare function archivePayModel(payModelId: string): Promise<NonNullablePaths<ArchivePayModelResponse, `payModel.name` | `payModel.components` | `payModel.components.${number}.salaryOptions.amountPerPeriod` | `payModel.components.${number}.salaryOptions.prorateByDaysEmployed` | `payModel.components.${number}.hourlyOptions.rate` | `payModel.components.${number}.hourlyOptions.overtimeEligible` | `payModel.components.${number}.hourlyOptions.excludeSessionTime` | `payModel.components.${number}.flatPerSessionOptions.amount` | `payModel.components.${number}.flatPerSessionOptions.zeroWhenCancelled` | `payModel.components.${number}.basePlusPerHeadOptions.includedAttendees` | `payModel.components.${number}.basePlusPerHeadOptions.amountPerAdditionalAttendee` | `payModel.components.${number}.basePlusPerHeadOptions.countBasis` | `payModel.components.${number}.basePlusPerHeadOptions.zeroWhenCancelled` | `payModel.components.${number}.basePlusPerHeadOptions.excludeFreeVisits` | `payModel.components.${number}.attendanceTiersOptions.countBasis` | `payModel.components.${number}.attendanceTiersOptions.zeroWhenCancelled` | `payModel.components.${number}.attendanceTiersOptions.excludeFreeVisits` | `payModel.components.${number}.serviceCommissionOptions.percent` | `payModel.components.${number}.serviceCommissionOptions.tierMode` | `payModel.components.${number}.serviceCommissionOptions.revenueRules.discountBasis` | `payModel.components.${number}.serviceCommissionOptions.revenueRules.taxBasis` | `payModel.components.${number}.productCommissionOptions.percent` | `payModel.components.${number}.name` | `payModel.components.${number}.type` | `payModel.combinator.greaterOfOptions.componentIds` | `payModel.combinator.type`, 5>>;
1356
- /**
1357
- * Unarchives a pay model. Clears `archivedDate`, so the pay model can be updated and offered again.
1358
- *
1359
- * Unarchiving a pay model that isn't archived returns it unchanged.
1360
- * @param payModelId - ID of the pay model to unarchive.
1361
- * @public
1362
- * @documentationMaturity preview
1363
- * @requiredField payModelId
1364
- * @permissionId staff:pay:v1:pay_model:unarchive_pay_model
1365
- * @fqn wix.staff.pay.v1.PayModelsService.UnarchivePayModel
1366
- */
1367
- declare function unarchivePayModel(payModelId: string): Promise<NonNullablePaths<UnarchivePayModelResponse, `payModel.name` | `payModel.components` | `payModel.components.${number}.salaryOptions.amountPerPeriod` | `payModel.components.${number}.salaryOptions.prorateByDaysEmployed` | `payModel.components.${number}.hourlyOptions.rate` | `payModel.components.${number}.hourlyOptions.overtimeEligible` | `payModel.components.${number}.hourlyOptions.excludeSessionTime` | `payModel.components.${number}.flatPerSessionOptions.amount` | `payModel.components.${number}.flatPerSessionOptions.zeroWhenCancelled` | `payModel.components.${number}.basePlusPerHeadOptions.includedAttendees` | `payModel.components.${number}.basePlusPerHeadOptions.amountPerAdditionalAttendee` | `payModel.components.${number}.basePlusPerHeadOptions.countBasis` | `payModel.components.${number}.basePlusPerHeadOptions.zeroWhenCancelled` | `payModel.components.${number}.basePlusPerHeadOptions.excludeFreeVisits` | `payModel.components.${number}.attendanceTiersOptions.countBasis` | `payModel.components.${number}.attendanceTiersOptions.zeroWhenCancelled` | `payModel.components.${number}.attendanceTiersOptions.excludeFreeVisits` | `payModel.components.${number}.serviceCommissionOptions.percent` | `payModel.components.${number}.serviceCommissionOptions.tierMode` | `payModel.components.${number}.serviceCommissionOptions.revenueRules.discountBasis` | `payModel.components.${number}.serviceCommissionOptions.revenueRules.taxBasis` | `payModel.components.${number}.productCommissionOptions.percent` | `payModel.components.${number}.name` | `payModel.components.${number}.type` | `payModel.combinator.greaterOfOptions.componentIds` | `payModel.combinator.type`, 5>>;
1368
- /**
1369
- * Deletes multiple pay models.
1370
- *
1371
- * Each pay model is deleted on its own: one that pay terms use isn't deleted and its result fails with
1372
- * `PAY_MODEL_IN_USE`, while the others are still deleted.
1373
- *
1374
- * To delete a single pay model, call Delete Pay Model.
1375
- * @param payModelIds - IDs of the pay models to delete.
1376
- * @public
1377
- * @documentationMaturity preview
1378
- * @requiredField payModelIds
1379
- * @permissionId staff:pay:v1:pay_model:bulk_delete_pay_models
1380
- * @fqn wix.staff.pay.v1.PayModelsService.BulkDeletePayModels
1381
- */
1382
- declare function bulkDeletePayModels(payModelIds: string[]): Promise<NonNullablePaths<BulkDeletePayModelsResponse, `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`, 4> & {
1383
- __applicationErrorsType?: BulkDeletePayModelsApplicationErrors;
1384
- }>;
1385
1346
 
1386
- export { type AccountInfo, type ActionEvent, type ApplicationError, type ArchivePayModelRequest, type ArchivePayModelResponse, type AttendanceTier, type AttendanceTiersOptions, AttendeeCountBasis, type AttendeeCountBasisWithLiterals, type BasePlusPerHeadOptions, type BulkActionMetadata, type BulkDeletePayModelsApplicationErrors, type BulkDeletePayModelsRequest, type BulkDeletePayModelsResponse, type BulkPayModelResult, type Combinator, type CombinatorOptionsOneOf, CombinatorType, type CombinatorTypeWithLiterals, type CommissionTier, CommissionTierMode, type CommissionTierModeWithLiterals, type CommonQueryWithEntityContext, ComponentType, type ComponentTypeWithLiterals, type CostDeduction, type CostDeductionKindOneOf, type CreatePayModelApplicationErrors, type CreatePayModelRequest, type CreatePayModelResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeletePayModelApplicationErrors, type DeletePayModelRequest, type DeletePayModelResponse, DiscountBasis, type DiscountBasisWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type ExtraAttendeeTier, type FlatPerSessionOptions, type GetPayModelRequest, type GetPayModelResponse, type GreaterOfOptions, type HourlyOptions, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type PayComponent, type PayComponentOptionsOneOf, type PayModel, type PayModelQuery, type PayModelQuerySpec, type PayModelsQueryBuilder, type PayModelsQueryResult, type PerCourseOptions, type PlanSaleCommissionOptions, type ProductCommissionOptions, type QueryPayModelsRequest, type QueryPayModelsResponse, type RestoreInfo, type RevenueRules, type SalaryOptions, type ServiceCommissionOptions, SortOrder, type SortOrderWithLiterals, type Sorting, TaxBasis, type TaxBasisWithLiterals, type TipsOptions, type UnarchivePayModelRequest, type UnarchivePayModelResponse, type UpdatePayModel, type UpdatePayModelApplicationErrors, type UpdatePayModelRequest, type UpdatePayModelResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, archivePayModel, bulkDeletePayModels, createPayModel, deletePayModel, getPayModel, queryPayModels, typedQueryPayModels, unarchivePayModel, updatePayModel, utils };
1347
+ export { type AccountInfo, type ActionEvent, type ApplicationError, type ArchivePayModelRequest, type ArchivePayModelResponse, type AttendanceTier, type AttendanceTiersOptions, AttendeeCountBasis, type AttendeeCountBasisWithLiterals, type BasePlusPerHeadOptions, type BulkActionMetadata, type BulkDeletePayModelsRequest, type BulkDeletePayModelsResponse, type BulkPayModelResult, type Combinator, type CombinatorOptionsOneOf, CombinatorType, type CombinatorTypeWithLiterals, type CommissionTier, CommissionTierMode, type CommissionTierModeWithLiterals, type CommonQueryWithEntityContext, ComponentType, type ComponentTypeWithLiterals, type CostDeduction, type CostDeductionKindOneOf, type CreatePayModelApplicationErrors, type CreatePayModelRequest, type CreatePayModelResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeletePayModelApplicationErrors, type DeletePayModelRequest, type DeletePayModelResponse, DiscountBasis, type DiscountBasisWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type ExtraAttendeeTier, type FlatPerSessionOptions, type GetPayModelRequest, type GetPayModelResponse, type GreaterOfOptions, type HourlyOptions, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type PayComponent, type PayComponentOptionsOneOf, type PayModel, type PayModelQuery, type PayModelQuerySpec, type PayModelsQueryBuilder, type PayModelsQueryResult, type PerCourseOptions, type PlanSaleCommissionOptions, type ProductCommissionOptions, type QueryPayModelsRequest, type QueryPayModelsResponse, type RestoreInfo, type RevenueRules, type SalaryOptions, type ServiceCommissionOptions, SortOrder, type SortOrderWithLiterals, type Sorting, TaxBasis, type TaxBasisWithLiterals, type TipsOptions, type UnarchivePayModelRequest, type UnarchivePayModelResponse, type UpdatePayModel, type UpdatePayModelApplicationErrors, type UpdatePayModelRequest, type UpdatePayModelResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, archivePayModel, createPayModel, deletePayModel, getPayModel, queryPayModels, typedQueryPayModels, updatePayModel, utils };
@@ -1,4 +1,4 @@
1
- import { CreatePayModelRequest as CreatePayModelRequest$1, CreatePayModelResponse as CreatePayModelResponse$1, GetPayModelRequest as GetPayModelRequest$1, GetPayModelResponse as GetPayModelResponse$1, UpdatePayModelRequest as UpdatePayModelRequest$1, UpdatePayModelResponse as UpdatePayModelResponse$1, DeletePayModelRequest as DeletePayModelRequest$1, DeletePayModelResponse as DeletePayModelResponse$1, QueryPayModelsRequest as QueryPayModelsRequest$1, QueryPayModelsResponse as QueryPayModelsResponse$1, ArchivePayModelRequest as ArchivePayModelRequest$1, ArchivePayModelResponse as ArchivePayModelResponse$1, UnarchivePayModelRequest as UnarchivePayModelRequest$1, UnarchivePayModelResponse as UnarchivePayModelResponse$1, BulkDeletePayModelsRequest as BulkDeletePayModelsRequest$1, BulkDeletePayModelsResponse as BulkDeletePayModelsResponse$1 } from './index.typings.mjs';
1
+ import { CreatePayModelRequest as CreatePayModelRequest$1, CreatePayModelResponse as CreatePayModelResponse$1, GetPayModelRequest as GetPayModelRequest$1, GetPayModelResponse as GetPayModelResponse$1, UpdatePayModelRequest as UpdatePayModelRequest$1, UpdatePayModelResponse as UpdatePayModelResponse$1, DeletePayModelRequest as DeletePayModelRequest$1, DeletePayModelResponse as DeletePayModelResponse$1, QueryPayModelsRequest as QueryPayModelsRequest$1, QueryPayModelsResponse as QueryPayModelsResponse$1, ArchivePayModelRequest as ArchivePayModelRequest$1, ArchivePayModelResponse as ArchivePayModelResponse$1 } from './index.typings.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -72,8 +72,7 @@ interface PayModel {
72
72
  * Date and time the pay model was archived.
73
73
  *
74
74
  * Returned only when the pay model is archived. An archived pay model can't be updated and isn't offered for new pay
75
- * terms, but pay terms that already use it keep it, so it can still be retrieved. Set by Archive Pay Model and cleared
76
- * by Unarchive Pay Model.
75
+ * terms, but pay terms that already use it keep it, so it can still be retrieved. Set by Archive Pay Model.
77
76
  * @readonly
78
77
  */
79
78
  archivedDate?: Date | null;
@@ -759,7 +758,7 @@ interface UnarchivePayModelRequest {
759
758
  * ID of the pay model to unarchive.
760
759
  * @format GUID
761
760
  */
762
- payModelId: string;
761
+ payModelId?: string;
763
762
  }
764
763
  interface UnarchivePayModelResponse {
765
764
  /** Unarchived pay model. */
@@ -772,7 +771,7 @@ interface BulkDeletePayModelsRequest {
772
771
  * @maxSize 100
773
772
  * @format GUID
774
773
  */
775
- payModelIds: string[];
774
+ payModelIds?: string[];
776
775
  }
777
776
  interface BulkDeletePayModelsResponse {
778
777
  /**
@@ -1076,12 +1075,6 @@ type DeletePayModelApplicationErrors = {
1076
1075
  description?: string;
1077
1076
  data?: Record<string, any>;
1078
1077
  };
1079
- /** @docsIgnore */
1080
- type BulkDeletePayModelsApplicationErrors = {
1081
- code?: 'PAY_MODEL_IN_USE';
1082
- description?: string;
1083
- data?: Record<string, any>;
1084
- };
1085
1078
 
1086
1079
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1087
1080
  getUrl: (context: any) => string;
@@ -1107,9 +1100,5 @@ declare function queryPayModels(): __PublicMethodMetaInfo<'GET', {}, QueryPayMod
1107
1100
  declare function archivePayModel(): __PublicMethodMetaInfo<'POST', {
1108
1101
  payModelId: string;
1109
1102
  }, ArchivePayModelRequest$1, ArchivePayModelRequest, ArchivePayModelResponse$1, ArchivePayModelResponse>;
1110
- declare function unarchivePayModel(): __PublicMethodMetaInfo<'POST', {
1111
- payModelId: string;
1112
- }, UnarchivePayModelRequest$1, UnarchivePayModelRequest, UnarchivePayModelResponse$1, UnarchivePayModelResponse>;
1113
- declare function bulkDeletePayModels(): __PublicMethodMetaInfo<'POST', {}, BulkDeletePayModelsRequest$1, BulkDeletePayModelsRequest, BulkDeletePayModelsResponse$1, BulkDeletePayModelsResponse>;
1114
1103
 
1115
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type ArchivePayModelRequest as ArchivePayModelRequestOriginal, type ArchivePayModelResponse as ArchivePayModelResponseOriginal, type AttendanceTier as AttendanceTierOriginal, type AttendanceTiersOptions as AttendanceTiersOptionsOriginal, AttendeeCountBasis as AttendeeCountBasisOriginal, type AttendeeCountBasisWithLiterals as AttendeeCountBasisWithLiteralsOriginal, type BasePlusPerHeadOptions as BasePlusPerHeadOptionsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkDeletePayModelsApplicationErrors as BulkDeletePayModelsApplicationErrorsOriginal, type BulkDeletePayModelsRequest as BulkDeletePayModelsRequestOriginal, type BulkDeletePayModelsResponse as BulkDeletePayModelsResponseOriginal, type BulkPayModelResult as BulkPayModelResultOriginal, type CombinatorOptionsOneOf as CombinatorOptionsOneOfOriginal, type Combinator as CombinatorOriginal, CombinatorType as CombinatorTypeOriginal, type CombinatorTypeWithLiterals as CombinatorTypeWithLiteralsOriginal, CommissionTierMode as CommissionTierModeOriginal, type CommissionTierModeWithLiterals as CommissionTierModeWithLiteralsOriginal, type CommissionTier as CommissionTierOriginal, ComponentType as ComponentTypeOriginal, type ComponentTypeWithLiterals as ComponentTypeWithLiteralsOriginal, type CostDeductionKindOneOf as CostDeductionKindOneOfOriginal, type CostDeduction as CostDeductionOriginal, type CreatePayModelApplicationErrors as CreatePayModelApplicationErrorsOriginal, type CreatePayModelRequest as CreatePayModelRequestOriginal, type CreatePayModelResponse as CreatePayModelResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeletePayModelApplicationErrors as DeletePayModelApplicationErrorsOriginal, type DeletePayModelRequest as DeletePayModelRequestOriginal, type DeletePayModelResponse as DeletePayModelResponseOriginal, DiscountBasis as DiscountBasisOriginal, type DiscountBasisWithLiterals as DiscountBasisWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExtraAttendeeTier as ExtraAttendeeTierOriginal, type FlatPerSessionOptions as FlatPerSessionOptionsOriginal, type GetPayModelRequest as GetPayModelRequestOriginal, type GetPayModelResponse as GetPayModelResponseOriginal, type GreaterOfOptions as GreaterOfOptionsOriginal, type HourlyOptions as HourlyOptionsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ItemMetadata as ItemMetadataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type PayComponentOptionsOneOf as PayComponentOptionsOneOfOriginal, type PayComponent as PayComponentOriginal, type PayModel as PayModelOriginal, type PerCourseOptions as PerCourseOptionsOriginal, type PlanSaleCommissionOptions as PlanSaleCommissionOptionsOriginal, type ProductCommissionOptions as ProductCommissionOptionsOriginal, type QueryPayModelsRequest as QueryPayModelsRequestOriginal, type QueryPayModelsResponse as QueryPayModelsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RevenueRules as RevenueRulesOriginal, type SalaryOptions as SalaryOptionsOriginal, type ServiceCommissionOptions as ServiceCommissionOptionsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, TaxBasis as TaxBasisOriginal, type TaxBasisWithLiterals as TaxBasisWithLiteralsOriginal, type TipsOptions as TipsOptionsOriginal, type UnarchivePayModelRequest as UnarchivePayModelRequestOriginal, type UnarchivePayModelResponse as UnarchivePayModelResponseOriginal, type UpdatePayModelApplicationErrors as UpdatePayModelApplicationErrorsOriginal, type UpdatePayModelRequest as UpdatePayModelRequestOriginal, type UpdatePayModelResponse as UpdatePayModelResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, archivePayModel, bulkDeletePayModels, createPayModel, deletePayModel, getPayModel, queryPayModels, unarchivePayModel, updatePayModel };
1104
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type ArchivePayModelRequest as ArchivePayModelRequestOriginal, type ArchivePayModelResponse as ArchivePayModelResponseOriginal, type AttendanceTier as AttendanceTierOriginal, type AttendanceTiersOptions as AttendanceTiersOptionsOriginal, AttendeeCountBasis as AttendeeCountBasisOriginal, type AttendeeCountBasisWithLiterals as AttendeeCountBasisWithLiteralsOriginal, type BasePlusPerHeadOptions as BasePlusPerHeadOptionsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkDeletePayModelsRequest as BulkDeletePayModelsRequestOriginal, type BulkDeletePayModelsResponse as BulkDeletePayModelsResponseOriginal, type BulkPayModelResult as BulkPayModelResultOriginal, type CombinatorOptionsOneOf as CombinatorOptionsOneOfOriginal, type Combinator as CombinatorOriginal, CombinatorType as CombinatorTypeOriginal, type CombinatorTypeWithLiterals as CombinatorTypeWithLiteralsOriginal, CommissionTierMode as CommissionTierModeOriginal, type CommissionTierModeWithLiterals as CommissionTierModeWithLiteralsOriginal, type CommissionTier as CommissionTierOriginal, ComponentType as ComponentTypeOriginal, type ComponentTypeWithLiterals as ComponentTypeWithLiteralsOriginal, type CostDeductionKindOneOf as CostDeductionKindOneOfOriginal, type CostDeduction as CostDeductionOriginal, type CreatePayModelApplicationErrors as CreatePayModelApplicationErrorsOriginal, type CreatePayModelRequest as CreatePayModelRequestOriginal, type CreatePayModelResponse as CreatePayModelResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeletePayModelApplicationErrors as DeletePayModelApplicationErrorsOriginal, type DeletePayModelRequest as DeletePayModelRequestOriginal, type DeletePayModelResponse as DeletePayModelResponseOriginal, DiscountBasis as DiscountBasisOriginal, type DiscountBasisWithLiterals as DiscountBasisWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExtraAttendeeTier as ExtraAttendeeTierOriginal, type FlatPerSessionOptions as FlatPerSessionOptionsOriginal, type GetPayModelRequest as GetPayModelRequestOriginal, type GetPayModelResponse as GetPayModelResponseOriginal, type GreaterOfOptions as GreaterOfOptionsOriginal, type HourlyOptions as HourlyOptionsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ItemMetadata as ItemMetadataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type PayComponentOptionsOneOf as PayComponentOptionsOneOfOriginal, type PayComponent as PayComponentOriginal, type PayModel as PayModelOriginal, type PerCourseOptions as PerCourseOptionsOriginal, type PlanSaleCommissionOptions as PlanSaleCommissionOptionsOriginal, type ProductCommissionOptions as ProductCommissionOptionsOriginal, type QueryPayModelsRequest as QueryPayModelsRequestOriginal, type QueryPayModelsResponse as QueryPayModelsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RevenueRules as RevenueRulesOriginal, type SalaryOptions as SalaryOptionsOriginal, type ServiceCommissionOptions as ServiceCommissionOptionsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, TaxBasis as TaxBasisOriginal, type TaxBasisWithLiterals as TaxBasisWithLiteralsOriginal, type TipsOptions as TipsOptionsOriginal, type UnarchivePayModelRequest as UnarchivePayModelRequestOriginal, type UnarchivePayModelResponse as UnarchivePayModelResponseOriginal, type UpdatePayModelApplicationErrors as UpdatePayModelApplicationErrorsOriginal, type UpdatePayModelRequest as UpdatePayModelRequestOriginal, type UpdatePayModelResponse as UpdatePayModelResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, archivePayModel, createPayModel, deletePayModel, getPayModel, queryPayModels, updatePayModel };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_staff-pay_pay-models",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.staff.pay.v1.pay_model"
51
51
  }
52
52
  },
53
- "falconPackageHash": "8cd6a46b43fa60afd87e456c067ab6304514c03aa76c69d41ac9ab54"
53
+ "falconPackageHash": "3cb6ab8ec533380bdda5a4875f3415d889afbf898cfb0ebc564f3a2e"
54
54
  }