@managespace/sdk 0.1.21 → 0.1.22

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.
@@ -0,0 +1,119 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * ManageSpace API
5
+ * ManageSpace API Documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { BasePaginationQuery } from './base-pagination-query';
17
+ import {
18
+ BasePaginationQueryFromJSON,
19
+ BasePaginationQueryFromJSONTyped,
20
+ BasePaginationQueryToJSON,
21
+ BasePaginationQueryToJSONTyped,
22
+ } from './base-pagination-query';
23
+ import type { PluginFilterItem } from './plugin-filter-item';
24
+ import {
25
+ PluginFilterItemFromJSON,
26
+ PluginFilterItemFromJSONTyped,
27
+ PluginFilterItemToJSON,
28
+ PluginFilterItemToJSONTyped,
29
+ } from './plugin-filter-item';
30
+ import type { SortOrder } from './sort-order';
31
+ import {
32
+ SortOrderFromJSON,
33
+ SortOrderFromJSONTyped,
34
+ SortOrderToJSON,
35
+ SortOrderToJSONTyped,
36
+ } from './sort-order';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface GetInvoicesQuery
42
+ */
43
+ export interface GetInvoicesQuery {
44
+ /**
45
+ * The pagination metadata
46
+ * @type {BasePaginationQuery}
47
+ * @memberof GetInvoicesQuery
48
+ */
49
+ pageOptions?: BasePaginationQuery;
50
+ /**
51
+ * The sort metadata
52
+ * @type {SortOrder}
53
+ * @memberof GetInvoicesQuery
54
+ */
55
+ sort?: SortOrder;
56
+ /**
57
+ * Status value and operator to filter by
58
+ * @type {PluginFilterItem}
59
+ * @memberof GetInvoicesQuery
60
+ */
61
+ status?: PluginFilterItem;
62
+ /**
63
+ * External customer ID value and operator to filter by
64
+ * @type {PluginFilterItem}
65
+ * @memberof GetInvoicesQuery
66
+ */
67
+ externalCustomerId?: PluginFilterItem;
68
+ /**
69
+ * Billing run ID value and operator to filter by
70
+ * @type {PluginFilterItem}
71
+ * @memberof GetInvoicesQuery
72
+ */
73
+ billingRunId?: PluginFilterItem;
74
+ }
75
+
76
+ /**
77
+ * Check if a given object implements the GetInvoicesQuery interface.
78
+ */
79
+ export function instanceOfGetInvoicesQuery(value: object): value is GetInvoicesQuery {
80
+ return true;
81
+ }
82
+
83
+ export function GetInvoicesQueryFromJSON(json: any): GetInvoicesQuery {
84
+ return GetInvoicesQueryFromJSONTyped(json, false);
85
+ }
86
+
87
+ export function GetInvoicesQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetInvoicesQuery {
88
+ if (json == null) {
89
+ return json;
90
+ }
91
+ return {
92
+
93
+ 'pageOptions': json['pageOptions'] == null ? undefined : BasePaginationQueryFromJSON(json['pageOptions']),
94
+ 'sort': json['sort'] == null ? undefined : SortOrderFromJSON(json['sort']),
95
+ 'status': json['status'] == null ? undefined : PluginFilterItemFromJSON(json['status']),
96
+ 'externalCustomerId': json['externalCustomerId'] == null ? undefined : PluginFilterItemFromJSON(json['externalCustomerId']),
97
+ 'billingRunId': json['billingRunId'] == null ? undefined : PluginFilterItemFromJSON(json['billingRunId']),
98
+ };
99
+ }
100
+
101
+ export function GetInvoicesQueryToJSON(json: any): GetInvoicesQuery {
102
+ return GetInvoicesQueryToJSONTyped(json, false);
103
+ }
104
+
105
+ export function GetInvoicesQueryToJSONTyped(value?: GetInvoicesQuery | null, ignoreDiscriminator: boolean = false): any {
106
+ if (value == null) {
107
+ return value;
108
+ }
109
+
110
+ return {
111
+
112
+ 'pageOptions': BasePaginationQueryToJSON(value['pageOptions']),
113
+ 'sort': SortOrderToJSON(value['sort']),
114
+ 'status': PluginFilterItemToJSON(value['status']),
115
+ 'externalCustomerId': PluginFilterItemToJSON(value['externalCustomerId']),
116
+ 'billingRunId': PluginFilterItemToJSON(value['billingRunId']),
117
+ };
118
+ }
119
+
@@ -20,6 +20,7 @@ export * from './checklist';
20
20
  export * from './checklist-recurrence-frequency';
21
21
  export * from './communication';
22
22
  export * from './communication-type';
23
+ export * from './complex-query';
23
24
  export * from './configuration-setting';
24
25
  export * from './configuration-setting-type';
25
26
  export * from './contact';
@@ -97,10 +98,10 @@ export * from './get-checklists200-response';
97
98
  export * from './get-communications200-response';
98
99
  export * from './get-configuration-settings200-response';
99
100
  export * from './get-contacts200-response';
100
- export * from './get-customers-query';
101
101
  export * from './get-documents200-response';
102
102
  export * from './get-intent';
103
103
  export * from './get-invoices200-response';
104
+ export * from './get-invoices-query';
104
105
  export * from './get-notes200-response';
105
106
  export * from './get-notifications200-response';
106
107
  export * from './get-orders200-response';