@vrplatform/api 1.2.33-stage.749 → 1.2.33-stage.751
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.
|
@@ -554,6 +554,23 @@ export interface paths {
|
|
|
554
554
|
patch?: never;
|
|
555
555
|
trace?: never;
|
|
556
556
|
};
|
|
557
|
+
"/statements/manager/pay": {
|
|
558
|
+
parameters: {
|
|
559
|
+
query?: never;
|
|
560
|
+
header?: never;
|
|
561
|
+
path?: never;
|
|
562
|
+
cookie?: never;
|
|
563
|
+
};
|
|
564
|
+
get?: never;
|
|
565
|
+
put?: never;
|
|
566
|
+
/** @description Pay a property manager out */
|
|
567
|
+
post: operations["payManagerStatement"];
|
|
568
|
+
delete?: never;
|
|
569
|
+
options?: never;
|
|
570
|
+
head?: never;
|
|
571
|
+
patch?: never;
|
|
572
|
+
trace?: never;
|
|
573
|
+
};
|
|
557
574
|
"/statements/pdf": {
|
|
558
575
|
parameters: {
|
|
559
576
|
query?: never;
|
|
@@ -11727,6 +11744,216 @@ export interface operations {
|
|
|
11727
11744
|
};
|
|
11728
11745
|
};
|
|
11729
11746
|
};
|
|
11747
|
+
payManagerStatement: {
|
|
11748
|
+
parameters: {
|
|
11749
|
+
query?: never;
|
|
11750
|
+
header?: {
|
|
11751
|
+
"X-Team-Id"?: string;
|
|
11752
|
+
};
|
|
11753
|
+
path?: never;
|
|
11754
|
+
cookie?: never;
|
|
11755
|
+
};
|
|
11756
|
+
requestBody: {
|
|
11757
|
+
content: {
|
|
11758
|
+
"application/json": {
|
|
11759
|
+
date: string;
|
|
11760
|
+
/** @description Value in cents (100 = 1€) */
|
|
11761
|
+
amount: number;
|
|
11762
|
+
lineAccountId: string;
|
|
11763
|
+
};
|
|
11764
|
+
};
|
|
11765
|
+
};
|
|
11766
|
+
responses: {
|
|
11767
|
+
/** @description Successful response */
|
|
11768
|
+
200: {
|
|
11769
|
+
headers: {
|
|
11770
|
+
[name: string]: unknown;
|
|
11771
|
+
};
|
|
11772
|
+
content: {
|
|
11773
|
+
"application/json": {
|
|
11774
|
+
description: string;
|
|
11775
|
+
uniqueRef?: string | null;
|
|
11776
|
+
/** @enum {string} */
|
|
11777
|
+
type: "deposit" | "expense" | "transfer";
|
|
11778
|
+
date: string;
|
|
11779
|
+
lines: {
|
|
11780
|
+
uniqueRef?: string | null;
|
|
11781
|
+
description: string;
|
|
11782
|
+
/** @description Value in cents (100 = 1€) */
|
|
11783
|
+
amount: number;
|
|
11784
|
+
/** Format: uuid */
|
|
11785
|
+
ownerStatementId?: string | null;
|
|
11786
|
+
matchers?: {
|
|
11787
|
+
confirmationCode?: string | null;
|
|
11788
|
+
customerId?: string | null;
|
|
11789
|
+
lineType?: string | null;
|
|
11790
|
+
} | null;
|
|
11791
|
+
id: string;
|
|
11792
|
+
issues: {
|
|
11793
|
+
/** @enum {string} */
|
|
11794
|
+
code: "unassignedAccount";
|
|
11795
|
+
/** @enum {string} */
|
|
11796
|
+
severity: "error";
|
|
11797
|
+
context: {
|
|
11798
|
+
lineType: string;
|
|
11799
|
+
};
|
|
11800
|
+
}[];
|
|
11801
|
+
recurringTemplate?: {
|
|
11802
|
+
id: string;
|
|
11803
|
+
} | null;
|
|
11804
|
+
total: number;
|
|
11805
|
+
listing?: {
|
|
11806
|
+
/** Format: uuid */
|
|
11807
|
+
id: string;
|
|
11808
|
+
name: string;
|
|
11809
|
+
uniqueRef?: string | null;
|
|
11810
|
+
} | null;
|
|
11811
|
+
reservation?: {
|
|
11812
|
+
id: string;
|
|
11813
|
+
confirmationCode?: string | null;
|
|
11814
|
+
uniqueRef: string;
|
|
11815
|
+
/** @enum {string} */
|
|
11816
|
+
status: "booked" | "canceled" | "inactive";
|
|
11817
|
+
checkIn?: string | null;
|
|
11818
|
+
checkOut?: string | null;
|
|
11819
|
+
} | null;
|
|
11820
|
+
account?: {
|
|
11821
|
+
id: string;
|
|
11822
|
+
name: string;
|
|
11823
|
+
/** @enum {string|null} */
|
|
11824
|
+
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
11825
|
+
} | null;
|
|
11826
|
+
/** @enum {string} */
|
|
11827
|
+
party: "owners" | "manager";
|
|
11828
|
+
contact?: {
|
|
11829
|
+
/** Format: uuid */
|
|
11830
|
+
id: string;
|
|
11831
|
+
name?: string | null;
|
|
11832
|
+
uniqueRef?: string | null;
|
|
11833
|
+
} | null;
|
|
11834
|
+
matchStatus?: string | null;
|
|
11835
|
+
markup?: {
|
|
11836
|
+
/** @description Value in cents (100 = 1€) */
|
|
11837
|
+
amount?: number | null;
|
|
11838
|
+
/**
|
|
11839
|
+
* @default excluded
|
|
11840
|
+
* @enum {string|null}
|
|
11841
|
+
*/
|
|
11842
|
+
taxBehavior: "excluded" | "included" | null;
|
|
11843
|
+
taxRate?: {
|
|
11844
|
+
id: string;
|
|
11845
|
+
name: string;
|
|
11846
|
+
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
11847
|
+
basisPoints: number;
|
|
11848
|
+
} | null;
|
|
11849
|
+
} | null;
|
|
11850
|
+
}[];
|
|
11851
|
+
/** Format: uuid */
|
|
11852
|
+
recurringTemplateId?: string | null;
|
|
11853
|
+
/** @enum {string} */
|
|
11854
|
+
status: "active" | "inactive";
|
|
11855
|
+
matchers?: {
|
|
11856
|
+
bankAccountRef?: string | null;
|
|
11857
|
+
} | null;
|
|
11858
|
+
id: string;
|
|
11859
|
+
issues: {
|
|
11860
|
+
/** @enum {string} */
|
|
11861
|
+
code: "line_unassignedAccount";
|
|
11862
|
+
/** @enum {string} */
|
|
11863
|
+
severity: "error";
|
|
11864
|
+
context: Record<string, never>;
|
|
11865
|
+
}[];
|
|
11866
|
+
currency: string;
|
|
11867
|
+
/** @description Value in cents (100 = 1€) */
|
|
11868
|
+
amount: number;
|
|
11869
|
+
recurringTemplate?: {
|
|
11870
|
+
id: string;
|
|
11871
|
+
} | null;
|
|
11872
|
+
account?: {
|
|
11873
|
+
id: string;
|
|
11874
|
+
name: string;
|
|
11875
|
+
/** @enum {string|null} */
|
|
11876
|
+
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
11877
|
+
bankAccount?: {
|
|
11878
|
+
/** Format: uuid */
|
|
11879
|
+
id?: string | null;
|
|
11880
|
+
name: string;
|
|
11881
|
+
} | null;
|
|
11882
|
+
} | null;
|
|
11883
|
+
payment: {
|
|
11884
|
+
bankRecordIds: string[];
|
|
11885
|
+
/** @enum {string} */
|
|
11886
|
+
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
11887
|
+
date?: string | null;
|
|
11888
|
+
};
|
|
11889
|
+
connection?: {
|
|
11890
|
+
/** Format: uuid */
|
|
11891
|
+
id: string;
|
|
11892
|
+
name: string;
|
|
11893
|
+
/** @enum {string} */
|
|
11894
|
+
status: "active" | "inactive";
|
|
11895
|
+
uniqueRef?: string | null;
|
|
11896
|
+
app: {
|
|
11897
|
+
id: string;
|
|
11898
|
+
name: string;
|
|
11899
|
+
icon?: string | null;
|
|
11900
|
+
};
|
|
11901
|
+
} | null;
|
|
11902
|
+
contact?: {
|
|
11903
|
+
/** Format: uuid */
|
|
11904
|
+
id: string;
|
|
11905
|
+
name?: string | null;
|
|
11906
|
+
uniqueRef?: string | null;
|
|
11907
|
+
} | null;
|
|
11908
|
+
source?: {
|
|
11909
|
+
/** Format: uuid */
|
|
11910
|
+
id: string;
|
|
11911
|
+
type: string;
|
|
11912
|
+
/** @enum {string|null} */
|
|
11913
|
+
status?: "active" | "inactive" | null;
|
|
11914
|
+
} | null;
|
|
11915
|
+
matchStatus?: string | null;
|
|
11916
|
+
};
|
|
11917
|
+
};
|
|
11918
|
+
};
|
|
11919
|
+
/** @description Invalid input data */
|
|
11920
|
+
400: {
|
|
11921
|
+
headers: {
|
|
11922
|
+
[name: string]: unknown;
|
|
11923
|
+
};
|
|
11924
|
+
content: {
|
|
11925
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
11926
|
+
};
|
|
11927
|
+
};
|
|
11928
|
+
/** @description Authorization not provided */
|
|
11929
|
+
401: {
|
|
11930
|
+
headers: {
|
|
11931
|
+
[name: string]: unknown;
|
|
11932
|
+
};
|
|
11933
|
+
content: {
|
|
11934
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
11935
|
+
};
|
|
11936
|
+
};
|
|
11937
|
+
/** @description Insufficient access */
|
|
11938
|
+
403: {
|
|
11939
|
+
headers: {
|
|
11940
|
+
[name: string]: unknown;
|
|
11941
|
+
};
|
|
11942
|
+
content: {
|
|
11943
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
11944
|
+
};
|
|
11945
|
+
};
|
|
11946
|
+
/** @description Internal server error */
|
|
11947
|
+
500: {
|
|
11948
|
+
headers: {
|
|
11949
|
+
[name: string]: unknown;
|
|
11950
|
+
};
|
|
11951
|
+
content: {
|
|
11952
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
11953
|
+
};
|
|
11954
|
+
};
|
|
11955
|
+
};
|
|
11956
|
+
};
|
|
11730
11957
|
getOwnerStatementPDFByMonth: {
|
|
11731
11958
|
parameters: {
|
|
11732
11959
|
query: {
|