@wix/auto_sdk_get-paid_receipts 1.0.326 → 1.0.328
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 +11 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +16 -7
- package/build/cjs/index.typings.js +11 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +16 -1
- package/build/cjs/meta.js +11 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +10 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +16 -7
- package/build/es/index.typings.mjs +10 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +16 -1
- package/build/es/meta.mjs +10 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +11 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +21 -7
- package/build/internal/cjs/index.typings.js +11 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +16 -1
- package/build/internal/cjs/meta.js +11 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +10 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +21 -7
- package/build/internal/es/index.typings.mjs +10 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +16 -1
- package/build/internal/es/meta.mjs +10 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -626,6 +626,21 @@ interface AdditionalFeeTax {
|
|
|
626
626
|
*/
|
|
627
627
|
exemptAmount?: string | null;
|
|
628
628
|
}
|
|
629
|
+
declare enum AdditionalFeeSource {
|
|
630
|
+
UNKNOWN_ADDITIONAL_FEE_SOURCE = "UNKNOWN_ADDITIONAL_FEE_SOURCE",
|
|
631
|
+
/** The additional fee was added by an additional fee service plugin. */
|
|
632
|
+
SERVICE_PLUGIN = "SERVICE_PLUGIN",
|
|
633
|
+
/** The additional fee was added to the item by a catalog or custom line item. */
|
|
634
|
+
ITEM = "ITEM",
|
|
635
|
+
/** The additional fee was added manually on request. */
|
|
636
|
+
MANUAL = "MANUAL",
|
|
637
|
+
/** The additional fee was added by the shipping provider. */
|
|
638
|
+
SHIPPING = "SHIPPING",
|
|
639
|
+
/** The additional fee was added by the Wix eCommerce platform. */
|
|
640
|
+
PLATFORM = "PLATFORM"
|
|
641
|
+
}
|
|
642
|
+
/** @enumType */
|
|
643
|
+
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM';
|
|
629
644
|
interface Discount {
|
|
630
645
|
/**
|
|
631
646
|
* Deprecated: Use `display_name` instead.
|
|
@@ -1330,8 +1345,6 @@ interface ReceiptCreatedEnvelope {
|
|
|
1330
1345
|
* Triggered when a receipt is created.
|
|
1331
1346
|
* @permissionScope Manage Receipts
|
|
1332
1347
|
* @permissionScopeId SCOPE.RECEIPTS.MANAGE
|
|
1333
|
-
* @permissionScope Manage Stores
|
|
1334
|
-
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1335
1348
|
* @permissionId RECEIPTS.RECEIPT_READ
|
|
1336
1349
|
* @webhook
|
|
1337
1350
|
* @eventType wix.receipts.v1.receipt_created
|
|
@@ -1346,8 +1359,6 @@ interface ReceiptSentEnvelope {
|
|
|
1346
1359
|
* Triggered when a receipt is sent.
|
|
1347
1360
|
* @permissionScope Manage Receipts
|
|
1348
1361
|
* @permissionScopeId SCOPE.RECEIPTS.MANAGE
|
|
1349
|
-
* @permissionScope Manage Stores
|
|
1350
|
-
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1351
1362
|
* @permissionId RECEIPTS.RECEIPT_READ
|
|
1352
1363
|
* @webhook
|
|
1353
1364
|
* @eventType wix.receipts.v1.receipt_sent
|
|
@@ -1364,8 +1375,6 @@ interface ReceiptUpdatedEnvelope {
|
|
|
1364
1375
|
* Triggered when a receipt's number allocation is updated or a receipt document is generated.
|
|
1365
1376
|
* @permissionScope Manage Receipts
|
|
1366
1377
|
* @permissionScopeId SCOPE.RECEIPTS.MANAGE
|
|
1367
|
-
* @permissionScope Manage Stores
|
|
1368
|
-
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1369
1378
|
* @permissionId RECEIPTS.RECEIPT_READ
|
|
1370
1379
|
* @webhook
|
|
1371
1380
|
* @eventType wix.receipts.v1.receipt_updated
|
|
@@ -1642,4 +1651,4 @@ interface UpdateExtendedFieldsOptions {
|
|
|
1642
1651
|
namespaceData: Record<string, any> | null;
|
|
1643
1652
|
}
|
|
1644
1653
|
|
|
1645
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AdditionalFee, type AdditionalFeeTax, type Address, type AddressLocation, type AddressStreetOneOf, type BaseEventMetadata, type BusinessDetails, type CommonQueryWithEntityContext, type CreateReceiptApplicationErrors, type CreateReceiptRequest, type CreateReceiptResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, type CustomFields, type Customer, type Discount, type Document, DocumentStatus, type DocumentStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type Failed, type FooterCustomField, type FullAddressContactDetails, type GenerateReceiptDocument, type GetLatestReceiptNumberOptions, type GetLatestReceiptNumberRequest, type GetLatestReceiptNumberResponse, type GetReceiptRequest, type GetReceiptResponse, type IdentificationData, type IdentificationDataIdOneOf, type LineItem, type LineItemTax, type LineItemTotals, type Locale, type MessageEnvelope, type Numbering, type Payment, type QueryReceiptsRequest, type QueryReceiptsResponse, type Receipt, type ReceiptCreatedEnvelope, type ReceiptDocumentHandled, type ReceiptDocumentHandledResultOneOf, type ReceiptDocumentProcess, type ReceiptNumberingProcess, ReceiptOrderType, type ReceiptOrderTypeWithLiterals, type ReceiptQuery, type ReceiptQuerySpec, type ReceiptSentEnvelope, type ReceiptUpdatedEnvelope, type ReceiptsQueryBuilder, type ReceiptsQueryResult, type RegenerateReceiptDocumentApplicationErrors, type RegenerateReceiptDocumentRequest, type RegenerateReceiptDocumentResponse, type RegionalProperties, RequestOrigin, type RequestOriginWithLiterals, type RestoreInfo, type SendReceiptEmailApplicationErrors, type SendReceiptEmailOptions, type SendReceiptEmailRequest, type SendReceiptEmailResponse, type Sent, type ShippingAddressContactDetails, type ShippingInfo, type ShippingTax, SortOrder, type SortOrderWithLiterals, type Sorting, type SourceReference, type SourceReferenceOrderOneOf, type StandardDetails, type StreetAddress, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type Succeeded, type Tax, type Totals, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateReceiptRequest, type UpdateReceiptResponse, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixEcom, type WixPayment, createReceipt, getLatestReceiptNumber, getReceipt, onReceiptCreated, onReceiptSent, onReceiptUpdated, queryReceipts, regenerateReceiptDocument, sendReceiptEmail, typedQueryReceipts, updateExtendedFields };
|
|
1654
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type AdditionalFeeTax, type Address, type AddressLocation, type AddressStreetOneOf, type BaseEventMetadata, type BusinessDetails, type CommonQueryWithEntityContext, type CreateReceiptApplicationErrors, type CreateReceiptRequest, type CreateReceiptResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, type CustomFields, type Customer, type Discount, type Document, DocumentStatus, type DocumentStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type Failed, type FooterCustomField, type FullAddressContactDetails, type GenerateReceiptDocument, type GetLatestReceiptNumberOptions, type GetLatestReceiptNumberRequest, type GetLatestReceiptNumberResponse, type GetReceiptRequest, type GetReceiptResponse, type IdentificationData, type IdentificationDataIdOneOf, type LineItem, type LineItemTax, type LineItemTotals, type Locale, type MessageEnvelope, type Numbering, type Payment, type QueryReceiptsRequest, type QueryReceiptsResponse, type Receipt, type ReceiptCreatedEnvelope, type ReceiptDocumentHandled, type ReceiptDocumentHandledResultOneOf, type ReceiptDocumentProcess, type ReceiptNumberingProcess, ReceiptOrderType, type ReceiptOrderTypeWithLiterals, type ReceiptQuery, type ReceiptQuerySpec, type ReceiptSentEnvelope, type ReceiptUpdatedEnvelope, type ReceiptsQueryBuilder, type ReceiptsQueryResult, type RegenerateReceiptDocumentApplicationErrors, type RegenerateReceiptDocumentRequest, type RegenerateReceiptDocumentResponse, type RegionalProperties, RequestOrigin, type RequestOriginWithLiterals, type RestoreInfo, type SendReceiptEmailApplicationErrors, type SendReceiptEmailOptions, type SendReceiptEmailRequest, type SendReceiptEmailResponse, type Sent, type ShippingAddressContactDetails, type ShippingInfo, type ShippingTax, SortOrder, type SortOrderWithLiterals, type Sorting, type SourceReference, type SourceReferenceOrderOneOf, type StandardDetails, type StreetAddress, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type Succeeded, type Tax, type Totals, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateReceiptRequest, type UpdateReceiptResponse, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixEcom, type WixPayment, createReceipt, getLatestReceiptNumber, getReceipt, onReceiptCreated, onReceiptSent, onReceiptUpdated, queryReceipts, regenerateReceiptDocument, sendReceiptEmail, typedQueryReceipts, updateExtendedFields };
|
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.typings.ts
|
|
21
21
|
var index_typings_exports = {};
|
|
22
22
|
__export(index_typings_exports, {
|
|
23
|
+
AdditionalFeeSource: () => AdditionalFeeSource,
|
|
23
24
|
DocumentStatus: () => DocumentStatus,
|
|
24
25
|
ReceiptOrderType: () => ReceiptOrderType,
|
|
25
26
|
RequestOrigin: () => RequestOrigin,
|
|
@@ -378,6 +379,15 @@ var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
|
378
379
|
VatType2["CNPJ"] = "CNPJ";
|
|
379
380
|
return VatType2;
|
|
380
381
|
})(VatType || {});
|
|
382
|
+
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
383
|
+
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
384
|
+
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
385
|
+
AdditionalFeeSource2["ITEM"] = "ITEM";
|
|
386
|
+
AdditionalFeeSource2["MANUAL"] = "MANUAL";
|
|
387
|
+
AdditionalFeeSource2["SHIPPING"] = "SHIPPING";
|
|
388
|
+
AdditionalFeeSource2["PLATFORM"] = "PLATFORM";
|
|
389
|
+
return AdditionalFeeSource2;
|
|
390
|
+
})(AdditionalFeeSource || {});
|
|
381
391
|
var DocumentStatus = /* @__PURE__ */ ((DocumentStatus2) => {
|
|
382
392
|
DocumentStatus2["UNKNOWN_DOCUMENT_STATUS"] = "UNKNOWN_DOCUMENT_STATUS";
|
|
383
393
|
DocumentStatus2["PROCESSING"] = "PROCESSING";
|
|
@@ -718,6 +728,7 @@ async function updateExtendedFields2(_id, namespace, options) {
|
|
|
718
728
|
}
|
|
719
729
|
// Annotate the CommonJS export names for ESM import in node:
|
|
720
730
|
0 && (module.exports = {
|
|
731
|
+
AdditionalFeeSource,
|
|
721
732
|
DocumentStatus,
|
|
722
733
|
ReceiptOrderType,
|
|
723
734
|
RequestOrigin,
|