@wix/auto_sdk_get-paid_receipts 1.0.9 → 1.0.10
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/src/receipts-v1-receipt-receipts.context.d.ts +1 -1
- package/build/cjs/src/receipts-v1-receipt-receipts.context.js +1 -1
- package/build/cjs/src/receipts-v1-receipt-receipts.http.d.ts +2 -2
- package/build/cjs/src/receipts-v1-receipt-receipts.http.js +2 -2
- package/build/cjs/src/receipts-v1-receipt-receipts.http.js.map +1 -1
- package/build/cjs/src/receipts-v1-receipt-receipts.public.d.ts +2 -2
- package/build/cjs/src/receipts-v1-receipt-receipts.types.d.ts +10 -10
- package/build/cjs/src/receipts-v1-receipt-receipts.universal.d.ts +14 -14
- package/build/cjs/src/receipts-v1-receipt-receipts.universal.js +2 -2
- package/build/es/src/receipts-v1-receipt-receipts.context.d.ts +1 -1
- package/build/es/src/receipts-v1-receipt-receipts.context.js +1 -1
- package/build/es/src/receipts-v1-receipt-receipts.http.d.ts +2 -2
- package/build/es/src/receipts-v1-receipt-receipts.http.js +2 -2
- package/build/es/src/receipts-v1-receipt-receipts.http.js.map +1 -1
- package/build/es/src/receipts-v1-receipt-receipts.public.d.ts +2 -2
- package/build/es/src/receipts-v1-receipt-receipts.types.d.ts +10 -10
- package/build/es/src/receipts-v1-receipt-receipts.universal.d.ts +14 -14
- package/build/es/src/receipts-v1-receipt-receipts.universal.js +2 -2
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.context.d.ts +1 -1
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.context.js +1 -1
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.http.d.ts +2 -2
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.http.js +2 -2
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.http.js.map +1 -1
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.public.d.ts +2 -2
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.types.d.ts +10 -10
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.universal.d.ts +14 -14
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.universal.js +2 -2
- package/build/internal/es/src/receipts-v1-receipt-receipts.context.d.ts +1 -1
- package/build/internal/es/src/receipts-v1-receipt-receipts.context.js +1 -1
- package/build/internal/es/src/receipts-v1-receipt-receipts.http.d.ts +2 -2
- package/build/internal/es/src/receipts-v1-receipt-receipts.http.js +2 -2
- package/build/internal/es/src/receipts-v1-receipt-receipts.http.js.map +1 -1
- package/build/internal/es/src/receipts-v1-receipt-receipts.public.d.ts +2 -2
- package/build/internal/es/src/receipts-v1-receipt-receipts.types.d.ts +10 -10
- package/build/internal/es/src/receipts-v1-receipt-receipts.universal.d.ts +14 -14
- package/build/internal/es/src/receipts-v1-receipt-receipts.universal.js +2 -2
- package/package.json +2 -2
|
@@ -20,7 +20,7 @@ export declare const onReceiptCreated: ReturnType<typeof createEventModule<typeo
|
|
|
20
20
|
*/
|
|
21
21
|
export declare const onReceiptSent: ReturnType<typeof createEventModule<typeof publicOnReceiptSent>>;
|
|
22
22
|
/**
|
|
23
|
-
* Triggered when a receipt's number allocation is updated or a receipt document is generated.
|
|
23
|
+
* Triggered when a receipt's number allocation is updated or a receipt document is generated.
|
|
24
24
|
*/
|
|
25
25
|
export declare const onReceiptUpdated: ReturnType<typeof createEventModule<typeof publicOnReceiptUpdated>>;
|
|
26
26
|
export { ReceiptOrderType, SubdivisionType, VatType, DocumentStatus, WebhookIdentityType, RequestOrigin, SortOrder, } from './receipts-v1-receipt-receipts.universal.js';
|
|
@@ -23,7 +23,7 @@ exports.onReceiptCreated = (0, event_definition_modules_1.createEventModule)(rec
|
|
|
23
23
|
*/
|
|
24
24
|
exports.onReceiptSent = (0, event_definition_modules_1.createEventModule)(receipts_v1_receipt_receipts_public_js_3.onReceiptSent);
|
|
25
25
|
/**
|
|
26
|
-
* Triggered when a receipt's number allocation is updated or a receipt document is generated.
|
|
26
|
+
* Triggered when a receipt's number allocation is updated or a receipt document is generated.
|
|
27
27
|
*/
|
|
28
28
|
exports.onReceiptUpdated = (0, event_definition_modules_1.createEventModule)(receipts_v1_receipt_receipts_public_js_4.onReceiptUpdated);
|
|
29
29
|
var receipts_v1_receipt_receipts_universal_js_1 = require("./receipts-v1-receipt-receipts.universal.js");
|
|
@@ -14,7 +14,7 @@ export declare function queryReceipts(payload: object): RequestOptionsFactory<an
|
|
|
14
14
|
/**
|
|
15
15
|
* Retries generating a receipt document that has a `FAILED` status.
|
|
16
16
|
*
|
|
17
|
-
*
|
|
17
|
+
* Note that you can access a receipt document with an `AVAILABLE` status with the URL provided in `document.downloadUrl` without regenerating.
|
|
18
18
|
*/
|
|
19
19
|
export declare function regenerateReceiptDocument(payload: object): RequestOptionsFactory<any>;
|
|
20
20
|
/**
|
|
@@ -25,7 +25,7 @@ export declare function regenerateReceiptDocument(payload: object): RequestOptio
|
|
|
25
25
|
* Note that if the specified contact ID doesn't have an associated email address, the call will fail.
|
|
26
26
|
*/
|
|
27
27
|
export declare function sendReceiptEmail(payload: object): RequestOptionsFactory<any>;
|
|
28
|
-
/** Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix)
|
|
28
|
+
/** Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix). */
|
|
29
29
|
export declare function getLatestReceiptNumber(payload: object): RequestOptionsFactory<any>;
|
|
30
30
|
/** Updates extended fields of a receipt, without incrementing revision. */
|
|
31
31
|
export declare function updateExtendedFields(payload: object): RequestOptionsFactory<any>;
|
|
@@ -183,7 +183,7 @@ exports.queryReceipts = queryReceipts;
|
|
|
183
183
|
/**
|
|
184
184
|
* Retries generating a receipt document that has a `FAILED` status.
|
|
185
185
|
*
|
|
186
|
-
*
|
|
186
|
+
* Note that you can access a receipt document with an `AVAILABLE` status with the URL provided in `document.downloadUrl` without regenerating.
|
|
187
187
|
*/
|
|
188
188
|
function regenerateReceiptDocument(payload) {
|
|
189
189
|
function __regenerateReceiptDocument({ host }) {
|
|
@@ -230,7 +230,7 @@ function sendReceiptEmail(payload) {
|
|
|
230
230
|
return __sendReceiptEmail;
|
|
231
231
|
}
|
|
232
232
|
exports.sendReceiptEmail = sendReceiptEmail;
|
|
233
|
-
/** Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix)
|
|
233
|
+
/** Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix). */
|
|
234
234
|
function getLatestReceiptNumber(payload) {
|
|
235
235
|
function __getLatestReceiptNumber({ host }) {
|
|
236
236
|
const metadata = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receipts-v1-receipt-receipts.http.js","sourceRoot":"","sources":["../../../src/receipts-v1-receipt-receipts.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,+BAA+B,CACtC,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,gBAAgB;gBACzB,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,cAAc;aACzB;SACF;KACF,CAAC;IAEF,OAAO,IAAA,yBAAU,EAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,YAAY,GAAG,iCAAiC,CAAC;AAEvD;;;;;;GAMG;AACH,SAAgB,aAAa,CAAC,OAAe;IAC3C,SAAS,eAAe,CAAC,EAAE,IAAI,EAAO;QACpC,MAAM,cAAc,GAAG,IAAA,gCAAc,EAAC,OAAO,EAAE;YAC7C;gBACE,WAAW,EAAE,gDAAoC;gBACjD,KAAK,EAAE;oBACL,EAAE,IAAI,EAAE,qBAAqB,EAAE;oBAC/B,EAA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D,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,yBAAyB;YACrC,MAAM,EAAE,MAAa;YACrB,SAAS,EAAE,oDAAoD;YAC/D,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,+BAA+B,CAAC;gBACnC,SAAS,EAAE,sDAAsD;gBACjE,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,IAAI,EAAE,OAAO;SACd,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,2BAA2B,CAAC;AACrC,CAAC;AArBD,8DAqBC;AAED;;;;;;GAMG;AACH,SAAgB,gBAAgB,CAAC,OAAe;IAC9C,SAAS,kBAAkB,CAAC,EAAE,IAAI,EAAO;QACvC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,yBAAyB;YACrC,MAAM,EAAE,MAAa;YACrB,SAAS,EAAE,2CAA2C;YACtD,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,+BAA+B,CAAC;gBACnC,SAAS,EAAE,qCAAqC;gBAChD,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,IAAI,EAAE,OAAO;SACd,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AAnBD,4CAmBC;AAED,
|
|
1
|
+
{"version":3,"file":"receipts-v1-receipt-receipts.http.js","sourceRoot":"","sources":["../../../src/receipts-v1-receipt-receipts.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,+BAA+B,CACtC,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,gBAAgB;gBACzB,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,uBAAuB;gBACh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AI,EAAE,kDAAkD,EAAE;wBAC5D,EAAE,IAAI,EAAE,mDAAmD,EAAE;wBAC7D,EAAE,IAAI,EAAE,kDAAkD,EAAE;wBAC5D,EAAE,IAAI,EAAE,mDAAmD,EAAE;wBAC7D,EAAE,IAAI,EAAE,mDAAmD,EAAE;wBAC7D,EAAE,IAAI,EAAE,oDAAoD,EAAE;qBAC/D;iBACF;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,sBAAsB,CAAC;AAChC,CAAC;AA5CD,oDA4CC"}
|
|
@@ -37,7 +37,7 @@ interface RegenerateReceiptDocumentSignature {
|
|
|
37
37
|
/**
|
|
38
38
|
* Retries generating a receipt document that has a `FAILED` status.
|
|
39
39
|
*
|
|
40
|
-
*
|
|
40
|
+
* Note that you can access a receipt document with an `AVAILABLE` status with the URL provided in `document.downloadUrl` without regenerating.
|
|
41
41
|
* @param - Receipt ID.
|
|
42
42
|
*/
|
|
43
43
|
(receiptId: string): Promise<void>;
|
|
@@ -57,7 +57,7 @@ interface SendReceiptEmailSignature {
|
|
|
57
57
|
export declare function getLatestReceiptNumber(httpClient: HttpClient): GetLatestReceiptNumberSignature;
|
|
58
58
|
interface GetLatestReceiptNumberSignature {
|
|
59
59
|
/**
|
|
60
|
-
* Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix)
|
|
60
|
+
* Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix).
|
|
61
61
|
*/
|
|
62
62
|
(options?: GetLatestReceiptNumberOptions | undefined): Promise<GetLatestReceiptNumberResponse>;
|
|
63
63
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A receipt is a document that confirms a person has received money or property as payment following a sale, transfer of goods, or provision of a service.
|
|
3
|
-
* Read more about receipts
|
|
3
|
+
* Read more about [receipts](https://support.wix.com/en/article/wix-receipts-adding-and-setting-up-your-receipts).
|
|
4
4
|
*/
|
|
5
5
|
export interface Receipt {
|
|
6
6
|
/**
|
|
@@ -46,7 +46,7 @@ export interface Receipt {
|
|
|
46
46
|
*/
|
|
47
47
|
currency?: string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Details about the associated Wix eCommerce or Wix Payments order.
|
|
50
50
|
* @immutable
|
|
51
51
|
*/
|
|
52
52
|
sourceReference?: SourceReference;
|
|
@@ -102,7 +102,7 @@ export interface Receipt {
|
|
|
102
102
|
document?: Document;
|
|
103
103
|
/**
|
|
104
104
|
* Custom field data for the payment link.
|
|
105
|
-
*
|
|
105
|
+
* Extended fields must be configured in the app dashboard before they can be accessed with API calls.
|
|
106
106
|
*/
|
|
107
107
|
extendedFields?: ExtendedFields;
|
|
108
108
|
}
|
|
@@ -446,13 +446,13 @@ export interface LineItemTax {
|
|
|
446
446
|
taxName?: string;
|
|
447
447
|
/**
|
|
448
448
|
* Tax rate percentage.
|
|
449
|
-
*
|
|
449
|
+
* For example: 0.1000 means 10% tax, and 2.1000 means 210% tax.
|
|
450
450
|
* @format DECIMAL_VALUE
|
|
451
451
|
* @decimalValue options { gte:0, maxScale:6 }
|
|
452
452
|
*/
|
|
453
453
|
taxRate?: string;
|
|
454
454
|
/**
|
|
455
|
-
*
|
|
455
|
+
* Amount of the line item price that is taxable.
|
|
456
456
|
* @format DECIMAL_VALUE
|
|
457
457
|
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
458
458
|
*/
|
|
@@ -549,7 +549,7 @@ export interface AdditionalFee {
|
|
|
549
549
|
priceBeforeTax?: string;
|
|
550
550
|
/**
|
|
551
551
|
* Additional fee amount after taxes.
|
|
552
|
-
* If no taxes apply to this fee, this will be the same as
|
|
552
|
+
* If no taxes apply to this fee, this will be the same as `priceBeforeTax`.
|
|
553
553
|
* @format DECIMAL_VALUE
|
|
554
554
|
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
555
555
|
*/
|
|
@@ -582,9 +582,9 @@ export interface AdditionalFeeTax {
|
|
|
582
582
|
}
|
|
583
583
|
export interface Discount {
|
|
584
584
|
/**
|
|
585
|
-
*
|
|
585
|
+
* Deprecated: Use `display_name` instead.
|
|
586
586
|
* @maxLength 400
|
|
587
|
-
* @deprecated
|
|
587
|
+
* @deprecated Deprecated: Use `display_name` instead.
|
|
588
588
|
* @replacedBy display_name
|
|
589
589
|
* @targetRemovalDate 2025-06-01
|
|
590
590
|
*/
|
|
@@ -654,7 +654,7 @@ export interface Totals {
|
|
|
654
654
|
*/
|
|
655
655
|
tax?: string | null;
|
|
656
656
|
/**
|
|
657
|
-
* Total amount
|
|
657
|
+
* Total amount after all calculations. Equates to: subtotal - discounts + taxes + shipping + additional_fees.
|
|
658
658
|
* @format DECIMAL_VALUE
|
|
659
659
|
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
660
660
|
*/
|
|
@@ -1120,7 +1120,7 @@ export interface SendReceiptEmailResponse {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
export interface GetLatestReceiptNumberRequest {
|
|
1122
1122
|
/**
|
|
1123
|
-
* Receipt prefix.
|
|
1123
|
+
* Receipt prefix to filter by.
|
|
1124
1124
|
* @minLength 1
|
|
1125
1125
|
* @maxLength 10
|
|
1126
1126
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A receipt is a document that confirms a person has received money or property as payment following a sale, transfer of goods, or provision of a service.
|
|
3
|
-
* Read more about receipts
|
|
3
|
+
* Read more about [receipts](https://support.wix.com/en/article/wix-receipts-adding-and-setting-up-your-receipts).
|
|
4
4
|
*/
|
|
5
5
|
export interface Receipt {
|
|
6
6
|
/**
|
|
@@ -46,7 +46,7 @@ export interface Receipt {
|
|
|
46
46
|
*/
|
|
47
47
|
currency?: string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Details about the associated Wix eCommerce or Wix Payments order.
|
|
50
50
|
* @immutable
|
|
51
51
|
*/
|
|
52
52
|
sourceReference?: SourceReference;
|
|
@@ -102,7 +102,7 @@ export interface Receipt {
|
|
|
102
102
|
document?: Document;
|
|
103
103
|
/**
|
|
104
104
|
* Custom field data for the payment link.
|
|
105
|
-
*
|
|
105
|
+
* Extended fields must be configured in the app dashboard before they can be accessed with API calls.
|
|
106
106
|
*/
|
|
107
107
|
extendedFields?: ExtendedFields;
|
|
108
108
|
}
|
|
@@ -423,13 +423,13 @@ export interface LineItemTax {
|
|
|
423
423
|
taxName?: string;
|
|
424
424
|
/**
|
|
425
425
|
* Tax rate percentage.
|
|
426
|
-
*
|
|
426
|
+
* For example: 0.1000 means 10% tax, and 2.1000 means 210% tax.
|
|
427
427
|
* @format DECIMAL_VALUE
|
|
428
428
|
* @decimalValue options { gte:0, maxScale:6 }
|
|
429
429
|
*/
|
|
430
430
|
taxRate?: string;
|
|
431
431
|
/**
|
|
432
|
-
*
|
|
432
|
+
* Amount of the line item price that is taxable.
|
|
433
433
|
* @format DECIMAL_VALUE
|
|
434
434
|
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
435
435
|
*/
|
|
@@ -526,7 +526,7 @@ export interface AdditionalFee {
|
|
|
526
526
|
priceBeforeTax?: string;
|
|
527
527
|
/**
|
|
528
528
|
* Additional fee amount after taxes.
|
|
529
|
-
* If no taxes apply to this fee, this will be the same as
|
|
529
|
+
* If no taxes apply to this fee, this will be the same as `priceBeforeTax`.
|
|
530
530
|
* @format DECIMAL_VALUE
|
|
531
531
|
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
532
532
|
*/
|
|
@@ -559,9 +559,9 @@ export interface AdditionalFeeTax {
|
|
|
559
559
|
}
|
|
560
560
|
export interface Discount {
|
|
561
561
|
/**
|
|
562
|
-
*
|
|
562
|
+
* Deprecated: Use `display_name` instead.
|
|
563
563
|
* @maxLength 400
|
|
564
|
-
* @deprecated
|
|
564
|
+
* @deprecated Deprecated: Use `display_name` instead.
|
|
565
565
|
* @replacedBy display_name
|
|
566
566
|
* @targetRemovalDate 2025-06-01
|
|
567
567
|
*/
|
|
@@ -631,7 +631,7 @@ export interface Totals {
|
|
|
631
631
|
*/
|
|
632
632
|
tax?: string | null;
|
|
633
633
|
/**
|
|
634
|
-
* Total amount
|
|
634
|
+
* Total amount after all calculations. Equates to: subtotal - discounts + taxes + shipping + additional_fees.
|
|
635
635
|
* @format DECIMAL_VALUE
|
|
636
636
|
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
637
637
|
*/
|
|
@@ -1095,7 +1095,7 @@ export interface SendReceiptEmailResponse {
|
|
|
1095
1095
|
}
|
|
1096
1096
|
export interface GetLatestReceiptNumberRequest {
|
|
1097
1097
|
/**
|
|
1098
|
-
* Receipt prefix.
|
|
1098
|
+
* Receipt prefix to filter by.
|
|
1099
1099
|
* @minLength 1
|
|
1100
1100
|
* @maxLength 10
|
|
1101
1101
|
*/
|
|
@@ -1346,7 +1346,7 @@ export interface ReceiptUpdatedEnvelope {
|
|
|
1346
1346
|
metadata: EventMetadata;
|
|
1347
1347
|
}
|
|
1348
1348
|
/**
|
|
1349
|
-
* Triggered when a receipt's number allocation is updated or a receipt document is generated.
|
|
1349
|
+
* Triggered when a receipt's number allocation is updated or a receipt document is generated.
|
|
1350
1350
|
* @permissionScope Manage Receipts
|
|
1351
1351
|
* @permissionScopeId SCOPE.RECEIPTS.MANAGE
|
|
1352
1352
|
* @permissionId RECEIPTS.RECEIPT_READ
|
|
@@ -1499,7 +1499,7 @@ export interface ReceiptsQueryBuilder {
|
|
|
1499
1499
|
/**
|
|
1500
1500
|
* Retries generating a receipt document that has a `FAILED` status.
|
|
1501
1501
|
*
|
|
1502
|
-
*
|
|
1502
|
+
* Note that you can access a receipt document with an `AVAILABLE` status with the URL provided in `document.downloadUrl` without regenerating.
|
|
1503
1503
|
* @param receiptId - Receipt ID.
|
|
1504
1504
|
* @public
|
|
1505
1505
|
* @documentationMaturity preview
|
|
@@ -1536,7 +1536,7 @@ export interface SendReceiptEmailOptions {
|
|
|
1536
1536
|
contactId?: string | null;
|
|
1537
1537
|
}
|
|
1538
1538
|
/**
|
|
1539
|
-
* Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix)
|
|
1539
|
+
* Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix).
|
|
1540
1540
|
* @public
|
|
1541
1541
|
* @documentationMaturity preview
|
|
1542
1542
|
* @permissionId RECEIPTS.RECEIPT_READ
|
|
@@ -1548,7 +1548,7 @@ export interface SendReceiptEmailOptions {
|
|
|
1548
1548
|
export declare function getLatestReceiptNumber(options?: GetLatestReceiptNumberOptions): Promise<GetLatestReceiptNumberResponse>;
|
|
1549
1549
|
export interface GetLatestReceiptNumberOptions {
|
|
1550
1550
|
/**
|
|
1551
|
-
* Receipt prefix.
|
|
1551
|
+
* Receipt prefix to filter by.
|
|
1552
1552
|
* @minLength 1
|
|
1553
1553
|
* @maxLength 10
|
|
1554
1554
|
*/
|
|
@@ -295,7 +295,7 @@ exports.queryReceipts = queryReceipts;
|
|
|
295
295
|
/**
|
|
296
296
|
* Retries generating a receipt document that has a `FAILED` status.
|
|
297
297
|
*
|
|
298
|
-
*
|
|
298
|
+
* Note that you can access a receipt document with an `AVAILABLE` status with the URL provided in `document.downloadUrl` without regenerating.
|
|
299
299
|
* @param receiptId - Receipt ID.
|
|
300
300
|
* @public
|
|
301
301
|
* @documentationMaturity preview
|
|
@@ -373,7 +373,7 @@ async function sendReceiptEmail(receiptId, options) {
|
|
|
373
373
|
}
|
|
374
374
|
exports.sendReceiptEmail = sendReceiptEmail;
|
|
375
375
|
/**
|
|
376
|
-
* Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix)
|
|
376
|
+
* Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix).
|
|
377
377
|
* @public
|
|
378
378
|
* @documentationMaturity preview
|
|
379
379
|
* @permissionId RECEIPTS.RECEIPT_READ
|
|
@@ -20,7 +20,7 @@ export declare const onReceiptCreated: ReturnType<typeof createEventModule<typeo
|
|
|
20
20
|
*/
|
|
21
21
|
export declare const onReceiptSent: ReturnType<typeof createEventModule<typeof publicOnReceiptSent>>;
|
|
22
22
|
/**
|
|
23
|
-
* Triggered when a receipt's number allocation is updated or a receipt document is generated.
|
|
23
|
+
* Triggered when a receipt's number allocation is updated or a receipt document is generated.
|
|
24
24
|
*/
|
|
25
25
|
export declare const onReceiptUpdated: ReturnType<typeof createEventModule<typeof publicOnReceiptUpdated>>;
|
|
26
26
|
export { ReceiptOrderType, SubdivisionType, VatType, DocumentStatus, WebhookIdentityType, RequestOrigin, SortOrder, } from './receipts-v1-receipt-receipts.universal.js';
|
|
@@ -20,7 +20,7 @@ export const onReceiptCreated = createEventModule(publicOnReceiptCreated);
|
|
|
20
20
|
*/
|
|
21
21
|
export const onReceiptSent = createEventModule(publicOnReceiptSent);
|
|
22
22
|
/**
|
|
23
|
-
* Triggered when a receipt's number allocation is updated or a receipt document is generated.
|
|
23
|
+
* Triggered when a receipt's number allocation is updated or a receipt document is generated.
|
|
24
24
|
*/
|
|
25
25
|
export const onReceiptUpdated = createEventModule(publicOnReceiptUpdated);
|
|
26
26
|
export { ReceiptOrderType, SubdivisionType, VatType, DocumentStatus, WebhookIdentityType, RequestOrigin, SortOrder, } from './receipts-v1-receipt-receipts.universal.js';
|
|
@@ -14,7 +14,7 @@ export declare function queryReceipts(payload: object): RequestOptionsFactory<an
|
|
|
14
14
|
/**
|
|
15
15
|
* Retries generating a receipt document that has a `FAILED` status.
|
|
16
16
|
*
|
|
17
|
-
*
|
|
17
|
+
* Note that you can access a receipt document with an `AVAILABLE` status with the URL provided in `document.downloadUrl` without regenerating.
|
|
18
18
|
*/
|
|
19
19
|
export declare function regenerateReceiptDocument(payload: object): RequestOptionsFactory<any>;
|
|
20
20
|
/**
|
|
@@ -25,7 +25,7 @@ export declare function regenerateReceiptDocument(payload: object): RequestOptio
|
|
|
25
25
|
* Note that if the specified contact ID doesn't have an associated email address, the call will fail.
|
|
26
26
|
*/
|
|
27
27
|
export declare function sendReceiptEmail(payload: object): RequestOptionsFactory<any>;
|
|
28
|
-
/** Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix)
|
|
28
|
+
/** Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix). */
|
|
29
29
|
export declare function getLatestReceiptNumber(payload: object): RequestOptionsFactory<any>;
|
|
30
30
|
/** Updates extended fields of a receipt, without incrementing revision. */
|
|
31
31
|
export declare function updateExtendedFields(payload: object): RequestOptionsFactory<any>;
|
|
@@ -177,7 +177,7 @@ export function queryReceipts(payload) {
|
|
|
177
177
|
/**
|
|
178
178
|
* Retries generating a receipt document that has a `FAILED` status.
|
|
179
179
|
*
|
|
180
|
-
*
|
|
180
|
+
* Note that you can access a receipt document with an `AVAILABLE` status with the URL provided in `document.downloadUrl` without regenerating.
|
|
181
181
|
*/
|
|
182
182
|
export function regenerateReceiptDocument(payload) {
|
|
183
183
|
function __regenerateReceiptDocument({ host }) {
|
|
@@ -222,7 +222,7 @@ export function sendReceiptEmail(payload) {
|
|
|
222
222
|
}
|
|
223
223
|
return __sendReceiptEmail;
|
|
224
224
|
}
|
|
225
|
-
/** Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix)
|
|
225
|
+
/** Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix). */
|
|
226
226
|
export function getLatestReceiptNumber(payload) {
|
|
227
227
|
function __getLatestReceiptNumber({ host }) {
|
|
228
228
|
const metadata = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receipts-v1-receipt-receipts.http.js","sourceRoot":"","sources":["../../../src/receipts-v1-receipt-receipts.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C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,yBAAyB;YACrC,MAAM,EAAE,MAAa;YACrB,SAAS,EAAE,2CAA2C;YACtD,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,+BAA+B,CAAC;gBACnC,SAAS,EAAE,qCAAqC;gBAChD,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,IAAI,EAAE,OAAO;SACd,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AAED,
|
|
1
|
+
{"version":3,"file":"receipts-v1-receipt-receipts.http.js","sourceRoot":"","sources":["../../../src/receipts-v1-receipt-receipts.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI3D,SAAS,+BAA+B,CACtC,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,gBAAgB;gBACzB,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,cAAc;aACzB;SACF;KACF,CAAC;IAEF,OAAO,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,YAAY,GAAG,iCAAiC,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,OA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 +37,7 @@ interface RegenerateReceiptDocumentSignature {
|
|
|
37
37
|
/**
|
|
38
38
|
* Retries generating a receipt document that has a `FAILED` status.
|
|
39
39
|
*
|
|
40
|
-
*
|
|
40
|
+
* Note that you can access a receipt document with an `AVAILABLE` status with the URL provided in `document.downloadUrl` without regenerating.
|
|
41
41
|
* @param - Receipt ID.
|
|
42
42
|
*/
|
|
43
43
|
(receiptId: string): Promise<void>;
|
|
@@ -57,7 +57,7 @@ interface SendReceiptEmailSignature {
|
|
|
57
57
|
export declare function getLatestReceiptNumber(httpClient: HttpClient): GetLatestReceiptNumberSignature;
|
|
58
58
|
interface GetLatestReceiptNumberSignature {
|
|
59
59
|
/**
|
|
60
|
-
* Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix)
|
|
60
|
+
* Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix).
|
|
61
61
|
*/
|
|
62
62
|
(options?: GetLatestReceiptNumberOptions | undefined): Promise<GetLatestReceiptNumberResponse>;
|
|
63
63
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A receipt is a document that confirms a person has received money or property as payment following a sale, transfer of goods, or provision of a service.
|
|
3
|
-
* Read more about receipts
|
|
3
|
+
* Read more about [receipts](https://support.wix.com/en/article/wix-receipts-adding-and-setting-up-your-receipts).
|
|
4
4
|
*/
|
|
5
5
|
export interface Receipt {
|
|
6
6
|
/**
|
|
@@ -46,7 +46,7 @@ export interface Receipt {
|
|
|
46
46
|
*/
|
|
47
47
|
currency?: string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Details about the associated Wix eCommerce or Wix Payments order.
|
|
50
50
|
* @immutable
|
|
51
51
|
*/
|
|
52
52
|
sourceReference?: SourceReference;
|
|
@@ -102,7 +102,7 @@ export interface Receipt {
|
|
|
102
102
|
document?: Document;
|
|
103
103
|
/**
|
|
104
104
|
* Custom field data for the payment link.
|
|
105
|
-
*
|
|
105
|
+
* Extended fields must be configured in the app dashboard before they can be accessed with API calls.
|
|
106
106
|
*/
|
|
107
107
|
extendedFields?: ExtendedFields;
|
|
108
108
|
}
|
|
@@ -446,13 +446,13 @@ export interface LineItemTax {
|
|
|
446
446
|
taxName?: string;
|
|
447
447
|
/**
|
|
448
448
|
* Tax rate percentage.
|
|
449
|
-
*
|
|
449
|
+
* For example: 0.1000 means 10% tax, and 2.1000 means 210% tax.
|
|
450
450
|
* @format DECIMAL_VALUE
|
|
451
451
|
* @decimalValue options { gte:0, maxScale:6 }
|
|
452
452
|
*/
|
|
453
453
|
taxRate?: string;
|
|
454
454
|
/**
|
|
455
|
-
*
|
|
455
|
+
* Amount of the line item price that is taxable.
|
|
456
456
|
* @format DECIMAL_VALUE
|
|
457
457
|
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
458
458
|
*/
|
|
@@ -549,7 +549,7 @@ export interface AdditionalFee {
|
|
|
549
549
|
priceBeforeTax?: string;
|
|
550
550
|
/**
|
|
551
551
|
* Additional fee amount after taxes.
|
|
552
|
-
* If no taxes apply to this fee, this will be the same as
|
|
552
|
+
* If no taxes apply to this fee, this will be the same as `priceBeforeTax`.
|
|
553
553
|
* @format DECIMAL_VALUE
|
|
554
554
|
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
555
555
|
*/
|
|
@@ -582,9 +582,9 @@ export interface AdditionalFeeTax {
|
|
|
582
582
|
}
|
|
583
583
|
export interface Discount {
|
|
584
584
|
/**
|
|
585
|
-
*
|
|
585
|
+
* Deprecated: Use `display_name` instead.
|
|
586
586
|
* @maxLength 400
|
|
587
|
-
* @deprecated
|
|
587
|
+
* @deprecated Deprecated: Use `display_name` instead.
|
|
588
588
|
* @replacedBy display_name
|
|
589
589
|
* @targetRemovalDate 2025-06-01
|
|
590
590
|
*/
|
|
@@ -654,7 +654,7 @@ export interface Totals {
|
|
|
654
654
|
*/
|
|
655
655
|
tax?: string | null;
|
|
656
656
|
/**
|
|
657
|
-
* Total amount
|
|
657
|
+
* Total amount after all calculations. Equates to: subtotal - discounts + taxes + shipping + additional_fees.
|
|
658
658
|
* @format DECIMAL_VALUE
|
|
659
659
|
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
660
660
|
*/
|
|
@@ -1120,7 +1120,7 @@ export interface SendReceiptEmailResponse {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
export interface GetLatestReceiptNumberRequest {
|
|
1122
1122
|
/**
|
|
1123
|
-
* Receipt prefix.
|
|
1123
|
+
* Receipt prefix to filter by.
|
|
1124
1124
|
* @minLength 1
|
|
1125
1125
|
* @maxLength 10
|
|
1126
1126
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A receipt is a document that confirms a person has received money or property as payment following a sale, transfer of goods, or provision of a service.
|
|
3
|
-
* Read more about receipts
|
|
3
|
+
* Read more about [receipts](https://support.wix.com/en/article/wix-receipts-adding-and-setting-up-your-receipts).
|
|
4
4
|
*/
|
|
5
5
|
export interface Receipt {
|
|
6
6
|
/**
|
|
@@ -46,7 +46,7 @@ export interface Receipt {
|
|
|
46
46
|
*/
|
|
47
47
|
currency?: string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Details about the associated Wix eCommerce or Wix Payments order.
|
|
50
50
|
* @immutable
|
|
51
51
|
*/
|
|
52
52
|
sourceReference?: SourceReference;
|
|
@@ -102,7 +102,7 @@ export interface Receipt {
|
|
|
102
102
|
document?: Document;
|
|
103
103
|
/**
|
|
104
104
|
* Custom field data for the payment link.
|
|
105
|
-
*
|
|
105
|
+
* Extended fields must be configured in the app dashboard before they can be accessed with API calls.
|
|
106
106
|
*/
|
|
107
107
|
extendedFields?: ExtendedFields;
|
|
108
108
|
}
|
|
@@ -423,13 +423,13 @@ export interface LineItemTax {
|
|
|
423
423
|
taxName?: string;
|
|
424
424
|
/**
|
|
425
425
|
* Tax rate percentage.
|
|
426
|
-
*
|
|
426
|
+
* For example: 0.1000 means 10% tax, and 2.1000 means 210% tax.
|
|
427
427
|
* @format DECIMAL_VALUE
|
|
428
428
|
* @decimalValue options { gte:0, maxScale:6 }
|
|
429
429
|
*/
|
|
430
430
|
taxRate?: string;
|
|
431
431
|
/**
|
|
432
|
-
*
|
|
432
|
+
* Amount of the line item price that is taxable.
|
|
433
433
|
* @format DECIMAL_VALUE
|
|
434
434
|
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
435
435
|
*/
|
|
@@ -526,7 +526,7 @@ export interface AdditionalFee {
|
|
|
526
526
|
priceBeforeTax?: string;
|
|
527
527
|
/**
|
|
528
528
|
* Additional fee amount after taxes.
|
|
529
|
-
* If no taxes apply to this fee, this will be the same as
|
|
529
|
+
* If no taxes apply to this fee, this will be the same as `priceBeforeTax`.
|
|
530
530
|
* @format DECIMAL_VALUE
|
|
531
531
|
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
532
532
|
*/
|
|
@@ -559,9 +559,9 @@ export interface AdditionalFeeTax {
|
|
|
559
559
|
}
|
|
560
560
|
export interface Discount {
|
|
561
561
|
/**
|
|
562
|
-
*
|
|
562
|
+
* Deprecated: Use `display_name` instead.
|
|
563
563
|
* @maxLength 400
|
|
564
|
-
* @deprecated
|
|
564
|
+
* @deprecated Deprecated: Use `display_name` instead.
|
|
565
565
|
* @replacedBy display_name
|
|
566
566
|
* @targetRemovalDate 2025-06-01
|
|
567
567
|
*/
|
|
@@ -631,7 +631,7 @@ export interface Totals {
|
|
|
631
631
|
*/
|
|
632
632
|
tax?: string | null;
|
|
633
633
|
/**
|
|
634
|
-
* Total amount
|
|
634
|
+
* Total amount after all calculations. Equates to: subtotal - discounts + taxes + shipping + additional_fees.
|
|
635
635
|
* @format DECIMAL_VALUE
|
|
636
636
|
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
637
637
|
*/
|
|
@@ -1095,7 +1095,7 @@ export interface SendReceiptEmailResponse {
|
|
|
1095
1095
|
}
|
|
1096
1096
|
export interface GetLatestReceiptNumberRequest {
|
|
1097
1097
|
/**
|
|
1098
|
-
* Receipt prefix.
|
|
1098
|
+
* Receipt prefix to filter by.
|
|
1099
1099
|
* @minLength 1
|
|
1100
1100
|
* @maxLength 10
|
|
1101
1101
|
*/
|
|
@@ -1346,7 +1346,7 @@ export interface ReceiptUpdatedEnvelope {
|
|
|
1346
1346
|
metadata: EventMetadata;
|
|
1347
1347
|
}
|
|
1348
1348
|
/**
|
|
1349
|
-
* Triggered when a receipt's number allocation is updated or a receipt document is generated.
|
|
1349
|
+
* Triggered when a receipt's number allocation is updated or a receipt document is generated.
|
|
1350
1350
|
* @permissionScope Manage Receipts
|
|
1351
1351
|
* @permissionScopeId SCOPE.RECEIPTS.MANAGE
|
|
1352
1352
|
* @permissionId RECEIPTS.RECEIPT_READ
|
|
@@ -1499,7 +1499,7 @@ export interface ReceiptsQueryBuilder {
|
|
|
1499
1499
|
/**
|
|
1500
1500
|
* Retries generating a receipt document that has a `FAILED` status.
|
|
1501
1501
|
*
|
|
1502
|
-
*
|
|
1502
|
+
* Note that you can access a receipt document with an `AVAILABLE` status with the URL provided in `document.downloadUrl` without regenerating.
|
|
1503
1503
|
* @param receiptId - Receipt ID.
|
|
1504
1504
|
* @public
|
|
1505
1505
|
* @documentationMaturity preview
|
|
@@ -1536,7 +1536,7 @@ export interface SendReceiptEmailOptions {
|
|
|
1536
1536
|
contactId?: string | null;
|
|
1537
1537
|
}
|
|
1538
1538
|
/**
|
|
1539
|
-
* Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix)
|
|
1539
|
+
* Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix).
|
|
1540
1540
|
* @public
|
|
1541
1541
|
* @documentationMaturity preview
|
|
1542
1542
|
* @permissionId RECEIPTS.RECEIPT_READ
|
|
@@ -1548,7 +1548,7 @@ export interface SendReceiptEmailOptions {
|
|
|
1548
1548
|
export declare function getLatestReceiptNumber(options?: GetLatestReceiptNumberOptions): Promise<GetLatestReceiptNumberResponse>;
|
|
1549
1549
|
export interface GetLatestReceiptNumberOptions {
|
|
1550
1550
|
/**
|
|
1551
|
-
* Receipt prefix.
|
|
1551
|
+
* Receipt prefix to filter by.
|
|
1552
1552
|
* @minLength 1
|
|
1553
1553
|
* @maxLength 10
|
|
1554
1554
|
*/
|
|
@@ -266,7 +266,7 @@ export function queryReceipts() {
|
|
|
266
266
|
/**
|
|
267
267
|
* Retries generating a receipt document that has a `FAILED` status.
|
|
268
268
|
*
|
|
269
|
-
*
|
|
269
|
+
* Note that you can access a receipt document with an `AVAILABLE` status with the URL provided in `document.downloadUrl` without regenerating.
|
|
270
270
|
* @param receiptId - Receipt ID.
|
|
271
271
|
* @public
|
|
272
272
|
* @documentationMaturity preview
|
|
@@ -342,7 +342,7 @@ export async function sendReceiptEmail(receiptId, options) {
|
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
/**
|
|
345
|
-
* Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix)
|
|
345
|
+
* Retrieves the latest receipt number (meaning, the sequential number displayed between the prefix and suffix).
|
|
346
346
|
* @public
|
|
347
347
|
* @documentationMaturity preview
|
|
348
348
|
* @permissionId RECEIPTS.RECEIPT_READ
|