@wix/auto_sdk_benefit-programs_balances 1.0.54 → 1.0.56

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 +5 -13
  2. package/build/cjs/index.js +17 -871
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +14 -1
  5. package/build/cjs/index.typings.js +5 -859
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +14 -1
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/cjs/schemas.d.ts +1 -1
  10. package/build/es/index.d.mts +5 -13
  11. package/build/es/index.mjs +17 -861
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +14 -1
  14. package/build/es/index.typings.mjs +5 -849
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +14 -1
  17. package/build/es/meta.mjs.map +1 -1
  18. package/build/es/schemas.d.mts +1 -1
  19. package/build/internal/cjs/index.d.ts +5 -13
  20. package/build/internal/cjs/index.js +17 -871
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +14 -1
  23. package/build/internal/cjs/index.typings.js +5 -859
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +14 -1
  26. package/build/internal/cjs/meta.js.map +1 -1
  27. package/build/internal/cjs/schemas.d.ts +1 -1
  28. package/build/internal/es/index.d.mts +5 -13
  29. package/build/internal/es/index.mjs +17 -861
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +14 -1
  32. package/build/internal/es/index.typings.mjs +5 -849
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +14 -1
  35. package/build/internal/es/meta.mjs.map +1 -1
  36. package/build/internal/es/schemas.d.mts +1 -1
  37. package/package.json +2 -2
@@ -1,10 +1,8 @@
1
1
  import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
2
  import { Balance, ListBalancesOptions, ListBalancesResponse, ChangeBalanceOptions, ChangeBalanceResponse, ChangeBalanceApplicationErrors, RevertBalanceChangeOptions, RevertBalanceChangeResponse, RevertBalanceChangeApplicationErrors, BalancesQueryBuilder, BalanceQuery, typedQueryBalances } from './index.typings.js';
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';
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, HealBalanceRequest, HealBalanceResponse, HealBalancesTenantRequest, HealBalancesTenantResponse, 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, __options?: {
6
- validateRequestSchema?: boolean;
7
- }): GetBalanceSignature;
5
+ declare function getBalance$1(httpClient: HttpClient): GetBalanceSignature;
8
6
  interface GetBalanceSignature {
9
7
  /**
10
8
  * Retrieves a balance.
@@ -13,18 +11,14 @@ interface GetBalanceSignature {
13
11
  */
14
12
  (poolId: string): Promise<NonNullablePaths<Balance, `_id` | `beneficiary.anonymousVisitorId` | `beneficiary.memberId` | `beneficiary.wixUserId` | `amount.available` | `amount.reserved` | `poolInfo._id` | `poolInfo.status`, 3>>;
15
13
  }
16
- declare function listBalances$1(httpClient: HttpClient, __options?: {
17
- validateRequestSchema?: boolean;
18
- }): ListBalancesSignature;
14
+ declare function listBalances$1(httpClient: HttpClient): ListBalancesSignature;
19
15
  interface ListBalancesSignature {
20
16
  /**
21
17
  * Retrieves a list of balances.
22
18
  */
23
19
  (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>>;
24
20
  }
25
- declare function changeBalance$1(httpClient: HttpClient, __options?: {
26
- validateRequestSchema?: boolean;
27
- }): ChangeBalanceSignature;
21
+ declare function changeBalance$1(httpClient: HttpClient): ChangeBalanceSignature;
28
22
  interface ChangeBalanceSignature {
29
23
  /**
30
24
  * Changes the number of available credits in a balance.
@@ -38,9 +32,7 @@ interface ChangeBalanceSignature {
38
32
  __applicationErrorsType?: ChangeBalanceApplicationErrors;
39
33
  }>;
40
34
  }
41
- declare function revertBalanceChange$1(httpClient: HttpClient, __options?: {
42
- validateRequestSchema?: boolean;
43
- }): RevertBalanceChangeSignature;
35
+ declare function revertBalanceChange$1(httpClient: HttpClient): RevertBalanceChangeSignature;
44
36
  interface RevertBalanceChangeSignature {
45
37
  /**
46
38
  * Reverts a transaction created by calling Change Balance.