@d19n/youfibre-odin-sdk 2.0.369 → 2.0.370

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.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * UpdateContactAppPreferences Action DTO
3
3
  *
4
- * Record whether the customer has push notifications and biometric login turned on in the app, and when each last changed.
4
+ * Record whether the customer has push notifications and biometric login turned on in the app, when each last changed, and the platforms they use the app on.
5
5
  *
6
6
  * @module CrmModule
7
7
  * @entity Contact
@@ -54,17 +54,17 @@ export interface UpdateContactAppPreferencesProperties {
54
54
  */
55
55
  AppBiometricLoginStatusDate?: string | null;
56
56
  /**
57
- * App Device Platform
57
+ * Mobile Device Platform
58
58
  *
59
- * The platform of the phone the customer most recently used the app on. Empty until the app reports it (PORTAPP-3483).
60
- * @type {ENUM}
59
+ * Every platform the customer has used the app on. A platform is added when the app first reports it and is never removed. Empty until the app reports one (PORTAPP-3483).
60
+ * @type {ENUM_MULTI_SELECT}
61
61
  */
62
- AppDevicePlatform?: string | null;
62
+ AppDevicePlatforms?: string | null;
63
63
  }
64
64
  /**
65
65
  * UpdateContactAppPreferences
66
66
  *
67
- * Record whether the customer has push notifications and biometric login turned on in the app, and when each last changed.
67
+ * Record whether the customer has push notifications and biometric login turned on in the app, when each last changed, and the platforms they use the app on.
68
68
  *
69
69
  * @actionType UPDATE - Updates an existing Contact record
70
70
  * @module CrmModule
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * UpdateContactAppPreferences Action DTO
4
4
  *
5
- * Record whether the customer has push notifications and biometric login turned on in the app, and when each last changed.
5
+ * Record whether the customer has push notifications and biometric login turned on in the app, when each last changed, and the platforms they use the app on.
6
6
  *
7
7
  * @module CrmModule
8
8
  * @entity Contact
@@ -17,7 +17,7 @@ const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * UpdateContactAppPreferences
19
19
  *
20
- * Record whether the customer has push notifications and biometric login turned on in the app, and when each last changed.
20
+ * Record whether the customer has push notifications and biometric login turned on in the app, when each last changed, and the platforms they use the app on.
21
21
  *
22
22
  * @actionType UPDATE - Updates an existing Contact record
23
23
  * @module CrmModule
@@ -299,19 +299,6 @@ export declare enum ContactAppBiometricLoginStatus {
299
299
  DISABLED = "DISABLED",
300
300
  ENABLED = "ENABLED"
301
301
  }
302
- /**
303
- * Valid values for Contact.AppDevicePlatform
304
- *
305
- * The platform of the phone the customer most recently used the app on. Empty until the app reports it (PORTAPP-3483).
306
- *
307
- * @remarks Available options:
308
- * - `ANDROID` - Android
309
- * - `IOS` - iOS
310
- */
311
- export declare enum ContactAppDevicePlatform {
312
- ANDROID = "ANDROID",
313
- I_OS = "IOS"
314
- }
315
302
  /**
316
303
  * Property keys for Contact
317
304
  * Use these constants instead of string literals for type safety
@@ -437,8 +424,8 @@ export declare enum ContactPropertyKeys {
437
424
  AppPushNotificationStatusDate = "AppPushNotificationStatusDate",
438
425
  /** When AppBiometricLoginStatus last changed (PORTAPP-3345). */
439
426
  AppBiometricLoginStatusDate = "AppBiometricLoginStatusDate",
440
- /** The platform of the phone the customer most recently used the app on. Empty until the app reports it (PORTAPP-3483). */
441
- AppDevicePlatform = "AppDevicePlatform"
427
+ /** Every platform the customer has used the app on. A platform is added when the app first reports it and is never removed. Empty until the app reports one (PORTAPP-3483). */
428
+ AppDevicePlatforms = "AppDevicePlatforms"
442
429
  }
443
430
  /**
444
431
  * Properties for Contact records
@@ -834,14 +821,13 @@ export interface ContactProperties {
834
821
  * @hidden This field is hidden in the UI
835
822
  */
836
823
  AppBiometricLoginStatusDate: string;
837
- /** The platform of the phone the customer most recently used the app on. Empty until the app reports it (PORTAPP-3483).
824
+ /** Every platform the customer has used the app on. A platform is added when the app first reports it and is never removed. Empty until the app reports one (PORTAPP-3483).
838
825
  *
839
- * @type {ENUM}
826
+ * @type {ENUM_MULTI_SELECT}
840
827
  * @default
841
- * @enum {ContactAppDevicePlatform}
842
828
  * @hidden This field is hidden in the UI
843
829
  */
844
- AppDevicePlatform: ContactAppDevicePlatform;
830
+ AppDevicePlatforms: string;
845
831
  }
846
832
  /**
847
833
  * Contact entity from CrmModule
@@ -12,8 +12,8 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_DELETED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_CREATED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_FILE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_FILE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_CREATED = exports.ROUTING_KEY_LINK_REFEREE_REFERRALS_DELETED = exports.ROUTING_KEY_LINK_REFEREE_REFERRALS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_CREATED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_CREATED = exports.ROUTING_KEY_CONTACT_DEFAULT_DELETED = exports.ROUTING_KEY_CONTACT_DEFAULT_UPDATED = exports.ROUTING_KEY_CONTACT_DEFAULT_CREATED = exports.ROUTING_KEY_CONTACT_DELETED = exports.ROUTING_KEY_CONTACT_UPDATED = exports.ROUTING_KEY_CONTACT_CREATED = exports.Contact = exports.ContactPropertyKeys = exports.ContactAppDevicePlatform = exports.ContactAppBiometricLoginStatus = exports.ContactAppPushNotificationStatus = exports.ContactWhitelistedTwilioQueue = exports.ContactHomeownerStatus = exports.ContactMedicallyDependant = exports.ContactAdditionalCareRequired = exports.ContactTelecareAlarm = exports.ContactAccountStatus = exports.ContactActivationSource = exports.ContactCurrentNetworkProvider = exports.ContactRole = exports.ContactPreviousProvider = exports.ContactPortalStatus = exports.ContactCurrentProvider = exports.ContactEntityTypes = void 0;
16
- exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_NPS_SURVEY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NPS_SURVEY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_AFFILIATE_CODES_DELETED = exports.ROUTING_KEY_LINK_CONTACT_AFFILIATE_CODES_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACCOUNT_CREDIT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACCOUNT_CREDIT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_REWARD_DELETED = exports.ROUTING_KEY_LINK_CONTACT_REWARD_CREATED = void 0;
15
+ exports.ROUTING_KEY_LINK_CONTACT_REWARD_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_DELETED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_CREATED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_FILE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_FILE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_CREATED = exports.ROUTING_KEY_LINK_REFEREE_REFERRALS_DELETED = exports.ROUTING_KEY_LINK_REFEREE_REFERRALS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_CREATED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_CREATED = exports.ROUTING_KEY_CONTACT_DEFAULT_DELETED = exports.ROUTING_KEY_CONTACT_DEFAULT_UPDATED = exports.ROUTING_KEY_CONTACT_DEFAULT_CREATED = exports.ROUTING_KEY_CONTACT_DELETED = exports.ROUTING_KEY_CONTACT_UPDATED = exports.ROUTING_KEY_CONTACT_CREATED = exports.Contact = exports.ContactPropertyKeys = exports.ContactAppBiometricLoginStatus = exports.ContactAppPushNotificationStatus = exports.ContactWhitelistedTwilioQueue = exports.ContactHomeownerStatus = exports.ContactMedicallyDependant = exports.ContactAdditionalCareRequired = exports.ContactTelecareAlarm = exports.ContactAccountStatus = exports.ContactActivationSource = exports.ContactCurrentNetworkProvider = exports.ContactRole = exports.ContactPreviousProvider = exports.ContactPortalStatus = exports.ContactCurrentProvider = exports.ContactEntityTypes = void 0;
16
+ exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_NPS_SURVEY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NPS_SURVEY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_AFFILIATE_CODES_DELETED = exports.ROUTING_KEY_LINK_CONTACT_AFFILIATE_CODES_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACCOUNT_CREDIT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACCOUNT_CREDIT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_REWARD_DELETED = void 0;
17
17
  const core_1 = require("@d19n/odin-types/dist/core");
18
18
  /**
19
19
  * Available types for Contact records
@@ -283,20 +283,6 @@ var ContactAppBiometricLoginStatus;
283
283
  ContactAppBiometricLoginStatus["DISABLED"] = "DISABLED";
284
284
  ContactAppBiometricLoginStatus["ENABLED"] = "ENABLED";
285
285
  })(ContactAppBiometricLoginStatus = exports.ContactAppBiometricLoginStatus || (exports.ContactAppBiometricLoginStatus = {}));
286
- /**
287
- * Valid values for Contact.AppDevicePlatform
288
- *
289
- * The platform of the phone the customer most recently used the app on. Empty until the app reports it (PORTAPP-3483).
290
- *
291
- * @remarks Available options:
292
- * - `ANDROID` - Android
293
- * - `IOS` - iOS
294
- */
295
- var ContactAppDevicePlatform;
296
- (function (ContactAppDevicePlatform) {
297
- ContactAppDevicePlatform["ANDROID"] = "ANDROID";
298
- ContactAppDevicePlatform["I_OS"] = "IOS";
299
- })(ContactAppDevicePlatform = exports.ContactAppDevicePlatform || (exports.ContactAppDevicePlatform = {}));
300
286
  /**
301
287
  * Property keys for Contact
302
288
  * Use these constants instead of string literals for type safety
@@ -423,8 +409,8 @@ var ContactPropertyKeys;
423
409
  ContactPropertyKeys["AppPushNotificationStatusDate"] = "AppPushNotificationStatusDate";
424
410
  /** When AppBiometricLoginStatus last changed (PORTAPP-3345). */
425
411
  ContactPropertyKeys["AppBiometricLoginStatusDate"] = "AppBiometricLoginStatusDate";
426
- /** The platform of the phone the customer most recently used the app on. Empty until the app reports it (PORTAPP-3483). */
427
- ContactPropertyKeys["AppDevicePlatform"] = "AppDevicePlatform";
412
+ /** Every platform the customer has used the app on. A platform is added when the app first reports it and is never removed. Empty until the app reports one (PORTAPP-3483). */
413
+ ContactPropertyKeys["AppDevicePlatforms"] = "AppDevicePlatforms";
428
414
  })(ContactPropertyKeys = exports.ContactPropertyKeys || (exports.ContactPropertyKeys = {}));
429
415
  /**
430
416
  * Contact entity from CrmModule
@@ -114,7 +114,9 @@ export declare enum NotePropertyKeys {
114
114
  /** The author of the note (Customer Service - Note) */
115
115
  Author = "Author",
116
116
  /** Data field for Note records. Used by Customer Service team. */
117
- Case = "Case"
117
+ Case = "Case",
118
+ /** True makes the desktop case conversation feed show only the first line of this note, with Show more to open it. Empty or false shows the whole note. Set by Edgar AI on the notes it writes. */
119
+ Collapsed = "Collapsed"
118
120
  }
119
121
  /**
120
122
  * Properties for Note records
@@ -171,6 +173,13 @@ export interface NoteProperties {
171
173
  * @type {LOOKUP}
172
174
  */
173
175
  Case: string;
176
+ /** True makes the desktop case conversation feed show only the first line of this note, with Show more to open it. Empty or false shows the whole note. Set by Edgar AI on the notes it writes.
177
+ *
178
+ * @type {BOOLEAN}
179
+ * @default
180
+ * @hidden This field is hidden in the UI
181
+ */
182
+ Collapsed: boolean;
174
183
  }
175
184
  /**
176
185
  * Note entity from SupportModule
@@ -46,6 +46,8 @@ var NotePropertyKeys;
46
46
  NotePropertyKeys["Author"] = "Author";
47
47
  /** Data field for Note records. Used by Customer Service team. */
48
48
  NotePropertyKeys["Case"] = "Case";
49
+ /** True makes the desktop case conversation feed show only the first line of this note, with Show more to open it. Empty or false shows the whole note. Set by Edgar AI on the notes it writes. */
50
+ NotePropertyKeys["Collapsed"] = "Collapsed";
49
51
  })(NotePropertyKeys = exports.NotePropertyKeys || (exports.NotePropertyKeys = {}));
50
52
  /**
51
53
  * Note entity from SupportModule
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.369",
3
+ "version": "2.0.370",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",