@openbox/shared-types 0.5.3 → 0.5.4
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/lib/partners/V1/invoices/CreateSingle/Request.d.ts +31 -0
- package/lib/partners/V1/invoices/CreateSingle/Request.js +3 -0
- package/lib/partners/V1/invoices/CreateSingle/Request.js.map +1 -0
- package/lib/partners/V1/invoices/CreateSingle/Response.d.ts +1 -1
- package/lib/partners/V1/invoices/index.d.ts +1 -0
- package/lib/partners/V1/invoices/index.js +1 -0
- package/lib/partners/V1/invoices/index.js.map +1 -1
- package/package.json +1 -1
- package/src/partners/V1/invoices/CreateSingle/Request.ts +37 -0
- package/src/partners/V1/invoices/CreateSingle/Response.ts +1 -1
- package/src/partners/V1/invoices/index.ts +1 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export type PartnersV1InvoicesCreateSingleRequestSettings = {
|
|
2
|
+
notify: 'EMAIL' | null;
|
|
3
|
+
};
|
|
4
|
+
export type PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSellerZone = {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
export type PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSeller = {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
zone: PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSellerZone;
|
|
12
|
+
};
|
|
13
|
+
export type PartnersV1InvoicesCreateSingleRequestDataHeaderPaymentCondition = {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
cashPayment: boolean;
|
|
17
|
+
};
|
|
18
|
+
export type PartnersV1InvoicesCreateSingleRequestDataHeader = {
|
|
19
|
+
documentType: 'CCF' | 'FCF' | 'NC' | 'FEX';
|
|
20
|
+
invoiceDate: string;
|
|
21
|
+
paymentCondition: PartnersV1InvoicesCreateSingleRequestDataHeaderPaymentCondition;
|
|
22
|
+
invoicesSeller: PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSeller;
|
|
23
|
+
creditFor: string;
|
|
24
|
+
};
|
|
25
|
+
export type PartnersV1InvoicesCreateSingleRequestData = {
|
|
26
|
+
header: PartnersV1InvoicesCreateSingleRequestDataHeader;
|
|
27
|
+
};
|
|
28
|
+
export type PartnersV1InvoicesCreateSingleRequest = {
|
|
29
|
+
settings: PartnersV1InvoicesCreateSingleRequestSettings;
|
|
30
|
+
data: PartnersV1InvoicesCreateSingleRequestData;
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../../src/partners/V1/invoices/CreateSingle/Request.ts"],"names":[],"mappings":""}
|
|
@@ -18,5 +18,5 @@ export type PartnersV1InvoicesCreateSingleResponse = {
|
|
|
18
18
|
pdfURL: string;
|
|
19
19
|
jsonURL: string;
|
|
20
20
|
status: PartnersV1InvoicesCreateSingleResponseStatus;
|
|
21
|
-
|
|
21
|
+
haciendaResponse: PartnersV1InvoicesCreateSingleResponseHaciendaResponse;
|
|
22
22
|
};
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./CreateSingle/Request"), exports);
|
|
17
18
|
__exportStar(require("./CreateSingle/Response"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/partners/V1/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAuC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/partners/V1/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export type PartnersV1InvoicesCreateSingleRequestSettings = {
|
|
2
|
+
notify: 'EMAIL' | null
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
export type PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSellerZone = {
|
|
6
|
+
id: string
|
|
7
|
+
name: string
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export type PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSeller = {
|
|
11
|
+
id: string
|
|
12
|
+
name: string
|
|
13
|
+
zone: PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSellerZone
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type PartnersV1InvoicesCreateSingleRequestDataHeaderPaymentCondition = {
|
|
17
|
+
id: string
|
|
18
|
+
name: string
|
|
19
|
+
cashPayment: boolean
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export type PartnersV1InvoicesCreateSingleRequestDataHeader = {
|
|
23
|
+
documentType: 'CCF' | 'FCF' | 'NC' | 'FEX'
|
|
24
|
+
invoiceDate: string
|
|
25
|
+
paymentCondition: PartnersV1InvoicesCreateSingleRequestDataHeaderPaymentCondition
|
|
26
|
+
invoicesSeller: PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSeller
|
|
27
|
+
creditFor: string
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type PartnersV1InvoicesCreateSingleRequestData = {
|
|
31
|
+
header: PartnersV1InvoicesCreateSingleRequestDataHeader
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type PartnersV1InvoicesCreateSingleRequest = {
|
|
35
|
+
settings: PartnersV1InvoicesCreateSingleRequestSettings
|
|
36
|
+
data: PartnersV1InvoicesCreateSingleRequestData
|
|
37
|
+
}
|
|
@@ -20,5 +20,5 @@ export type PartnersV1InvoicesCreateSingleResponse = {
|
|
|
20
20
|
pdfURL: string
|
|
21
21
|
jsonURL: string
|
|
22
22
|
status: PartnersV1InvoicesCreateSingleResponseStatus
|
|
23
|
-
|
|
23
|
+
haciendaResponse: PartnersV1InvoicesCreateSingleResponseHaciendaResponse
|
|
24
24
|
}
|