@opendoor/partner-sdk-server-js-core 1.3.7-beta.130.1 → 1.3.8-beta.135.1
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.
- package/dist/client.d.ts +2 -2
- package/dist/client.js +3 -3
- package/dist/graphql/queries.d.ts +1 -1
- package/dist/graphql/queries.js +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -157,8 +157,8 @@ export declare class OpendoorClient {
|
|
|
157
157
|
* Pairs with `getAssessmentSlots({ calendarType: 'ASSESSMENT_VISIT' })` — the customer
|
|
158
158
|
* picks a slot from that response and the SDK calls this method to commit it.
|
|
159
159
|
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
160
|
+
* The customer schedules a pre-UW assessment in the partner trade-in flow
|
|
161
|
+
* after seeing a preliminary offer; the assessment artifacts then
|
|
162
162
|
* feed underwriting. Distinct from the post-contract diligence visit, which
|
|
163
163
|
* runs through Inspectify on a different endpoint.
|
|
164
164
|
*
|
package/dist/client.js
CHANGED
|
@@ -447,7 +447,7 @@ export class OpendoorClient {
|
|
|
447
447
|
}
|
|
448
448
|
const result = await this.graphql(EXTERIOR_ASSESSMENT_SLOTS_QUERY, {
|
|
449
449
|
sellerInputUuid: params.offerId,
|
|
450
|
-
// Default: pre-UW assessment
|
|
450
|
+
// Default: pre-UW assessment scheduled in the partner trade-in flow.
|
|
451
451
|
// 'DILIGENCE_VISIT' is the post-contract Inspectify visit.
|
|
452
452
|
calendarType: params.calendarType ?? 'ASSESSMENT_VISIT',
|
|
453
453
|
});
|
|
@@ -466,8 +466,8 @@ export class OpendoorClient {
|
|
|
466
466
|
* Pairs with `getAssessmentSlots({ calendarType: 'ASSESSMENT_VISIT' })` — the customer
|
|
467
467
|
* picks a slot from that response and the SDK calls this method to commit it.
|
|
468
468
|
*
|
|
469
|
-
*
|
|
470
|
-
*
|
|
469
|
+
* The customer schedules a pre-UW assessment in the partner trade-in flow
|
|
470
|
+
* after seeing a preliminary offer; the assessment artifacts then
|
|
471
471
|
* feed underwriting. Distinct from the post-contract diligence visit, which
|
|
472
472
|
* runs through Inspectify on a different endpoint.
|
|
473
473
|
*
|
|
@@ -20,7 +20,7 @@ export declare const OFFER_REQUEST_WITH_PRODUCTS_PRICING = "\n query OfferReque
|
|
|
20
20
|
* Available assessment / inspection slots for an offer.
|
|
21
21
|
*
|
|
22
22
|
* `calendarType` is `'ASSESSMENT_VISIT'` for the pre-underwriting home
|
|
23
|
-
* assessment
|
|
23
|
+
* assessment scheduled in the partner trade-in flow or `'DILIGENCE_VISIT'` for
|
|
24
24
|
* the post-contract Inspectify visit.
|
|
25
25
|
*/
|
|
26
26
|
export declare const EXTERIOR_ASSESSMENT_SLOTS_QUERY = "\n query ExteriorAssessmentSlots($sellerInputUuid: String!, $calendarType: CalendarType!) {\n exteriorAssessmentSlots(sellerInputUuid: $sellerInputUuid, calendarType: $calendarType) {\n timezone\n availableSlots\n currentInspectionTime\n isSlotBased\n visitId\n }\n }\n";
|
package/dist/graphql/queries.js
CHANGED
|
@@ -133,7 +133,7 @@ export const OFFER_REQUEST_WITH_PRODUCTS_PRICING = `
|
|
|
133
133
|
* Available assessment / inspection slots for an offer.
|
|
134
134
|
*
|
|
135
135
|
* `calendarType` is `'ASSESSMENT_VISIT'` for the pre-underwriting home
|
|
136
|
-
* assessment
|
|
136
|
+
* assessment scheduled in the partner trade-in flow or `'DILIGENCE_VISIT'` for
|
|
137
137
|
* the post-contract Inspectify visit.
|
|
138
138
|
*/
|
|
139
139
|
export const EXTERIOR_ASSESSMENT_SLOTS_QUERY = `
|
package/dist/types.d.ts
CHANGED
|
@@ -294,7 +294,7 @@ export interface GetAddressDetailsResponse {
|
|
|
294
294
|
*
|
|
295
295
|
* - `'ASSESSMENT_VISIT'` — pre-underwriting home assessment scheduled by the
|
|
296
296
|
* customer before contract signing. Used by the Lennar Trade-In and other
|
|
297
|
-
* partner trade-in
|
|
297
|
+
* partner trade-in flow.
|
|
298
298
|
* - `'DILIGENCE_VISIT'` — post-contract diligence visit run via Inspectify.
|
|
299
299
|
*/
|
|
300
300
|
export type AssessmentCalendarType = 'ASSESSMENT_VISIT' | 'DILIGENCE_VISIT';
|