@equisoft/equisoft-connect-sdk-typescript 10.28.3 → 10.29.0

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 (98) hide show
  1. package/dist/models/ContactContactAdditionalInformation.d.ts +10 -10
  2. package/dist/models/ContactContactAddress.d.ts +10 -10
  3. package/dist/models/ContactContactEmail.d.ts +5 -5
  4. package/dist/models/ContactContactIdentification.d.ts +9 -9
  5. package/dist/models/ContactContactMaritalStatus.d.ts +5 -5
  6. package/dist/models/ContactContactOccupation.d.ts +6 -6
  7. package/dist/models/ContactContactPhone.d.ts +7 -7
  8. package/dist/models/ContactContactSegmentation.d.ts +7 -7
  9. package/dist/models/ContactContactWebsite.d.ts +4 -4
  10. package/dist/models/ContactsContact.d.ts +11 -11
  11. package/dist/models/ContextEquisoftConnect.d.ts +2 -2
  12. package/dist/models/ContextUserContext.d.ts +2 -2
  13. package/dist/models/EventsCreateEventPayload.d.ts +4 -4
  14. package/dist/models/EventsEvent.d.ts +19 -16
  15. package/dist/models/EventsEvent.js +8 -8
  16. package/dist/models/EventsGetEventInstancesResponse.d.ts +1 -1
  17. package/dist/models/EventsPatchEventPayload.d.ts +4 -4
  18. package/dist/models/FieldValue.d.ts +1 -1
  19. package/dist/models/GatewaysCredentials.d.ts +8 -8
  20. package/dist/models/GatewaysCredentialsWithSsn.d.ts +14 -14
  21. package/dist/models/GatewaysCredentialsWithSsn.js +2 -2
  22. package/dist/models/InternalNotesNote.d.ts +2 -2
  23. package/dist/models/InternalNotesNote.js +2 -2
  24. package/dist/models/InternalNotesNoteList.d.ts +1 -1
  25. package/dist/models/LaserAppLaserAppAnywhereError.d.ts +1 -1
  26. package/dist/models/LaserAppLaserAppAnywhereResponse.d.ts +1 -1
  27. package/dist/models/LegacyAddUpdateResponse.d.ts +6 -6
  28. package/dist/models/LegacyAddUpdateResponse.js +2 -2
  29. package/dist/models/LegacyContactContactPayloadItem.d.ts +96 -96
  30. package/dist/models/LegacyContactContactPayloadItem.js +32 -32
  31. package/dist/models/LegacyDocumentBase64FilePayloadItem.d.ts +12 -12
  32. package/dist/models/LegacyDocumentBase64FilePayloadItem.js +4 -4
  33. package/dist/models/LegacyDocumentDownloadFileResponse.d.ts +6 -6
  34. package/dist/models/LegacyDocumentDownloadFileResponse.js +2 -2
  35. package/dist/models/LegacyDocumentGetListResponse.d.ts +6 -6
  36. package/dist/models/LegacyDocumentGetListResponse.js +2 -2
  37. package/dist/models/LegacyDocumentGetResponse.d.ts +6 -6
  38. package/dist/models/LegacyDocumentGetResponse.js +2 -2
  39. package/dist/models/LegacyFinanceGetAccountStatementResponse.d.ts +6 -6
  40. package/dist/models/LegacyFinanceGetAccountStatementResponse.js +2 -2
  41. package/dist/models/LegacyFinanceGetLiabilitiesResponse.d.ts +6 -6
  42. package/dist/models/LegacyFinanceGetLiabilitiesResponse.js +2 -2
  43. package/dist/models/LegacyProvisioningGetOrganizationListResponse.d.ts +6 -6
  44. package/dist/models/LegacyProvisioningGetOrganizationListResponse.js +2 -2
  45. package/dist/models/LegacyProvisioningGetOrganizationResponse.d.ts +6 -6
  46. package/dist/models/LegacyProvisioningGetOrganizationResponse.js +2 -2
  47. package/dist/models/MovementMovement.d.ts +6 -6
  48. package/dist/models/MovementUser.d.ts +3 -3
  49. package/dist/models/MovementUser.js +2 -2
  50. package/dist/models/MxRecipient.d.ts +4 -4
  51. package/dist/models/TasksCreateTaskPayload.d.ts +3 -3
  52. package/dist/models/TasksListTaskResponse.d.ts +1 -1
  53. package/dist/models/TasksPatchTaskPayload.d.ts +3 -3
  54. package/dist/models/TasksTask.d.ts +15 -15
  55. package/dist/models/TasksTask.js +16 -16
  56. package/dist/models/Translation.d.ts +2 -2
  57. package/package.json +1 -1
  58. package/src/models/ContactContactAdditionalInformation.ts +10 -10
  59. package/src/models/ContactContactAddress.ts +10 -10
  60. package/src/models/ContactContactEmail.ts +5 -5
  61. package/src/models/ContactContactIdentification.ts +9 -9
  62. package/src/models/ContactContactMaritalStatus.ts +5 -5
  63. package/src/models/ContactContactOccupation.ts +6 -6
  64. package/src/models/ContactContactPhone.ts +7 -7
  65. package/src/models/ContactContactSegmentation.ts +7 -7
  66. package/src/models/ContactContactWebsite.ts +4 -4
  67. package/src/models/ContactsContact.ts +11 -11
  68. package/src/models/ContextEquisoftConnect.ts +2 -2
  69. package/src/models/ContextUserContext.ts +2 -2
  70. package/src/models/EventsCreateEventPayload.ts +4 -4
  71. package/src/models/EventsEvent.ts +27 -24
  72. package/src/models/EventsGetEventInstancesResponse.ts +1 -1
  73. package/src/models/EventsPatchEventPayload.ts +4 -4
  74. package/src/models/FieldValue.ts +1 -1
  75. package/src/models/GatewaysCredentials.ts +8 -8
  76. package/src/models/GatewaysCredentialsWithSsn.ts +16 -16
  77. package/src/models/InternalNotesNote.ts +4 -4
  78. package/src/models/InternalNotesNoteList.ts +1 -1
  79. package/src/models/LaserAppLaserAppAnywhereError.ts +1 -1
  80. package/src/models/LaserAppLaserAppAnywhereResponse.ts +1 -1
  81. package/src/models/LegacyAddUpdateResponse.ts +8 -8
  82. package/src/models/LegacyContactContactPayloadItem.ts +128 -128
  83. package/src/models/LegacyDocumentBase64FilePayloadItem.ts +16 -16
  84. package/src/models/LegacyDocumentDownloadFileResponse.ts +8 -8
  85. package/src/models/LegacyDocumentGetListResponse.ts +8 -8
  86. package/src/models/LegacyDocumentGetResponse.ts +8 -8
  87. package/src/models/LegacyFinanceGetAccountStatementResponse.ts +8 -8
  88. package/src/models/LegacyFinanceGetLiabilitiesResponse.ts +8 -8
  89. package/src/models/LegacyProvisioningGetOrganizationListResponse.ts +8 -8
  90. package/src/models/LegacyProvisioningGetOrganizationResponse.ts +8 -8
  91. package/src/models/MovementMovement.ts +6 -6
  92. package/src/models/MovementUser.ts +5 -5
  93. package/src/models/MxRecipient.ts +4 -4
  94. package/src/models/TasksCreateTaskPayload.ts +3 -3
  95. package/src/models/TasksListTaskResponse.ts +1 -1
  96. package/src/models/TasksPatchTaskPayload.ts +3 -3
  97. package/src/models/TasksTask.ts +31 -31
  98. package/src/models/Translation.ts +2 -2
@@ -75,55 +75,55 @@ import {
75
75
  */
76
76
  export interface ContactsContact {
77
77
  /**
78
- *
78
+ * Contact unique numeric identifier
79
79
  * @type {number}
80
80
  * @memberof ContactsContact
81
81
  */
82
82
  id: number;
83
83
  /**
84
- *
84
+ * Contact unique string identifier
85
85
  * @type {string}
86
86
  * @memberof ContactsContact
87
87
  */
88
88
  uuid: string;
89
89
  /**
90
- *
90
+ * Contact type ('CUS','OTHER')
91
91
  * @type {string}
92
92
  * @memberof ContactsContact
93
93
  */
94
94
  contactType: string;
95
95
  /**
96
- *
96
+ * Contact complete name ("[Last name] [First Name]") or company Name for 'Organization' contact
97
97
  * @type {string}
98
98
  * @memberof ContactsContact
99
99
  */
100
100
  displayName?: string;
101
101
  /**
102
- *
102
+ * Contact sort name
103
103
  * @type {string}
104
104
  * @memberof ContactsContact
105
105
  */
106
106
  sortName?: string;
107
107
  /**
108
- *
108
+ * Contact notes
109
109
  * @type {string}
110
110
  * @memberof ContactsContact
111
111
  */
112
112
  notes?: string;
113
113
  /**
114
- *
114
+ * Contact additional information related to the notes
115
115
  * @type {string}
116
116
  * @memberof ContactsContact
117
117
  */
118
118
  notesAdditionalInformation?: string;
119
119
  /**
120
- *
120
+ * Creation time. As defined by date-time - RFC3339
121
121
  * @type {Date}
122
122
  * @memberof ContactsContact
123
123
  */
124
124
  creationDate?: Date | null;
125
125
  /**
126
- *
126
+ * Last update time. As defined by date-time - RFC3339
127
127
  * @type {Date}
128
128
  * @memberof ContactsContact
129
129
  */
@@ -141,13 +141,13 @@ export interface ContactsContact {
141
141
  */
142
142
  additionalInformation?: ContactContactAdditionalInformation;
143
143
  /**
144
- *
144
+ * Contact current marital status
145
145
  * @type {ContactContactMaritalStatus}
146
146
  * @memberof ContactsContact
147
147
  */
148
148
  currentMaritalStatus?: ContactContactMaritalStatus | null;
149
149
  /**
150
- *
150
+ * Contact current occupation
151
151
  * @type {ContactContactOccupation}
152
152
  * @memberof ContactsContact
153
153
  */
@@ -39,13 +39,13 @@ import {
39
39
  */
40
40
  export interface ContextEquisoftConnect {
41
41
  /**
42
- * $profile
42
+ * Profile name
43
43
  * @type {string}
44
44
  * @memberof ContextEquisoftConnect
45
45
  */
46
46
  profile: string;
47
47
  /**
48
- * $appVersion
48
+ * Application version
49
49
  * @type {string}
50
50
  * @memberof ContextEquisoftConnect
51
51
  */
@@ -57,11 +57,11 @@ export interface ContextUserContext {
57
57
  */
58
58
  user: ContextUser;
59
59
  /**
60
- *
60
+ * actor
61
61
  * @type {ContextActor}
62
62
  * @memberof ContextUserContext
63
63
  */
64
- actor?: ContextActor;
64
+ actor?: ContextActor | null;
65
65
  /**
66
66
  *
67
67
  * @type {ContextEquisoftConnect}
@@ -76,10 +76,10 @@ export interface EventsCreateEventPayload {
76
76
  location?: string;
77
77
  /**
78
78
  * Event type
79
- * @type {any}
79
+ * @type {string}
80
80
  * @memberof EventsCreateEventPayload
81
81
  */
82
- type?: any | null;
82
+ type?: string;
83
83
  /**
84
84
  * ID of the field value to use as category.
85
85
  * @type {number}
@@ -94,10 +94,10 @@ export interface EventsCreateEventPayload {
94
94
  subCategoryId?: number;
95
95
  /**
96
96
  * Importance/Priority of an event or task. 5 is the most important.
97
- * @type {any}
97
+ * @type {number}
98
98
  * @memberof EventsCreateEventPayload
99
99
  */
100
- priority?: any | null;
100
+ priority?: number;
101
101
  /**
102
102
  * Confidentiality level of the Event (private or not). [NORMAL, PRIVATE]
103
103
  * @type {string}
@@ -79,7 +79,7 @@ export interface EventsEvent {
79
79
  * @type {string}
80
80
  * @memberof EventsEvent
81
81
  */
82
- initialDate?: string;
82
+ initialDate?: string | null;
83
83
  /**
84
84
  * Public description of the Event.
85
85
  * @type {string}
@@ -105,62 +105,65 @@ export interface EventsEvent {
105
105
  */
106
106
  type: string;
107
107
  /**
108
- *
108
+ * Event category
109
109
  * @type {FieldValue}
110
110
  * @memberof EventsEvent
111
111
  */
112
- category?: FieldValue;
112
+ category?: FieldValue | null;
113
113
  /**
114
114
  * Event sub category
115
- * @type {any}
115
+ * @type {FieldValue}
116
116
  * @memberof EventsEvent
117
117
  */
118
- subCategory?: any | null;
118
+ subCategory?: FieldValue | null;
119
119
  /**
120
- * The recurrence rule for this event. The recurrence is a string conform to RFC 5545 (see RRULE http://tools.ietf.org/html/rfc5545#section-3.8.5.3).
120
+ * The recurrence rule for this event.
121
+ * The recurrence is a string conform to RFC 5545 (see RRULE http://tools.ietf.org/html/rfc5545#section-3.8.5.3).
121
122
  * @type {string}
122
123
  * @memberof EventsEvent
123
124
  */
124
- recurrenceRule?: string;
125
+ recurrenceRule?: string | null;
125
126
  /**
126
127
  * For an instance of recurring event, ID of the master event.
127
128
  * @type {string}
128
129
  * @memberof EventsEvent
129
130
  */
130
- recurringEventId?: string;
131
+ recurringEventId?: string | null;
131
132
  /**
132
133
  * For an instance of recurring event, original start date of the event according to the recurrence rule.
134
+ * This uniquely identify the occurrence and can be different from start date.
133
135
  * @type {string}
134
136
  * @memberof EventsEvent
135
137
  */
136
- originalStartDate?: string;
138
+ originalStartDate?: string | null;
137
139
  /**
138
140
  * Importance/Priority of an event or task. 5 is the most important.
139
141
  * @type {number}
140
142
  * @memberof EventsEvent
141
143
  */
142
- priority?: number;
144
+ priority: number;
143
145
  /**
144
146
  * Confidentiality level of the Event (private or not). [NORMAL, PRIVATE]
145
147
  * @type {string}
146
148
  * @memberof EventsEvent
147
149
  */
148
- visibility?: string;
150
+ visibility: string;
149
151
  /**
150
152
  * Creation time. As defined by date-time - RFC3339
151
153
  * @type {Date}
152
154
  * @memberof EventsEvent
153
155
  */
154
- creationTime?: Date;
156
+ creationTime?: Date | null;
155
157
  /**
156
158
  * Date time of last modification. As defined by date-time - RFC3339
157
159
  * @type {Date}
158
160
  * @memberof EventsEvent
159
161
  */
160
- updateTime?: Date;
162
+ updateTime?: Date | null;
161
163
  /**
162
164
  * ID of the calendar owning this Event. If owned by many users, calendarId will be
163
- * - The primary ( or completed depending on state) calendar ID of the connected user if the user is the he is one of the owners.
165
+ * - The primary ( or completed depending on state) calendar ID of the connected user if the user
166
+ * is one of the owners.
164
167
  * - Any primary ( or completed depending on state) completed calendar ID of one of the owners.
165
168
  * @type {number}
166
169
  * @memberof EventsEvent
@@ -171,13 +174,13 @@ export interface EventsEvent {
171
174
  * @type {string}
172
175
  * @memberof EventsEvent
173
176
  */
174
- color?: string;
177
+ color?: string | null;
175
178
  /**
176
179
  * hex text color of this event
177
180
  * @type {string}
178
181
  * @memberof EventsEvent
179
182
  */
180
- textColor?: string;
183
+ textColor?: string | null;
181
184
  /**
182
185
  * IDs of the contacts linked to this Event
183
186
  * @type {Array<number>}
@@ -214,14 +217,14 @@ export function EventsEventFromJSONTyped(json: any, ignoreDiscriminator: boolean
214
217
  'location': !exists(json, 'location') ? undefined : json['location'],
215
218
  'type': json['type'],
216
219
  'category': !exists(json, 'category') ? undefined : FieldValueFromJSON(json['category']),
217
- 'subCategory': !exists(json, 'subCategory') ? undefined : json['subCategory'],
220
+ 'subCategory': !exists(json, 'subCategory') ? undefined : FieldValueFromJSON(json['subCategory']),
218
221
  'recurrenceRule': !exists(json, 'recurrenceRule') ? undefined : json['recurrenceRule'],
219
222
  'recurringEventId': !exists(json, 'recurringEventId') ? undefined : json['recurringEventId'],
220
223
  'originalStartDate': !exists(json, 'originalStartDate') ? undefined : json['originalStartDate'],
221
- 'priority': !exists(json, 'priority') ? undefined : json['priority'],
222
- 'visibility': !exists(json, 'visibility') ? undefined : json['visibility'],
223
- 'creationTime': !exists(json, 'creationTime') ? undefined : (new Date(json['creationTime'])),
224
- 'updateTime': !exists(json, 'updateTime') ? undefined : (new Date(json['updateTime'])),
224
+ 'priority': json['priority'],
225
+ 'visibility': json['visibility'],
226
+ 'creationTime': !exists(json, 'creationTime') ? undefined : (json['creationTime'] === null ? null : new Date(json['creationTime'])),
227
+ 'updateTime': !exists(json, 'updateTime') ? undefined : (json['updateTime'] === null ? null : new Date(json['updateTime'])),
225
228
  'calendarId': json['calendarId'],
226
229
  'color': !exists(json, 'color') ? undefined : json['color'],
227
230
  'textColor': !exists(json, 'textColor') ? undefined : json['textColor'],
@@ -251,14 +254,14 @@ export function EventsEventToJSON(value?: EventsEvent | null): any {
251
254
  'location': value.location,
252
255
  'type': value.type,
253
256
  'category': FieldValueToJSON(value.category),
254
- 'subCategory': value.subCategory,
257
+ 'subCategory': FieldValueToJSON(value.subCategory),
255
258
  'recurrenceRule': value.recurrenceRule,
256
259
  'recurringEventId': value.recurringEventId,
257
260
  'originalStartDate': value.originalStartDate,
258
261
  'priority': value.priority,
259
262
  'visibility': value.visibility,
260
- 'creationTime': value.creationTime === undefined ? undefined : (value.creationTime.toISOString()),
261
- 'updateTime': value.updateTime === undefined ? undefined : (value.updateTime.toISOString()),
263
+ 'creationTime': value.creationTime === undefined ? undefined : (value.creationTime === null ? null : value.creationTime.toISOString()),
264
+ 'updateTime': value.updateTime === undefined ? undefined : (value.updateTime === null ? null : value.updateTime.toISOString()),
262
265
  'calendarId': value.calendarId,
263
266
  'color': value.color,
264
267
  'textColor': value.textColor,
@@ -31,7 +31,7 @@ export interface EventsGetEventInstancesResponse {
31
31
  * @type {string}
32
32
  * @memberof EventsGetEventInstancesResponse
33
33
  */
34
- nextPageToken?: string;
34
+ nextPageToken?: string | null;
35
35
  /**
36
36
  *
37
37
  * @type {Array<EventsEvent>}
@@ -76,10 +76,10 @@ export interface EventsPatchEventPayload {
76
76
  location?: string;
77
77
  /**
78
78
  * Event type
79
- * @type {any}
79
+ * @type {string}
80
80
  * @memberof EventsPatchEventPayload
81
81
  */
82
- type?: any | null;
82
+ type?: string;
83
83
  /**
84
84
  * ID of the field value to use as category.
85
85
  * @type {number}
@@ -94,10 +94,10 @@ export interface EventsPatchEventPayload {
94
94
  subCategoryId?: number;
95
95
  /**
96
96
  * Importance/Priority of an event or task. 5 is the most important.
97
- * @type {any}
97
+ * @type {number}
98
98
  * @memberof EventsPatchEventPayload
99
99
  */
100
- priority?: any | null;
100
+ priority?: number;
101
101
  /**
102
102
  * Confidentiality level of the Event (private or not). [NORMAL, PRIVATE]
103
103
  * @type {string}
@@ -45,7 +45,7 @@ export interface FieldValue {
45
45
  */
46
46
  translations?: Array<Translation>;
47
47
  /**
48
- *
48
+ * Value system_name
49
49
  * @type {string}
50
50
  * @memberof FieldValue
51
51
  */
@@ -20,31 +20,31 @@ import { exists, mapValues } from '../runtime';
20
20
  */
21
21
  export interface GatewaysCredentials {
22
22
  /**
23
- * | null
23
+ * User name
24
24
  * @type {string}
25
25
  * @memberof GatewaysCredentials
26
26
  */
27
- username: string;
27
+ username: string | null;
28
28
  /**
29
- * | null
29
+ * Password
30
30
  * @type {string}
31
31
  * @memberof GatewaysCredentials
32
32
  */
33
- password: string;
33
+ password: string | null;
34
34
  /**
35
- * | null
35
+ * Rep code
36
36
  * @type {string}
37
37
  * @memberof GatewaysCredentials
38
38
  */
39
- repcode?: string;
39
+ repcode?: string | null;
40
40
  /**
41
- *
41
+ * Is a dealer code
42
42
  * @type {boolean}
43
43
  * @memberof GatewaysCredentials
44
44
  */
45
45
  isADealerCode?: boolean;
46
46
  /**
47
- *
47
+ * Dealer system name
48
48
  * @type {string}
49
49
  * @memberof GatewaysCredentials
50
50
  */
@@ -33,41 +33,41 @@ import {
33
33
  */
34
34
  export interface GatewaysCredentialsWithSsn {
35
35
  /**
36
- * The list will contain formatted SSNs, i.e. "123 456 789"
37
- * @type {Array<string>}
38
- * @memberof GatewaysCredentialsWithSsn
39
- */
40
- ssnList?: Array<string>;
41
- /**
42
- * | null
36
+ * User name
43
37
  * @type {string}
44
38
  * @memberof GatewaysCredentialsWithSsn
45
39
  */
46
- username: string;
40
+ username: string | null;
47
41
  /**
48
- * | null
42
+ * Password
49
43
  * @type {string}
50
44
  * @memberof GatewaysCredentialsWithSsn
51
45
  */
52
- password: string;
46
+ password: string | null;
53
47
  /**
54
- * | null
48
+ * Rep code
55
49
  * @type {string}
56
50
  * @memberof GatewaysCredentialsWithSsn
57
51
  */
58
- repcode?: string;
52
+ repcode?: string | null;
59
53
  /**
60
- *
54
+ * Is a dealer code
61
55
  * @type {boolean}
62
56
  * @memberof GatewaysCredentialsWithSsn
63
57
  */
64
58
  isADealerCode?: boolean;
65
59
  /**
66
- *
60
+ * Dealer system name
67
61
  * @type {string}
68
62
  * @memberof GatewaysCredentialsWithSsn
69
63
  */
70
64
  dealerSystemName?: string;
65
+ /**
66
+ * The list will contain formatted SSNs, i.e. "123 456 789"
67
+ * @type {Array<string>}
68
+ * @memberof GatewaysCredentialsWithSsn
69
+ */
70
+ ssnList?: Array<string>;
71
71
  }
72
72
 
73
73
  export function GatewaysCredentialsWithSsnFromJSON(json: any): GatewaysCredentialsWithSsn {
@@ -80,12 +80,12 @@ export function GatewaysCredentialsWithSsnFromJSONTyped(json: any, ignoreDiscrim
80
80
  }
81
81
  return {
82
82
 
83
- 'ssnList': !exists(json, 'ssnList') ? undefined : json['ssnList'],
84
83
  'username': json['username'],
85
84
  'password': json['password'],
86
85
  'repcode': !exists(json, 'repcode') ? undefined : json['repcode'],
87
86
  'isADealerCode': !exists(json, 'isADealerCode') ? undefined : json['isADealerCode'],
88
87
  'dealerSystemName': !exists(json, 'dealerSystemName') ? undefined : json['dealerSystemName'],
88
+ 'ssnList': !exists(json, 'ssnList') ? undefined : json['ssnList'],
89
89
  };
90
90
  }
91
91
 
@@ -98,12 +98,12 @@ export function GatewaysCredentialsWithSsnToJSON(value?: GatewaysCredentialsWith
98
98
  }
99
99
  return {
100
100
 
101
- 'ssnList': value.ssnList,
102
101
  'username': value.username,
103
102
  'password': value.password,
104
103
  'repcode': value.repcode,
105
104
  'isADealerCode': value.isADealerCode,
106
105
  'dealerSystemName': value.dealerSystemName,
106
+ 'ssnList': value.ssnList,
107
107
  };
108
108
  }
109
109
 
@@ -61,7 +61,7 @@ export interface InternalNotesNote {
61
61
  * @type {AccessRights}
62
62
  * @memberof InternalNotesNote
63
63
  */
64
- accessRights: AccessRights | null;
64
+ accessRights: AccessRights;
65
65
  /**
66
66
  *
67
67
  * @type {InternalNotesNoteRevision}
@@ -73,7 +73,7 @@ export interface InternalNotesNote {
73
73
  * @type {Array<InternalNotesNoteRevision>}
74
74
  * @memberof InternalNotesNote
75
75
  */
76
- previousRevisions?: Array<InternalNotesNoteRevision> | null;
76
+ previousRevisions?: Array<InternalNotesNoteRevision>;
77
77
  }
78
78
 
79
79
  export function InternalNotesNoteFromJSON(json: any): InternalNotesNote {
@@ -91,7 +91,7 @@ export function InternalNotesNoteFromJSONTyped(json: any, ignoreDiscriminator: b
91
91
  'firstRevisionCreatedAt': (json['firstRevisionCreatedAt'] === null ? null : new Date(json['firstRevisionCreatedAt'])),
92
92
  'accessRights': AccessRightsFromJSON(json['accessRights']),
93
93
  'currentRevision': InternalNotesNoteRevisionFromJSON(json['currentRevision']),
94
- 'previousRevisions': !exists(json, 'previousRevisions') ? undefined : (json['previousRevisions'] === null ? null : (json['previousRevisions'] as Array<any>).map(InternalNotesNoteRevisionFromJSON)),
94
+ 'previousRevisions': !exists(json, 'previousRevisions') ? undefined : ((json['previousRevisions'] as Array<any>).map(InternalNotesNoteRevisionFromJSON)),
95
95
  };
96
96
  }
97
97
 
@@ -109,7 +109,7 @@ export function InternalNotesNoteToJSON(value?: InternalNotesNote | null): any {
109
109
  'firstRevisionCreatedAt': (value.firstRevisionCreatedAt === null ? null : value.firstRevisionCreatedAt.toISOString()),
110
110
  'accessRights': AccessRightsToJSON(value.accessRights),
111
111
  'currentRevision': InternalNotesNoteRevisionToJSON(value.currentRevision),
112
- 'previousRevisions': value.previousRevisions === undefined ? undefined : (value.previousRevisions === null ? null : (value.previousRevisions as Array<any>).map(InternalNotesNoteRevisionToJSON)),
112
+ 'previousRevisions': value.previousRevisions === undefined ? undefined : ((value.previousRevisions as Array<any>).map(InternalNotesNoteRevisionToJSON)),
113
113
  };
114
114
  }
115
115
 
@@ -43,7 +43,7 @@ export interface InternalNotesNoteList {
43
43
  * @type {InternalNotesLegacyNote}
44
44
  * @memberof InternalNotesNoteList
45
45
  */
46
- legacyNote?: InternalNotesLegacyNote;
46
+ legacyNote?: InternalNotesLegacyNote | null;
47
47
  }
48
48
 
49
49
  export function InternalNotesNoteListFromJSON(json: any): InternalNotesNoteList {
@@ -20,7 +20,7 @@ import { exists, mapValues } from '../runtime';
20
20
  */
21
21
  export interface LaserAppLaserAppAnywhereError {
22
22
  /**
23
- * $message;
23
+ *
24
24
  * @type {string}
25
25
  * @memberof LaserAppLaserAppAnywhereError
26
26
  */
@@ -20,7 +20,7 @@ import { exists, mapValues } from '../runtime';
20
20
  */
21
21
  export interface LaserAppLaserAppAnywhereResponse {
22
22
  /**
23
- * $redirectUrl
23
+ *
24
24
  * @type {string}
25
25
  * @memberof LaserAppLaserAppAnywhereResponse
26
26
  */
@@ -38,12 +38,6 @@ import {
38
38
  * @interface LegacyAddUpdateResponse
39
39
  */
40
40
  export interface LegacyAddUpdateResponse {
41
- /**
42
- * List all items status for the Add or Update operation
43
- * @type {Array<LegacyAddUpdateItem>}
44
- * @memberof LegacyAddUpdateResponse
45
- */
46
- items: Array<LegacyAddUpdateItem>;
47
41
  /**
48
42
  * Status of the request that has been made. Can be 'ok' or 'fail'
49
43
  * @type {string}
@@ -62,6 +56,12 @@ export interface LegacyAddUpdateResponse {
62
56
  * @memberof LegacyAddUpdateResponse
63
57
  */
64
58
  errorMsg?: string;
59
+ /**
60
+ * List all items status for the Add or Update operation
61
+ * @type {Array<LegacyAddUpdateItem>}
62
+ * @memberof LegacyAddUpdateResponse
63
+ */
64
+ items: Array<LegacyAddUpdateItem>;
65
65
  }
66
66
 
67
67
  export function LegacyAddUpdateResponseFromJSON(json: any): LegacyAddUpdateResponse {
@@ -74,10 +74,10 @@ export function LegacyAddUpdateResponseFromJSONTyped(json: any, ignoreDiscrimina
74
74
  }
75
75
  return {
76
76
 
77
- 'items': ((json['items'] as Array<any>).map(LegacyAddUpdateItemFromJSON)),
78
77
  'stat': !exists(json, 'stat') ? undefined : json['stat'],
79
78
  'errorCode': !exists(json, 'error_code') ? undefined : json['error_code'],
80
79
  'errorMsg': !exists(json, 'error_msg') ? undefined : json['error_msg'],
80
+ 'items': ((json['items'] as Array<any>).map(LegacyAddUpdateItemFromJSON)),
81
81
  };
82
82
  }
83
83
 
@@ -90,10 +90,10 @@ export function LegacyAddUpdateResponseToJSON(value?: LegacyAddUpdateResponse |
90
90
  }
91
91
  return {
92
92
 
93
- 'items': ((value.items as Array<any>).map(LegacyAddUpdateItemToJSON)),
94
93
  'stat': value.stat,
95
94
  'error_code': value.errorCode,
96
95
  'error_msg': value.errorMsg,
96
+ 'items': ((value.items as Array<any>).map(LegacyAddUpdateItemToJSON)),
97
97
  };
98
98
  }
99
99