@wix/auto_sdk_get-paid_receipts 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.context.d.ts +11 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.context.js +21 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.context.js.map +1 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.http.d.ts +28 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.http.js +286 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.http.js.map +1 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.meta.d.ts +27 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.meta.js +161 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.meta.js.map +1 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.public.d.ts +72 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.public.js +56 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.public.js.map +1 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.types.d.ts +915 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.types.js +60 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.types.js.map +1 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.universal.d.ts +1072 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.universal.js +446 -0
- package/build/cjs/src/receipts-v1-receipt-receipts.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/receipts-v1-receipt-receipts.context.d.ts +11 -0
- package/build/es/src/receipts-v1-receipt-receipts.context.js +11 -0
- package/build/es/src/receipts-v1-receipt-receipts.context.js.map +1 -0
- package/build/es/src/receipts-v1-receipt-receipts.http.d.ts +28 -0
- package/build/es/src/receipts-v1-receipt-receipts.http.js +276 -0
- package/build/es/src/receipts-v1-receipt-receipts.http.js.map +1 -0
- package/build/es/src/receipts-v1-receipt-receipts.meta.d.ts +27 -0
- package/build/es/src/receipts-v1-receipt-receipts.meta.js +128 -0
- package/build/es/src/receipts-v1-receipt-receipts.meta.js.map +1 -0
- package/build/es/src/receipts-v1-receipt-receipts.public.d.ts +72 -0
- package/build/es/src/receipts-v1-receipt-receipts.public.js +39 -0
- package/build/es/src/receipts-v1-receipt-receipts.public.js.map +1 -0
- package/build/es/src/receipts-v1-receipt-receipts.types.d.ts +915 -0
- package/build/es/src/receipts-v1-receipt-receipts.types.js +57 -0
- package/build/es/src/receipts-v1-receipt-receipts.types.js.map +1 -0
- package/build/es/src/receipts-v1-receipt-receipts.universal.d.ts +1072 -0
- package/build/es/src/receipts-v1-receipt-receipts.universal.js +413 -0
- package/build/es/src/receipts-v1-receipt-receipts.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.context.d.ts +11 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.context.js +21 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.context.js.map +1 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.http.d.ts +28 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.http.js +286 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.http.js.map +1 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.meta.d.ts +27 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.meta.js +161 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.meta.js.map +1 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.public.d.ts +72 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.public.js +56 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.public.js.map +1 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.types.d.ts +915 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.types.js +60 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.types.js.map +1 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.universal.d.ts +1072 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.universal.js +446 -0
- package/build/internal/cjs/src/receipts-v1-receipt-receipts.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.context.d.ts +11 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.context.js +11 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.context.js.map +1 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.http.d.ts +28 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.http.js +276 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.http.js.map +1 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.meta.d.ts +27 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.meta.js +128 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.meta.js.map +1 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.public.d.ts +72 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.public.js +39 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.public.js.map +1 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.types.d.ts +915 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.types.js +57 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.types.js.map +1 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.universal.d.ts +1072 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.universal.js +413 -0
- package/build/internal/es/src/receipts-v1-receipt-receipts.universal.js.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"receipts-v1-receipt-receipts.meta.js","sourceRoot":"","sources":["../../../src/receipts-v1-receipt-receipts.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uGAAyF;AAsBzF,SAAgB,aAAa;IAU3B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,8BAA8B,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAExD,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,cAAc;QACpB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,I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iB,GACrB,8BAA8B,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAEjE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,gCAAgC;QACtC,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,wDA4BC;AAED,SAAgB,oBAAoB;IAUlC,MAAM,OAAO,GAAG,EAAE,EAAE,EAAE,KAAK,EAAS,CAAC;IAErC,MAAM,iBAAiB,GACrB,8BAA8B,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAE/D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,0CAA0C;QAChD,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE;QACxB,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,oDA8BC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
+
import { GetLatestReceiptNumberOptions, GetLatestReceiptNumberResponse, Receipt, ReceiptNonNullableFields, ReceiptsQueryBuilder, SendReceiptEmailOptions, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateExtendedFieldsResponseNonNullableFields } from './receipts-v1-receipt-receipts.universal.js';
|
|
3
|
+
export declare const __metadata: {
|
|
4
|
+
PACKAGE_NAME: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function createReceipt(httpClient: HttpClient): CreateReceiptSignature;
|
|
7
|
+
interface CreateReceiptSignature {
|
|
8
|
+
/**
|
|
9
|
+
* Creates a Receipt.
|
|
10
|
+
*
|
|
11
|
+
* The request body must include: currency, source reference, line items, payment, totals.
|
|
12
|
+
* Receipt number will not be assigned on the create response. Number will be assigned eventually but before the
|
|
13
|
+
* document file is created.
|
|
14
|
+
* @param - Receipt to be created.
|
|
15
|
+
* @returns The created Receipt.
|
|
16
|
+
*/
|
|
17
|
+
(receipt: Receipt): Promise<Receipt & ReceiptNonNullableFields>;
|
|
18
|
+
}
|
|
19
|
+
export declare function getReceipt(httpClient: HttpClient): GetReceiptSignature;
|
|
20
|
+
interface GetReceiptSignature {
|
|
21
|
+
/**
|
|
22
|
+
* Retrieves a Receipt.
|
|
23
|
+
* @param - Id of the Receipt to retrieve.
|
|
24
|
+
* @returns The requested Receipt.
|
|
25
|
+
*/
|
|
26
|
+
(receiptId: string): Promise<Receipt & ReceiptNonNullableFields>;
|
|
27
|
+
}
|
|
28
|
+
export declare function queryReceipts(httpClient: HttpClient): QueryReceiptsSignature;
|
|
29
|
+
interface QueryReceiptsSignature {
|
|
30
|
+
/**
|
|
31
|
+
* Retrieves a list of up to 100 Receipts, given the provided [paging, filtering, and sorting][1].
|
|
32
|
+
*
|
|
33
|
+
* Define queries using WQL - Wix Query Language. To learn how to query Receipts, see [API Query Language][2].
|
|
34
|
+
*
|
|
35
|
+
* [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging
|
|
36
|
+
* [2]: https://dev.wix.com/api/rest/getting-started/api-query-language
|
|
37
|
+
*/
|
|
38
|
+
(): ReceiptsQueryBuilder;
|
|
39
|
+
}
|
|
40
|
+
export declare function regenerateReceiptDocument(httpClient: HttpClient): RegenerateReceiptDocumentSignature;
|
|
41
|
+
interface RegenerateReceiptDocumentSignature {
|
|
42
|
+
/**
|
|
43
|
+
* Retries generating document if its status is FAILED.
|
|
44
|
+
* @param - Receipt id.
|
|
45
|
+
*/
|
|
46
|
+
(receiptId: string): Promise<void>;
|
|
47
|
+
}
|
|
48
|
+
export declare function sendReceiptEmail(httpClient: HttpClient): SendReceiptEmailSignature;
|
|
49
|
+
interface SendReceiptEmailSignature {
|
|
50
|
+
/**
|
|
51
|
+
* Sends email with Receipt.
|
|
52
|
+
* @param - Id of the receipt to send to recipients.
|
|
53
|
+
*/
|
|
54
|
+
(receiptId: string, options?: SendReceiptEmailOptions | undefined): Promise<void>;
|
|
55
|
+
}
|
|
56
|
+
export declare function getLatestReceiptNumber(httpClient: HttpClient): GetLatestReceiptNumberSignature;
|
|
57
|
+
interface GetLatestReceiptNumberSignature {
|
|
58
|
+
/**
|
|
59
|
+
* Returns latest number for a given prefix.
|
|
60
|
+
*/
|
|
61
|
+
(options?: GetLatestReceiptNumberOptions | undefined): Promise<GetLatestReceiptNumberResponse>;
|
|
62
|
+
}
|
|
63
|
+
export declare function updateExtendedFields(httpClient: HttpClient): UpdateExtendedFieldsSignature;
|
|
64
|
+
interface UpdateExtendedFieldsSignature {
|
|
65
|
+
/**
|
|
66
|
+
* Updates extended fields of a Receipt without incrementing revision.
|
|
67
|
+
* @param - ID of the entity to update.
|
|
68
|
+
* @param - Identifier for the app whose extended fields are being updated.
|
|
69
|
+
*/
|
|
70
|
+
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields>;
|
|
71
|
+
}
|
|
72
|
+
export { ActionEvent, AdditionalFee, AdditionalFeeTax, Address, AddressLocation, AddressStreetOneOf, BusinessDetails, CreateReceiptRequest, CreateReceiptResponse, CreateReceiptResponseNonNullableFields, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomField, CustomFields, Customer, Discount, Document, DocumentStatus, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, Failed, FooterCustomField, FullAddressContactDetails, GenerateReceiptDocument, GetLatestReceiptNumberOptions, GetLatestReceiptNumberRequest, GetLatestReceiptNumberResponse, GetReceiptRequest, GetReceiptResponse, GetReceiptResponseNonNullableFields, IdentificationData, IdentificationDataIdOneOf, LineItem, LineItemTax, LineItemTotals, Locale, MessageEnvelope, Numbering, Payment, QueryReceiptsRequest, QueryReceiptsResponse, QueryReceiptsResponseNonNullableFields, Receipt, ReceiptDocumentHandled, ReceiptDocumentHandledResultOneOf, ReceiptDocumentProcess, ReceiptNonNullableFields, ReceiptNumberingProcess, ReceiptOrderType, ReceiptsQueryBuilder, ReceiptsQueryResult, RegenerateReceiptDocumentRequest, RegenerateReceiptDocumentResponse, RegionalProperties, RequestOrigin, RestoreInfo, SendReceiptEmailOptions, SendReceiptEmailRequest, SendReceiptEmailResponse, Sent, ShippingInfo, ShippingTax, SortOrder, Sorting, SourceReference, SourceReferenceOrderOneOf, StandardDetails, StreetAddress, Subdivision, SubdivisionType, Succeeded, Tax, Totals, UpdateExtendedFieldsOptions, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, UpdateExtendedFieldsResponseNonNullableFields, VatId, VatType, WebhookIdentityType, WixEcom, WixPayment, } from './receipts-v1-receipt-receipts.universal.js';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhookIdentityType = exports.VatType = exports.SubdivisionType = exports.SortOrder = exports.RequestOrigin = exports.ReceiptOrderType = exports.DocumentStatus = exports.updateExtendedFields = exports.getLatestReceiptNumber = exports.sendReceiptEmail = exports.regenerateReceiptDocument = exports.queryReceipts = exports.getReceipt = exports.createReceipt = exports.__metadata = void 0;
|
|
4
|
+
const receipts_v1_receipt_receipts_universal_js_1 = require("./receipts-v1-receipt-receipts.universal.js");
|
|
5
|
+
exports.__metadata = { PACKAGE_NAME: '@wix/get-paid' };
|
|
6
|
+
function createReceipt(httpClient) {
|
|
7
|
+
return (receipt) => (0, receipts_v1_receipt_receipts_universal_js_1.createReceipt)(receipt,
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
{ httpClient });
|
|
10
|
+
}
|
|
11
|
+
exports.createReceipt = createReceipt;
|
|
12
|
+
function getReceipt(httpClient) {
|
|
13
|
+
return (receiptId) => (0, receipts_v1_receipt_receipts_universal_js_1.getReceipt)(receiptId,
|
|
14
|
+
// @ts-ignore
|
|
15
|
+
{ httpClient });
|
|
16
|
+
}
|
|
17
|
+
exports.getReceipt = getReceipt;
|
|
18
|
+
function queryReceipts(httpClient) {
|
|
19
|
+
return () => (0, receipts_v1_receipt_receipts_universal_js_1.queryReceipts)(
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
{ httpClient });
|
|
22
|
+
}
|
|
23
|
+
exports.queryReceipts = queryReceipts;
|
|
24
|
+
function regenerateReceiptDocument(httpClient) {
|
|
25
|
+
return (receiptId) => (0, receipts_v1_receipt_receipts_universal_js_1.regenerateReceiptDocument)(receiptId,
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
{ httpClient });
|
|
28
|
+
}
|
|
29
|
+
exports.regenerateReceiptDocument = regenerateReceiptDocument;
|
|
30
|
+
function sendReceiptEmail(httpClient) {
|
|
31
|
+
return (receiptId, options) => (0, receipts_v1_receipt_receipts_universal_js_1.sendReceiptEmail)(receiptId, options,
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
{ httpClient });
|
|
34
|
+
}
|
|
35
|
+
exports.sendReceiptEmail = sendReceiptEmail;
|
|
36
|
+
function getLatestReceiptNumber(httpClient) {
|
|
37
|
+
return (options) => (0, receipts_v1_receipt_receipts_universal_js_1.getLatestReceiptNumber)(options,
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
{ httpClient });
|
|
40
|
+
}
|
|
41
|
+
exports.getLatestReceiptNumber = getLatestReceiptNumber;
|
|
42
|
+
function updateExtendedFields(httpClient) {
|
|
43
|
+
return (_id, namespace, options) => (0, receipts_v1_receipt_receipts_universal_js_1.updateExtendedFields)(_id, namespace, options,
|
|
44
|
+
// @ts-ignore
|
|
45
|
+
{ httpClient });
|
|
46
|
+
}
|
|
47
|
+
exports.updateExtendedFields = updateExtendedFields;
|
|
48
|
+
var receipts_v1_receipt_receipts_universal_js_2 = require("./receipts-v1-receipt-receipts.universal.js");
|
|
49
|
+
Object.defineProperty(exports, "DocumentStatus", { enumerable: true, get: function () { return receipts_v1_receipt_receipts_universal_js_2.DocumentStatus; } });
|
|
50
|
+
Object.defineProperty(exports, "ReceiptOrderType", { enumerable: true, get: function () { return receipts_v1_receipt_receipts_universal_js_2.ReceiptOrderType; } });
|
|
51
|
+
Object.defineProperty(exports, "RequestOrigin", { enumerable: true, get: function () { return receipts_v1_receipt_receipts_universal_js_2.RequestOrigin; } });
|
|
52
|
+
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return receipts_v1_receipt_receipts_universal_js_2.SortOrder; } });
|
|
53
|
+
Object.defineProperty(exports, "SubdivisionType", { enumerable: true, get: function () { return receipts_v1_receipt_receipts_universal_js_2.SubdivisionType; } });
|
|
54
|
+
Object.defineProperty(exports, "VatType", { enumerable: true, get: function () { return receipts_v1_receipt_receipts_universal_js_2.VatType; } });
|
|
55
|
+
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return receipts_v1_receipt_receipts_universal_js_2.WebhookIdentityType; } });
|
|
56
|
+
//# sourceMappingURL=receipts-v1-receipt-receipts.public.js.map
|
|
@@ -0,0 +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,EA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