@wix/auto_sdk_get-paid_receipts 1.0.325 → 1.0.327

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 +1 -1
  2. package/build/cjs/index.js +11 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +22 -1
  5. package/build/cjs/index.typings.js +11 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +16 -1
  8. package/build/cjs/meta.js +11 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +10 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +22 -1
  14. package/build/es/index.typings.mjs +10 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +16 -1
  17. package/build/es/meta.mjs +10 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +11 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +27 -1
  23. package/build/internal/cjs/index.typings.js +11 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +16 -1
  26. package/build/internal/cjs/meta.js +11 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +10 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +27 -1
  32. package/build/internal/es/index.typings.mjs +10 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +16 -1
  35. package/build/internal/es/meta.mjs +10 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. 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,6 +1345,8 @@ interface ReceiptCreatedEnvelope {
1330
1345
  * Triggered when a receipt is created.
1331
1346
  * @permissionScope Manage Receipts
1332
1347
  * @permissionScopeId SCOPE.RECEIPTS.MANAGE
1348
+ * @permissionScope Manage Stores
1349
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1333
1350
  * @permissionId RECEIPTS.RECEIPT_READ
1334
1351
  * @webhook
1335
1352
  * @eventType wix.receipts.v1.receipt_created
@@ -1344,6 +1361,8 @@ interface ReceiptSentEnvelope {
1344
1361
  * Triggered when a receipt is sent.
1345
1362
  * @permissionScope Manage Receipts
1346
1363
  * @permissionScopeId SCOPE.RECEIPTS.MANAGE
1364
+ * @permissionScope Manage Stores
1365
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1347
1366
  * @permissionId RECEIPTS.RECEIPT_READ
1348
1367
  * @webhook
1349
1368
  * @eventType wix.receipts.v1.receipt_sent
@@ -1360,6 +1379,8 @@ interface ReceiptUpdatedEnvelope {
1360
1379
  * Triggered when a receipt's number allocation is updated or a receipt document is generated.
1361
1380
  * @permissionScope Manage Receipts
1362
1381
  * @permissionScopeId SCOPE.RECEIPTS.MANAGE
1382
+ * @permissionScope Manage Stores
1383
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1363
1384
  * @permissionId RECEIPTS.RECEIPT_READ
1364
1385
  * @webhook
1365
1386
  * @eventType wix.receipts.v1.receipt_updated
@@ -1636,4 +1657,4 @@ interface UpdateExtendedFieldsOptions {
1636
1657
  namespaceData: Record<string, any> | null;
1637
1658
  }
1638
1659
 
1639
- 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 };
1660
+ 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,