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