rcs-js 1.0.9 → 1.0.10

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 (151) hide show
  1. package/Client.d.ts +3 -69
  2. package/Client.js +6 -231
  3. package/README.md +6 -6
  4. package/api/client/requests/index.d.ts +0 -3
  5. package/api/resources/company/client/Client.d.ts +96 -0
  6. package/api/resources/company/client/Client.js +289 -0
  7. package/api/resources/company/client/index.d.ts +1 -0
  8. package/api/resources/company/client/index.js +17 -0
  9. package/api/{client/requests/GetCompanyRequest.d.ts → resources/company/client/requests/CompanyGetRequest.d.ts} +1 -1
  10. package/{dist/api/client/requests/RegisterCompanyRequest.d.ts → api/resources/company/client/requests/CompanyRegisterRequest.d.ts} +2 -2
  11. package/api/{client/requests/UpdateCompanyRequest.d.ts → resources/company/client/requests/CompanyUpdateRequest.d.ts} +2 -2
  12. package/api/resources/company/client/requests/index.d.ts +3 -0
  13. package/api/resources/company/client/requests/index.js +2 -0
  14. package/api/resources/company/index.d.ts +2 -0
  15. package/api/resources/company/index.js +18 -0
  16. package/api/resources/company/types/CompanyRegisterResponse.d.ts +7 -0
  17. package/api/{types/RegisterCompanyResponseBrand.d.ts → resources/company/types/CompanyRegisterResponseBrand.d.ts} +1 -1
  18. package/api/resources/company/types/CompanyUpdateResponse.d.ts +7 -0
  19. package/api/{types/UpdateCompanyResponseBrand.d.ts → resources/company/types/CompanyUpdateResponseBrand.d.ts} +1 -1
  20. package/api/resources/company/types/index.d.ts +4 -0
  21. package/api/resources/company/types/index.js +20 -0
  22. package/api/resources/index.d.ts +3 -0
  23. package/api/resources/index.js +4 -1
  24. package/api/resources/send/client/Client.js +3 -3
  25. package/api/types/index.d.ts +0 -4
  26. package/api/types/index.js +0 -4
  27. package/dist/Client.d.ts +3 -69
  28. package/dist/Client.js +6 -231
  29. package/dist/api/client/requests/index.d.ts +0 -3
  30. package/dist/api/resources/company/client/Client.d.ts +96 -0
  31. package/dist/api/resources/company/client/Client.js +289 -0
  32. package/dist/api/resources/company/client/index.d.ts +1 -0
  33. package/dist/api/resources/company/client/index.js +17 -0
  34. package/dist/api/{client/requests/GetCompanyRequest.d.ts → resources/company/client/requests/CompanyGetRequest.d.ts} +1 -1
  35. package/{api/client/requests/RegisterCompanyRequest.d.ts → dist/api/resources/company/client/requests/CompanyRegisterRequest.d.ts} +2 -2
  36. package/dist/api/{client/requests/UpdateCompanyRequest.d.ts → resources/company/client/requests/CompanyUpdateRequest.d.ts} +2 -2
  37. package/dist/api/resources/company/client/requests/index.d.ts +3 -0
  38. package/dist/api/resources/company/client/requests/index.js +2 -0
  39. package/dist/api/resources/company/index.d.ts +2 -0
  40. package/dist/api/resources/company/index.js +18 -0
  41. package/dist/api/resources/company/types/CompanyRegisterResponse.d.ts +7 -0
  42. package/dist/api/{types/RegisterCompanyResponseBrand.d.ts → resources/company/types/CompanyRegisterResponseBrand.d.ts} +1 -1
  43. package/dist/api/resources/company/types/CompanyUpdateResponse.d.ts +7 -0
  44. package/dist/api/{types/UpdateCompanyResponseBrand.d.ts → resources/company/types/CompanyUpdateResponseBrand.d.ts} +1 -1
  45. package/dist/api/resources/company/types/index.d.ts +4 -0
  46. package/dist/api/resources/company/types/index.js +20 -0
  47. package/dist/api/resources/index.d.ts +3 -0
  48. package/dist/api/resources/index.js +4 -1
  49. package/dist/api/resources/send/client/Client.js +3 -3
  50. package/dist/api/types/index.d.ts +0 -4
  51. package/dist/api/types/index.js +0 -4
  52. package/dist/serialization/index.d.ts +0 -1
  53. package/dist/serialization/index.js +0 -1
  54. package/dist/serialization/resources/company/client/get.d.ts +11 -0
  55. package/dist/serialization/{client/getCompany.js → resources/company/client/get.js} +2 -2
  56. package/dist/serialization/resources/company/client/index.d.ts +2 -0
  57. package/{serialization → dist/serialization/resources/company}/client/index.js +2 -2
  58. package/dist/serialization/resources/company/client/requests/CompanyRegisterRequest.d.ts +19 -0
  59. package/dist/serialization/{client/requests/RegisterCompanyRequest.js → resources/company/client/requests/CompanyRegisterRequest.js} +7 -7
  60. package/dist/serialization/resources/company/client/requests/CompanyUpdateRequest.d.ts +20 -0
  61. package/dist/serialization/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +7 -7
  62. package/dist/serialization/resources/company/client/requests/index.d.ts +2 -0
  63. package/dist/serialization/resources/company/client/requests/index.js +7 -0
  64. package/dist/serialization/resources/company/index.d.ts +2 -0
  65. package/dist/serialization/resources/company/index.js +18 -0
  66. package/dist/serialization/resources/company/types/CompanyRegisterResponse.d.ts +13 -0
  67. package/dist/serialization/{types/RegisterCompanyResponse.js → resources/company/types/CompanyRegisterResponse.js} +5 -5
  68. package/dist/serialization/resources/company/types/CompanyRegisterResponseBrand.d.ts +13 -0
  69. package/{serialization/types/RegisterCompanyResponseBrand.js → dist/serialization/resources/company/types/CompanyRegisterResponseBrand.js} +3 -3
  70. package/dist/serialization/resources/company/types/CompanyUpdateResponse.d.ts +13 -0
  71. package/{serialization/types/UpdateCompanyResponse.js → dist/serialization/resources/company/types/CompanyUpdateResponse.js} +5 -5
  72. package/dist/serialization/resources/company/types/CompanyUpdateResponseBrand.d.ts +13 -0
  73. package/dist/serialization/{types/UpdateCompanyResponseBrand.js → resources/company/types/CompanyUpdateResponseBrand.js} +3 -3
  74. package/dist/serialization/resources/company/types/index.d.ts +4 -0
  75. package/dist/serialization/resources/company/types/index.js +20 -0
  76. package/dist/serialization/resources/index.d.ts +3 -0
  77. package/dist/serialization/resources/index.js +4 -1
  78. package/dist/serialization/types/index.d.ts +0 -4
  79. package/dist/serialization/types/index.js +0 -4
  80. package/dist/version.d.ts +1 -1
  81. package/dist/version.js +1 -1
  82. package/package.json +1 -1
  83. package/reference.md +222 -6
  84. package/serialization/index.d.ts +0 -1
  85. package/serialization/index.js +0 -1
  86. package/serialization/resources/company/client/get.d.ts +11 -0
  87. package/serialization/{client/getCompany.js → resources/company/client/get.js} +2 -2
  88. package/serialization/resources/company/client/index.d.ts +2 -0
  89. package/{dist/serialization → serialization/resources/company}/client/index.js +2 -2
  90. package/serialization/resources/company/client/requests/CompanyRegisterRequest.d.ts +19 -0
  91. package/serialization/{client/requests/RegisterCompanyRequest.js → resources/company/client/requests/CompanyRegisterRequest.js} +7 -7
  92. package/serialization/resources/company/client/requests/CompanyUpdateRequest.d.ts +20 -0
  93. package/serialization/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +7 -7
  94. package/serialization/resources/company/client/requests/index.d.ts +2 -0
  95. package/serialization/resources/company/client/requests/index.js +7 -0
  96. package/serialization/resources/company/index.d.ts +2 -0
  97. package/serialization/resources/company/index.js +18 -0
  98. package/serialization/resources/company/types/CompanyRegisterResponse.d.ts +13 -0
  99. package/serialization/{types/RegisterCompanyResponse.js → resources/company/types/CompanyRegisterResponse.js} +5 -5
  100. package/serialization/resources/company/types/CompanyRegisterResponseBrand.d.ts +13 -0
  101. package/{dist/serialization/types/RegisterCompanyResponseBrand.js → serialization/resources/company/types/CompanyRegisterResponseBrand.js} +3 -3
  102. package/serialization/resources/company/types/CompanyUpdateResponse.d.ts +13 -0
  103. package/{dist/serialization/types/UpdateCompanyResponse.js → serialization/resources/company/types/CompanyUpdateResponse.js} +5 -5
  104. package/serialization/resources/company/types/CompanyUpdateResponseBrand.d.ts +13 -0
  105. package/serialization/{types/UpdateCompanyResponseBrand.js → resources/company/types/CompanyUpdateResponseBrand.js} +3 -3
  106. package/serialization/resources/company/types/index.d.ts +4 -0
  107. package/serialization/resources/company/types/index.js +20 -0
  108. package/serialization/resources/index.d.ts +3 -0
  109. package/serialization/resources/index.js +4 -1
  110. package/serialization/types/index.d.ts +0 -4
  111. package/serialization/types/index.js +0 -4
  112. package/version.d.ts +1 -1
  113. package/version.js +1 -1
  114. package/api/types/RegisterCompanyResponse.d.ts +0 -7
  115. package/api/types/UpdateCompanyResponse.d.ts +0 -7
  116. package/dist/api/types/RegisterCompanyResponse.d.ts +0 -7
  117. package/dist/api/types/UpdateCompanyResponse.d.ts +0 -7
  118. package/dist/serialization/client/getCompany.d.ts +0 -11
  119. package/dist/serialization/client/index.d.ts +0 -2
  120. package/dist/serialization/client/requests/RegisterCompanyRequest.d.ts +0 -19
  121. package/dist/serialization/client/requests/UpdateCompanyRequest.d.ts +0 -20
  122. package/dist/serialization/client/requests/index.d.ts +0 -2
  123. package/dist/serialization/client/requests/index.js +0 -7
  124. package/dist/serialization/types/RegisterCompanyResponse.d.ts +0 -13
  125. package/dist/serialization/types/RegisterCompanyResponseBrand.d.ts +0 -13
  126. package/dist/serialization/types/UpdateCompanyResponse.d.ts +0 -13
  127. package/dist/serialization/types/UpdateCompanyResponseBrand.d.ts +0 -13
  128. package/serialization/client/getCompany.d.ts +0 -11
  129. package/serialization/client/index.d.ts +0 -2
  130. package/serialization/client/requests/RegisterCompanyRequest.d.ts +0 -19
  131. package/serialization/client/requests/UpdateCompanyRequest.d.ts +0 -20
  132. package/serialization/client/requests/index.d.ts +0 -2
  133. package/serialization/client/requests/index.js +0 -7
  134. package/serialization/types/RegisterCompanyResponse.d.ts +0 -13
  135. package/serialization/types/RegisterCompanyResponseBrand.d.ts +0 -13
  136. package/serialization/types/UpdateCompanyResponse.d.ts +0 -13
  137. package/serialization/types/UpdateCompanyResponseBrand.d.ts +0 -13
  138. /package/api/{client/requests/GetCompanyRequest.js → resources/company/client/requests/CompanyGetRequest.js} +0 -0
  139. /package/api/{client/requests/RegisterCompanyRequest.js → resources/company/client/requests/CompanyRegisterRequest.js} +0 -0
  140. /package/api/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +0 -0
  141. /package/api/{types/RegisterCompanyResponse.js → resources/company/types/CompanyRegisterResponse.js} +0 -0
  142. /package/api/{types/RegisterCompanyResponseBrand.js → resources/company/types/CompanyRegisterResponseBrand.js} +0 -0
  143. /package/api/{types/UpdateCompanyResponse.js → resources/company/types/CompanyUpdateResponse.js} +0 -0
  144. /package/api/{types/UpdateCompanyResponseBrand.js → resources/company/types/CompanyUpdateResponseBrand.js} +0 -0
  145. /package/dist/api/{client/requests/GetCompanyRequest.js → resources/company/client/requests/CompanyGetRequest.js} +0 -0
  146. /package/dist/api/{client/requests/RegisterCompanyRequest.js → resources/company/client/requests/CompanyRegisterRequest.js} +0 -0
  147. /package/dist/api/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +0 -0
  148. /package/dist/api/{types/RegisterCompanyResponse.js → resources/company/types/CompanyRegisterResponse.js} +0 -0
  149. /package/dist/api/{types/RegisterCompanyResponseBrand.js → resources/company/types/CompanyRegisterResponseBrand.js} +0 -0
  150. /package/dist/api/{types/UpdateCompanyResponse.js → resources/company/types/CompanyUpdateResponse.js} +0 -0
  151. /package/dist/api/{types/UpdateCompanyResponseBrand.js → resources/company/types/CompanyUpdateResponseBrand.js} +0 -0
@@ -5,7 +5,7 @@
5
5
  * @example
6
6
  * {}
7
7
  */
8
- export interface GetCompanyRequest {
8
+ export interface CompanyGetRequest {
9
9
  /**
10
10
  * The unique identifier for the company
11
11
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Pinnacle from "../../index";
4
+ import * as Pinnacle from "../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
@@ -31,7 +31,7 @@ import * as Pinnacle from "../../index";
31
31
  * }
32
32
  * }
33
33
  */
34
- export interface RegisterCompanyRequest {
34
+ export interface CompanyRegisterRequest {
35
35
  company: Pinnacle.CompanyDetails;
36
36
  companyContact: Pinnacle.CompanyContact;
37
37
  pointOfContact: Pinnacle.PointOfContact;
@@ -1,14 +1,14 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Pinnacle from "../../index";
4
+ import * as Pinnacle from "../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
8
8
  * companyId: "companyId"
9
9
  * }
10
10
  */
11
- export interface UpdateCompanyRequest {
11
+ export interface CompanyUpdateRequest {
12
12
  companyId: string;
13
13
  company?: Pinnacle.Company;
14
14
  companyContact?: Pinnacle.CompanyContact;
@@ -0,0 +1,3 @@
1
+ export { type CompanyGetRequest } from "./CompanyGetRequest";
2
+ export { type CompanyRegisterRequest } from "./CompanyRegisterRequest";
3
+ export { type CompanyUpdateRequest } from "./CompanyUpdateRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Pinnacle from "../../../index";
5
+ export interface CompanyRegisterResponse {
6
+ brand: Pinnacle.CompanyRegisterResponseBrand;
7
+ }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface RegisterCompanyResponseBrand {
4
+ export interface CompanyRegisterResponseBrand {
5
5
  name: string;
6
6
  id: number;
7
7
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Pinnacle from "../../../index";
5
+ export interface CompanyUpdateResponse {
6
+ brand: Pinnacle.CompanyUpdateResponseBrand;
7
+ }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface UpdateCompanyResponseBrand {
4
+ export interface CompanyUpdateResponseBrand {
5
5
  name: string;
6
6
  id: number;
7
7
  }
@@ -0,0 +1,4 @@
1
+ export * from "./CompanyRegisterResponseBrand";
2
+ export * from "./CompanyRegisterResponse";
3
+ export * from "./CompanyUpdateResponseBrand";
4
+ export * from "./CompanyUpdateResponse";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CompanyRegisterResponseBrand"), exports);
18
+ __exportStar(require("./CompanyRegisterResponse"), exports);
19
+ __exportStar(require("./CompanyUpdateResponseBrand"), exports);
20
+ __exportStar(require("./CompanyUpdateResponse"), exports);
@@ -1,3 +1,6 @@
1
+ export * as company from "./company";
2
+ export * from "./company/types";
1
3
  export * as send from "./send";
2
4
  export * from "./send/types";
5
+ export * from "./company/client/requests";
3
6
  export * from "./send/client/requests";
@@ -26,7 +26,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.send = void 0;
29
+ exports.send = exports.company = void 0;
30
+ exports.company = __importStar(require("./company"));
31
+ __exportStar(require("./company/types"), exports);
30
32
  exports.send = __importStar(require("./send"));
31
33
  __exportStar(require("./send/types"), exports);
34
+ __exportStar(require("./company/client/requests"), exports);
32
35
  __exportStar(require("./send/client/requests"), exports);
@@ -74,7 +74,7 @@ class Send {
74
74
  const _response = yield core.fetcher({
75
75
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PinnacleEnvironment.Default, "send/rcs"),
76
76
  method: "POST",
77
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.9", "User-Agent": "rcs-js/1.0.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
77
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.10", "User-Agent": "rcs-js/1.0.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  body: serializers.Rcs.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -146,7 +146,7 @@ class Send {
146
146
  const _response = yield core.fetcher({
147
147
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PinnacleEnvironment.Default, "send/sms"),
148
148
  method: "POST",
149
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.9", "User-Agent": "rcs-js/1.0.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
149
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.10", "User-Agent": "rcs-js/1.0.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
150
150
  contentType: "application/json",
151
151
  requestType: "json",
152
152
  body: serializers.SendSmsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -219,7 +219,7 @@ class Send {
219
219
  const _response = yield core.fetcher({
220
220
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PinnacleEnvironment.Default, "send/mms"),
221
221
  method: "POST",
222
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.9", "User-Agent": "rcs-js/1.0.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
222
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.10", "User-Agent": "rcs-js/1.0.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
223
223
  contentType: "application/json",
224
224
  requestType: "json",
225
225
  body: serializers.SendMmsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1,10 +1,6 @@
1
1
  export * from "./BadRequestErrorBody";
2
2
  export * from "./UnauthorizedErrorBody";
3
3
  export * from "./InternalServerErrorBody";
4
- export * from "./RegisterCompanyResponseBrand";
5
- export * from "./RegisterCompanyResponse";
6
- export * from "./UpdateCompanyResponseBrand";
7
- export * from "./UpdateCompanyResponse";
8
4
  export * from "./ForbiddenErrorBody";
9
5
  export * from "./RcsFunctionalities";
10
6
  export * from "./CompanyAdditionalWebsitesItem";
@@ -17,10 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BadRequestErrorBody"), exports);
18
18
  __exportStar(require("./UnauthorizedErrorBody"), exports);
19
19
  __exportStar(require("./InternalServerErrorBody"), exports);
20
- __exportStar(require("./RegisterCompanyResponseBrand"), exports);
21
- __exportStar(require("./RegisterCompanyResponse"), exports);
22
- __exportStar(require("./UpdateCompanyResponseBrand"), exports);
23
- __exportStar(require("./UpdateCompanyResponse"), exports);
24
20
  __exportStar(require("./ForbiddenErrorBody"), exports);
25
21
  __exportStar(require("./RcsFunctionalities"), exports);
26
22
  __exportStar(require("./CompanyAdditionalWebsitesItem"), exports);
@@ -1,3 +1,2 @@
1
1
  export * from "./resources";
2
2
  export * from "./types";
3
- export * from "./client";
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./resources"), exports);
18
18
  __exportStar(require("./types"), exports);
19
- __exportStar(require("./client"), exports);
@@ -0,0 +1,11 @@
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
+ export declare const Response: core.serialization.Schema<serializers.company.get.Response.Raw, Pinnacle.Company[]>;
9
+ export declare namespace Response {
10
+ type Raw = Company.Raw[];
11
+ }
@@ -27,6 +27,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Response = void 0;
30
- const core = __importStar(require("../../core"));
31
- const Company_1 = require("../types/Company");
30
+ const core = __importStar(require("../../../../core"));
31
+ const Company_1 = require("../../../types/Company");
32
32
  exports.Response = core.serialization.list(Company_1.Company);
@@ -0,0 +1,2 @@
1
+ export * as get from "./get";
2
+ export * from "./requests";
@@ -26,6 +26,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.getCompany = void 0;
30
- exports.getCompany = __importStar(require("./getCompany"));
29
+ exports.get = void 0;
30
+ exports.get = __importStar(require("./get"));
31
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 CompanyRegisterRequest: core.serialization.Schema<serializers.CompanyRegisterRequest.Raw, Pinnacle.CompanyRegisterRequest>;
12
+ export declare namespace CompanyRegisterRequest {
13
+ interface Raw {
14
+ company: CompanyDetails.Raw;
15
+ companyContact: CompanyContact.Raw;
16
+ pointOfContact: PointOfContact.Raw;
17
+ optionals?: Optionals.Raw | null;
18
+ }
19
+ }
@@ -26,13 +26,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
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({
29
+ exports.CompanyRegisterRequest = 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.CompanyRegisterRequest = core.serialization.object({
36
36
  company: CompanyDetails_1.CompanyDetails,
37
37
  companyContact: CompanyContact_1.CompanyContact,
38
38
  pointOfContact: PointOfContact_1.PointOfContact,
@@ -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 CompanyUpdateRequest: core.serialization.Schema<serializers.CompanyUpdateRequest.Raw, Pinnacle.CompanyUpdateRequest>;
12
+ export declare namespace CompanyUpdateRequest {
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
+ }
@@ -26,13 +26,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
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({
29
+ exports.CompanyUpdateRequest = 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.CompanyUpdateRequest = core.serialization.object({
36
36
  companyId: core.serialization.string(),
37
37
  company: Company_1.Company.optional(),
38
38
  companyContact: CompanyContact_1.CompanyContact.optional(),
@@ -0,0 +1,2 @@
1
+ export { CompanyRegisterRequest } from "./CompanyRegisterRequest";
2
+ export { CompanyUpdateRequest } from "./CompanyUpdateRequest";
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompanyUpdateRequest = exports.CompanyRegisterRequest = void 0;
4
+ var CompanyRegisterRequest_1 = require("./CompanyRegisterRequest");
5
+ Object.defineProperty(exports, "CompanyRegisterRequest", { enumerable: true, get: function () { return CompanyRegisterRequest_1.CompanyRegisterRequest; } });
6
+ var CompanyUpdateRequest_1 = require("./CompanyUpdateRequest");
7
+ Object.defineProperty(exports, "CompanyUpdateRequest", { enumerable: true, get: function () { return CompanyUpdateRequest_1.CompanyUpdateRequest; } });
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -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
+ import { CompanyRegisterResponseBrand } from "./CompanyRegisterResponseBrand";
8
+ export declare const CompanyRegisterResponse: core.serialization.ObjectSchema<serializers.CompanyRegisterResponse.Raw, Pinnacle.CompanyRegisterResponse>;
9
+ export declare namespace CompanyRegisterResponse {
10
+ interface Raw {
11
+ brand: CompanyRegisterResponseBrand.Raw;
12
+ }
13
+ }
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.RegisterCompanyResponse = void 0;
30
- const core = __importStar(require("../../core"));
31
- const RegisterCompanyResponseBrand_1 = require("./RegisterCompanyResponseBrand");
32
- exports.RegisterCompanyResponse = core.serialization.object({
33
- brand: RegisterCompanyResponseBrand_1.RegisterCompanyResponseBrand,
29
+ exports.CompanyRegisterResponse = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const CompanyRegisterResponseBrand_1 = require("./CompanyRegisterResponseBrand");
32
+ exports.CompanyRegisterResponse = core.serialization.object({
33
+ brand: CompanyRegisterResponseBrand_1.CompanyRegisterResponseBrand,
34
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 CompanyRegisterResponseBrand: core.serialization.ObjectSchema<serializers.CompanyRegisterResponseBrand.Raw, Pinnacle.CompanyRegisterResponseBrand>;
8
+ export declare namespace CompanyRegisterResponseBrand {
9
+ interface Raw {
10
+ name: string;
11
+ id: number;
12
+ }
13
+ }
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.RegisterCompanyResponseBrand = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.RegisterCompanyResponseBrand = core.serialization.object({
29
+ exports.CompanyRegisterResponseBrand = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.CompanyRegisterResponseBrand = core.serialization.object({
32
32
  name: core.serialization.string(),
33
33
  id: core.serialization.number(),
34
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
+ import { CompanyUpdateResponseBrand } from "./CompanyUpdateResponseBrand";
8
+ export declare const CompanyUpdateResponse: core.serialization.ObjectSchema<serializers.CompanyUpdateResponse.Raw, Pinnacle.CompanyUpdateResponse>;
9
+ export declare namespace CompanyUpdateResponse {
10
+ interface Raw {
11
+ brand: CompanyUpdateResponseBrand.Raw;
12
+ }
13
+ }
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.UpdateCompanyResponse = void 0;
30
- const core = __importStar(require("../../core"));
31
- const UpdateCompanyResponseBrand_1 = require("./UpdateCompanyResponseBrand");
32
- exports.UpdateCompanyResponse = core.serialization.object({
33
- brand: UpdateCompanyResponseBrand_1.UpdateCompanyResponseBrand,
29
+ exports.CompanyUpdateResponse = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const CompanyUpdateResponseBrand_1 = require("./CompanyUpdateResponseBrand");
32
+ exports.CompanyUpdateResponse = core.serialization.object({
33
+ brand: CompanyUpdateResponseBrand_1.CompanyUpdateResponseBrand,
34
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 CompanyUpdateResponseBrand: core.serialization.ObjectSchema<serializers.CompanyUpdateResponseBrand.Raw, Pinnacle.CompanyUpdateResponseBrand>;
8
+ export declare namespace CompanyUpdateResponseBrand {
9
+ interface Raw {
10
+ name: string;
11
+ id: number;
12
+ }
13
+ }
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.UpdateCompanyResponseBrand = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.UpdateCompanyResponseBrand = core.serialization.object({
29
+ exports.CompanyUpdateResponseBrand = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.CompanyUpdateResponseBrand = core.serialization.object({
32
32
  name: core.serialization.string(),
33
33
  id: core.serialization.number(),
34
34
  });
@@ -0,0 +1,4 @@
1
+ export * from "./CompanyRegisterResponseBrand";
2
+ export * from "./CompanyRegisterResponse";
3
+ export * from "./CompanyUpdateResponseBrand";
4
+ export * from "./CompanyUpdateResponse";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CompanyRegisterResponseBrand"), exports);
18
+ __exportStar(require("./CompanyRegisterResponse"), exports);
19
+ __exportStar(require("./CompanyUpdateResponseBrand"), exports);
20
+ __exportStar(require("./CompanyUpdateResponse"), exports);
@@ -1,3 +1,6 @@
1
+ export * as company from "./company";
2
+ export * from "./company/types";
1
3
  export * as send from "./send";
2
4
  export * from "./send/types";
5
+ export * from "./company/client/requests";
3
6
  export * from "./send/client/requests";
@@ -26,7 +26,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.send = void 0;
29
+ exports.send = exports.company = void 0;
30
+ exports.company = __importStar(require("./company"));
31
+ __exportStar(require("./company/types"), exports);
30
32
  exports.send = __importStar(require("./send"));
31
33
  __exportStar(require("./send/types"), exports);
34
+ __exportStar(require("./company/client/requests"), exports);
32
35
  __exportStar(require("./send/client/requests"), exports);
@@ -1,10 +1,6 @@
1
1
  export * from "./BadRequestErrorBody";
2
2
  export * from "./UnauthorizedErrorBody";
3
3
  export * from "./InternalServerErrorBody";
4
- export * from "./RegisterCompanyResponseBrand";
5
- export * from "./RegisterCompanyResponse";
6
- export * from "./UpdateCompanyResponseBrand";
7
- export * from "./UpdateCompanyResponse";
8
4
  export * from "./ForbiddenErrorBody";
9
5
  export * from "./RcsFunctionalities";
10
6
  export * from "./CompanyAdditionalWebsitesItem";
@@ -17,10 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BadRequestErrorBody"), exports);
18
18
  __exportStar(require("./UnauthorizedErrorBody"), exports);
19
19
  __exportStar(require("./InternalServerErrorBody"), exports);
20
- __exportStar(require("./RegisterCompanyResponseBrand"), exports);
21
- __exportStar(require("./RegisterCompanyResponse"), exports);
22
- __exportStar(require("./UpdateCompanyResponseBrand"), exports);
23
- __exportStar(require("./UpdateCompanyResponse"), exports);
24
20
  __exportStar(require("./ForbiddenErrorBody"), exports);
25
21
  __exportStar(require("./RcsFunctionalities"), exports);
26
22
  __exportStar(require("./CompanyAdditionalWebsitesItem"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.9";
1
+ export declare const SDK_VERSION = "1.0.10";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.0.9";
4
+ exports.SDK_VERSION = "1.0.10";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rcs-js",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "private": false,
5
5
  "repository": "https://github.com/pinnacle-dev/rcs-js",
6
6
  "main": "./index.js",