@companieshouse/api-sdk-node 2.0.23 → 2.0.26
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/dist/services/order/certificates/types.d.ts +2 -2
- package/dist/services/order/certified-copies/types.d.ts +12 -3
- package/dist/services/order/checkout/types.d.ts +2 -2
- package/dist/services/order/types.d.ts +3 -0
- package/dist/services/order/types.js +3 -0
- package/dist/services/order/types.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ItemOptionsDeliveryTimescaleConfigurable } from "../types";
|
|
1
2
|
export interface CertificateItemResource {
|
|
2
3
|
company_name: string;
|
|
3
4
|
company_number: string;
|
|
@@ -120,13 +121,12 @@ export interface ItemCosts {
|
|
|
120
121
|
itemCost: string;
|
|
121
122
|
productType: string;
|
|
122
123
|
}
|
|
123
|
-
export interface ItemOptions {
|
|
124
|
+
export interface ItemOptions extends ItemOptionsDeliveryTimescaleConfigurable {
|
|
124
125
|
certificateType: string;
|
|
125
126
|
collectionLocation: string;
|
|
126
127
|
companyType: string;
|
|
127
128
|
contactNumber: string;
|
|
128
129
|
deliveryMethod: string;
|
|
129
|
-
deliveryTimescale: string;
|
|
130
130
|
designatedMemberDetails?: DesignatedMemberDetails;
|
|
131
131
|
directorDetails?: DirectorOrSecretaryDetails;
|
|
132
132
|
forename: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ItemOptionsDeliveryTimescaleConfigurable } from "../types";
|
|
1
2
|
export interface CertifiedCopyItemResource {
|
|
2
3
|
company_name: string;
|
|
3
4
|
company_number: string;
|
|
@@ -66,11 +67,10 @@ export interface ItemCosts {
|
|
|
66
67
|
itemCost: string;
|
|
67
68
|
productType: string;
|
|
68
69
|
}
|
|
69
|
-
export interface ItemOptions {
|
|
70
|
+
export interface ItemOptions extends ItemOptionsDeliveryTimescaleConfigurable {
|
|
70
71
|
collectionLocation: string;
|
|
71
72
|
contactNumber: string;
|
|
72
73
|
deliveryMethod: string;
|
|
73
|
-
deliveryTimescale: string;
|
|
74
74
|
filingHistoryDocuments: FilingHistoryDocuments[];
|
|
75
75
|
forename: string;
|
|
76
76
|
surname: string;
|
|
@@ -88,6 +88,15 @@ export interface FilingHistoryDocuments {
|
|
|
88
88
|
}
|
|
89
89
|
export interface CertifiedCopyItemPatchRequest {
|
|
90
90
|
customerReference?: string;
|
|
91
|
-
itemOptions?:
|
|
91
|
+
itemOptions?: PatchItemOptions;
|
|
92
92
|
quantity?: number;
|
|
93
93
|
}
|
|
94
|
+
export interface PatchItemOptions {
|
|
95
|
+
collectionLocation?: string;
|
|
96
|
+
contactNumber?: string;
|
|
97
|
+
deliveryMethod?: string;
|
|
98
|
+
deliveryTimescale?: string;
|
|
99
|
+
filingHistoryDocuments?: FilingHistoryDocuments[];
|
|
100
|
+
forename?: string;
|
|
101
|
+
surname?: string;
|
|
102
|
+
}
|
|
@@ -18,13 +18,13 @@ export interface Checkout {
|
|
|
18
18
|
self: string;
|
|
19
19
|
payment: string;
|
|
20
20
|
};
|
|
21
|
-
paidAt
|
|
21
|
+
paidAt?: string;
|
|
22
22
|
checkedOutBy: {
|
|
23
23
|
email: string;
|
|
24
24
|
id: string;
|
|
25
25
|
};
|
|
26
26
|
status: string;
|
|
27
|
-
paymentReference
|
|
27
|
+
paymentReference?: string;
|
|
28
28
|
reference: string;
|
|
29
29
|
totalOrderCost: string;
|
|
30
30
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/services/order/types.ts"],"names":[],"mappings":""}
|