@wix/auto_sdk_get-paid_receipts 1.0.5 → 1.0.6

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 (41) hide show
  1. package/build/cjs/src/receipts-v1-receipt-receipts.http.d.ts +3 -2
  2. package/build/cjs/src/receipts-v1-receipt-receipts.http.js +3 -2
  3. package/build/cjs/src/receipts-v1-receipt-receipts.http.js.map +1 -1
  4. package/build/cjs/src/receipts-v1-receipt-receipts.public.d.ts +3 -2
  5. package/build/cjs/src/receipts-v1-receipt-receipts.public.js.map +1 -1
  6. package/build/cjs/src/receipts-v1-receipt-receipts.types.d.ts +31 -32
  7. package/build/cjs/src/receipts-v1-receipt-receipts.types.js.map +1 -1
  8. package/build/cjs/src/receipts-v1-receipt-receipts.universal.d.ts +34 -34
  9. package/build/cjs/src/receipts-v1-receipt-receipts.universal.js +3 -2
  10. package/build/cjs/src/receipts-v1-receipt-receipts.universal.js.map +1 -1
  11. package/build/es/src/receipts-v1-receipt-receipts.http.d.ts +3 -2
  12. package/build/es/src/receipts-v1-receipt-receipts.http.js +3 -2
  13. package/build/es/src/receipts-v1-receipt-receipts.http.js.map +1 -1
  14. package/build/es/src/receipts-v1-receipt-receipts.public.d.ts +3 -2
  15. package/build/es/src/receipts-v1-receipt-receipts.public.js.map +1 -1
  16. package/build/es/src/receipts-v1-receipt-receipts.types.d.ts +31 -32
  17. package/build/es/src/receipts-v1-receipt-receipts.types.js.map +1 -1
  18. package/build/es/src/receipts-v1-receipt-receipts.universal.d.ts +34 -34
  19. package/build/es/src/receipts-v1-receipt-receipts.universal.js +3 -2
  20. package/build/es/src/receipts-v1-receipt-receipts.universal.js.map +1 -1
  21. package/build/internal/cjs/src/receipts-v1-receipt-receipts.http.d.ts +3 -2
  22. package/build/internal/cjs/src/receipts-v1-receipt-receipts.http.js +3 -2
  23. package/build/internal/cjs/src/receipts-v1-receipt-receipts.http.js.map +1 -1
  24. package/build/internal/cjs/src/receipts-v1-receipt-receipts.public.d.ts +3 -2
  25. package/build/internal/cjs/src/receipts-v1-receipt-receipts.public.js.map +1 -1
  26. package/build/internal/cjs/src/receipts-v1-receipt-receipts.types.d.ts +31 -32
  27. package/build/internal/cjs/src/receipts-v1-receipt-receipts.types.js.map +1 -1
  28. package/build/internal/cjs/src/receipts-v1-receipt-receipts.universal.d.ts +34 -34
  29. package/build/internal/cjs/src/receipts-v1-receipt-receipts.universal.js +3 -2
  30. package/build/internal/cjs/src/receipts-v1-receipt-receipts.universal.js.map +1 -1
  31. package/build/internal/es/src/receipts-v1-receipt-receipts.http.d.ts +3 -2
  32. package/build/internal/es/src/receipts-v1-receipt-receipts.http.js +3 -2
  33. package/build/internal/es/src/receipts-v1-receipt-receipts.http.js.map +1 -1
  34. package/build/internal/es/src/receipts-v1-receipt-receipts.public.d.ts +3 -2
  35. package/build/internal/es/src/receipts-v1-receipt-receipts.public.js.map +1 -1
  36. package/build/internal/es/src/receipts-v1-receipt-receipts.types.d.ts +31 -32
  37. package/build/internal/es/src/receipts-v1-receipt-receipts.types.js.map +1 -1
  38. package/build/internal/es/src/receipts-v1-receipt-receipts.universal.d.ts +34 -34
  39. package/build/internal/es/src/receipts-v1-receipt-receipts.universal.js +3 -2
  40. package/build/internal/es/src/receipts-v1-receipt-receipts.universal.js.map +1 -1
  41. package/package.json +2 -2
@@ -3,16 +3,17 @@ import { RequestOptionsFactory } from '@wix/sdk-types';
3
3
  * Creates a receipt.
4
4
  *
5
5
  * Required fields: currency, source reference, line items, payment, totals.
6
+ *
6
7
  * Receipt number is assigned later and will not be provided in the response.
7
8
  */
8
9
  export declare function createReceipt(payload: object): RequestOptionsFactory<any>;
9
10
  /** Retrieves a receipt. */
10
11
  export declare function getReceipt(payload: object): RequestOptionsFactory<any>;
11
- /** Retrieves a list of up to 100 receipts, given the specified filtering ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/api/rest/getting-started/api-query-language)), paging, and sorting ([REST](https://dev.wix.com/api/rest/getting-started/sorting-and-paging)). */
12
+ /** Retrieves a list of up to 100 receipts, given the specified filtering, paging, and sorting ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/api/rest/getting-started/api-query-language)). */
12
13
  export declare function queryReceipts(payload: object): RequestOptionsFactory<any>;
13
14
  /** Retries generating a receipt document with `status`:`FAILED`. */
14
15
  export declare function regenerateReceiptDocument(payload: object): RequestOptionsFactory<any>;
15
- /** Sends the receipt in an email to the specified recipient. */
16
+ /** Sends the receipt to the specified recipient in an email. */
16
17
  export declare function sendReceiptEmail(payload: object): RequestOptionsFactory<any>;
17
18
  /** Retrieves the latest receipt number for a specified prefix. */
18
19
  export declare function getLatestReceiptNumber(payload: object): RequestOptionsFactory<any>;
@@ -24,6 +24,7 @@ const PACKAGE_NAME = '@wix/auto_sdk_get-paid_receipts';
24
24
  * Creates a receipt.
25
25
  *
26
26
  * Required fields: currency, source reference, line items, payment, totals.
27
+ *
27
28
  * Receipt number is assigned later and will not be provided in the response.
28
29
  */
29
30
  function createReceipt(payload) {
@@ -131,7 +132,7 @@ function getReceipt(payload) {
131
132
  return __getReceipt;
132
133
  }
133
134
  exports.getReceipt = getReceipt;
134
- /** Retrieves a list of up to 100 receipts, given the specified filtering ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/api/rest/getting-started/api-query-language)), paging, and sorting ([REST](https://dev.wix.com/api/rest/getting-started/sorting-and-paging)). */
135
+ /** Retrieves a list of up to 100 receipts, given the specified filtering, paging, and sorting ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/api/rest/getting-started/api-query-language)). */
135
136
  function queryReceipts(payload) {
136
137
  function __queryReceipts({ host }) {
137
138
  const metadata = {
@@ -193,7 +194,7 @@ function regenerateReceiptDocument(payload) {
193
194
  return __regenerateReceiptDocument;
194
195
  }
195
196
  exports.regenerateReceiptDocument = regenerateReceiptDocument;
196
- /** Sends the receipt in an email to the specified recipient. */
197
+ /** Sends the receipt to the specified recipient in an email. */
197
198
  function sendReceiptEmail(payload) {
198
199
  function __sendReceiptEmail({ host }) {
199
200
  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;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;;;;;GAKG;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,EAAE,IAAI,EAAE,qBAAqB,EAAE;oBAC/B,EAAE,IAAI,EAAE,gDAAgD,EAAE;oBAC1D,EAAE,IAAI,EAAE,iCAAiC,EAAE;iBAC5C;aACF;YACD;gBACE,WAAW,EAAE,oCAA4B;gBACzC,KAAK,EAAE;oBACL,EAAE,IAAI,EAAE,kDAAkD,EAAE;oBAC5D,EAAE,IAAI,EAAE,mDAAmD,EAAE;oBAC7D,EAAE,IAAI,EAAE,k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,EAAE,+BAA+B,CAAC;gBACnC,SAAS,EAAE,0CAA0C;gBACrD,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,IAAI,EAAE,OAAO;YACb,iBAAiB,EAAE,CAAC,OAAY,EAAE,EAAE,CAClC,IAAA,gCAAc,EAAC,OAAO,EAAE;gBACtB;oBACE,WAAW,EAAE,gDAAoC;oBACjD,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,qBAAqB,EAAE;wBAC/B,EAAE,IAAI,EAAE,qBAAqB,EAAE;wBAC/B,EAAE,IAAI,EAAE,gDAAgD,EAAE;wBAC1D,EAAE,IAAI,EAAE,iCAAiC,EAAE;qBAC5C;iBACF;gBACD;oBACE,WAAW,EAAE,oCAA4B;oBACzC,KAAK,EAAE;wBACL,EAAE,IAAI,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"}
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;KACF,CAAC;IAEF,OAAO,I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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"}
@@ -9,6 +9,7 @@ interface CreateReceiptSignature {
9
9
  * Creates a receipt.
10
10
  *
11
11
  * Required fields: currency, source reference, line items, payment, totals.
12
+ *
12
13
  * Receipt number is assigned later and will not be provided in the response.
13
14
  * @param - Receipt to be created.
14
15
  * @returns Created receipt.
@@ -27,7 +28,7 @@ interface GetReceiptSignature {
27
28
  export declare function queryReceipts(httpClient: HttpClient): QueryReceiptsSignature;
28
29
  interface QueryReceiptsSignature {
29
30
  /**
30
- * Retrieves a list of up to 100 receipts, given the specified filtering ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/api/rest/getting-started/api-query-language)), paging, and sorting ([REST](https://dev.wix.com/api/rest/getting-started/sorting-and-paging)).
31
+ * Retrieves a list of up to 100 receipts, given the specified filtering, paging, and sorting ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/api/rest/getting-started/api-query-language)).
31
32
  */
32
33
  (): ReceiptsQueryBuilder;
33
34
  }
@@ -42,7 +43,7 @@ interface RegenerateReceiptDocumentSignature {
42
43
  export declare function sendReceiptEmail(httpClient: HttpClient): SendReceiptEmailSignature;
43
44
  interface SendReceiptEmailSignature {
44
45
  /**
45
- * Sends the receipt in an email to the specified recipient.
46
+ * Sends the receipt to the specified recipient in an email.
46
47
  * @param - Receipt ID to send.
47
48
  */
48
49
  (receiptId: string, options?: SendReceiptEmailOptions | undefined): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"receipts-v1-receipt-receipts.public.js","sourceRoot":"","sources":["../../../src/receipts-v1-receipt-receipts.public.ts"],"names":[],"mappings":";;;AACA,2GAiBqD;AAExC,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAAgB,EAAE,EAAE,CAC1B,IAAA,yDAAsB,EACpB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sCAOC;AAcD,SAAgB,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,SAAiB,EAAE,EAAE,CAC3B,IAAA,sDAAmB,EACjB,SAAS;IACT,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,gCAOC;AAWD,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,IAAA,yDAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAND,sCAMC;AASD,SAAgB,yBAAyB,CACvC,UAAsB;IAEtB,OAAO,CAAC,SAAiB,EAAE,EAAE,CAC3B,IAAA,qEAAkC,EAChC,SAAS;IACT,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,8DASC;AAUD,SAAgB,gBAAgB,CAC9B,UAAsB;IAEtB,OAAO,CAAC,SAAiB,EAAE,OAAiC,EAAE,EAAE,CAC9D,IAAA,4DAAyB,EACvB,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAVD,4CAUC;AAaD,SAAgB,sBAAsB,CACpC,UAAsB;IAEtB,OAAO,CAAC,OAAuC,EAAE,EAAE,CACjD,IAAA,kEAA+B,EAC7B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wDASC;AAWD,SAAgB,oBAAoB,CAClC,UAAsB;IAEtB,OAAO,CACL,GAAW,EACX,SAAiB,EACjB,OAAoC,EACpC,EAAE,CACF,IAAA,gEAA6B,EAC3B,GAAG,EACH,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAfD,oDAeC;AAiBD,yGA6FqD;AAxEnD,2IAAA,cAAc,OAAA;AAoCd,6IAAA,gBAAgB,OAAA;AAMhB,0IAAA,aAAa,OAAA;AAQb,sIAAA,SAAS,OAAA;AAOT,4IAAA,eAAe,OAAA;AAWf,oIAAA,OAAO,OAAA;AACP,gJAAA,mBAAmB,OAAA"}
1
+ {"version":3,"file":"receipts-v1-receipt-receipts.public.js","sourceRoot":"","sources":["../../../src/receipts-v1-receipt-receipts.public.ts"],"names":[],"mappings":";;;AACA,2GAiBqD;AAExC,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAAgB,EAAE,EAAE,CAC1B,IAAA,yDAAsB,EACpB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sCAOC;AAeD,SAAgB,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,SAAiB,EAAE,EAAE,CAC3B,IAAA,sDAAmB,EACjB,SAAS;IACT,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,gCAOC;AAWD,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,IAAA,yDAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAND,sCAMC;AASD,SAAgB,yBAAyB,CACvC,UAAsB;IAEtB,OAAO,CAAC,SAAiB,EAAE,EAAE,CAC3B,IAAA,qEAAkC,EAChC,SAAS;IACT,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,8DASC;AAUD,SAAgB,gBAAgB,CAC9B,UAAsB;IAEtB,OAAO,CAAC,SAAiB,EAAE,OAAiC,EAAE,EAAE,CAC9D,IAAA,4DAAyB,EACvB,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAVD,4CAUC;AAaD,SAAgB,sBAAsB,CACpC,UAAsB;IAEtB,OAAO,CAAC,OAAuC,EAAE,EAAE,CACjD,IAAA,kEAA+B,EAC7B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wDASC;AAWD,SAAgB,oBAAoB,CAClC,UAAsB;IAEtB,OAAO,CACL,GAAW,EACX,SAAiB,EACjB,OAAoC,EACpC,EAAE,CACF,IAAA,gEAA6B,EAC3B,GAAG,EACH,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAfD,oDAeC;AAiBD,yGA6FqD;AAxEnD,2IAAA,cAAc,OAAA;AAoCd,6IAAA,gBAAgB,OAAA;AAMhB,0IAAA,aAAa,OAAA;AAQb,sIAAA,SAAS,OAAA;AAOT,4IAAA,eAAe,OAAA;AAWf,oIAAA,OAAO,OAAA;AACP,gJAAA,mBAAmB,OAAA"}
@@ -90,7 +90,10 @@ export interface Receipt {
90
90
  * @format GUID
91
91
  */
92
92
  presetId?: string | null;
93
- /** Custom fields. */
93
+ /**
94
+ * Custom fields for this receipt.
95
+ * Values appear on the receipt in the specified order.
96
+ */
94
97
  customFields?: CustomFields;
95
98
  /**
96
99
  * Document details.
@@ -119,38 +122,38 @@ export interface Numbering {
119
122
  */
120
123
  suffix?: string | null;
121
124
  /**
122
- * Receipt display number, in [prefix][number][suffix] format.
125
+ * Full receipt display number, in [prefix][number][suffix] format.
123
126
  * @readonly
124
127
  * @maxLength 30
125
128
  */
126
129
  displayNumber?: string;
127
130
  }
128
131
  export interface RegionalProperties {
129
- /** The locale determines the format of numbers, dates and times. */
132
+ /** Locale. Determines formating of numbers, dates and times. */
130
133
  locale?: Locale;
131
134
  /**
132
- * The time zone determines the offset of dates and times.
135
+ * Time zone. Determines offset of dates and times.
133
136
  * @maxLength 32
134
137
  */
135
138
  timeZone?: string | null;
136
139
  }
137
140
  export interface Locale {
138
141
  /**
139
- * Locale language code, 2 letters [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1).
140
- * Examples: en, de, ja.
142
+ * Two-letter language code in [ISO-639-1 alpha-2](https://en.wikipedia.org/wiki/ISO_639-1) format.
143
+ * For example: `en`, `de`, `ja`.
141
144
  * @format LANGUAGE
142
145
  */
143
146
  languageCode?: string;
144
147
  /**
145
- * Locale country code, 2 letters ISO-3166-1.
146
- * Examples: US, DE, JP.
148
+ * Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#officially_assigned_code_elements) format.
149
+ * For example: `US`, `DE`, `JP`.
147
150
  * @format COUNTRY
148
151
  */
149
152
  country?: string | null;
150
153
  }
151
154
  export interface SourceReference extends SourceReferenceOrderOneOf {
152
155
  /**
153
- * Regular payments order.
156
+ * Wix Payments order.
154
157
  * @immutable
155
158
  */
156
159
  wixPaymentOrder?: WixPayment;
@@ -160,20 +163,20 @@ export interface SourceReference extends SourceReferenceOrderOneOf {
160
163
  */
161
164
  wixEcomOrder?: WixEcom;
162
165
  /**
163
- * App Id of the vertical/third-party application that generated the receipt.
166
+ * ID of the app that generated the receipt.
164
167
  * @format GUID
165
168
  * @immutable
166
169
  */
167
170
  appId?: string;
168
171
  /**
169
- * External reference Id.
170
- * Example: orderId, eventId.
172
+ * External reference ID.
173
+ * For example: Wix eCommerce `orderId`, Wix Events `eventId`.
171
174
  * @format GUID
172
175
  * @immutable
173
176
  */
174
177
  externalReferenceId?: string;
175
178
  /**
176
- * Specifies the type of order.
179
+ * Order type.
177
180
  * @immutable
178
181
  */
179
182
  receiptOrderType?: ReceiptOrderType;
@@ -181,7 +184,7 @@ export interface SourceReference extends SourceReferenceOrderOneOf {
181
184
  /** @oneof */
182
185
  export interface SourceReferenceOrderOneOf {
183
186
  /**
184
- * Regular payments order.
187
+ * Wix Payments order.
185
188
  * @immutable
186
189
  */
187
190
  wixPaymentOrder?: WixPayment;
@@ -198,13 +201,13 @@ export declare enum ReceiptOrderType {
198
201
  }
199
202
  export interface WixPayment {
200
203
  /**
201
- * Payment order Id.
204
+ * Wix Payments order ID.
202
205
  * @format GUID
203
206
  * @immutable
204
207
  */
205
208
  orderId?: string;
206
209
  /**
207
- * Payment transaction Id.
210
+ * Wix Payments transaction ID.
208
211
  * @format GUID
209
212
  * @immutable
210
213
  */
@@ -212,13 +215,13 @@ export interface WixPayment {
212
215
  }
213
216
  export interface WixEcom {
214
217
  /**
215
- * Wix eCommerce order Id.
218
+ * Wix eCommerce order ID.
216
219
  * @format GUID
217
220
  * @immutable
218
221
  */
219
222
  orderId?: string;
220
223
  /**
221
- * Payment transaction Id.
224
+ * Wix eCommerce transaction ID.
222
225
  * @format GUID
223
226
  * @immutable
224
227
  */
@@ -347,7 +350,7 @@ export interface Image {
347
350
  }
348
351
  export interface Customer {
349
352
  /**
350
- * Contact Id.
353
+ * Customer's contact ID.
351
354
  * @format GUID
352
355
  */
353
356
  contactId?: string | null;
@@ -395,7 +398,7 @@ export declare enum VatType {
395
398
  }
396
399
  export interface LineItem {
397
400
  /**
398
- * Line item Id.
401
+ * Line item ID.
399
402
  * @format GUID
400
403
  */
401
404
  id?: string | null;
@@ -416,13 +419,13 @@ export interface LineItem {
416
419
  */
417
420
  quantity?: string | null;
418
421
  /**
419
- * Line item unit price amount after discounts.
422
+ * Line item unit price per unit after discounts.
420
423
  * @format DECIMAL_VALUE
421
424
  * @decimalValue options { gte:-1000000000000000, lte:1000000000000000, maxScale:4 }
422
425
  */
423
426
  price?: string | null;
424
427
  /**
425
- * Line item unit price amount before discounts.
428
+ * Line item price per unit before discounts.
426
429
  * @format DECIMAL_VALUE
427
430
  * @decimalValue options { gte:-1000000000000000, lte:1000000000000000, maxScale:4 }
428
431
  */
@@ -481,7 +484,7 @@ export interface LineItemTotals {
481
484
  */
482
485
  totalTax?: string | null;
483
486
  /**
484
- * Line item total after taxes and discounts.
487
+ * Line item total price after taxes and discounts.
485
488
  * @format DECIMAL_VALUE
486
489
  * @decimalValue options { gte:-1000000000000000, lte:1000000000000000, maxScale:4 }
487
490
  */
@@ -533,26 +536,26 @@ export interface ShippingTax {
533
536
  }
534
537
  export interface AdditionalFee {
535
538
  /**
536
- * Additional fee's name.
539
+ * Additional fee name.
537
540
  * @minLength 1
538
541
  * @maxLength 50
539
542
  */
540
543
  name?: string;
541
544
  /**
542
- * Additional fee's price before taxes.
545
+ * Additional fee price before taxes.
543
546
  * @format DECIMAL_VALUE
544
547
  * @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
545
548
  */
546
549
  priceBeforeTax?: string;
547
550
  /**
548
- * Additional fee's amount after taxes.
549
- * Should be the same as price before taxes if no taxes apply to this fee.
551
+ * Additional fee amount after taxes.
552
+ * If no taxes apply to this fee, this will be the same as price before taxes.
550
553
  * @format DECIMAL_VALUE
551
554
  * @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
552
555
  */
553
556
  priceAfterTax?: string;
554
557
  /**
555
- * Additional fee's tax breakdown.
558
+ * Additional fee tax breakdown.
556
559
  * @maxSize 10
557
560
  */
558
561
  taxBreakdown?: AdditionalFeeTax[];
@@ -677,25 +680,21 @@ export interface Tax {
677
680
  export interface CustomFields {
678
681
  /**
679
682
  * Header custom fields.
680
- * Order will be persisted in the receipt document.
681
683
  * @maxSize 4
682
684
  */
683
685
  headerCustomFields?: CustomField[];
684
686
  /**
685
687
  * Business custom fields.
686
- * Order will be persisted in the receipt document.
687
688
  * @maxSize 4
688
689
  */
689
690
  businessCustomFields?: CustomField[];
690
691
  /**
691
692
  * Customer custom fields.
692
- * Order will be persisted in the receipt document.
693
693
  * @maxSize 4
694
694
  */
695
695
  customerCustomFields?: CustomField[];
696
696
  /**
697
697
  * Footer custom fields.
698
- * Order will be persisted in the receipt document.
699
698
  * @maxSize 4
700
699
  */
701
700
  footerCustomFields?: FooterCustomField[];
@@ -1 +1 @@
1
- {"version":3,"file":"receipts-v1-receipt-receipts.types.js","sourceRoot":"","sources":["../../../src/receipts-v1-receipt-receipts.types.ts"],"names":[],"mappings":";;;AAuMA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,+CAA2B,CAAA;IAC3B,yCAAqB,CAAA;AACvB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAiHD,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8EAA2D,CAAA;IAC3D,2BAA2B;IAC3B,8EAA2D,CAAA;IAC3D,mBAAmB;IACnB,8EAA2D,CAAA;IAC3D,8IAA8I;IAC9I,sCAAmB,CAAA;AACrB,CAAC,EAdW,eAAe,+BAAf,eAAe,QAc1B;AA8ED,qBAAqB;AACrB,IAAY,OAMX;AAND,WAAY,OAAO;IACjB,sCAA2B,CAAA;IAC3B,uCAAuC;IACvC,sBAAW,CAAA;IACX,8BAA8B;IAC9B,wBAAa,CAAA;AACf,CAAC,EANW,OAAO,uBAAP,OAAO,QAMlB;AAuWD,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,qEAAmD,CAAA;IACnD,2CAAyB,CAAA;IACzB,yCAAuB,CAAA;IACvB,mCAAiB,CAAA;AACnB,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB;AAgLD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AAgFD,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;AACnB,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAkED,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
1
+ {"version":3,"file":"receipts-v1-receipt-receipts.types.js","sourceRoot":"","sources":["../../../src/receipts-v1-receipt-receipts.types.ts"],"names":[],"mappings":";;;AA0MA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,+CAA2B,CAAA;IAC3B,yCAAqB,CAAA;AACvB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAiHD,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8EAA2D,CAAA;IAC3D,2BAA2B;IAC3B,8EAA2D,CAAA;IAC3D,mBAAmB;IACnB,8EAA2D,CAAA;IAC3D,8IAA8I;IAC9I,sCAAmB,CAAA;AACrB,CAAC,EAdW,eAAe,+BAAf,eAAe,QAc1B;AA8ED,qBAAqB;AACrB,IAAY,OAMX;AAND,WAAY,OAAO;IACjB,sCAA2B,CAAA;IAC3B,uCAAuC;IACvC,sBAAW,CAAA;IACX,8BAA8B;IAC9B,wBAAa,CAAA;AACf,CAAC,EANW,OAAO,uBAAP,OAAO,QAMlB;AAmWD,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,qEAAmD,CAAA;IACnD,2CAAyB,CAAA;IACzB,yCAAuB,CAAA;IACvB,mCAAiB,CAAA;AACnB,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB;AAgLD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AAgFD,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;AACnB,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAkED,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
@@ -90,7 +90,10 @@ export interface Receipt {
90
90
  * @format GUID
91
91
  */
92
92
  presetId?: string | null;
93
- /** Custom fields. */
93
+ /**
94
+ * Custom fields for this receipt.
95
+ * Values appear on the receipt in the specified order.
96
+ */
94
97
  customFields?: CustomFields;
95
98
  /**
96
99
  * Document details.
@@ -119,38 +122,38 @@ export interface Numbering {
119
122
  */
120
123
  suffix?: string | null;
121
124
  /**
122
- * Receipt display number, in [prefix][number][suffix] format.
125
+ * Full receipt display number, in [prefix][number][suffix] format.
123
126
  * @readonly
124
127
  * @maxLength 30
125
128
  */
126
129
  displayNumber?: string;
127
130
  }
128
131
  export interface RegionalProperties {
129
- /** The locale determines the format of numbers, dates and times. */
132
+ /** Locale. Determines formating of numbers, dates and times. */
130
133
  locale?: Locale;
131
134
  /**
132
- * The time zone determines the offset of dates and times.
135
+ * Time zone. Determines offset of dates and times.
133
136
  * @maxLength 32
134
137
  */
135
138
  timeZone?: string | null;
136
139
  }
137
140
  export interface Locale {
138
141
  /**
139
- * Locale language code, 2 letters [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1).
140
- * Examples: en, de, ja.
142
+ * Two-letter language code in [ISO-639-1 alpha-2](https://en.wikipedia.org/wiki/ISO_639-1) format.
143
+ * For example: `en`, `de`, `ja`.
141
144
  * @format LANGUAGE
142
145
  */
143
146
  languageCode?: string;
144
147
  /**
145
- * Locale country code, 2 letters ISO-3166-1.
146
- * Examples: US, DE, JP.
148
+ * Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#officially_assigned_code_elements) format.
149
+ * For example: `US`, `DE`, `JP`.
147
150
  * @format COUNTRY
148
151
  */
149
152
  country?: string | null;
150
153
  }
151
154
  export interface SourceReference extends SourceReferenceOrderOneOf {
152
155
  /**
153
- * Regular payments order.
156
+ * Wix Payments order.
154
157
  * @immutable
155
158
  */
156
159
  wixPaymentOrder?: WixPayment;
@@ -160,20 +163,20 @@ export interface SourceReference extends SourceReferenceOrderOneOf {
160
163
  */
161
164
  wixEcomOrder?: WixEcom;
162
165
  /**
163
- * App Id of the vertical/third-party application that generated the receipt.
166
+ * ID of the app that generated the receipt.
164
167
  * @format GUID
165
168
  * @immutable
166
169
  */
167
170
  appId?: string;
168
171
  /**
169
- * External reference Id.
170
- * Example: orderId, eventId.
172
+ * External reference ID.
173
+ * For example: Wix eCommerce `orderId`, Wix Events `eventId`.
171
174
  * @format GUID
172
175
  * @immutable
173
176
  */
174
177
  externalReferenceId?: string;
175
178
  /**
176
- * Specifies the type of order.
179
+ * Order type.
177
180
  * @immutable
178
181
  */
179
182
  receiptOrderType?: ReceiptOrderType;
@@ -181,7 +184,7 @@ export interface SourceReference extends SourceReferenceOrderOneOf {
181
184
  /** @oneof */
182
185
  export interface SourceReferenceOrderOneOf {
183
186
  /**
184
- * Regular payments order.
187
+ * Wix Payments order.
185
188
  * @immutable
186
189
  */
187
190
  wixPaymentOrder?: WixPayment;
@@ -198,13 +201,13 @@ export declare enum ReceiptOrderType {
198
201
  }
199
202
  export interface WixPayment {
200
203
  /**
201
- * Payment order Id.
204
+ * Wix Payments order ID.
202
205
  * @format GUID
203
206
  * @immutable
204
207
  */
205
208
  orderId?: string;
206
209
  /**
207
- * Payment transaction Id.
210
+ * Wix Payments transaction ID.
208
211
  * @format GUID
209
212
  * @immutable
210
213
  */
@@ -212,13 +215,13 @@ export interface WixPayment {
212
215
  }
213
216
  export interface WixEcom {
214
217
  /**
215
- * Wix eCommerce order Id.
218
+ * Wix eCommerce order ID.
216
219
  * @format GUID
217
220
  * @immutable
218
221
  */
219
222
  orderId?: string;
220
223
  /**
221
- * Payment transaction Id.
224
+ * Wix eCommerce transaction ID.
222
225
  * @format GUID
223
226
  * @immutable
224
227
  */
@@ -324,7 +327,7 @@ export interface StandardDetails {
324
327
  }
325
328
  export interface Customer {
326
329
  /**
327
- * Contact Id.
330
+ * Customer's contact ID.
328
331
  * @format GUID
329
332
  */
330
333
  contactId?: string | null;
@@ -372,7 +375,7 @@ export declare enum VatType {
372
375
  }
373
376
  export interface LineItem {
374
377
  /**
375
- * Line item Id.
378
+ * Line item ID.
376
379
  * @format GUID
377
380
  */
378
381
  _id?: string | null;
@@ -393,13 +396,13 @@ export interface LineItem {
393
396
  */
394
397
  quantity?: string | null;
395
398
  /**
396
- * Line item unit price amount after discounts.
399
+ * Line item unit price per unit after discounts.
397
400
  * @format DECIMAL_VALUE
398
401
  * @decimalValue options { gte:-1000000000000000, lte:1000000000000000, maxScale:4 }
399
402
  */
400
403
  price?: string | null;
401
404
  /**
402
- * Line item unit price amount before discounts.
405
+ * Line item price per unit before discounts.
403
406
  * @format DECIMAL_VALUE
404
407
  * @decimalValue options { gte:-1000000000000000, lte:1000000000000000, maxScale:4 }
405
408
  */
@@ -458,7 +461,7 @@ export interface LineItemTotals {
458
461
  */
459
462
  totalTax?: string | null;
460
463
  /**
461
- * Line item total after taxes and discounts.
464
+ * Line item total price after taxes and discounts.
462
465
  * @format DECIMAL_VALUE
463
466
  * @decimalValue options { gte:-1000000000000000, lte:1000000000000000, maxScale:4 }
464
467
  */
@@ -510,26 +513,26 @@ export interface ShippingTax {
510
513
  }
511
514
  export interface AdditionalFee {
512
515
  /**
513
- * Additional fee's name.
516
+ * Additional fee name.
514
517
  * @minLength 1
515
518
  * @maxLength 50
516
519
  */
517
520
  name?: string;
518
521
  /**
519
- * Additional fee's price before taxes.
522
+ * Additional fee price before taxes.
520
523
  * @format DECIMAL_VALUE
521
524
  * @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
522
525
  */
523
526
  priceBeforeTax?: string;
524
527
  /**
525
- * Additional fee's amount after taxes.
526
- * Should be the same as price before taxes if no taxes apply to this fee.
528
+ * Additional fee amount after taxes.
529
+ * If no taxes apply to this fee, this will be the same as price before taxes.
527
530
  * @format DECIMAL_VALUE
528
531
  * @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
529
532
  */
530
533
  priceAfterTax?: string;
531
534
  /**
532
- * Additional fee's tax breakdown.
535
+ * Additional fee tax breakdown.
533
536
  * @maxSize 10
534
537
  */
535
538
  taxBreakdown?: AdditionalFeeTax[];
@@ -654,25 +657,21 @@ export interface Tax {
654
657
  export interface CustomFields {
655
658
  /**
656
659
  * Header custom fields.
657
- * Order will be persisted in the receipt document.
658
660
  * @maxSize 4
659
661
  */
660
662
  headerCustomFields?: CustomField[];
661
663
  /**
662
664
  * Business custom fields.
663
- * Order will be persisted in the receipt document.
664
665
  * @maxSize 4
665
666
  */
666
667
  businessCustomFields?: CustomField[];
667
668
  /**
668
669
  * Customer custom fields.
669
- * Order will be persisted in the receipt document.
670
670
  * @maxSize 4
671
671
  */
672
672
  customerCustomFields?: CustomField[];
673
673
  /**
674
674
  * Footer custom fields.
675
- * Order will be persisted in the receipt document.
676
675
  * @maxSize 4
677
676
  */
678
677
  footerCustomFields?: FooterCustomField[];
@@ -1256,6 +1255,7 @@ export interface UpdateExtendedFieldsResponseNonNullableFields {
1256
1255
  * Creates a receipt.
1257
1256
  *
1258
1257
  * Required fields: currency, source reference, line items, payment, totals.
1258
+ *
1259
1259
  * Receipt number is assigned later and will not be provided in the response.
1260
1260
  * @param receipt - Receipt to be created.
1261
1261
  * @public
@@ -1298,7 +1298,7 @@ export declare function createReceipt(receipt: Receipt): Promise<Receipt & Recei
1298
1298
  */
1299
1299
  export declare function getReceipt(receiptId: string): Promise<Receipt & ReceiptNonNullableFields>;
1300
1300
  /**
1301
- * Retrieves a list of up to 100 receipts, given the specified filtering ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/api/rest/getting-started/api-query-language)), paging, and sorting ([REST](https://dev.wix.com/api/rest/getting-started/sorting-and-paging)).
1301
+ * Retrieves a list of up to 100 receipts, given the specified filtering, paging, and sorting ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/api/rest/getting-started/api-query-language)).
1302
1302
  * @public
1303
1303
  * @documentationMaturity preview
1304
1304
  * @permissionId RECEIPTS.RECEIPT_READ
@@ -1393,7 +1393,7 @@ export interface ReceiptsQueryBuilder {
1393
1393
  */
1394
1394
  export declare function regenerateReceiptDocument(receiptId: string): Promise<void>;
1395
1395
  /**
1396
- * Sends the receipt in an email to the specified recipient.
1396
+ * Sends the receipt to the specified recipient in an email.
1397
1397
  * @param receiptId - Receipt ID to send.
1398
1398
  * @public
1399
1399
  * @documentationMaturity preview
@@ -94,6 +94,7 @@ var SortOrder;
94
94
  * Creates a receipt.
95
95
  *
96
96
  * Required fields: currency, source reference, line items, payment, totals.
97
+ *
97
98
  * Receipt number is assigned later and will not be provided in the response.
98
99
  * @param receipt - Receipt to be created.
99
100
  * @public
@@ -219,7 +220,7 @@ async function getReceipt(receiptId) {
219
220
  }
220
221
  exports.getReceipt = getReceipt;
221
222
  /**
222
- * Retrieves a list of up to 100 receipts, given the specified filtering ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/api/rest/getting-started/api-query-language)), paging, and sorting ([REST](https://dev.wix.com/api/rest/getting-started/sorting-and-paging)).
223
+ * Retrieves a list of up to 100 receipts, given the specified filtering, paging, and sorting ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/api/rest/getting-started/api-query-language)).
223
224
  * @public
224
225
  * @documentationMaturity preview
225
226
  * @permissionId RECEIPTS.RECEIPT_READ
@@ -315,7 +316,7 @@ async function regenerateReceiptDocument(receiptId) {
315
316
  }
316
317
  exports.regenerateReceiptDocument = regenerateReceiptDocument;
317
318
  /**
318
- * Sends the receipt in an email to the specified recipient.
319
+ * Sends the receipt to the specified recipient in an email.
319
320
  * @param receiptId - Receipt ID to send.
320
321
  * @public
321
322
  * @documentationMaturity preview