@wix/auto_sdk_get-paid_receipts 1.0.64 → 1.0.65
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 +3 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +3 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +6 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +3 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +6 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ interface CreateReceiptSignature {
|
|
|
11
11
|
* @param - Receipt to create.
|
|
12
12
|
* @returns Created receipt.
|
|
13
13
|
*/
|
|
14
|
-
(receipt: NonNullablePaths<Receipt, `currency` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.price` | `lineItems.${number}.quantity` | `lineItems.${number}.totals` | `lineItems.${number}.totals.totalPriceBeforeTax` | `payment` | `payment.amount` | `payment.paymentMethod` | `payment.transactionDate` | `sourceReference` | `sourceReference.appId` | `sourceReference.externalReferenceId` | `sourceReference.receiptOrderType` | `sourceReference.wixEcomOrder.transactionId` | `sourceReference.wixPaymentOrder.transactionId` | `totals` | `totals.subtotal` | `totals.total
|
|
14
|
+
(receipt: NonNullablePaths<Receipt, `currency` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.price` | `lineItems.${number}.quantity` | `lineItems.${number}.totals` | `lineItems.${number}.totals.totalPriceBeforeTax` | `payment` | `payment.amount` | `payment.paymentMethod` | `payment.transactionDate` | `sourceReference` | `sourceReference.appId` | `sourceReference.externalReferenceId` | `sourceReference.receiptOrderType` | `sourceReference.wixEcomOrder.transactionId` | `sourceReference.wixPaymentOrder.transactionId` | `totals` | `totals.subtotal` | `totals.total`, 5>): Promise<NonNullablePaths<Receipt, `numbering.displayNumber` | `regionalProperties.locale.languageCode` | `currency` | `sourceReference.wixPaymentOrder.orderId` | `sourceReference.wixPaymentOrder.transactionId` | `sourceReference.wixEcomOrder.orderId` | `sourceReference.wixEcomOrder.transactionId` | `sourceReference.appId` | `sourceReference.externalReferenceId` | `sourceReference.receiptOrderType` | `businessDetails.address.streetAddress.number` | `businessDetails.address.streetAddress.name` | `customer.contactDetails.vatId._id` | `customer.contactDetails.vatId.type` | `lineItems` | `shippingInfo.title` | `shippingInfo.priceBeforeTax` | `shippingInfo.priceAfterTax` | `shippingInfo.taxBreakdown` | `shippingInfo.taxBreakdown.${number}.name` | `shippingInfo.taxBreakdown.${number}.rate` | `shippingInfo.taxBreakdown.${number}.amount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}.priceBeforeTax` | `additionalFees.${number}.priceAfterTax` | `discounts` | `discounts.${number}.name` | `discounts.${number}.amount` | `payment.paymentMethod` | `payment.amount` | `taxBreakdown` | `taxBreakdown.${number}.name` | `taxBreakdown.${number}.rate` | `taxBreakdown.${number}.taxAmount` | `taxBreakdown.${number}.taxableAmount` | `customFields.headerCustomFields` | `customFields.headerCustomFields.${number}.value` | `customFields.businessCustomFields` | `customFields.customerCustomFields` | `customFields.footerCustomFields` | `customFields.footerCustomFields.${number}.title` | `document.status`, 5> & {
|
|
15
15
|
__applicationErrorsType?: CreateReceiptApplicationErrors;
|
|
16
16
|
}>;
|
|
17
17
|
}
|
|
@@ -22,7 +22,7 @@ interface GetReceiptSignature {
|
|
|
22
22
|
* @param - Receipt ID.
|
|
23
23
|
* @returns Requested receipt.
|
|
24
24
|
*/
|
|
25
|
-
(receiptId: string): Promise<NonNullablePaths<Receipt, `numbering.displayNumber` | `regionalProperties.locale.languageCode` | `currency` | `sourceReference.wixPaymentOrder.orderId` | `sourceReference.wixPaymentOrder.transactionId` | `sourceReference.wixEcomOrder.orderId` | `sourceReference.wixEcomOrder.transactionId` | `sourceReference.appId` | `sourceReference.externalReferenceId` | `sourceReference.receiptOrderType` | `businessDetails.address.streetAddress.number` | `businessDetails.address.streetAddress.name` | `customer.contactDetails.vatId._id` | `customer.contactDetails.vatId.type` | `lineItems` | `shippingInfo.title` | `shippingInfo.priceBeforeTax` | `shippingInfo.priceAfterTax` | `shippingInfo.taxBreakdown` | `shippingInfo.taxBreakdown.${number}.name` | `shippingInfo.taxBreakdown.${number}.rate` | `shippingInfo.taxBreakdown.${number}.amount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}.priceBeforeTax` | `additionalFees.${number}.priceAfterTax` | `discounts` | `discounts.${number}.name` | `discounts.${number}.amount` | `payment.paymentMethod` | `payment.amount` | `taxBreakdown` | `taxBreakdown.${number}.name` | `taxBreakdown.${number}.rate` | `taxBreakdown.${number}.taxAmount` | `taxBreakdown.${number}.taxableAmount` | `customFields.headerCustomFields` | `customFields.headerCustomFields.${number}.value` | `customFields.businessCustomFields` | `customFields.customerCustomFields` | `customFields.footerCustomFields` | `customFields.footerCustomFields.${number}.title` | `document.status
|
|
25
|
+
(receiptId: string): Promise<NonNullablePaths<Receipt, `numbering.displayNumber` | `regionalProperties.locale.languageCode` | `currency` | `sourceReference.wixPaymentOrder.orderId` | `sourceReference.wixPaymentOrder.transactionId` | `sourceReference.wixEcomOrder.orderId` | `sourceReference.wixEcomOrder.transactionId` | `sourceReference.appId` | `sourceReference.externalReferenceId` | `sourceReference.receiptOrderType` | `businessDetails.address.streetAddress.number` | `businessDetails.address.streetAddress.name` | `customer.contactDetails.vatId._id` | `customer.contactDetails.vatId.type` | `lineItems` | `shippingInfo.title` | `shippingInfo.priceBeforeTax` | `shippingInfo.priceAfterTax` | `shippingInfo.taxBreakdown` | `shippingInfo.taxBreakdown.${number}.name` | `shippingInfo.taxBreakdown.${number}.rate` | `shippingInfo.taxBreakdown.${number}.amount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}.priceBeforeTax` | `additionalFees.${number}.priceAfterTax` | `discounts` | `discounts.${number}.name` | `discounts.${number}.amount` | `payment.paymentMethod` | `payment.amount` | `taxBreakdown` | `taxBreakdown.${number}.name` | `taxBreakdown.${number}.rate` | `taxBreakdown.${number}.taxAmount` | `taxBreakdown.${number}.taxableAmount` | `customFields.headerCustomFields` | `customFields.headerCustomFields.${number}.value` | `customFields.businessCustomFields` | `customFields.customerCustomFields` | `customFields.footerCustomFields` | `customFields.footerCustomFields.${number}.title` | `document.status`, 5>>;
|
|
26
26
|
}
|
|
27
27
|
declare function queryReceipts$1(httpClient: HttpClient): QueryReceiptsSignature;
|
|
28
28
|
interface QueryReceiptsSignature {
|
|
@@ -77,7 +77,7 @@ interface UpdateExtendedFieldsSignature {
|
|
|
77
77
|
* @param - Identifier for the app whose extended fields are being updated.
|
|
78
78
|
* @param - Field options. The `namespaceData` object **must** be passed.
|
|
79
79
|
*/
|
|
80
|
-
(_id: string, namespace: string, options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData
|
|
80
|
+
(_id: string, namespace: string, options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData`, 2>): Promise<NonNullablePaths<UpdateExtendedFieldsResponse, `receipt.numbering.displayNumber` | `receipt.regionalProperties.locale.languageCode` | `receipt.currency` | `receipt.sourceReference.wixPaymentOrder.orderId` | `receipt.sourceReference.wixPaymentOrder.transactionId` | `receipt.sourceReference.wixEcomOrder.orderId` | `receipt.sourceReference.wixEcomOrder.transactionId` | `receipt.sourceReference.appId` | `receipt.sourceReference.externalReferenceId` | `receipt.sourceReference.receiptOrderType` | `receipt.businessDetails.address.streetAddress.number` | `receipt.businessDetails.address.streetAddress.name` | `receipt.customer.contactDetails.vatId._id` | `receipt.customer.contactDetails.vatId.type` | `receipt.lineItems` | `receipt.shippingInfo.title` | `receipt.shippingInfo.priceBeforeTax` | `receipt.shippingInfo.priceAfterTax` | `receipt.shippingInfo.taxBreakdown` | `receipt.shippingInfo.taxBreakdown.${number}.name` | `receipt.shippingInfo.taxBreakdown.${number}.rate` | `receipt.shippingInfo.taxBreakdown.${number}.amount` | `receipt.additionalFees` | `receipt.additionalFees.${number}.name` | `receipt.additionalFees.${number}.priceBeforeTax` | `receipt.additionalFees.${number}.priceAfterTax` | `receipt.discounts` | `receipt.discounts.${number}.name` | `receipt.discounts.${number}.amount` | `receipt.payment.paymentMethod` | `receipt.payment.amount` | `receipt.taxBreakdown` | `receipt.taxBreakdown.${number}.name` | `receipt.taxBreakdown.${number}.rate` | `receipt.taxBreakdown.${number}.taxAmount` | `receipt.taxBreakdown.${number}.taxableAmount` | `receipt.customFields.headerCustomFields` | `receipt.customFields.headerCustomFields.${number}.value` | `receipt.customFields.businessCustomFields` | `receipt.customFields.customerCustomFields` | `receipt.customFields.footerCustomFields` | `receipt.customFields.footerCustomFields.${number}.title` | `receipt.document.status`, 6>>;
|
|
81
81
|
}
|
|
82
82
|
declare const onReceiptCreated$1: EventDefinition<ReceiptCreatedEnvelope, "wix.receipts.v1.receipt_created">;
|
|
83
83
|
declare const onReceiptSent$1: EventDefinition<ReceiptSentEnvelope, "wix.receipts.v1.receipt_sent">;
|