Skip to main content

sdk-types-changelog

-e --- id: sdk-types-changelog title: sdk-types

Change Log

11.0.0

Major Changes

@boldpenguin/sdk-types

  • Add IQuestionIndex type
  • Add IAnswerIndex type
  • Add IApplicationFormQuickView type
  • Add missing fields to IApplicationFormIndex type

@boldpenguin/sdk-types

  • Remove ISocketData type, use TWebsocketEvent type instead

@boldpenguin/sdk-web-components, @boldpenguin/sdk-types

  • Remove isRefilteringEnabled property from bp-sdk-business-classification-selector component and associated types + components.
  • Remove bp-sdk-business-classification-selector-nudge-container component

@boldpenguin/sdk-types

  • Remove COVERAGE_TYPES export. Use import { COVERAGE_REFERENCES } from '@boldpenguin/sdk'; instead

@boldpenguin/sdk-web-components, @boldpenguin/sdk-types

  • Add support for new question field_type: 'month_year'

@boldpenguin/sdk-web-components, @boldpenguin/sdk-websockets, @boldpenguin/sdk-polyfill, @boldpenguin/sdk-requests, @boldpenguin/sdk-utility, @boldpenguin/sdk-icons, @boldpenguin/sdk-redux, @boldpenguin/sdk-types, @boldpenguin/sdk-auth, @boldpenguin/sdk-core, @boldpenguin/sdk-demo

  • Add off-platform carrier portal url endpoint

    • Adds endpoint which returns carrier portal url (ApplicationForm.getCarrierPortalUrl())
    • Endpoint returns new type ICarrierPortalUrlResponse
    • Remove references to carrier_bind_url property on IQuoteRequest type

@boldpenguin/sdk-web-components, @boldpenguin/sdk-types

  • Remove is_readonly on IQuestion, code should reference is_readonly on parent IAnswer instead

@boldpenguin/sdk-web-components, @boldpenguin/sdk-redux, @boldpenguin/sdk-types

  • Update IQuoteRequestQuote products type to new type IProductDetail

Minor Changes

@boldpenguin/sdk-utility, @boldpenguin/sdk-types

  • Add compliance_status property to the IRawUserInfo interface

@boldpenguin/sdk-redux, @boldpenguin/sdk-types

  • Add copy attribute to application IApplicationForm and IFormState

@boldpenguin/sdk-types

  • Correct types coming from API on quotes objects to be string instead of Date

@boldpenguin/sdk-utility, @boldpenguin/sdk-types

  • Add tenant_state property to IRawUserInfo
  • Add tenantState property to IAuthState

@boldpenguin/sdk-web-components, @boldpenguin/sdk-redux, @boldpenguin/sdk-types

  • Add enrollments to application form

@boldpenguin/sdk-utility, @boldpenguin/sdk-redux, @boldpenguin/sdk-types, @boldpenguin/sdk-auth

  • Sort messages based on priority

    • Add priority property to IMessage type
    • Sort messages based on priority when the message state changes
      • Priority messages will display before other messages

@boldpenguin/sdk-redux, @boldpenguin/sdk-types

  • Quotes slice will now process new nested quotes being sent from backend. This change should be transparent to consuming applications.
  • IQuotesState type has been updated, it no longer just extends IQuoteRequest to accomodate the multiple quotes change.
  • Add IQuoteRequestQuote type
  • Add quotes: IQuoteRequestQuote[] property to IQuoteRequest type

@boldpenguin/sdk-types

  • Add logo_img_url_full property to ITerminalTheme type

@boldpenguin/sdk-web-components, @boldpenguin/sdk-redux, @boldpenguin/sdk-types

  • Add support for inlining messages into other parts of the application form
    • Add location and level properties to IMessage type
    • Add bp-sdk-message-outlet component

@boldpenguin/sdk-types

  • Remove name property from ICarrierProductBucket type

@boldpenguin/sdk-types

  • Add answer_pools property to ICreateApplicationFormParams.
  • Add answered_by_type and answered_by_source properties to ICreateApplicationFormAnswerValue.

@boldpenguin/sdk-redux, @boldpenguin/sdk-types

  • Add referred_by property to IApplicationForm and IApplicationFormIndex types

@boldpenguin/sdk-web-components, @boldpenguin/sdk-redux, @boldpenguin/sdk-types

  • Add viewState.quotes.filteredOnlineQuotes and viewState.quotes.filteredOfflineQuotes to Redux store
  • Add satisfies_application_form_product_request property to IQuoteRequest type
  • Pass satisfiesApplicationFormProductRequest property to bp-sdk-quote-request component
  • Add new Redux selectors
    • selectFilteredOfflineQuotes
    • selectFilteredOnlineQuotes
    • selectViewState
    • selectViewStateQuotes

@boldpenguin/sdk-types

  • Add question_codes property to ITranslatedMessage type

@boldpenguin/sdk-web-components, @boldpenguin/sdk-redux, @boldpenguin/sdk-types

  • Handle document upload in vehicle panel state for Commercial Auto quotes
    • Add getVehicleSelection selector
    • Add lazyLoadVehicleOptions thunk

@boldpenguin/sdk-redux, @boldpenguin/sdk-types

  • Add getStorefrontActiveEnrolledProductsCodes Redux selector
  • Add storefront_active_enrolled_product_codes property to IApplicationForm and IFormState types

Patch Changes

@boldpenguin/sdk-redux, @boldpenguin/sdk-types

  • Add status property to IFeatureState

@boldpenguin/sdk-types

  • Add template_subdomain property to IUser type

@boldpenguin/sdk-types

  • Add received_by_wholesaler_at property to IApplicationForm type

@boldpenguin/sdk-redux, @boldpenguin/sdk-types

  • Add effective_date property to IQuoteRequest type

@boldpenguin/sdk-web-components, @boldpenguin/sdk-websockets, @boldpenguin/sdk-polyfill, @boldpenguin/sdk-requests, @boldpenguin/sdk-utility, @boldpenguin/sdk-icons, @boldpenguin/sdk-redux, @boldpenguin/sdk-types, @boldpenguin/sdk-auth, @boldpenguin/sdk-core, @boldpenguin/sdk-demo

  • Add tenant property to IApplicationForm and IApplicationFormIndex types

@boldpenguin/sdk-redux, @boldpenguin/sdk-types

  • Add logo_url_small property to ICarrier type and associated Redux store

@boldpenguin/sdk-web-components, @boldpenguin/sdk-websockets, @boldpenguin/sdk-polyfill, @boldpenguin/sdk-requests, @boldpenguin/sdk-utility, @boldpenguin/sdk-icons, @boldpenguin/sdk-redux, @boldpenguin/sdk-types, @boldpenguin/sdk-auth, @boldpenguin/sdk-core, @boldpenguin/sdk-demo

  • Some users will have access to select functionality on certain tenants. This list of "tenants" is exposed in the user data and has properties explaining which functionality on that tenant the user may access.
    • Add tenants to IRawUserInfo type

@boldpenguin/sdk-types

  • Add labels property to IQuoteRequest type