rcs-js 1.0.6 → 1.0.8

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 (232) hide show
  1. package/Client.d.ts +73 -3
  2. package/Client.js +253 -70
  3. package/api/client/requests/GetCompanyRequest.d.ts +17 -0
  4. package/api/client/requests/RegisterCompanyRequest.d.ts +39 -0
  5. package/api/client/requests/UpdateCompanyRequest.d.ts +17 -0
  6. package/api/client/requests/index.d.ts +3 -0
  7. package/api/errors/BadRequestError.d.ts +1 -2
  8. package/api/errors/InternalServerError.d.ts +1 -2
  9. package/api/errors/NotFoundError.d.ts +8 -0
  10. package/api/errors/NotFoundError.js +41 -0
  11. package/api/errors/UnauthorizedError.d.ts +1 -2
  12. package/api/errors/index.d.ts +1 -0
  13. package/api/errors/index.js +1 -0
  14. package/api/types/AdditionalEmail.d.ts +9 -0
  15. package/api/types/AdditionalPhoneNumber.d.ts +9 -0
  16. package/api/types/AdditionalPhoneNumber.js +5 -0
  17. package/api/types/AdditionalWebsite.d.ts +9 -0
  18. package/api/types/AdditionalWebsite.js +5 -0
  19. package/api/types/BadRequestErrorBody.d.ts +3 -1
  20. package/api/types/BadRequestErrorBodyError.d.ts +10 -0
  21. package/api/types/BadRequestErrorBodyError.js +5 -0
  22. package/api/types/Company.d.ts +56 -0
  23. package/api/types/Company.js +5 -0
  24. package/api/types/CompanyAdditionalEmailsItem.d.ts +9 -0
  25. package/api/types/CompanyAdditionalEmailsItem.js +5 -0
  26. package/api/types/CompanyAdditionalPhoneNumbersItem.d.ts +9 -0
  27. package/api/types/CompanyAdditionalPhoneNumbersItem.js +5 -0
  28. package/api/types/CompanyAdditionalWebsitesItem.d.ts +9 -0
  29. package/api/types/CompanyAdditionalWebsitesItem.js +5 -0
  30. package/api/types/CompanyContact.d.ts +21 -0
  31. package/api/types/CompanyContact.js +5 -0
  32. package/api/types/CompanyDetails.d.ts +19 -0
  33. package/api/types/CompanyDetails.js +5 -0
  34. package/api/types/InternalServerErrorBody.d.ts +1 -0
  35. package/api/types/NotFoundErrorBody.d.ts +6 -0
  36. package/api/types/NotFoundErrorBody.js +5 -0
  37. package/api/types/Optionals.d.ts +13 -0
  38. package/api/types/Optionals.js +5 -0
  39. package/api/types/PointOfContact.d.ts +11 -0
  40. package/api/types/PointOfContact.js +5 -0
  41. package/api/types/RegisterCompanyResponse.d.ts +8 -0
  42. package/api/types/RegisterCompanyResponse.js +5 -0
  43. package/api/types/RegisterCompanyResponseBrand.d.ts +7 -0
  44. package/api/types/RegisterCompanyResponseBrand.js +5 -0
  45. package/api/types/SendMessageRequest.d.ts +5 -0
  46. package/api/types/SendMessageRequest.js +5 -0
  47. package/{dist/api/types/SendResponse.d.ts → api/types/SendMessageResponse.d.ts} +1 -1
  48. package/api/types/SendMessageResponse.js +5 -0
  49. package/api/types/UpdateCompanyResponse.d.ts +8 -0
  50. package/api/types/UpdateCompanyResponse.js +5 -0
  51. package/api/types/UpdateCompanyResponseBrand.d.ts +7 -0
  52. package/api/types/UpdateCompanyResponseBrand.js +5 -0
  53. package/api/types/index.d.ts +19 -2
  54. package/api/types/index.js +19 -2
  55. package/dist/Client.d.ts +73 -3
  56. package/dist/Client.js +253 -70
  57. package/dist/api/client/requests/GetCompanyRequest.d.ts +17 -0
  58. package/dist/api/client/requests/GetCompanyRequest.js +5 -0
  59. package/dist/api/client/requests/RegisterCompanyRequest.d.ts +39 -0
  60. package/dist/api/client/requests/RegisterCompanyRequest.js +5 -0
  61. package/dist/api/client/requests/UpdateCompanyRequest.d.ts +17 -0
  62. package/dist/api/client/requests/UpdateCompanyRequest.js +5 -0
  63. package/dist/api/client/requests/index.d.ts +3 -0
  64. package/dist/api/errors/BadRequestError.d.ts +1 -2
  65. package/dist/api/errors/InternalServerError.d.ts +1 -2
  66. package/dist/api/errors/NotFoundError.d.ts +8 -0
  67. package/dist/api/errors/NotFoundError.js +41 -0
  68. package/dist/api/errors/UnauthorizedError.d.ts +1 -2
  69. package/dist/api/errors/index.d.ts +1 -0
  70. package/dist/api/errors/index.js +1 -0
  71. package/dist/api/types/AdditionalEmail.d.ts +9 -0
  72. package/dist/api/types/AdditionalEmail.js +5 -0
  73. package/dist/api/types/AdditionalPhoneNumber.d.ts +9 -0
  74. package/dist/api/types/AdditionalPhoneNumber.js +5 -0
  75. package/dist/api/types/AdditionalWebsite.d.ts +9 -0
  76. package/dist/api/types/AdditionalWebsite.js +5 -0
  77. package/dist/api/types/BadRequestErrorBody.d.ts +3 -1
  78. package/dist/api/types/BadRequestErrorBodyError.d.ts +10 -0
  79. package/dist/api/types/BadRequestErrorBodyError.js +5 -0
  80. package/dist/api/types/Company.d.ts +56 -0
  81. package/dist/api/types/Company.js +5 -0
  82. package/dist/api/types/CompanyAdditionalEmailsItem.d.ts +9 -0
  83. package/dist/api/types/CompanyAdditionalEmailsItem.js +5 -0
  84. package/dist/api/types/CompanyAdditionalPhoneNumbersItem.d.ts +9 -0
  85. package/dist/api/types/CompanyAdditionalPhoneNumbersItem.js +5 -0
  86. package/dist/api/types/CompanyAdditionalWebsitesItem.d.ts +9 -0
  87. package/dist/api/types/CompanyAdditionalWebsitesItem.js +5 -0
  88. package/dist/api/types/CompanyContact.d.ts +21 -0
  89. package/dist/api/types/CompanyContact.js +5 -0
  90. package/dist/api/types/CompanyDetails.d.ts +19 -0
  91. package/dist/api/types/CompanyDetails.js +5 -0
  92. package/dist/api/types/InternalServerErrorBody.d.ts +1 -0
  93. package/dist/api/types/NotFoundErrorBody.d.ts +6 -0
  94. package/dist/api/types/NotFoundErrorBody.js +5 -0
  95. package/dist/api/types/Optionals.d.ts +13 -0
  96. package/dist/api/types/Optionals.js +5 -0
  97. package/dist/api/types/PointOfContact.d.ts +11 -0
  98. package/dist/api/types/PointOfContact.js +5 -0
  99. package/dist/api/types/RegisterCompanyResponse.d.ts +8 -0
  100. package/dist/api/types/RegisterCompanyResponse.js +5 -0
  101. package/dist/api/types/RegisterCompanyResponseBrand.d.ts +7 -0
  102. package/dist/api/types/RegisterCompanyResponseBrand.js +5 -0
  103. package/dist/api/types/SendMessageRequest.d.ts +5 -0
  104. package/dist/api/types/SendMessageRequest.js +5 -0
  105. package/{api/types/SendResponse.d.ts → dist/api/types/SendMessageResponse.d.ts} +1 -1
  106. package/dist/api/types/SendMessageResponse.js +5 -0
  107. package/dist/api/types/UpdateCompanyResponse.d.ts +8 -0
  108. package/dist/api/types/UpdateCompanyResponse.js +5 -0
  109. package/dist/api/types/UpdateCompanyResponseBrand.d.ts +7 -0
  110. package/dist/api/types/UpdateCompanyResponseBrand.js +5 -0
  111. package/dist/api/types/index.d.ts +19 -2
  112. package/dist/api/types/index.js +19 -2
  113. package/dist/serialization/client/getCompany.d.ts +11 -0
  114. package/dist/serialization/client/getCompany.js +32 -0
  115. package/dist/serialization/client/index.d.ts +1 -0
  116. package/dist/serialization/client/index.js +14 -0
  117. package/dist/serialization/client/requests/RegisterCompanyRequest.d.ts +19 -0
  118. package/dist/serialization/client/requests/RegisterCompanyRequest.js +40 -0
  119. package/dist/serialization/client/requests/UpdateCompanyRequest.d.ts +20 -0
  120. package/dist/serialization/client/requests/UpdateCompanyRequest.js +41 -0
  121. package/dist/serialization/client/requests/index.d.ts +2 -0
  122. package/dist/serialization/client/requests/index.js +5 -1
  123. package/dist/serialization/types/AdditionalEmail.d.ts +13 -0
  124. package/dist/serialization/types/AdditionalEmail.js +34 -0
  125. package/dist/serialization/types/AdditionalPhoneNumber.d.ts +13 -0
  126. package/dist/serialization/types/AdditionalPhoneNumber.js +34 -0
  127. package/dist/serialization/types/AdditionalWebsite.d.ts +13 -0
  128. package/dist/serialization/types/AdditionalWebsite.js +34 -0
  129. package/dist/serialization/types/BadRequestErrorBody.d.ts +3 -1
  130. package/dist/serialization/types/BadRequestErrorBody.js +3 -1
  131. package/dist/serialization/types/BadRequestErrorBodyError.d.ts +16 -0
  132. package/dist/serialization/types/BadRequestErrorBodyError.js +37 -0
  133. package/dist/serialization/types/Company.d.ts +39 -0
  134. package/dist/serialization/types/Company.js +60 -0
  135. package/dist/serialization/types/CompanyAdditionalEmailsItem.d.ts +13 -0
  136. package/dist/serialization/types/CompanyAdditionalEmailsItem.js +34 -0
  137. package/dist/serialization/types/CompanyAdditionalPhoneNumbersItem.d.ts +13 -0
  138. package/dist/serialization/types/CompanyAdditionalPhoneNumbersItem.js +34 -0
  139. package/dist/serialization/types/CompanyAdditionalWebsitesItem.d.ts +13 -0
  140. package/dist/serialization/types/CompanyAdditionalWebsitesItem.js +34 -0
  141. package/dist/serialization/types/CompanyContact.d.ts +19 -0
  142. package/dist/serialization/types/CompanyContact.js +40 -0
  143. package/dist/serialization/types/CompanyDetails.d.ts +18 -0
  144. package/dist/serialization/types/CompanyDetails.js +39 -0
  145. package/dist/serialization/types/InternalServerErrorBody.d.ts +1 -0
  146. package/dist/serialization/types/InternalServerErrorBody.js +1 -0
  147. package/dist/serialization/types/NotFoundErrorBody.d.ts +12 -0
  148. package/dist/serialization/types/NotFoundErrorBody.js +33 -0
  149. package/dist/serialization/types/Optionals.d.ts +18 -0
  150. package/dist/serialization/types/Optionals.js +39 -0
  151. package/dist/serialization/types/PointOfContact.d.ts +14 -0
  152. package/dist/serialization/types/PointOfContact.js +35 -0
  153. package/dist/serialization/types/RegisterCompanyResponse.d.ts +14 -0
  154. package/dist/serialization/types/RegisterCompanyResponse.js +35 -0
  155. package/dist/serialization/types/RegisterCompanyResponseBrand.d.ts +13 -0
  156. package/dist/serialization/types/RegisterCompanyResponseBrand.js +34 -0
  157. package/dist/serialization/types/{SendRequest.d.ts → SendMessageRequest.d.ts} +2 -2
  158. package/dist/serialization/types/{SendRequest.js → SendMessageRequest.js} +2 -2
  159. package/{serialization/types/SendResponse.d.ts → dist/serialization/types/SendMessageResponse.d.ts} +2 -2
  160. package/dist/serialization/types/{SendResponse.js → SendMessageResponse.js} +2 -2
  161. package/dist/serialization/types/UpdateCompanyResponse.d.ts +14 -0
  162. package/dist/serialization/types/UpdateCompanyResponse.js +35 -0
  163. package/dist/serialization/types/UpdateCompanyResponseBrand.d.ts +13 -0
  164. package/dist/serialization/types/UpdateCompanyResponseBrand.js +34 -0
  165. package/dist/serialization/types/index.d.ts +19 -2
  166. package/dist/serialization/types/index.js +19 -2
  167. package/dist/version.d.ts +1 -1
  168. package/dist/version.js +1 -1
  169. package/package.json +1 -1
  170. package/reference.md +5 -13
  171. package/serialization/client/getCompany.d.ts +11 -0
  172. package/serialization/client/getCompany.js +32 -0
  173. package/serialization/client/index.d.ts +1 -0
  174. package/serialization/client/index.js +14 -0
  175. package/serialization/client/requests/RegisterCompanyRequest.d.ts +19 -0
  176. package/serialization/client/requests/RegisterCompanyRequest.js +40 -0
  177. package/serialization/client/requests/UpdateCompanyRequest.d.ts +20 -0
  178. package/serialization/client/requests/UpdateCompanyRequest.js +41 -0
  179. package/serialization/client/requests/index.d.ts +2 -0
  180. package/serialization/client/requests/index.js +5 -1
  181. package/serialization/types/AdditionalEmail.d.ts +13 -0
  182. package/serialization/types/AdditionalEmail.js +34 -0
  183. package/serialization/types/AdditionalPhoneNumber.d.ts +13 -0
  184. package/serialization/types/AdditionalPhoneNumber.js +34 -0
  185. package/serialization/types/AdditionalWebsite.d.ts +13 -0
  186. package/serialization/types/AdditionalWebsite.js +34 -0
  187. package/serialization/types/BadRequestErrorBody.d.ts +3 -1
  188. package/serialization/types/BadRequestErrorBody.js +3 -1
  189. package/serialization/types/BadRequestErrorBodyError.d.ts +16 -0
  190. package/serialization/types/BadRequestErrorBodyError.js +37 -0
  191. package/serialization/types/Company.d.ts +39 -0
  192. package/serialization/types/Company.js +60 -0
  193. package/serialization/types/CompanyAdditionalEmailsItem.d.ts +13 -0
  194. package/serialization/types/CompanyAdditionalEmailsItem.js +34 -0
  195. package/serialization/types/CompanyAdditionalPhoneNumbersItem.d.ts +13 -0
  196. package/serialization/types/CompanyAdditionalPhoneNumbersItem.js +34 -0
  197. package/serialization/types/CompanyAdditionalWebsitesItem.d.ts +13 -0
  198. package/serialization/types/CompanyAdditionalWebsitesItem.js +34 -0
  199. package/serialization/types/CompanyContact.d.ts +19 -0
  200. package/serialization/types/CompanyContact.js +40 -0
  201. package/serialization/types/CompanyDetails.d.ts +18 -0
  202. package/serialization/types/CompanyDetails.js +39 -0
  203. package/serialization/types/InternalServerErrorBody.d.ts +1 -0
  204. package/serialization/types/InternalServerErrorBody.js +1 -0
  205. package/serialization/types/NotFoundErrorBody.d.ts +12 -0
  206. package/serialization/types/NotFoundErrorBody.js +33 -0
  207. package/serialization/types/Optionals.d.ts +18 -0
  208. package/serialization/types/Optionals.js +39 -0
  209. package/serialization/types/PointOfContact.d.ts +14 -0
  210. package/serialization/types/PointOfContact.js +35 -0
  211. package/serialization/types/RegisterCompanyResponse.d.ts +14 -0
  212. package/serialization/types/RegisterCompanyResponse.js +35 -0
  213. package/serialization/types/RegisterCompanyResponseBrand.d.ts +13 -0
  214. package/serialization/types/RegisterCompanyResponseBrand.js +34 -0
  215. package/serialization/types/{SendRequest.d.ts → SendMessageRequest.d.ts} +2 -2
  216. package/serialization/types/{SendRequest.js → SendMessageRequest.js} +2 -2
  217. package/{dist/serialization/types/SendResponse.d.ts → serialization/types/SendMessageResponse.d.ts} +2 -2
  218. package/serialization/types/{SendResponse.js → SendMessageResponse.js} +2 -2
  219. package/serialization/types/UpdateCompanyResponse.d.ts +14 -0
  220. package/serialization/types/UpdateCompanyResponse.js +35 -0
  221. package/serialization/types/UpdateCompanyResponseBrand.d.ts +13 -0
  222. package/serialization/types/UpdateCompanyResponseBrand.js +34 -0
  223. package/serialization/types/index.d.ts +19 -2
  224. package/serialization/types/index.js +19 -2
  225. package/version.d.ts +1 -1
  226. package/version.js +1 -1
  227. package/api/types/SendRequest.d.ts +0 -5
  228. package/dist/api/types/SendRequest.d.ts +0 -5
  229. /package/api/{types/SendRequest.js → client/requests/GetCompanyRequest.js} +0 -0
  230. /package/api/{types/SendResponse.js → client/requests/RegisterCompanyRequest.js} +0 -0
  231. /package/{dist/api/types/SendRequest.js → api/client/requests/UpdateCompanyRequest.js} +0 -0
  232. /package/{dist/api/types/SendResponse.js → api/types/AdditionalEmail.js} +0 -0
@@ -10,8 +10,22 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
13
25
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
27
  };
16
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.getCompany = void 0;
30
+ exports.getCompany = __importStar(require("./getCompany"));
17
31
  __exportStar(require("./requests"), exports);
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../index";
5
+ import * as Pinnacle from "../../../api/index";
6
+ import * as core from "../../../core";
7
+ import { CompanyDetails } from "../../types/CompanyDetails";
8
+ import { CompanyContact } from "../../types/CompanyContact";
9
+ import { PointOfContact } from "../../types/PointOfContact";
10
+ import { Optionals } from "../../types/Optionals";
11
+ export declare const RegisterCompanyRequest: core.serialization.Schema<serializers.RegisterCompanyRequest.Raw, Pinnacle.RegisterCompanyRequest>;
12
+ export declare namespace RegisterCompanyRequest {
13
+ interface Raw {
14
+ company: CompanyDetails.Raw;
15
+ companyContact: CompanyContact.Raw;
16
+ pointOfContact: PointOfContact.Raw;
17
+ optionals?: Optionals.Raw | null;
18
+ }
19
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.RegisterCompanyRequest = void 0;
30
+ const core = __importStar(require("../../../core"));
31
+ const CompanyDetails_1 = require("../../types/CompanyDetails");
32
+ const CompanyContact_1 = require("../../types/CompanyContact");
33
+ const PointOfContact_1 = require("../../types/PointOfContact");
34
+ const Optionals_1 = require("../../types/Optionals");
35
+ exports.RegisterCompanyRequest = core.serialization.object({
36
+ company: CompanyDetails_1.CompanyDetails,
37
+ companyContact: CompanyContact_1.CompanyContact,
38
+ pointOfContact: PointOfContact_1.PointOfContact,
39
+ optionals: Optionals_1.Optionals.optional(),
40
+ });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../index";
5
+ import * as Pinnacle from "../../../api/index";
6
+ import * as core from "../../../core";
7
+ import { Company } from "../../types/Company";
8
+ import { CompanyContact } from "../../types/CompanyContact";
9
+ import { PointOfContact } from "../../types/PointOfContact";
10
+ import { Optionals } from "../../types/Optionals";
11
+ export declare const UpdateCompanyRequest: core.serialization.Schema<serializers.UpdateCompanyRequest.Raw, Pinnacle.UpdateCompanyRequest>;
12
+ export declare namespace UpdateCompanyRequest {
13
+ interface Raw {
14
+ companyId: string;
15
+ company?: Company.Raw | null;
16
+ companyContact?: CompanyContact.Raw | null;
17
+ pointOfContact?: PointOfContact.Raw | null;
18
+ optionals?: Optionals.Raw | null;
19
+ }
20
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.UpdateCompanyRequest = void 0;
30
+ const core = __importStar(require("../../../core"));
31
+ const Company_1 = require("../../types/Company");
32
+ const CompanyContact_1 = require("../../types/CompanyContact");
33
+ const PointOfContact_1 = require("../../types/PointOfContact");
34
+ const Optionals_1 = require("../../types/Optionals");
35
+ exports.UpdateCompanyRequest = core.serialization.object({
36
+ companyId: core.serialization.string(),
37
+ company: Company_1.Company.optional(),
38
+ companyContact: CompanyContact_1.CompanyContact.optional(),
39
+ pointOfContact: PointOfContact_1.PointOfContact.optional(),
40
+ optionals: Optionals_1.Optionals.optional(),
41
+ });
@@ -1 +1,3 @@
1
1
  export { UpdateSettingsRequest } from "./UpdateSettingsRequest";
2
+ export { RegisterCompanyRequest } from "./RegisterCompanyRequest";
3
+ export { UpdateCompanyRequest } from "./UpdateCompanyRequest";
@@ -1,5 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateSettingsRequest = void 0;
3
+ exports.UpdateCompanyRequest = exports.RegisterCompanyRequest = exports.UpdateSettingsRequest = void 0;
4
4
  var UpdateSettingsRequest_1 = require("./UpdateSettingsRequest");
5
5
  Object.defineProperty(exports, "UpdateSettingsRequest", { enumerable: true, get: function () { return UpdateSettingsRequest_1.UpdateSettingsRequest; } });
6
+ var RegisterCompanyRequest_1 = require("./RegisterCompanyRequest");
7
+ Object.defineProperty(exports, "RegisterCompanyRequest", { enumerable: true, get: function () { return RegisterCompanyRequest_1.RegisterCompanyRequest; } });
8
+ var UpdateCompanyRequest_1 = require("./UpdateCompanyRequest");
9
+ Object.defineProperty(exports, "UpdateCompanyRequest", { enumerable: true, get: function () { return UpdateCompanyRequest_1.UpdateCompanyRequest; } });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Pinnacle from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const AdditionalEmail: core.serialization.ObjectSchema<serializers.AdditionalEmail.Raw, Pinnacle.AdditionalEmail>;
8
+ export declare namespace AdditionalEmail {
9
+ interface Raw {
10
+ email: string;
11
+ label: string;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AdditionalEmail = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.AdditionalEmail = core.serialization.object({
32
+ email: core.serialization.string(),
33
+ label: core.serialization.string(),
34
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Pinnacle from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const AdditionalPhoneNumber: core.serialization.ObjectSchema<serializers.AdditionalPhoneNumber.Raw, Pinnacle.AdditionalPhoneNumber>;
8
+ export declare namespace AdditionalPhoneNumber {
9
+ interface Raw {
10
+ phone: string;
11
+ label: string;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AdditionalPhoneNumber = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.AdditionalPhoneNumber = core.serialization.object({
32
+ phone: core.serialization.string(),
33
+ label: core.serialization.string(),
34
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Pinnacle from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const AdditionalWebsite: core.serialization.ObjectSchema<serializers.AdditionalWebsite.Raw, Pinnacle.AdditionalWebsite>;
8
+ export declare namespace AdditionalWebsite {
9
+ interface Raw {
10
+ url: string;
11
+ label: string;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AdditionalWebsite = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.AdditionalWebsite = core.serialization.object({
32
+ url: core.serialization.string(),
33
+ label: core.serialization.string(),
34
+ });
@@ -4,9 +4,11 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Pinnacle from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { BadRequestErrorBodyError } from "./BadRequestErrorBodyError";
7
8
  export declare const BadRequestErrorBody: core.serialization.ObjectSchema<serializers.BadRequestErrorBody.Raw, Pinnacle.BadRequestErrorBody>;
8
9
  export declare namespace BadRequestErrorBody {
9
10
  interface Raw {
10
- error?: string | null;
11
+ error?: BadRequestErrorBodyError.Raw | null;
12
+ success?: boolean | null;
11
13
  }
12
14
  }
@@ -28,6 +28,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.BadRequestErrorBody = void 0;
30
30
  const core = __importStar(require("../../core"));
31
+ const BadRequestErrorBodyError_1 = require("./BadRequestErrorBodyError");
31
32
  exports.BadRequestErrorBody = core.serialization.object({
32
- error: core.serialization.string().optional(),
33
+ error: BadRequestErrorBodyError_1.BadRequestErrorBodyError.optional(),
34
+ success: core.serialization.boolean().optional(),
33
35
  });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Pinnacle from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const BadRequestErrorBodyError: core.serialization.ObjectSchema<serializers.BadRequestErrorBodyError.Raw, Pinnacle.BadRequestErrorBodyError>;
8
+ export declare namespace BadRequestErrorBodyError {
9
+ interface Raw {
10
+ code?: string | null;
11
+ expected?: string | null;
12
+ received?: string | null;
13
+ path?: string[] | null;
14
+ message?: string | null;
15
+ }
16
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.BadRequestErrorBodyError = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.BadRequestErrorBodyError = core.serialization.object({
32
+ code: core.serialization.string().optional(),
33
+ expected: core.serialization.string().optional(),
34
+ received: core.serialization.string().optional(),
35
+ path: core.serialization.list(core.serialization.string()).optional(),
36
+ message: core.serialization.string().optional(),
37
+ });
@@ -0,0 +1,39 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Pinnacle from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { CompanyAdditionalWebsitesItem } from "./CompanyAdditionalWebsitesItem";
8
+ import { CompanyAdditionalEmailsItem } from "./CompanyAdditionalEmailsItem";
9
+ import { CompanyAdditionalPhoneNumbersItem } from "./CompanyAdditionalPhoneNumbersItem";
10
+ export declare const Company: core.serialization.ObjectSchema<serializers.Company.Raw, Pinnacle.Company>;
11
+ export declare namespace Company {
12
+ interface Raw {
13
+ id?: number | null;
14
+ createdAt?: string | null;
15
+ name?: string | null;
16
+ address?: string | null;
17
+ ein?: string | null;
18
+ description?: string | null;
19
+ brandColor?: string | null;
20
+ logoUrl?: string | null;
21
+ heroUrl?: string | null;
22
+ primaryWebsiteUrl?: string | null;
23
+ primaryWebsiteLabel?: string | null;
24
+ primaryPhone?: string | null;
25
+ primaryPhoneLabel?: string | null;
26
+ primaryEmail?: string | null;
27
+ primaryEmailLabel?: string | null;
28
+ privacyPolicyUrl?: string | null;
29
+ tosUrl?: string | null;
30
+ pocName?: string | null;
31
+ pocTitle?: string | null;
32
+ pocEmail?: string | null;
33
+ testNumbers?: string[] | null;
34
+ status?: string | null;
35
+ additionalWebsites?: CompanyAdditionalWebsitesItem.Raw[] | null;
36
+ additionalEmails?: CompanyAdditionalEmailsItem.Raw[] | null;
37
+ additionalPhoneNumbers?: CompanyAdditionalPhoneNumbersItem.Raw[] | null;
38
+ }
39
+ }
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Company = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const CompanyAdditionalWebsitesItem_1 = require("./CompanyAdditionalWebsitesItem");
32
+ const CompanyAdditionalEmailsItem_1 = require("./CompanyAdditionalEmailsItem");
33
+ const CompanyAdditionalPhoneNumbersItem_1 = require("./CompanyAdditionalPhoneNumbersItem");
34
+ exports.Company = core.serialization.object({
35
+ id: core.serialization.number().optional(),
36
+ createdAt: core.serialization.date().optional(),
37
+ name: core.serialization.string().optional(),
38
+ address: core.serialization.string().optional(),
39
+ ein: core.serialization.string().optional(),
40
+ description: core.serialization.string().optional(),
41
+ brandColor: core.serialization.string().optional(),
42
+ logoUrl: core.serialization.string().optional(),
43
+ heroUrl: core.serialization.string().optional(),
44
+ primaryWebsiteUrl: core.serialization.string().optional(),
45
+ primaryWebsiteLabel: core.serialization.string().optional(),
46
+ primaryPhone: core.serialization.string().optional(),
47
+ primaryPhoneLabel: core.serialization.string().optional(),
48
+ primaryEmail: core.serialization.string().optional(),
49
+ primaryEmailLabel: core.serialization.string().optional(),
50
+ privacyPolicyUrl: core.serialization.string().optional(),
51
+ tosUrl: core.serialization.string().optional(),
52
+ pocName: core.serialization.string().optional(),
53
+ pocTitle: core.serialization.string().optional(),
54
+ pocEmail: core.serialization.string().optional(),
55
+ testNumbers: core.serialization.list(core.serialization.string()).optional(),
56
+ status: core.serialization.string().optional(),
57
+ additionalWebsites: core.serialization.list(CompanyAdditionalWebsitesItem_1.CompanyAdditionalWebsitesItem).optional(),
58
+ additionalEmails: core.serialization.list(CompanyAdditionalEmailsItem_1.CompanyAdditionalEmailsItem).optional(),
59
+ additionalPhoneNumbers: core.serialization.list(CompanyAdditionalPhoneNumbersItem_1.CompanyAdditionalPhoneNumbersItem).optional(),
60
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Pinnacle from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const CompanyAdditionalEmailsItem: core.serialization.ObjectSchema<serializers.CompanyAdditionalEmailsItem.Raw, Pinnacle.CompanyAdditionalEmailsItem>;
8
+ export declare namespace CompanyAdditionalEmailsItem {
9
+ interface Raw {
10
+ email?: string | null;
11
+ label?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.CompanyAdditionalEmailsItem = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.CompanyAdditionalEmailsItem = core.serialization.object({
32
+ email: core.serialization.string().optional(),
33
+ label: core.serialization.string().optional(),
34
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Pinnacle from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const CompanyAdditionalPhoneNumbersItem: core.serialization.ObjectSchema<serializers.CompanyAdditionalPhoneNumbersItem.Raw, Pinnacle.CompanyAdditionalPhoneNumbersItem>;
8
+ export declare namespace CompanyAdditionalPhoneNumbersItem {
9
+ interface Raw {
10
+ label?: string | null;
11
+ phone?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.CompanyAdditionalPhoneNumbersItem = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.CompanyAdditionalPhoneNumbersItem = core.serialization.object({
32
+ label: core.serialization.string().optional(),
33
+ phone: core.serialization.string().optional(),
34
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Pinnacle from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const CompanyAdditionalWebsitesItem: core.serialization.ObjectSchema<serializers.CompanyAdditionalWebsitesItem.Raw, Pinnacle.CompanyAdditionalWebsitesItem>;
8
+ export declare namespace CompanyAdditionalWebsitesItem {
9
+ interface Raw {
10
+ url?: string | null;
11
+ label?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.CompanyAdditionalWebsitesItem = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.CompanyAdditionalWebsitesItem = core.serialization.object({
32
+ url: core.serialization.string().optional(),
33
+ label: core.serialization.string().optional(),
34
+ });