@wix/auto_sdk_get-paid_receipts 1.0.333 → 1.0.335
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 -7
- 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 -7
- 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 -7
- 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 -7
- package/build/internal/es/index.typings.mjs +5 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +4 -4
package/build/cjs/index.d.ts
CHANGED
|
@@ -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.js';
|
|
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.js';
|
|
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.js';
|
|
4
4
|
|
|
5
5
|
declare function createReceipt$1(httpClient: HttpClient): CreateReceiptSignature;
|
|
6
6
|
interface CreateReceiptSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -22,8 +22,11 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
AdditionalFeeSource: () => AdditionalFeeSource,
|
|
24
24
|
DocumentStatus: () => DocumentStatus,
|
|
25
|
+
Filter: () => Filter,
|
|
26
|
+
QueryBuilder: () => QueryBuilder,
|
|
25
27
|
ReceiptOrderType: () => ReceiptOrderType,
|
|
26
28
|
RequestOrigin: () => RequestOrigin,
|
|
29
|
+
Sort: () => Sort,
|
|
27
30
|
SortOrder: () => SortOrder,
|
|
28
31
|
SubdivisionType: () => SubdivisionType,
|
|
29
32
|
VatType: () => VatType,
|
|
@@ -367,6 +370,7 @@ var import_address2 = require("@wix/sdk-runtime/transformations/address");
|
|
|
367
370
|
var import_image = require("@wix/sdk-runtime/transformations/image");
|
|
368
371
|
var import_image2 = require("@wix/sdk-runtime/transformations/image");
|
|
369
372
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
373
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
370
374
|
var ReceiptOrderType = /* @__PURE__ */ ((ReceiptOrderType2) => {
|
|
371
375
|
ReceiptOrderType2["UNKNOWN_ORDER_TYPE"] = "UNKNOWN_ORDER_TYPE";
|
|
372
376
|
ReceiptOrderType2["WIX_PAYMENT"] = "WIX_PAYMENT";
|
|
@@ -611,6 +615,7 @@ async function typedQueryReceipts(query) {
|
|
|
611
615
|
throw transformedError;
|
|
612
616
|
}
|
|
613
617
|
}
|
|
618
|
+
var { QueryBuilder, Filter, Sort } = (0, import_query_builder_utils.createQueryUtils)();
|
|
614
619
|
async function regenerateReceiptDocument2(receiptId) {
|
|
615
620
|
const { httpClient, sideEffects } = arguments[1];
|
|
616
621
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -926,8 +931,11 @@ var onReceiptUpdated2 = (0, import_event_definition_modules.createEventModule)(o
|
|
|
926
931
|
0 && (module.exports = {
|
|
927
932
|
AdditionalFeeSource,
|
|
928
933
|
DocumentStatus,
|
|
934
|
+
Filter,
|
|
935
|
+
QueryBuilder,
|
|
929
936
|
ReceiptOrderType,
|
|
930
937
|
RequestOrigin,
|
|
938
|
+
Sort,
|
|
931
939
|
SortOrder,
|
|
932
940
|
SubdivisionType,
|
|
933
941
|
VatType,
|