@managespace/sdk 0.1.158-extensions → 0.1.158-extensions-v2

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.
Files changed (37) hide show
  1. package/README.md +66 -43
  2. package/dist/extensions/host-bridge.d.ts.map +1 -1
  3. package/dist/extensions/types.d.ts.map +1 -1
  4. package/dist/generated/models/accrual-report-filters.d.ts +39 -0
  5. package/dist/generated/models/accrual-report-filters.d.ts.map +1 -0
  6. package/dist/generated/models/accrual-report-filters.js +55 -0
  7. package/dist/generated/models/get-journal-entries200-response.d.ts +41 -0
  8. package/dist/generated/models/get-journal-entries200-response.d.ts.map +1 -0
  9. package/dist/generated/models/get-journal-entries200-response.js +55 -0
  10. package/dist/generated/models/income-report-filters.d.ts +45 -0
  11. package/dist/generated/models/income-report-filters.d.ts.map +1 -0
  12. package/dist/generated/models/income-report-filters.js +57 -0
  13. package/dist/generated/models/journal-entry-entries.d.ts +63 -0
  14. package/dist/generated/models/journal-entry-entries.d.ts.map +1 -0
  15. package/dist/generated/models/journal-entry-entries.js +71 -0
  16. package/dist/generated/models/journal-entry.d.ts +106 -0
  17. package/dist/generated/models/journal-entry.d.ts.map +1 -0
  18. package/dist/generated/models/journal-entry.js +100 -0
  19. package/dist/generated/models/occupancy-statistics-report-filters.d.ts +45 -0
  20. package/dist/generated/models/occupancy-statistics-report-filters.d.ts.map +1 -0
  21. package/dist/generated/models/occupancy-statistics-report-filters.js +57 -0
  22. package/dist/generated/models/payment-gateway-client-token-response.d.ts +47 -0
  23. package/dist/generated/models/payment-gateway-client-token-response.d.ts.map +1 -0
  24. package/dist/generated/models/payment-gateway-client-token-response.js +63 -0
  25. package/dist/generated/models/prepaid-rent-report-filters.d.ts +45 -0
  26. package/dist/generated/models/prepaid-rent-report-filters.d.ts.map +1 -0
  27. package/dist/generated/models/prepaid-rent-report-filters.js +57 -0
  28. package/dist/generated/models/refund-summary-report-filters.d.ts +45 -0
  29. package/dist/generated/models/refund-summary-report-filters.d.ts.map +1 -0
  30. package/dist/generated/models/refund-summary-report-filters.js +57 -0
  31. package/dist/generated/models/security-deposits-report-filters.d.ts +45 -0
  32. package/dist/generated/models/security-deposits-report-filters.d.ts.map +1 -0
  33. package/dist/generated/models/security-deposits-report-filters.js +57 -0
  34. package/package.deploy.json +7 -3
  35. package/package.json +1 -1
  36. package/src/extensions/host-bridge.ts +4 -2
  37. package/src/extensions/types.ts +4 -1
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ // @ts-nocheck
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * ManageSpace API
7
+ * ManageSpace API Documentation
8
+ *
9
+ * The version of the OpenAPI document: 1.0.0
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
+ * https://openapi-generator.tech
14
+ * Do not edit the class manually.
15
+ */
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.instanceOfJournalEntryEntries = instanceOfJournalEntryEntries;
18
+ exports.JournalEntryEntriesFromJSON = JournalEntryEntriesFromJSON;
19
+ exports.JournalEntryEntriesFromJSONTyped = JournalEntryEntriesFromJSONTyped;
20
+ exports.JournalEntryEntriesToJSON = JournalEntryEntriesToJSON;
21
+ exports.JournalEntryEntriesToJSONTyped = JournalEntryEntriesToJSONTyped;
22
+ /**
23
+ * Check if a given object implements the JournalEntryEntries interface.
24
+ */
25
+ function instanceOfJournalEntryEntries(value) {
26
+ if (!('lineNo' in value) || value['lineNo'] === undefined)
27
+ return false;
28
+ if (!('account' in value) || value['account'] === undefined)
29
+ return false;
30
+ if (!('debit' in value) || value['debit'] === undefined)
31
+ return false;
32
+ if (!('credit' in value) || value['credit'] === undefined)
33
+ return false;
34
+ if (!('description' in value) || value['description'] === undefined)
35
+ return false;
36
+ if (!('customerId' in value) || value['customerId'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function JournalEntryEntriesFromJSON(json) {
41
+ return JournalEntryEntriesFromJSONTyped(json, false);
42
+ }
43
+ function JournalEntryEntriesFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'lineNo': json['lineNo'],
49
+ 'account': json['account'],
50
+ 'debit': json['debit'],
51
+ 'credit': json['credit'],
52
+ 'description': json['description'],
53
+ 'customerId': json['customerId'],
54
+ };
55
+ }
56
+ function JournalEntryEntriesToJSON(json) {
57
+ return JournalEntryEntriesToJSONTyped(json, false);
58
+ }
59
+ function JournalEntryEntriesToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'lineNo': value['lineNo'],
65
+ 'account': value['account'],
66
+ 'debit': value['debit'],
67
+ 'credit': value['credit'],
68
+ 'description': value['description'],
69
+ 'customerId': value['customerId'],
70
+ };
71
+ }
@@ -0,0 +1,106 @@
1
+ /**
2
+ * ManageSpace API
3
+ * ManageSpace API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { JournalEntryEntries } from './journal-entry-entries';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface JournalEntry
17
+ */
18
+ export interface JournalEntry {
19
+ /**
20
+ * Journal Entry ID
21
+ * @type {string}
22
+ * @memberof JournalEntry
23
+ */
24
+ id: string;
25
+ /**
26
+ * Journal Entry Date
27
+ * @type {string}
28
+ * @memberof JournalEntry
29
+ */
30
+ date: string;
31
+ /**
32
+ * Customer ID associated with journal entry
33
+ * @type {string}
34
+ * @memberof JournalEntry
35
+ */
36
+ customerId: string;
37
+ /**
38
+ * Customer name associated with journal entry
39
+ * @type {string}
40
+ * @memberof JournalEntry
41
+ */
42
+ customerName: string;
43
+ /**
44
+ * Journal Entry description
45
+ * @type {string}
46
+ * @memberof JournalEntry
47
+ */
48
+ description: string;
49
+ /**
50
+ * Journal entries
51
+ * @type {Array<JournalEntryEntries>}
52
+ * @memberof JournalEntry
53
+ */
54
+ entries: Array<JournalEntryEntries>;
55
+ /**
56
+ * Custom fields on the invoice
57
+ * @type {object}
58
+ * @memberof JournalEntry
59
+ */
60
+ customFields: object;
61
+ /**
62
+ * The date the journal entry was created
63
+ * @type {string}
64
+ * @memberof JournalEntry
65
+ */
66
+ createdAt: string;
67
+ /**
68
+ * The date the journal entry was updated
69
+ * @type {string}
70
+ * @memberof JournalEntry
71
+ */
72
+ updatedAt: string;
73
+ /**
74
+ * Who created the journal entry
75
+ * @type {string}
76
+ * @memberof JournalEntry
77
+ */
78
+ createdBy: string;
79
+ /**
80
+ * Who updated the journal entry
81
+ * @type {string}
82
+ * @memberof JournalEntry
83
+ */
84
+ updatedBy: string;
85
+ /**
86
+ * Currency code of the transaction
87
+ * @type {string}
88
+ * @memberof JournalEntry
89
+ */
90
+ transactionCurrency: string;
91
+ /**
92
+ * Transaction Conversion Rate
93
+ * @type {number}
94
+ * @memberof JournalEntry
95
+ */
96
+ transactionConversionRate: number;
97
+ }
98
+ /**
99
+ * Check if a given object implements the JournalEntry interface.
100
+ */
101
+ export declare function instanceOfJournalEntry(value: object): value is JournalEntry;
102
+ export declare function JournalEntryFromJSON(json: any): JournalEntry;
103
+ export declare function JournalEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): JournalEntry;
104
+ export declare function JournalEntryToJSON(json: any): JournalEntry;
105
+ export declare function JournalEntryToJSONTyped(value?: JournalEntry | null, ignoreDiscriminator?: boolean): any;
106
+ //# sourceMappingURL=journal-entry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"journal-entry.d.ts","sourceRoot":"","sources":["../../../src/generated/models/journal-entry.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACpC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;CACrC;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAe3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAoB/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAqB9G"}
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ // @ts-nocheck
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * ManageSpace API
7
+ * ManageSpace API Documentation
8
+ *
9
+ * The version of the OpenAPI document: 1.0.0
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
+ * https://openapi-generator.tech
14
+ * Do not edit the class manually.
15
+ */
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.instanceOfJournalEntry = instanceOfJournalEntry;
18
+ exports.JournalEntryFromJSON = JournalEntryFromJSON;
19
+ exports.JournalEntryFromJSONTyped = JournalEntryFromJSONTyped;
20
+ exports.JournalEntryToJSON = JournalEntryToJSON;
21
+ exports.JournalEntryToJSONTyped = JournalEntryToJSONTyped;
22
+ const journal_entry_entries_1 = require("./journal-entry-entries");
23
+ /**
24
+ * Check if a given object implements the JournalEntry interface.
25
+ */
26
+ function instanceOfJournalEntry(value) {
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
29
+ if (!('date' in value) || value['date'] === undefined)
30
+ return false;
31
+ if (!('customerId' in value) || value['customerId'] === undefined)
32
+ return false;
33
+ if (!('customerName' in value) || value['customerName'] === undefined)
34
+ return false;
35
+ if (!('description' in value) || value['description'] === undefined)
36
+ return false;
37
+ if (!('entries' in value) || value['entries'] === undefined)
38
+ return false;
39
+ if (!('customFields' in value) || value['customFields'] === undefined)
40
+ return false;
41
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
42
+ return false;
43
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
44
+ return false;
45
+ if (!('createdBy' in value) || value['createdBy'] === undefined)
46
+ return false;
47
+ if (!('updatedBy' in value) || value['updatedBy'] === undefined)
48
+ return false;
49
+ if (!('transactionCurrency' in value) || value['transactionCurrency'] === undefined)
50
+ return false;
51
+ if (!('transactionConversionRate' in value) || value['transactionConversionRate'] === undefined)
52
+ return false;
53
+ return true;
54
+ }
55
+ function JournalEntryFromJSON(json) {
56
+ return JournalEntryFromJSONTyped(json, false);
57
+ }
58
+ function JournalEntryFromJSONTyped(json, ignoreDiscriminator) {
59
+ if (json == null) {
60
+ return json;
61
+ }
62
+ return {
63
+ 'id': json['id'],
64
+ 'date': json['date'],
65
+ 'customerId': json['customerId'],
66
+ 'customerName': json['customerName'],
67
+ 'description': json['description'],
68
+ 'entries': (json['entries'].map(journal_entry_entries_1.JournalEntryEntriesFromJSON)),
69
+ 'customFields': json['customFields'],
70
+ 'createdAt': json['createdAt'],
71
+ 'updatedAt': json['updatedAt'],
72
+ 'createdBy': json['createdBy'],
73
+ 'updatedBy': json['updatedBy'],
74
+ 'transactionCurrency': json['transactionCurrency'],
75
+ 'transactionConversionRate': json['transactionConversionRate'],
76
+ };
77
+ }
78
+ function JournalEntryToJSON(json) {
79
+ return JournalEntryToJSONTyped(json, false);
80
+ }
81
+ function JournalEntryToJSONTyped(value, ignoreDiscriminator = false) {
82
+ if (value == null) {
83
+ return value;
84
+ }
85
+ return {
86
+ 'id': value['id'],
87
+ 'date': value['date'],
88
+ 'customerId': value['customerId'],
89
+ 'customerName': value['customerName'],
90
+ 'description': value['description'],
91
+ 'entries': (value['entries'].map(journal_entry_entries_1.JournalEntryEntriesToJSON)),
92
+ 'customFields': value['customFields'],
93
+ 'createdAt': value['createdAt'],
94
+ 'updatedAt': value['updatedAt'],
95
+ 'createdBy': value['createdBy'],
96
+ 'updatedBy': value['updatedBy'],
97
+ 'transactionCurrency': value['transactionCurrency'],
98
+ 'transactionConversionRate': value['transactionConversionRate'],
99
+ };
100
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * ManageSpace API
3
+ * ManageSpace API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface OccupancyStatisticsReportFilters
16
+ */
17
+ export interface OccupancyStatisticsReportFilters {
18
+ /**
19
+ * Site ID to filter the report
20
+ * @type {string}
21
+ * @memberof OccupancyStatisticsReportFilters
22
+ */
23
+ siteId?: string;
24
+ /**
25
+ * Start date for the report period
26
+ * @type {Date}
27
+ * @memberof OccupancyStatisticsReportFilters
28
+ */
29
+ startDate: Date;
30
+ /**
31
+ * End date for the report period (snapshot date)
32
+ * @type {Date}
33
+ * @memberof OccupancyStatisticsReportFilters
34
+ */
35
+ endDate: Date;
36
+ }
37
+ /**
38
+ * Check if a given object implements the OccupancyStatisticsReportFilters interface.
39
+ */
40
+ export declare function instanceOfOccupancyStatisticsReportFilters(value: object): value is OccupancyStatisticsReportFilters;
41
+ export declare function OccupancyStatisticsReportFiltersFromJSON(json: any): OccupancyStatisticsReportFilters;
42
+ export declare function OccupancyStatisticsReportFiltersFromJSONTyped(json: any, ignoreDiscriminator: boolean): OccupancyStatisticsReportFilters;
43
+ export declare function OccupancyStatisticsReportFiltersToJSON(json: any): OccupancyStatisticsReportFilters;
44
+ export declare function OccupancyStatisticsReportFiltersToJSONTyped(value?: OccupancyStatisticsReportFilters | null, ignoreDiscriminator?: boolean): any;
45
+ //# sourceMappingURL=occupancy-statistics-report-filters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"occupancy-statistics-report-filters.d.ts","sourceRoot":"","sources":["../../../src/generated/models/occupancy-statistics-report-filters.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAInH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAUvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWtJ"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ // @ts-nocheck
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * ManageSpace API
7
+ * ManageSpace API Documentation
8
+ *
9
+ * The version of the OpenAPI document: 1.0.0
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
+ * https://openapi-generator.tech
14
+ * Do not edit the class manually.
15
+ */
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.instanceOfOccupancyStatisticsReportFilters = instanceOfOccupancyStatisticsReportFilters;
18
+ exports.OccupancyStatisticsReportFiltersFromJSON = OccupancyStatisticsReportFiltersFromJSON;
19
+ exports.OccupancyStatisticsReportFiltersFromJSONTyped = OccupancyStatisticsReportFiltersFromJSONTyped;
20
+ exports.OccupancyStatisticsReportFiltersToJSON = OccupancyStatisticsReportFiltersToJSON;
21
+ exports.OccupancyStatisticsReportFiltersToJSONTyped = OccupancyStatisticsReportFiltersToJSONTyped;
22
+ /**
23
+ * Check if a given object implements the OccupancyStatisticsReportFilters interface.
24
+ */
25
+ function instanceOfOccupancyStatisticsReportFilters(value) {
26
+ if (!('startDate' in value) || value['startDate'] === undefined)
27
+ return false;
28
+ if (!('endDate' in value) || value['endDate'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function OccupancyStatisticsReportFiltersFromJSON(json) {
33
+ return OccupancyStatisticsReportFiltersFromJSONTyped(json, false);
34
+ }
35
+ function OccupancyStatisticsReportFiltersFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'siteId': json['siteId'] == null ? undefined : json['siteId'],
41
+ 'startDate': (new Date(json['startDate'])),
42
+ 'endDate': (new Date(json['endDate'])),
43
+ };
44
+ }
45
+ function OccupancyStatisticsReportFiltersToJSON(json) {
46
+ return OccupancyStatisticsReportFiltersToJSONTyped(json, false);
47
+ }
48
+ function OccupancyStatisticsReportFiltersToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'siteId': value['siteId'],
54
+ 'startDate': ((value['startDate']).toISOString().substring(0, 10)),
55
+ 'endDate': ((value['endDate']).toISOString().substring(0, 10)),
56
+ };
57
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * ManageSpace API
3
+ * ManageSpace API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PaymentGatewayClientTokenResponse
16
+ */
17
+ export interface PaymentGatewayClientTokenResponse {
18
+ /**
19
+ * Payment gateway type
20
+ * @type {string}
21
+ * @memberof PaymentGatewayClientTokenResponse
22
+ */
23
+ gateway: PaymentGatewayClientTokenResponseGateway;
24
+ /**
25
+ * Client token for SDK initialisation
26
+ * @type {string}
27
+ * @memberof PaymentGatewayClientTokenResponse
28
+ */
29
+ clientToken: string;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const PaymentGatewayClientTokenResponseGateway: {
35
+ readonly braintree: "braintree";
36
+ readonly stripe: "stripe";
37
+ };
38
+ export type PaymentGatewayClientTokenResponseGateway = typeof PaymentGatewayClientTokenResponseGateway[keyof typeof PaymentGatewayClientTokenResponseGateway];
39
+ /**
40
+ * Check if a given object implements the PaymentGatewayClientTokenResponse interface.
41
+ */
42
+ export declare function instanceOfPaymentGatewayClientTokenResponse(value: object): value is PaymentGatewayClientTokenResponse;
43
+ export declare function PaymentGatewayClientTokenResponseFromJSON(json: any): PaymentGatewayClientTokenResponse;
44
+ export declare function PaymentGatewayClientTokenResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentGatewayClientTokenResponse;
45
+ export declare function PaymentGatewayClientTokenResponseToJSON(json: any): PaymentGatewayClientTokenResponse;
46
+ export declare function PaymentGatewayClientTokenResponseToJSONTyped(value?: PaymentGatewayClientTokenResponse | null, ignoreDiscriminator?: boolean): any;
47
+ //# sourceMappingURL=payment-gateway-client-token-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-gateway-client-token-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/payment-gateway-client-token-response.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;;;OAIG;IACH,OAAO,EAAE,wCAAwC,CAAC;IAClD;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAGD;;GAEG;AACH,eAAO,MAAM,wCAAwC;;;CAG3C,CAAC;AACX,MAAM,MAAM,wCAAwC,GAAG,OAAO,wCAAwC,CAAC,MAAM,OAAO,wCAAwC,CAAC,CAAC;AAG9J;;GAEG;AACH,wBAAgB,2CAA2C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iCAAiC,CAIrH;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEtG;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iCAAiC,CASzI;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEpG;AAED,wBAAgB,4CAA4C,CAAC,KAAK,CAAC,EAAE,iCAAiC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxJ"}
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ // @ts-nocheck
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * ManageSpace API
7
+ * ManageSpace API Documentation
8
+ *
9
+ * The version of the OpenAPI document: 1.0.0
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
+ * https://openapi-generator.tech
14
+ * Do not edit the class manually.
15
+ */
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.PaymentGatewayClientTokenResponseGateway = void 0;
18
+ exports.instanceOfPaymentGatewayClientTokenResponse = instanceOfPaymentGatewayClientTokenResponse;
19
+ exports.PaymentGatewayClientTokenResponseFromJSON = PaymentGatewayClientTokenResponseFromJSON;
20
+ exports.PaymentGatewayClientTokenResponseFromJSONTyped = PaymentGatewayClientTokenResponseFromJSONTyped;
21
+ exports.PaymentGatewayClientTokenResponseToJSON = PaymentGatewayClientTokenResponseToJSON;
22
+ exports.PaymentGatewayClientTokenResponseToJSONTyped = PaymentGatewayClientTokenResponseToJSONTyped;
23
+ /**
24
+ * @export
25
+ */
26
+ exports.PaymentGatewayClientTokenResponseGateway = {
27
+ braintree: 'braintree',
28
+ stripe: 'stripe'
29
+ };
30
+ /**
31
+ * Check if a given object implements the PaymentGatewayClientTokenResponse interface.
32
+ */
33
+ function instanceOfPaymentGatewayClientTokenResponse(value) {
34
+ if (!('gateway' in value) || value['gateway'] === undefined)
35
+ return false;
36
+ if (!('clientToken' in value) || value['clientToken'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function PaymentGatewayClientTokenResponseFromJSON(json) {
41
+ return PaymentGatewayClientTokenResponseFromJSONTyped(json, false);
42
+ }
43
+ function PaymentGatewayClientTokenResponseFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'gateway': json['gateway'],
49
+ 'clientToken': json['clientToken'],
50
+ };
51
+ }
52
+ function PaymentGatewayClientTokenResponseToJSON(json) {
53
+ return PaymentGatewayClientTokenResponseToJSONTyped(json, false);
54
+ }
55
+ function PaymentGatewayClientTokenResponseToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'gateway': value['gateway'],
61
+ 'clientToken': value['clientToken'],
62
+ };
63
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * ManageSpace API
3
+ * ManageSpace API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PrepaidRentReportFilters
16
+ */
17
+ export interface PrepaidRentReportFilters {
18
+ /**
19
+ * Site ID to filter the report
20
+ * @type {string}
21
+ * @memberof PrepaidRentReportFilters
22
+ */
23
+ siteId?: string;
24
+ /**
25
+ * Start date for the report period
26
+ * @type {Date}
27
+ * @memberof PrepaidRentReportFilters
28
+ */
29
+ startDate: Date;
30
+ /**
31
+ * End date for the report period
32
+ * @type {Date}
33
+ * @memberof PrepaidRentReportFilters
34
+ */
35
+ endDate: Date;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PrepaidRentReportFilters interface.
39
+ */
40
+ export declare function instanceOfPrepaidRentReportFilters(value: object): value is PrepaidRentReportFilters;
41
+ export declare function PrepaidRentReportFiltersFromJSON(json: any): PrepaidRentReportFilters;
42
+ export declare function PrepaidRentReportFiltersFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrepaidRentReportFilters;
43
+ export declare function PrepaidRentReportFiltersToJSON(json: any): PrepaidRentReportFilters;
44
+ export declare function PrepaidRentReportFiltersToJSONTyped(value?: PrepaidRentReportFilters | null, ignoreDiscriminator?: boolean): any;
45
+ //# sourceMappingURL=prepaid-rent-report-filters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prepaid-rent-report-filters.d.ts","sourceRoot":"","sources":["../../../src/generated/models/prepaid-rent-report-filters.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAInG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAUvH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWtI"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ // @ts-nocheck
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * ManageSpace API
7
+ * ManageSpace API Documentation
8
+ *
9
+ * The version of the OpenAPI document: 1.0.0
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
+ * https://openapi-generator.tech
14
+ * Do not edit the class manually.
15
+ */
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.instanceOfPrepaidRentReportFilters = instanceOfPrepaidRentReportFilters;
18
+ exports.PrepaidRentReportFiltersFromJSON = PrepaidRentReportFiltersFromJSON;
19
+ exports.PrepaidRentReportFiltersFromJSONTyped = PrepaidRentReportFiltersFromJSONTyped;
20
+ exports.PrepaidRentReportFiltersToJSON = PrepaidRentReportFiltersToJSON;
21
+ exports.PrepaidRentReportFiltersToJSONTyped = PrepaidRentReportFiltersToJSONTyped;
22
+ /**
23
+ * Check if a given object implements the PrepaidRentReportFilters interface.
24
+ */
25
+ function instanceOfPrepaidRentReportFilters(value) {
26
+ if (!('startDate' in value) || value['startDate'] === undefined)
27
+ return false;
28
+ if (!('endDate' in value) || value['endDate'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function PrepaidRentReportFiltersFromJSON(json) {
33
+ return PrepaidRentReportFiltersFromJSONTyped(json, false);
34
+ }
35
+ function PrepaidRentReportFiltersFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'siteId': json['siteId'] == null ? undefined : json['siteId'],
41
+ 'startDate': (new Date(json['startDate'])),
42
+ 'endDate': (new Date(json['endDate'])),
43
+ };
44
+ }
45
+ function PrepaidRentReportFiltersToJSON(json) {
46
+ return PrepaidRentReportFiltersToJSONTyped(json, false);
47
+ }
48
+ function PrepaidRentReportFiltersToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'siteId': value['siteId'],
54
+ 'startDate': ((value['startDate']).toISOString().substring(0, 10)),
55
+ 'endDate': ((value['endDate']).toISOString().substring(0, 10)),
56
+ };
57
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * ManageSpace API
3
+ * ManageSpace API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RefundSummaryReportFilters
16
+ */
17
+ export interface RefundSummaryReportFilters {
18
+ /**
19
+ * Site ID to filter the report
20
+ * @type {string}
21
+ * @memberof RefundSummaryReportFilters
22
+ */
23
+ siteId?: string;
24
+ /**
25
+ * Start date for the report period
26
+ * @type {Date}
27
+ * @memberof RefundSummaryReportFilters
28
+ */
29
+ startDate: Date;
30
+ /**
31
+ * End date for the report period
32
+ * @type {Date}
33
+ * @memberof RefundSummaryReportFilters
34
+ */
35
+ endDate: Date;
36
+ }
37
+ /**
38
+ * Check if a given object implements the RefundSummaryReportFilters interface.
39
+ */
40
+ export declare function instanceOfRefundSummaryReportFilters(value: object): value is RefundSummaryReportFilters;
41
+ export declare function RefundSummaryReportFiltersFromJSON(json: any): RefundSummaryReportFilters;
42
+ export declare function RefundSummaryReportFiltersFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefundSummaryReportFilters;
43
+ export declare function RefundSummaryReportFiltersToJSON(json: any): RefundSummaryReportFilters;
44
+ export declare function RefundSummaryReportFiltersToJSONTyped(value?: RefundSummaryReportFilters | null, ignoreDiscriminator?: boolean): any;
45
+ //# sourceMappingURL=refund-summary-report-filters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refund-summary-report-filters.d.ts","sourceRoot":"","sources":["../../../src/generated/models/refund-summary-report-filters.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAIvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAU3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW1I"}