@wix/auto_sdk_get-paid_receipts 1.0.333 → 1.0.334
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 +8 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -1
- package/build/cjs/index.typings.js +8 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +5 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -1
- package/build/es/index.typings.mjs +5 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +8 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +5 -1
- package/build/internal/cjs/index.typings.js +8 -0
- 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 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +5 -1
- package/build/internal/es/index.typings.mjs +5 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { Receipt, CreateReceiptApplicationErrors, RegenerateReceiptDocumentApplicationErrors, SendReceiptEmailOptions, SendReceiptEmailApplicationErrors, GetLatestReceiptNumberOptions, GetLatestReceiptNumberResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, ReceiptCreatedEnvelope, ReceiptSentEnvelope, ReceiptUpdatedEnvelope, ReceiptsQueryBuilder, ReceiptQuery, typedQueryReceipts } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AddressStreetOneOf, BaseEventMetadata, BusinessDetails, CommonQueryWithEntityContext, CreateReceiptRequest, CreateReceiptResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomField, CustomFields, Customer, Discount, Document, DocumentStatus, DocumentStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, Failed, FooterCustomField, FullAddressContactDetails, GenerateReceiptDocument, GetLatestReceiptNumberRequest, GetReceiptRequest, GetReceiptResponse, IdentificationData, IdentificationDataIdOneOf, LineItem, LineItemTax, LineItemTotals, Locale, MessageEnvelope, Numbering, Payment, QueryReceiptsRequest, QueryReceiptsResponse, ReceiptDocumentHandled, ReceiptDocumentHandledResultOneOf, ReceiptDocumentProcess, ReceiptNumberingProcess, ReceiptOrderType, ReceiptOrderTypeWithLiterals, ReceiptQuerySpec, ReceiptsQueryResult, RegenerateReceiptDocumentRequest, RegenerateReceiptDocumentResponse, RegionalProperties, RequestOrigin, RequestOriginWithLiterals, RestoreInfo, SendReceiptEmailRequest, SendReceiptEmailResponse, Sent, ShippingAddressContactDetails, ShippingInfo, ShippingTax, SortOrder, SortOrderWithLiterals, Sorting, SourceReference, SourceReferenceOrderOneOf, StandardDetails, StreetAddress, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, Succeeded, Tax, Totals, UpdateExtendedFieldsRequest, UpdateReceiptRequest, UpdateReceiptResponse, VatId, VatType, VatTypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixEcom, WixPayment } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AddressStreetOneOf, BaseEventMetadata, BusinessDetails, CommonQueryWithEntityContext, CreateReceiptRequest, CreateReceiptResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomField, CustomFields, Customer, Discount, Document, DocumentStatus, DocumentStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, Failed, Filter, FooterCustomField, FullAddressContactDetails, GenerateReceiptDocument, GetLatestReceiptNumberRequest, GetReceiptRequest, GetReceiptResponse, IdentificationData, IdentificationDataIdOneOf, LineItem, LineItemTax, LineItemTotals, Locale, MessageEnvelope, Numbering, Payment, QueryBuilder, QueryReceiptsRequest, QueryReceiptsResponse, ReceiptDocumentHandled, ReceiptDocumentHandledResultOneOf, ReceiptDocumentProcess, ReceiptNumberingProcess, ReceiptOrderType, ReceiptOrderTypeWithLiterals, ReceiptQuerySpec, ReceiptsQueryResult, RegenerateReceiptDocumentRequest, RegenerateReceiptDocumentResponse, RegionalProperties, RequestOrigin, RequestOriginWithLiterals, RestoreInfo, SendReceiptEmailRequest, SendReceiptEmailResponse, Sent, ShippingAddressContactDetails, ShippingInfo, ShippingTax, Sort, SortOrder, SortOrderWithLiterals, Sorting, SourceReference, SourceReferenceOrderOneOf, StandardDetails, StreetAddress, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, Succeeded, Tax, Totals, UpdateExtendedFieldsRequest, UpdateReceiptRequest, UpdateReceiptResponse, VatId, VatType, VatTypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixEcom, WixPayment } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createReceipt$1(httpClient: HttpClient): CreateReceiptSignature;
|
|
6
6
|
interface CreateReceiptSignature {
|
|
@@ -327,6 +327,7 @@ import { transformRESTAddressToSDKAddress } from "@wix/sdk-runtime/transformatio
|
|
|
327
327
|
import { transformSDKImageToRESTImage } from "@wix/sdk-runtime/transformations/image";
|
|
328
328
|
import { transformRESTImageToSDKImage } from "@wix/sdk-runtime/transformations/image";
|
|
329
329
|
import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
330
|
+
import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
|
|
330
331
|
var ReceiptOrderType = /* @__PURE__ */ ((ReceiptOrderType2) => {
|
|
331
332
|
ReceiptOrderType2["UNKNOWN_ORDER_TYPE"] = "UNKNOWN_ORDER_TYPE";
|
|
332
333
|
ReceiptOrderType2["WIX_PAYMENT"] = "WIX_PAYMENT";
|
|
@@ -571,6 +572,7 @@ async function typedQueryReceipts(query) {
|
|
|
571
572
|
throw transformedError;
|
|
572
573
|
}
|
|
573
574
|
}
|
|
575
|
+
var { QueryBuilder, Filter, Sort } = createQueryUtils();
|
|
574
576
|
async function regenerateReceiptDocument2(receiptId) {
|
|
575
577
|
const { httpClient, sideEffects } = arguments[1];
|
|
576
578
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
@@ -885,8 +887,11 @@ var onReceiptUpdated2 = createEventModule(onReceiptUpdated);
|
|
|
885
887
|
export {
|
|
886
888
|
AdditionalFeeSource,
|
|
887
889
|
DocumentStatus,
|
|
890
|
+
Filter,
|
|
891
|
+
QueryBuilder,
|
|
888
892
|
ReceiptOrderType,
|
|
889
893
|
RequestOrigin,
|
|
894
|
+
Sort,
|
|
890
895
|
SortOrder,
|
|
891
896
|
SubdivisionType,
|
|
892
897
|
VatType,
|