@wix/auto_sdk_benefit-programs_balances 1.0.52 → 1.0.54

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.
@@ -2,7 +2,9 @@ import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@
2
2
  import { Balance, ListBalancesOptions, ListBalancesResponse, ChangeBalanceOptions, ChangeBalanceResponse, ChangeBalanceApplicationErrors, RevertBalanceChangeOptions, RevertBalanceChangeResponse, RevertBalanceChangeApplicationErrors, BalancesQueryBuilder, BalanceQuery, typedQueryBalances } from './index.typings.js';
3
3
  export { AccountInfo, ActionEvent, AdjustOptions, ApplicationError, BalanceAmount, BalanceChangeBalanceRequest, BalanceChangeBalanceRequestOperationOneOf, BalanceExceededLimits, BalanceQuerySpec, BalanceType, BalanceTypeWithLiterals, BalancesQueryResult, BulkActionMetadata, BulkChangeBalanceResult, BulkChangeBalancesRequest, BulkChangeBalancesResponse, ChangeAlreadyReverted, ChangeBalanceOptionsOperationOneOf, ChangeBalanceRequest, ChangeBalanceRequestOperationOneOf, ChangeBalanceRequestType, ChangeBalanceRequestTypeWithLiterals, CommonIdentificationData, CommonIdentificationDataIdOneOf, CommonQueryWithEntityContext, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetBalanceRequest, GetBalanceResponse, GetTransactionReversibilityRequest, GetTransactionReversibilityResponse, IdentificationData, IdentificationDataIdOneOf, IdentityType, IdentityTypeWithLiterals, Item, ItemMetadata, LimitRule, LimitRuleWithLiterals, ListBalancesRequest, MessageEnvelope, NotEnoughBalance, PoolInfo, PoolStatus, PoolStatusWithLiterals, QueryBalancesRequest, QueryBalancesResponse, RestoreInfo, RevertBalanceChangeRequest, RolloverConfigurationInfo, SetInitialOptions, SetOptions, SortOrder, SortOrderWithLiterals, Sorting, TransactionDetails, TransactionReversibility, TransactionReversibilityWithLiterals, Type, TypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
4
4
 
5
- declare function getBalance$1(httpClient: HttpClient): GetBalanceSignature;
5
+ declare function getBalance$1(httpClient: HttpClient, __options?: {
6
+ validateRequestSchema?: boolean;
7
+ }): GetBalanceSignature;
6
8
  interface GetBalanceSignature {
7
9
  /**
8
10
  * Retrieves a balance.
@@ -11,14 +13,18 @@ interface GetBalanceSignature {
11
13
  */
12
14
  (poolId: string): Promise<NonNullablePaths<Balance, `_id` | `beneficiary.anonymousVisitorId` | `beneficiary.memberId` | `beneficiary.wixUserId` | `amount.available` | `amount.reserved` | `poolInfo._id` | `poolInfo.status`, 3>>;
13
15
  }
14
- declare function listBalances$1(httpClient: HttpClient): ListBalancesSignature;
16
+ declare function listBalances$1(httpClient: HttpClient, __options?: {
17
+ validateRequestSchema?: boolean;
18
+ }): ListBalancesSignature;
15
19
  interface ListBalancesSignature {
16
20
  /**
17
21
  * Retrieves a list of balances.
18
22
  */
19
23
  (options?: ListBalancesOptions): Promise<NonNullablePaths<ListBalancesResponse, `balances` | `balances.${number}._id` | `balances.${number}.beneficiary.anonymousVisitorId` | `balances.${number}.beneficiary.memberId` | `balances.${number}.beneficiary.wixUserId` | `balances.${number}.amount.available` | `balances.${number}.amount.reserved` | `balances.${number}.poolInfo._id` | `balances.${number}.poolInfo.status`, 5>>;
20
24
  }
21
- declare function changeBalance$1(httpClient: HttpClient): ChangeBalanceSignature;
25
+ declare function changeBalance$1(httpClient: HttpClient, __options?: {
26
+ validateRequestSchema?: boolean;
27
+ }): ChangeBalanceSignature;
22
28
  interface ChangeBalanceSignature {
23
29
  /**
24
30
  * Changes the number of available credits in a balance.
@@ -32,7 +38,9 @@ interface ChangeBalanceSignature {
32
38
  __applicationErrorsType?: ChangeBalanceApplicationErrors;
33
39
  }>;
34
40
  }
35
- declare function revertBalanceChange$1(httpClient: HttpClient): RevertBalanceChangeSignature;
41
+ declare function revertBalanceChange$1(httpClient: HttpClient, __options?: {
42
+ validateRequestSchema?: boolean;
43
+ }): RevertBalanceChangeSignature;
36
44
  interface RevertBalanceChangeSignature {
37
45
  /**
38
46
  * Reverts a transaction created by calling Change Balance.