@aptly-as/types 3.2.3 → 3.2.5
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/enums/index.d.ts +2 -1
- package/enums/index.js +1 -0
- package/models/offer.d.ts +10 -5
- package/models/organization.d.ts +4 -4
- package/package.json +1 -1
package/enums/index.d.ts
CHANGED
package/enums/index.js
CHANGED
|
@@ -144,6 +144,7 @@ export var AptlyOrganizationStatus;
|
|
|
144
144
|
AptlyOrganizationStatus[AptlyOrganizationStatus["Paused"] = 3] = "Paused";
|
|
145
145
|
AptlyOrganizationStatus[AptlyOrganizationStatus["Closed"] = 4] = "Closed";
|
|
146
146
|
AptlyOrganizationStatus[AptlyOrganizationStatus["Template"] = 5] = "Template";
|
|
147
|
+
AptlyOrganizationStatus[AptlyOrganizationStatus["Demo"] = 6] = "Demo";
|
|
147
148
|
})(AptlyOrganizationStatus || (AptlyOrganizationStatus = {}));
|
|
148
149
|
export var AptlyEmailType;
|
|
149
150
|
(function (AptlyEmailType) {
|
package/models/offer.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { AptlyDocumentSchema } from './document.js';
|
|
|
6
6
|
import { AptlyBaseSchema } from './extends.js';
|
|
7
7
|
import { AptlyOptionPopulatedSchema, AptlyOptionSchema } from './option.js';
|
|
8
8
|
import { AptlyOrderPaymentStatus, AptlyOrderSchema } from './order.js';
|
|
9
|
-
import { AptlyOrganizationSchema } from './organization.js';
|
|
9
|
+
import { AptlyOrganization, AptlyOrganizationSchema } from './organization.js';
|
|
10
10
|
import { AptlyPickSchema } from './pick.js';
|
|
11
11
|
import { AptlyProjectSchema } from './project.js';
|
|
12
12
|
import { AptlyUnitSchema } from './unit.js';
|
|
@@ -53,11 +53,16 @@ export interface AptlyUserOfferSchema<ID, DATE> extends Omit<AptlyOfferSchema<ID
|
|
|
53
53
|
options: AptlyOptionPopulatedSchema<ID, DATE>[];
|
|
54
54
|
picks?: AptlyPickSchema<ID, DATE>[];
|
|
55
55
|
}
|
|
56
|
-
export interface
|
|
56
|
+
export interface AptlyOfferSendUnitBody {
|
|
57
|
+
unit: string;
|
|
58
|
+
}
|
|
59
|
+
export interface AptlyOfferSendPrivateBody extends Omit<AptlyCustomer, 'fullName' | 'user'> {
|
|
57
60
|
unit: string | null;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
address: AptlySearchAddress | null;
|
|
62
|
+
}
|
|
63
|
+
export interface AptlyOfferSendCompanyBody extends Omit<AptlyCustomer, 'fullName' | 'user'> {
|
|
64
|
+
company: Pick<AptlyOrganization, 'name' | 'vat' | 'address'>;
|
|
65
|
+
address: AptlyAddress;
|
|
61
66
|
}
|
|
62
67
|
export type AptlyPublicOfferCheckout = AptlyPublicOfferCheckoutSchema<string, string>;
|
|
63
68
|
export interface AptlyPublicOfferCheckoutSchema<ID, DATE> extends AptlyExtensionAmount {
|
package/models/organization.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { AptlyModuleItemSchema } from './module.js';
|
|
|
8
8
|
import { AptlyPlanInstalledSchema } from './plan.js';
|
|
9
9
|
import { AptlyProjectSchema } from './project.js';
|
|
10
10
|
import { AptlyUserSchema } from './user.js';
|
|
11
|
-
import {
|
|
11
|
+
import { AptlyMediaSrcSchema } from './media.js';
|
|
12
12
|
import { AptlyBaseSchema, AptlyHistorySchema } from './extends.js';
|
|
13
13
|
import { AptlyDepartmentGeneric } from './department.js';
|
|
14
14
|
import { AptlyProducerSchema } from './producer.js';
|
|
@@ -22,9 +22,9 @@ export interface AptlyOrganizationSchema<ID, DATE> extends AptlyBaseSchema<ID, D
|
|
|
22
22
|
number?: string;
|
|
23
23
|
vat?: string;
|
|
24
24
|
logo?: string | null;
|
|
25
|
-
logoMedia?:
|
|
26
|
-
negativeLogoMedia?:
|
|
27
|
-
projectLogoMedia?:
|
|
25
|
+
logoMedia?: AptlyMediaSrcSchema<ID, DATE> | null;
|
|
26
|
+
negativeLogoMedia?: AptlyMediaSrcSchema<ID, DATE> | null;
|
|
27
|
+
projectLogoMedia?: AptlyMediaSrcSchema<ID, DATE> | null;
|
|
28
28
|
address: {
|
|
29
29
|
billing: AptlyAddress;
|
|
30
30
|
visit: AptlyAddress;
|