@opendoor/partner-sdk-server-js-core 1.1.6-beta.97.1 → 1.2.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Maps dot-notation answer keys (from QualificationQuestions component)
2
+ * Maps dot-notation answer keys (from the SDK questionnaire flows, e.g. DtcOnboardingFlow)
3
3
  * to the GraphQL OfferInput camelCase field names.
4
4
  *
5
5
  * Keys not in this map are treated as experimental question data
@@ -12,7 +12,7 @@
12
12
  */
13
13
  export declare const POOL_TYPE_NORMALIZE: Record<string, string>;
14
14
  /**
15
- * Transform dot-notation answers from QualificationQuestions into
15
+ * Transform dot-notation answers from the SDK questionnaire flows into
16
16
  * the GraphQL OfferInput shape: camelCase fields + experimental array.
17
17
  *
18
18
  * - Mapped keys become camelCase OfferInput fields (e.g. home.bedrooms → homeBedrooms)
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Maps dot-notation answer keys (from QualificationQuestions component)
2
+ * Maps dot-notation answer keys (from the SDK questionnaire flows, e.g. DtcOnboardingFlow)
3
3
  * to the GraphQL OfferInput camelCase field names.
4
4
  *
5
5
  * Keys not in this map are treated as experimental question data
@@ -94,7 +94,7 @@ export const POOL_TYPE_NORMALIZE = {
94
94
  community: 'community_pool',
95
95
  };
96
96
  /**
97
- * Transform dot-notation answers from QualificationQuestions into
97
+ * Transform dot-notation answers from the SDK questionnaire flows into
98
98
  * the GraphQL OfferInput shape: camelCase fields + experimental array.
99
99
  *
100
100
  * - Mapped keys become camelCase OfferInput fields (e.g. home.bedrooms → homeBedrooms)
package/dist/client.js CHANGED
@@ -244,7 +244,7 @@ export class OpendoorClient {
244
244
  */
245
245
  async updateOffer(offerId, data) {
246
246
  validateUpdateOfferRequest(offerId, data);
247
- // Transform dot-notation keys (from QualificationQuestions) to
247
+ // Transform dot-notation keys (from the SDK questionnaire flows) to
248
248
  // camelCase OfferInput fields + experimental array, then filter
249
249
  // to valid GraphQL fields and coerce enum values.
250
250
  const transformed = transformAnswersToOfferInput(data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendoor/partner-sdk-server-js-core",
3
- "version": "1.1.6-beta.97.1",
3
+ "version": "1.2.0",
4
4
  "description": "Server-side SDK for Opendoor partner integrations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",