@schematichq/schematic-typescript-node 1.1.6 → 1.1.7

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 (152) hide show
  1. package/Client.js +1 -1
  2. package/api/resources/accesstokens/client/Client.js +1 -1
  3. package/api/resources/accounts/client/Client.js +14 -14
  4. package/api/resources/billing/client/Client.js +21 -18
  5. package/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +1 -0
  6. package/api/resources/billing/types/SearchBillingPricesParams.d.ts +1 -0
  7. package/api/resources/companies/client/Client.d.ts +2 -2
  8. package/api/resources/companies/client/Client.js +33 -33
  9. package/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +1 -1
  10. package/api/resources/companies/client/requests/LookupUserRequest.d.ts +1 -1
  11. package/api/resources/components/client/Client.js +7 -7
  12. package/api/resources/crm/client/Client.js +5 -5
  13. package/api/resources/entitlements/client/Client.d.ts +1 -1
  14. package/api/resources/entitlements/client/Client.js +20 -20
  15. package/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -1
  16. package/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +4 -2
  17. package/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +1 -1
  18. package/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -1
  19. package/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +2 -1
  20. package/api/resources/events/client/Client.js +7 -7
  21. package/api/resources/features/client/Client.js +19 -19
  22. package/api/resources/plangroups/client/Client.js +3 -3
  23. package/api/resources/plans/client/Client.js +10 -10
  24. package/api/resources/webhooks/client/Client.js +9 -9
  25. package/api/types/CheckFlagOutputWithFlagKey.d.ts +1 -0
  26. package/api/types/CheckFlagResponseData.d.ts +1 -0
  27. package/api/types/CompanyPlanDetailResponseData.d.ts +1 -0
  28. package/api/types/ComponentHydrateResponseData.d.ts +1 -0
  29. package/api/types/ComponentPreviewResponseData.d.ts +1 -0
  30. package/api/types/CreateEntitlementReqCommon.d.ts +2 -1
  31. package/api/types/FeatureCompanyResponseData.d.ts +2 -0
  32. package/api/types/FeatureCompanyUserResponseData.d.ts +2 -0
  33. package/api/types/FeatureUsageResponseData.d.ts +2 -0
  34. package/api/types/PlanEntitlementResponseData.d.ts +2 -1
  35. package/api/types/UpdateEntitlementReqCommon.d.ts +2 -1
  36. package/api/types/UsageBasedEntitlementResponseData.d.ts +14 -0
  37. package/api/types/UsageBasedEntitlementResponseData.js +5 -0
  38. package/api/types/index.d.ts +1 -0
  39. package/api/types/index.js +1 -0
  40. package/dist/Client.js +1 -1
  41. package/dist/api/resources/accesstokens/client/Client.js +1 -1
  42. package/dist/api/resources/accounts/client/Client.js +14 -14
  43. package/dist/api/resources/billing/client/Client.js +21 -18
  44. package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +1 -0
  45. package/dist/api/resources/billing/types/SearchBillingPricesParams.d.ts +1 -0
  46. package/dist/api/resources/companies/client/Client.d.ts +2 -2
  47. package/dist/api/resources/companies/client/Client.js +33 -33
  48. package/dist/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +1 -1
  49. package/dist/api/resources/companies/client/requests/LookupUserRequest.d.ts +1 -1
  50. package/dist/api/resources/components/client/Client.js +7 -7
  51. package/dist/api/resources/crm/client/Client.js +5 -5
  52. package/dist/api/resources/entitlements/client/Client.d.ts +1 -1
  53. package/dist/api/resources/entitlements/client/Client.js +20 -20
  54. package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -1
  55. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +4 -2
  56. package/dist/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +1 -1
  57. package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -1
  58. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +2 -1
  59. package/dist/api/resources/events/client/Client.js +7 -7
  60. package/dist/api/resources/features/client/Client.js +19 -19
  61. package/dist/api/resources/plangroups/client/Client.js +3 -3
  62. package/dist/api/resources/plans/client/Client.js +10 -10
  63. package/dist/api/resources/webhooks/client/Client.js +9 -9
  64. package/dist/api/types/CheckFlagOutputWithFlagKey.d.ts +1 -0
  65. package/dist/api/types/CheckFlagResponseData.d.ts +1 -0
  66. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +1 -0
  67. package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -0
  68. package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -0
  69. package/dist/api/types/CreateEntitlementReqCommon.d.ts +2 -1
  70. package/dist/api/types/FeatureCompanyResponseData.d.ts +2 -0
  71. package/dist/api/types/FeatureCompanyUserResponseData.d.ts +2 -0
  72. package/dist/api/types/FeatureUsageResponseData.d.ts +2 -0
  73. package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -1
  74. package/dist/api/types/UpdateEntitlementReqCommon.d.ts +2 -1
  75. package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +14 -0
  76. package/dist/api/types/UsageBasedEntitlementResponseData.js +5 -0
  77. package/dist/api/types/index.d.ts +1 -0
  78. package/dist/api/types/index.js +1 -0
  79. package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +1 -0
  80. package/dist/serialization/resources/billing/types/SearchBillingPricesParams.js +1 -0
  81. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -1
  82. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +2 -1
  83. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +4 -2
  84. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +4 -2
  85. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -1
  86. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +2 -1
  87. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +2 -1
  88. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +2 -1
  89. package/dist/serialization/types/CheckFlagOutputWithFlagKey.d.ts +1 -0
  90. package/dist/serialization/types/CheckFlagOutputWithFlagKey.js +1 -0
  91. package/dist/serialization/types/CheckFlagResponseData.d.ts +1 -0
  92. package/dist/serialization/types/CheckFlagResponseData.js +1 -0
  93. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +1 -0
  94. package/dist/serialization/types/CompanyPlanDetailResponseData.js +1 -0
  95. package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -0
  96. package/dist/serialization/types/ComponentHydrateResponseData.js +2 -0
  97. package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -0
  98. package/dist/serialization/types/ComponentPreviewResponseData.js +2 -0
  99. package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +2 -1
  100. package/dist/serialization/types/CreateEntitlementReqCommon.js +2 -1
  101. package/dist/serialization/types/FeatureCompanyResponseData.d.ts +1 -0
  102. package/dist/serialization/types/FeatureCompanyResponseData.js +1 -0
  103. package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +1 -0
  104. package/dist/serialization/types/FeatureCompanyUserResponseData.js +1 -0
  105. package/dist/serialization/types/FeatureUsageResponseData.d.ts +1 -0
  106. package/dist/serialization/types/FeatureUsageResponseData.js +1 -0
  107. package/dist/serialization/types/PlanEntitlementResponseData.d.ts +2 -1
  108. package/dist/serialization/types/PlanEntitlementResponseData.js +2 -1
  109. package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +2 -1
  110. package/dist/serialization/types/UpdateEntitlementReqCommon.js +2 -1
  111. package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +20 -0
  112. package/dist/serialization/types/UsageBasedEntitlementResponseData.js +41 -0
  113. package/dist/serialization/types/index.d.ts +1 -0
  114. package/dist/serialization/types/index.js +1 -0
  115. package/package.json +1 -1
  116. package/reference.md +3 -3
  117. package/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +1 -0
  118. package/serialization/resources/billing/types/SearchBillingPricesParams.js +1 -0
  119. package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -1
  120. package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +2 -1
  121. package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +4 -2
  122. package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +4 -2
  123. package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -1
  124. package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +2 -1
  125. package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +2 -1
  126. package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +2 -1
  127. package/serialization/types/CheckFlagOutputWithFlagKey.d.ts +1 -0
  128. package/serialization/types/CheckFlagOutputWithFlagKey.js +1 -0
  129. package/serialization/types/CheckFlagResponseData.d.ts +1 -0
  130. package/serialization/types/CheckFlagResponseData.js +1 -0
  131. package/serialization/types/CompanyPlanDetailResponseData.d.ts +1 -0
  132. package/serialization/types/CompanyPlanDetailResponseData.js +1 -0
  133. package/serialization/types/ComponentHydrateResponseData.d.ts +2 -0
  134. package/serialization/types/ComponentHydrateResponseData.js +2 -0
  135. package/serialization/types/ComponentPreviewResponseData.d.ts +2 -0
  136. package/serialization/types/ComponentPreviewResponseData.js +2 -0
  137. package/serialization/types/CreateEntitlementReqCommon.d.ts +2 -1
  138. package/serialization/types/CreateEntitlementReqCommon.js +2 -1
  139. package/serialization/types/FeatureCompanyResponseData.d.ts +1 -0
  140. package/serialization/types/FeatureCompanyResponseData.js +1 -0
  141. package/serialization/types/FeatureCompanyUserResponseData.d.ts +1 -0
  142. package/serialization/types/FeatureCompanyUserResponseData.js +1 -0
  143. package/serialization/types/FeatureUsageResponseData.d.ts +1 -0
  144. package/serialization/types/FeatureUsageResponseData.js +1 -0
  145. package/serialization/types/PlanEntitlementResponseData.d.ts +2 -1
  146. package/serialization/types/PlanEntitlementResponseData.js +2 -1
  147. package/serialization/types/UpdateEntitlementReqCommon.d.ts +2 -1
  148. package/serialization/types/UpdateEntitlementReqCommon.js +2 -1
  149. package/serialization/types/UsageBasedEntitlementResponseData.d.ts +20 -0
  150. package/serialization/types/UsageBasedEntitlementResponseData.js +41 -0
  151. package/serialization/types/index.d.ts +1 -0
  152. package/serialization/types/index.js +1 -0
@@ -95,7 +95,7 @@ class Companies {
95
95
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
96
96
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "companies"),
97
97
  method: "GET",
98
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
98
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
99
99
  contentType: "application/json",
100
100
  queryParameters: _queryParams,
101
101
  requestType: "json",
@@ -190,7 +190,7 @@ class Companies {
190
190
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
191
191
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "companies"),
192
192
  method: "POST",
193
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
193
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
194
194
  contentType: "application/json",
195
195
  requestType: "json",
196
196
  body: serializers.UpsertCompanyRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -281,7 +281,7 @@ class Companies {
281
281
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
282
282
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `companies/${encodeURIComponent(companyId)}`),
283
283
  method: "GET",
284
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
284
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
285
285
  contentType: "application/json",
286
286
  requestType: "json",
287
287
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -371,7 +371,7 @@ class Companies {
371
371
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
372
372
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `companies/${encodeURIComponent(companyId)}`),
373
373
  method: "DELETE",
374
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
374
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
375
375
  contentType: "application/json",
376
376
  requestType: "json",
377
377
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -489,7 +489,7 @@ class Companies {
489
489
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
490
490
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "companies/count"),
491
491
  method: "GET",
492
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
492
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
493
493
  contentType: "application/json",
494
494
  queryParameters: _queryParams,
495
495
  requestType: "json",
@@ -584,7 +584,7 @@ class Companies {
584
584
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
585
585
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "companies/create"),
586
586
  method: "POST",
587
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
587
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
588
588
  contentType: "application/json",
589
589
  requestType: "json",
590
590
  body: serializers.UpsertCompanyRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -679,7 +679,7 @@ class Companies {
679
679
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
680
680
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "companies/delete"),
681
681
  method: "POST",
682
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
682
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
683
683
  contentType: "application/json",
684
684
  requestType: "json",
685
685
  body: serializers.KeysRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -764,7 +764,7 @@ class Companies {
764
764
  * @example
765
765
  * await client.companies.lookupCompany({
766
766
  * keys: {
767
- * "string": {
767
+ * "keys": {
768
768
  * "key": "value"
769
769
  * }
770
770
  * }
@@ -779,7 +779,7 @@ class Companies {
779
779
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
780
780
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "companies/lookup"),
781
781
  method: "GET",
782
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
782
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
783
783
  contentType: "application/json",
784
784
  queryParameters: _queryParams,
785
785
  requestType: "json",
@@ -883,7 +883,7 @@ class Companies {
883
883
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
884
884
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "company-crm-deals"),
885
885
  method: "GET",
886
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
886
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
887
887
  contentType: "application/json",
888
888
  queryParameters: _queryParams,
889
889
  requestType: "json",
@@ -988,7 +988,7 @@ class Companies {
988
988
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
989
989
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "company-memberships"),
990
990
  method: "GET",
991
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
991
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
992
992
  contentType: "application/json",
993
993
  queryParameters: _queryParams,
994
994
  requestType: "json",
@@ -1082,7 +1082,7 @@ class Companies {
1082
1082
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1083
1083
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "company-memberships"),
1084
1084
  method: "POST",
1085
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1085
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1086
1086
  contentType: "application/json",
1087
1087
  requestType: "json",
1088
1088
  body: serializers.GetOrCreateCompanyMembershipRequestBody.jsonOrThrow(request, {
@@ -1175,7 +1175,7 @@ class Companies {
1175
1175
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1176
1176
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `company-memberships/${encodeURIComponent(companyMembershipId)}`),
1177
1177
  method: "DELETE",
1178
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1178
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1179
1179
  contentType: "application/json",
1180
1180
  requestType: "json",
1181
1181
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1284,7 +1284,7 @@ class Companies {
1284
1284
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1285
1285
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "company-subscriptions"),
1286
1286
  method: "GET",
1287
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1287
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1288
1288
  contentType: "application/json",
1289
1289
  queryParameters: _queryParams,
1290
1290
  requestType: "json",
@@ -1380,7 +1380,7 @@ class Companies {
1380
1380
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1381
1381
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "company-traits"),
1382
1382
  method: "POST",
1383
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1383
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1384
1384
  contentType: "application/json",
1385
1385
  requestType: "json",
1386
1386
  body: serializers.UpsertTraitRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1493,7 +1493,7 @@ class Companies {
1493
1493
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1494
1494
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "entity-key-definitions"),
1495
1495
  method: "GET",
1496
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1496
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1497
1497
  contentType: "application/json",
1498
1498
  queryParameters: _queryParams,
1499
1499
  requestType: "json",
@@ -1606,7 +1606,7 @@ class Companies {
1606
1606
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1607
1607
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "entity-key-definitions/count"),
1608
1608
  method: "GET",
1609
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1609
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1610
1610
  contentType: "application/json",
1611
1611
  queryParameters: _queryParams,
1612
1612
  requestType: "json",
@@ -1722,7 +1722,7 @@ class Companies {
1722
1722
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1723
1723
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "entity-trait-definitions"),
1724
1724
  method: "GET",
1725
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1725
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1726
1726
  contentType: "application/json",
1727
1727
  queryParameters: _queryParams,
1728
1728
  requestType: "json",
@@ -1817,7 +1817,7 @@ class Companies {
1817
1817
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1818
1818
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "entity-trait-definitions"),
1819
1819
  method: "POST",
1820
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1820
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1821
1821
  contentType: "application/json",
1822
1822
  requestType: "json",
1823
1823
  body: serializers.CreateEntityTraitDefinitionRequestBody.jsonOrThrow(request, {
@@ -1910,7 +1910,7 @@ class Companies {
1910
1910
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1911
1911
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `entity-trait-definitions/${encodeURIComponent(entityTraitDefinitionId)}`),
1912
1912
  method: "GET",
1913
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1913
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1914
1914
  contentType: "application/json",
1915
1915
  requestType: "json",
1916
1916
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2004,7 +2004,7 @@ class Companies {
2004
2004
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2005
2005
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `entity-trait-definitions/${encodeURIComponent(entityTraitDefinitionId)}`),
2006
2006
  method: "PUT",
2007
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2007
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2008
2008
  contentType: "application/json",
2009
2009
  requestType: "json",
2010
2010
  body: serializers.UpdateEntityTraitDefinitionRequestBody.jsonOrThrow(request, {
@@ -2130,7 +2130,7 @@ class Companies {
2130
2130
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2131
2131
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "entity-trait-definitions/count"),
2132
2132
  method: "GET",
2133
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2133
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2134
2134
  contentType: "application/json",
2135
2135
  queryParameters: _queryParams,
2136
2136
  requestType: "json",
@@ -2235,7 +2235,7 @@ class Companies {
2235
2235
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2236
2236
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "entity-trait-values"),
2237
2237
  method: "GET",
2238
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2238
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2239
2239
  contentType: "application/json",
2240
2240
  queryParameters: _queryParams,
2241
2241
  requestType: "json",
@@ -2331,7 +2331,7 @@ class Companies {
2331
2331
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2332
2332
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "user-traits"),
2333
2333
  method: "POST",
2334
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2334
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2335
2335
  contentType: "application/json",
2336
2336
  requestType: "json",
2337
2337
  body: serializers.UpsertTraitRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -2447,7 +2447,7 @@ class Companies {
2447
2447
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2448
2448
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "users"),
2449
2449
  method: "GET",
2450
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2450
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2451
2451
  contentType: "application/json",
2452
2452
  queryParameters: _queryParams,
2453
2453
  requestType: "json",
@@ -2545,7 +2545,7 @@ class Companies {
2545
2545
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2546
2546
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "users"),
2547
2547
  method: "POST",
2548
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2548
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2549
2549
  contentType: "application/json",
2550
2550
  requestType: "json",
2551
2551
  body: serializers.UpsertUserRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -2636,7 +2636,7 @@ class Companies {
2636
2636
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2637
2637
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `users/${encodeURIComponent(userId)}`),
2638
2638
  method: "GET",
2639
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2639
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2640
2640
  contentType: "application/json",
2641
2641
  requestType: "json",
2642
2642
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2726,7 +2726,7 @@ class Companies {
2726
2726
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2727
2727
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `users/${encodeURIComponent(userId)}`),
2728
2728
  method: "DELETE",
2729
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2729
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2730
2730
  contentType: "application/json",
2731
2731
  requestType: "json",
2732
2732
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2841,7 +2841,7 @@ class Companies {
2841
2841
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2842
2842
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "users/count"),
2843
2843
  method: "GET",
2844
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2844
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2845
2845
  contentType: "application/json",
2846
2846
  queryParameters: _queryParams,
2847
2847
  requestType: "json",
@@ -2939,7 +2939,7 @@ class Companies {
2939
2939
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
2940
2940
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "users/create"),
2941
2941
  method: "POST",
2942
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2942
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2943
2943
  contentType: "application/json",
2944
2944
  requestType: "json",
2945
2945
  body: serializers.UpsertUserRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -3034,7 +3034,7 @@ class Companies {
3034
3034
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
3035
3035
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "users/delete"),
3036
3036
  method: "POST",
3037
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3037
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3038
3038
  contentType: "application/json",
3039
3039
  requestType: "json",
3040
3040
  body: serializers.KeysRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -3119,7 +3119,7 @@ class Companies {
3119
3119
  * @example
3120
3120
  * await client.companies.lookupUser({
3121
3121
  * keys: {
3122
- * "string": {
3122
+ * "keys": {
3123
3123
  * "key": "value"
3124
3124
  * }
3125
3125
  * }
@@ -3134,7 +3134,7 @@ class Companies {
3134
3134
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
3135
3135
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "users/lookup"),
3136
3136
  method: "GET",
3137
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3137
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3138
3138
  contentType: "application/json",
3139
3139
  queryParameters: _queryParams,
3140
3140
  requestType: "json",
@@ -5,7 +5,7 @@
5
5
  * @example
6
6
  * {
7
7
  * keys: {
8
- * "string": {
8
+ * "keys": {
9
9
  * "key": "value"
10
10
  * }
11
11
  * }
@@ -5,7 +5,7 @@
5
5
  * @example
6
6
  * {
7
7
  * keys: {
8
- * "string": {
8
+ * "keys": {
9
9
  * "key": "value"
10
10
  * }
11
11
  * }
@@ -78,7 +78,7 @@ class Components {
78
78
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
79
79
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "components"),
80
80
  method: "GET",
81
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
82
  contentType: "application/json",
83
83
  queryParameters: _queryParams,
84
84
  requestType: "json",
@@ -172,7 +172,7 @@ class Components {
172
172
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
173
173
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "components"),
174
174
  method: "POST",
175
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
175
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
176
176
  contentType: "application/json",
177
177
  requestType: "json",
178
178
  body: serializers.CreateComponentRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -263,7 +263,7 @@ class Components {
263
263
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
264
264
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `components/${encodeURIComponent(componentId)}`),
265
265
  method: "GET",
266
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
266
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
267
267
  contentType: "application/json",
268
268
  requestType: "json",
269
269
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -355,7 +355,7 @@ class Components {
355
355
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
356
356
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `components/${encodeURIComponent(componentId)}`),
357
357
  method: "PUT",
358
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
358
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
359
359
  contentType: "application/json",
360
360
  requestType: "json",
361
361
  body: serializers.UpdateComponentRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -454,7 +454,7 @@ class Components {
454
454
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
455
455
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `components/${encodeURIComponent(componentId)}`),
456
456
  method: "DELETE",
457
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
457
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
458
458
  contentType: "application/json",
459
459
  requestType: "json",
460
460
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -555,7 +555,7 @@ class Components {
555
555
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
556
556
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "components/count"),
557
557
  method: "GET",
558
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
558
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
559
559
  contentType: "application/json",
560
560
  queryParameters: _queryParams,
561
561
  requestType: "json",
@@ -654,7 +654,7 @@ class Components {
654
654
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
655
655
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "components/preview-data"),
656
656
  method: "GET",
657
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
657
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
658
658
  contentType: "application/json",
659
659
  queryParameters: _queryParams,
660
660
  requestType: "json",
@@ -70,7 +70,7 @@ class Crm {
70
70
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
71
71
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "crm/associations/deal-line-item"),
72
72
  method: "POST",
73
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
73
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
74
74
  contentType: "application/json",
75
75
  requestType: "json",
76
76
  body: serializers.CreateCrmDealLineItemAssociationRequestBody.jsonOrThrow(request, {
@@ -169,7 +169,7 @@ class Crm {
169
169
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
170
170
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "crm/deal-line-item/upsert"),
171
171
  method: "POST",
172
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
172
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
173
173
  contentType: "application/json",
174
174
  requestType: "json",
175
175
  body: serializers.CreateCrmLineItemRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -264,7 +264,7 @@ class Crm {
264
264
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
265
265
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "crm/deals/upsert"),
266
266
  method: "POST",
267
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
267
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
268
268
  contentType: "application/json",
269
269
  requestType: "json",
270
270
  body: serializers.CreateCrmDealRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -374,7 +374,7 @@ class Crm {
374
374
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
375
375
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "crm/products"),
376
376
  method: "GET",
377
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
377
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
378
378
  contentType: "application/json",
379
379
  queryParameters: _queryParams,
380
380
  requestType: "json",
@@ -474,7 +474,7 @@ class Crm {
474
474
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
475
475
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "crm/products/upsert"),
476
476
  method: "POST",
477
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@schematichq/schematic-typescript-node/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
477
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.7", "User-Agent": "@schematichq/schematic-typescript-node/1.1.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
478
478
  contentType: "application/json",
479
479
  requestType: "json",
480
480
  body: serializers.CreateCrmProductRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -292,7 +292,7 @@ export declare class Entitlements {
292
292
  * @example
293
293
  * await client.entitlements.getFeatureUsageByCompany({
294
294
  * keys: {
295
- * "string": {
295
+ * "keys": {
296
296
  * "key": "value"
297
297
  * }
298
298
  * }