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.
- package/Client.d.ts +3 -69
- package/Client.js +6 -231
- package/README.md +6 -6
- package/api/client/requests/index.d.ts +0 -3
- package/api/resources/company/client/Client.d.ts +96 -0
- package/api/resources/company/client/Client.js +289 -0
- package/api/resources/company/client/index.d.ts +1 -0
- package/api/resources/company/client/index.js +17 -0
- package/api/{client/requests/GetCompanyRequest.d.ts → resources/company/client/requests/CompanyGetRequest.d.ts} +1 -1
- package/{dist/api/client/requests/RegisterCompanyRequest.d.ts → api/resources/company/client/requests/CompanyRegisterRequest.d.ts} +2 -2
- package/api/{client/requests/UpdateCompanyRequest.d.ts → resources/company/client/requests/CompanyUpdateRequest.d.ts} +2 -2
- package/api/resources/company/client/requests/index.d.ts +3 -0
- package/api/resources/company/client/requests/index.js +2 -0
- package/api/resources/company/index.d.ts +2 -0
- package/api/resources/company/index.js +18 -0
- package/api/resources/company/types/CompanyRegisterResponse.d.ts +7 -0
- package/api/{types/RegisterCompanyResponseBrand.d.ts → resources/company/types/CompanyRegisterResponseBrand.d.ts} +1 -1
- package/api/resources/company/types/CompanyUpdateResponse.d.ts +7 -0
- package/api/{types/UpdateCompanyResponseBrand.d.ts → resources/company/types/CompanyUpdateResponseBrand.d.ts} +1 -1
- package/api/resources/company/types/index.d.ts +4 -0
- package/api/resources/company/types/index.js +20 -0
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/send/client/Client.js +3 -3
- package/api/types/index.d.ts +0 -4
- package/api/types/index.js +0 -4
- package/dist/Client.d.ts +3 -69
- package/dist/Client.js +6 -231
- package/dist/api/client/requests/index.d.ts +0 -3
- package/dist/api/resources/company/client/Client.d.ts +96 -0
- package/dist/api/resources/company/client/Client.js +289 -0
- package/dist/api/resources/company/client/index.d.ts +1 -0
- package/dist/api/resources/company/client/index.js +17 -0
- package/dist/api/{client/requests/GetCompanyRequest.d.ts → resources/company/client/requests/CompanyGetRequest.d.ts} +1 -1
- package/{api/client/requests/RegisterCompanyRequest.d.ts → dist/api/resources/company/client/requests/CompanyRegisterRequest.d.ts} +2 -2
- package/dist/api/{client/requests/UpdateCompanyRequest.d.ts → resources/company/client/requests/CompanyUpdateRequest.d.ts} +2 -2
- package/dist/api/resources/company/client/requests/index.d.ts +3 -0
- package/dist/api/resources/company/client/requests/index.js +2 -0
- package/dist/api/resources/company/index.d.ts +2 -0
- package/dist/api/resources/company/index.js +18 -0
- package/dist/api/resources/company/types/CompanyRegisterResponse.d.ts +7 -0
- package/dist/api/{types/RegisterCompanyResponseBrand.d.ts → resources/company/types/CompanyRegisterResponseBrand.d.ts} +1 -1
- package/dist/api/resources/company/types/CompanyUpdateResponse.d.ts +7 -0
- package/dist/api/{types/UpdateCompanyResponseBrand.d.ts → resources/company/types/CompanyUpdateResponseBrand.d.ts} +1 -1
- package/dist/api/resources/company/types/index.d.ts +4 -0
- package/dist/api/resources/company/types/index.js +20 -0
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/send/client/Client.js +3 -3
- package/dist/api/types/index.d.ts +0 -4
- package/dist/api/types/index.js +0 -4
- package/dist/serialization/index.d.ts +0 -1
- package/dist/serialization/index.js +0 -1
- package/dist/serialization/resources/company/client/get.d.ts +11 -0
- package/dist/serialization/{client/getCompany.js → resources/company/client/get.js} +2 -2
- package/dist/serialization/resources/company/client/index.d.ts +2 -0
- package/{serialization → dist/serialization/resources/company}/client/index.js +2 -2
- package/dist/serialization/resources/company/client/requests/CompanyRegisterRequest.d.ts +19 -0
- package/dist/serialization/{client/requests/RegisterCompanyRequest.js → resources/company/client/requests/CompanyRegisterRequest.js} +7 -7
- package/dist/serialization/resources/company/client/requests/CompanyUpdateRequest.d.ts +20 -0
- package/dist/serialization/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +7 -7
- package/dist/serialization/resources/company/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/company/client/requests/index.js +7 -0
- package/dist/serialization/resources/company/index.d.ts +2 -0
- package/dist/serialization/resources/company/index.js +18 -0
- package/dist/serialization/resources/company/types/CompanyRegisterResponse.d.ts +13 -0
- package/dist/serialization/{types/RegisterCompanyResponse.js → resources/company/types/CompanyRegisterResponse.js} +5 -5
- package/dist/serialization/resources/company/types/CompanyRegisterResponseBrand.d.ts +13 -0
- package/{serialization/types/RegisterCompanyResponseBrand.js → dist/serialization/resources/company/types/CompanyRegisterResponseBrand.js} +3 -3
- package/dist/serialization/resources/company/types/CompanyUpdateResponse.d.ts +13 -0
- package/{serialization/types/UpdateCompanyResponse.js → dist/serialization/resources/company/types/CompanyUpdateResponse.js} +5 -5
- package/dist/serialization/resources/company/types/CompanyUpdateResponseBrand.d.ts +13 -0
- package/dist/serialization/{types/UpdateCompanyResponseBrand.js → resources/company/types/CompanyUpdateResponseBrand.js} +3 -3
- package/dist/serialization/resources/company/types/index.d.ts +4 -0
- package/dist/serialization/resources/company/types/index.js +20 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/types/index.d.ts +0 -4
- package/dist/serialization/types/index.js +0 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +222 -6
- package/serialization/index.d.ts +0 -1
- package/serialization/index.js +0 -1
- package/serialization/resources/company/client/get.d.ts +11 -0
- package/serialization/{client/getCompany.js → resources/company/client/get.js} +2 -2
- package/serialization/resources/company/client/index.d.ts +2 -0
- package/{dist/serialization → serialization/resources/company}/client/index.js +2 -2
- package/serialization/resources/company/client/requests/CompanyRegisterRequest.d.ts +19 -0
- package/serialization/{client/requests/RegisterCompanyRequest.js → resources/company/client/requests/CompanyRegisterRequest.js} +7 -7
- package/serialization/resources/company/client/requests/CompanyUpdateRequest.d.ts +20 -0
- package/serialization/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +7 -7
- package/serialization/resources/company/client/requests/index.d.ts +2 -0
- package/serialization/resources/company/client/requests/index.js +7 -0
- package/serialization/resources/company/index.d.ts +2 -0
- package/serialization/resources/company/index.js +18 -0
- package/serialization/resources/company/types/CompanyRegisterResponse.d.ts +13 -0
- package/serialization/{types/RegisterCompanyResponse.js → resources/company/types/CompanyRegisterResponse.js} +5 -5
- package/serialization/resources/company/types/CompanyRegisterResponseBrand.d.ts +13 -0
- package/{dist/serialization/types/RegisterCompanyResponseBrand.js → serialization/resources/company/types/CompanyRegisterResponseBrand.js} +3 -3
- package/serialization/resources/company/types/CompanyUpdateResponse.d.ts +13 -0
- package/{dist/serialization/types/UpdateCompanyResponse.js → serialization/resources/company/types/CompanyUpdateResponse.js} +5 -5
- package/serialization/resources/company/types/CompanyUpdateResponseBrand.d.ts +13 -0
- package/serialization/{types/UpdateCompanyResponseBrand.js → resources/company/types/CompanyUpdateResponseBrand.js} +3 -3
- package/serialization/resources/company/types/index.d.ts +4 -0
- package/serialization/resources/company/types/index.js +20 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/types/index.d.ts +0 -4
- package/serialization/types/index.js +0 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/RegisterCompanyResponse.d.ts +0 -7
- package/api/types/UpdateCompanyResponse.d.ts +0 -7
- package/dist/api/types/RegisterCompanyResponse.d.ts +0 -7
- package/dist/api/types/UpdateCompanyResponse.d.ts +0 -7
- package/dist/serialization/client/getCompany.d.ts +0 -11
- package/dist/serialization/client/index.d.ts +0 -2
- package/dist/serialization/client/requests/RegisterCompanyRequest.d.ts +0 -19
- package/dist/serialization/client/requests/UpdateCompanyRequest.d.ts +0 -20
- package/dist/serialization/client/requests/index.d.ts +0 -2
- package/dist/serialization/client/requests/index.js +0 -7
- package/dist/serialization/types/RegisterCompanyResponse.d.ts +0 -13
- package/dist/serialization/types/RegisterCompanyResponseBrand.d.ts +0 -13
- package/dist/serialization/types/UpdateCompanyResponse.d.ts +0 -13
- package/dist/serialization/types/UpdateCompanyResponseBrand.d.ts +0 -13
- package/serialization/client/getCompany.d.ts +0 -11
- package/serialization/client/index.d.ts +0 -2
- package/serialization/client/requests/RegisterCompanyRequest.d.ts +0 -19
- package/serialization/client/requests/UpdateCompanyRequest.d.ts +0 -20
- package/serialization/client/requests/index.d.ts +0 -2
- package/serialization/client/requests/index.js +0 -7
- package/serialization/types/RegisterCompanyResponse.d.ts +0 -13
- package/serialization/types/RegisterCompanyResponseBrand.d.ts +0 -13
- package/serialization/types/UpdateCompanyResponse.d.ts +0 -13
- package/serialization/types/UpdateCompanyResponseBrand.d.ts +0 -13
- /package/api/{client/requests/GetCompanyRequest.js → resources/company/client/requests/CompanyGetRequest.js} +0 -0
- /package/api/{client/requests/RegisterCompanyRequest.js → resources/company/client/requests/CompanyRegisterRequest.js} +0 -0
- /package/api/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +0 -0
- /package/api/{types/RegisterCompanyResponse.js → resources/company/types/CompanyRegisterResponse.js} +0 -0
- /package/api/{types/RegisterCompanyResponseBrand.js → resources/company/types/CompanyRegisterResponseBrand.js} +0 -0
- /package/api/{types/UpdateCompanyResponse.js → resources/company/types/CompanyUpdateResponse.js} +0 -0
- /package/api/{types/UpdateCompanyResponseBrand.js → resources/company/types/CompanyUpdateResponseBrand.js} +0 -0
- /package/dist/api/{client/requests/GetCompanyRequest.js → resources/company/client/requests/CompanyGetRequest.js} +0 -0
- /package/dist/api/{client/requests/RegisterCompanyRequest.js → resources/company/client/requests/CompanyRegisterRequest.js} +0 -0
- /package/dist/api/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +0 -0
- /package/dist/api/{types/RegisterCompanyResponse.js → resources/company/types/CompanyRegisterResponse.js} +0 -0
- /package/dist/api/{types/RegisterCompanyResponseBrand.js → resources/company/types/CompanyRegisterResponseBrand.js} +0 -0
- /package/dist/api/{types/UpdateCompanyResponse.js → resources/company/types/CompanyUpdateResponse.js} +0 -0
- /package/dist/api/{types/UpdateCompanyResponseBrand.js → resources/company/types/CompanyUpdateResponseBrand.js} +0 -0
|
@@ -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 "
|
|
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
|
|
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 "
|
|
4
|
+
import * as Pinnacle from "../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
8
|
* companyId: "companyId"
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
|
-
export interface
|
|
11
|
+
export interface CompanyUpdateRequest {
|
|
12
12
|
companyId: string;
|
|
13
13
|
company?: Pinnacle.Company;
|
|
14
14
|
companyContact?: Pinnacle.CompanyContact;
|
|
@@ -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,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);
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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";
|
package/dist/api/types/index.js
CHANGED
|
@@ -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);
|
|
@@ -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("
|
|
31
|
-
const Company_1 = require("
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const Company_1 = require("../../../types/Company");
|
|
32
32
|
exports.Response = core.serialization.list(Company_1.Company);
|
|
@@ -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.
|
|
30
|
-
exports.
|
|
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.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const CompanyDetails_1 = require("
|
|
32
|
-
const CompanyContact_1 = require("
|
|
33
|
-
const PointOfContact_1 = require("
|
|
34
|
-
const Optionals_1 = require("
|
|
35
|
-
exports.
|
|
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.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const Company_1 = require("
|
|
32
|
-
const CompanyContact_1 = require("
|
|
33
|
-
const PointOfContact_1 = require("
|
|
34
|
-
const Optionals_1 = require("
|
|
35
|
-
exports.
|
|
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,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,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.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const
|
|
32
|
-
exports.
|
|
33
|
-
brand:
|
|
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.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
exports.
|
|
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.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const
|
|
32
|
-
exports.
|
|
33
|
-
brand:
|
|
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.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
exports.
|
|
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,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);
|
|
@@ -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.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.10";
|
package/dist/version.js
CHANGED