rcs-js 1.0.14 → 1.0.16
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 -0
- package/Client.js +6 -1
- package/README.md +10 -0
- package/api/resources/company/client/Client.d.ts +8 -0
- package/api/resources/company/client/Client.js +11 -3
- package/api/resources/company/client/requests/CompanyRegisterRequest.d.ts +9 -0
- package/api/resources/company/client/requests/CompanyUpdateRequest.d.ts +1 -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/resources/tools/client/Client.d.ts +61 -0
- package/api/resources/tools/client/Client.js +195 -0
- package/api/resources/tools/client/index.d.ts +1 -0
- package/api/resources/tools/client/index.js +17 -0
- package/api/resources/tools/client/requests/ToolsShortenUrlRequest.d.ts +15 -0
- package/api/resources/tools/client/requests/ToolsShortenUrlRequest.js +5 -0
- package/api/resources/tools/client/requests/ToolsUploadUrlRequest.d.ts +24 -0
- package/api/resources/tools/client/requests/ToolsUploadUrlRequest.js +5 -0
- package/api/resources/tools/client/requests/index.d.ts +2 -0
- package/api/resources/tools/client/requests/index.js +2 -0
- package/api/resources/tools/index.d.ts +2 -0
- package/api/resources/tools/index.js +18 -0
- package/api/resources/tools/types/ToolsShortenUrlResponse.d.ts +9 -0
- package/api/resources/tools/types/ToolsShortenUrlResponse.js +5 -0
- package/api/resources/tools/types/ToolsUploadUrlResponse.d.ts +9 -0
- package/api/resources/tools/types/ToolsUploadUrlResponse.js +5 -0
- package/api/resources/tools/types/index.d.ts +2 -0
- package/api/resources/tools/types/index.js +18 -0
- package/api/types/Company.d.ts +12 -0
- package/api/types/CompanyCategory.d.ts +20 -0
- package/api/types/CompanyCategory.js +22 -0
- package/api/types/CompanyDetails.d.ts +3 -0
- package/api/types/InboundActionMessage.d.ts +13 -0
- package/api/types/InboundActionMessage.js +5 -0
- package/api/types/InboundLocationMessage.d.ts +11 -0
- package/api/types/InboundLocationMessage.js +5 -0
- package/api/types/InboundLocationMessageCoordinates.d.ts +7 -0
- package/api/types/InboundLocationMessageCoordinates.js +5 -0
- package/api/types/InboundMediaMessage.d.ts +12 -0
- package/api/types/InboundMediaMessage.js +5 -0
- package/api/types/InboundMessage.d.ts +10 -0
- package/api/types/InboundMessage.js +5 -0
- package/api/types/InboundMessageMessageType.d.ts +10 -0
- package/api/types/InboundMessageMessageType.js +12 -0
- package/api/types/InboundMessageMetadata.d.ts +8 -0
- package/api/types/InboundMessageMetadata.js +5 -0
- package/api/types/InboundTextMessage.d.ts +11 -0
- package/api/types/InboundTextMessage.js +5 -0
- package/api/types/MediaPayload.d.ts +7 -0
- package/api/types/MediaPayload.js +5 -0
- package/api/types/MessageMetadata.d.ts +6 -0
- package/api/types/MessageMetadata.js +5 -0
- package/api/types/Messaging.d.ts +15 -0
- package/api/types/Messaging.js +5 -0
- package/api/types/SenderMetadata.d.ts +8 -0
- package/api/types/SenderMetadata.js +5 -0
- package/api/types/index.d.ts +13 -0
- package/api/types/index.js +13 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +6 -1
- package/dist/api/resources/company/client/Client.d.ts +8 -0
- package/dist/api/resources/company/client/Client.js +11 -3
- package/dist/api/resources/company/client/requests/CompanyRegisterRequest.d.ts +9 -0
- package/dist/api/resources/company/client/requests/CompanyUpdateRequest.d.ts +1 -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/resources/tools/client/Client.d.ts +61 -0
- package/dist/api/resources/tools/client/Client.js +195 -0
- package/dist/api/resources/tools/client/index.d.ts +1 -0
- package/dist/api/resources/tools/client/index.js +17 -0
- package/dist/api/resources/tools/client/requests/ToolsShortenUrlRequest.d.ts +15 -0
- package/dist/api/resources/tools/client/requests/ToolsShortenUrlRequest.js +5 -0
- package/dist/api/resources/tools/client/requests/ToolsUploadUrlRequest.d.ts +24 -0
- package/dist/api/resources/tools/client/requests/ToolsUploadUrlRequest.js +5 -0
- package/dist/api/resources/tools/client/requests/index.d.ts +2 -0
- package/dist/api/resources/tools/client/requests/index.js +2 -0
- package/dist/api/resources/tools/index.d.ts +2 -0
- package/dist/api/resources/tools/index.js +18 -0
- package/dist/api/resources/tools/types/ToolsShortenUrlResponse.d.ts +9 -0
- package/dist/api/resources/tools/types/ToolsShortenUrlResponse.js +5 -0
- package/dist/api/resources/tools/types/ToolsUploadUrlResponse.d.ts +9 -0
- package/dist/api/resources/tools/types/ToolsUploadUrlResponse.js +5 -0
- package/dist/api/resources/tools/types/index.d.ts +2 -0
- package/dist/api/resources/tools/types/index.js +18 -0
- package/dist/api/types/Company.d.ts +12 -0
- package/dist/api/types/CompanyCategory.d.ts +20 -0
- package/dist/api/types/CompanyCategory.js +22 -0
- package/dist/api/types/CompanyDetails.d.ts +3 -0
- package/dist/api/types/InboundActionMessage.d.ts +13 -0
- package/dist/api/types/InboundActionMessage.js +5 -0
- package/dist/api/types/InboundLocationMessage.d.ts +11 -0
- package/dist/api/types/InboundLocationMessage.js +5 -0
- package/dist/api/types/InboundLocationMessageCoordinates.d.ts +7 -0
- package/dist/api/types/InboundLocationMessageCoordinates.js +5 -0
- package/dist/api/types/InboundMediaMessage.d.ts +12 -0
- package/dist/api/types/InboundMediaMessage.js +5 -0
- package/dist/api/types/InboundMessage.d.ts +10 -0
- package/dist/api/types/InboundMessage.js +5 -0
- package/dist/api/types/InboundMessageMessageType.d.ts +10 -0
- package/dist/api/types/InboundMessageMessageType.js +12 -0
- package/dist/api/types/InboundMessageMetadata.d.ts +8 -0
- package/dist/api/types/InboundMessageMetadata.js +5 -0
- package/dist/api/types/InboundTextMessage.d.ts +11 -0
- package/dist/api/types/InboundTextMessage.js +5 -0
- package/dist/api/types/MediaPayload.d.ts +7 -0
- package/dist/api/types/MediaPayload.js +5 -0
- package/dist/api/types/MessageMetadata.d.ts +6 -0
- package/dist/api/types/MessageMetadata.js +5 -0
- package/dist/api/types/Messaging.d.ts +15 -0
- package/dist/api/types/Messaging.js +5 -0
- package/dist/api/types/SenderMetadata.d.ts +8 -0
- package/dist/api/types/SenderMetadata.js +5 -0
- package/dist/api/types/index.d.ts +13 -0
- package/dist/api/types/index.js +13 -0
- package/dist/serialization/resources/company/client/requests/CompanyRegisterRequest.d.ts +2 -0
- package/dist/serialization/resources/company/client/requests/CompanyRegisterRequest.js +2 -0
- package/dist/serialization/resources/company/client/requests/CompanyUpdateRequest.d.ts +2 -0
- package/dist/serialization/resources/company/client/requests/CompanyUpdateRequest.js +2 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/tools/client/index.d.ts +1 -0
- package/dist/serialization/resources/tools/client/index.js +17 -0
- package/dist/serialization/resources/tools/client/requests/ToolsShortenUrlRequest.d.ts +13 -0
- package/dist/serialization/resources/tools/client/requests/ToolsShortenUrlRequest.js +34 -0
- package/dist/serialization/resources/tools/client/requests/ToolsUploadUrlRequest.d.ts +14 -0
- package/dist/serialization/resources/tools/client/requests/ToolsUploadUrlRequest.js +35 -0
- package/dist/serialization/resources/tools/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/tools/client/requests/index.js +7 -0
- package/dist/serialization/resources/tools/index.d.ts +2 -0
- package/dist/serialization/resources/tools/index.js +18 -0
- package/dist/serialization/resources/tools/types/ToolsShortenUrlResponse.d.ts +13 -0
- package/dist/serialization/resources/tools/types/ToolsShortenUrlResponse.js +34 -0
- package/dist/serialization/resources/tools/types/ToolsUploadUrlResponse.d.ts +13 -0
- package/dist/serialization/resources/tools/types/ToolsUploadUrlResponse.js +34 -0
- package/dist/serialization/resources/tools/types/index.d.ts +2 -0
- package/dist/serialization/resources/tools/types/index.js +18 -0
- package/dist/serialization/types/Company.d.ts +7 -0
- package/dist/serialization/types/Company.js +7 -0
- package/dist/serialization/types/CompanyCategory.d.ts +10 -0
- package/dist/serialization/types/CompanyCategory.js +46 -0
- package/dist/serialization/types/CompanyDetails.d.ts +2 -0
- package/dist/serialization/types/CompanyDetails.js +2 -0
- package/dist/serialization/types/InboundActionMessage.d.ts +19 -0
- package/dist/serialization/types/InboundActionMessage.js +40 -0
- package/dist/serialization/types/InboundLocationMessage.d.ts +18 -0
- package/dist/serialization/types/InboundLocationMessage.js +39 -0
- package/dist/serialization/types/InboundLocationMessageCoordinates.d.ts +13 -0
- package/dist/serialization/types/InboundLocationMessageCoordinates.js +34 -0
- package/dist/serialization/types/InboundMediaMessage.d.ts +19 -0
- package/dist/serialization/types/InboundMediaMessage.js +40 -0
- package/dist/serialization/types/InboundMessage.d.ts +17 -0
- package/dist/serialization/types/InboundMessage.js +38 -0
- package/dist/serialization/types/InboundMessageMessageType.d.ts +10 -0
- package/dist/serialization/types/InboundMessageMessageType.js +31 -0
- package/dist/serialization/types/InboundMessageMetadata.d.ts +15 -0
- package/dist/serialization/types/InboundMessageMetadata.js +36 -0
- package/dist/serialization/types/InboundTextMessage.d.ts +17 -0
- package/dist/serialization/types/InboundTextMessage.js +38 -0
- package/dist/serialization/types/MediaPayload.d.ts +13 -0
- package/dist/serialization/types/MediaPayload.js +34 -0
- package/dist/serialization/types/MessageMetadata.d.ts +12 -0
- package/dist/serialization/types/MessageMetadata.js +33 -0
- package/dist/serialization/types/Messaging.d.ts +16 -0
- package/dist/serialization/types/Messaging.js +37 -0
- package/dist/serialization/types/SenderMetadata.d.ts +14 -0
- package/dist/serialization/types/SenderMetadata.js +35 -0
- package/dist/serialization/types/index.d.ts +13 -0
- package/dist/serialization/types/index.js +13 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -3
- package/reference.md +144 -0
- package/serialization/resources/company/client/requests/CompanyRegisterRequest.d.ts +2 -0
- package/serialization/resources/company/client/requests/CompanyRegisterRequest.js +2 -0
- package/serialization/resources/company/client/requests/CompanyUpdateRequest.d.ts +2 -0
- package/serialization/resources/company/client/requests/CompanyUpdateRequest.js +2 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/tools/client/index.d.ts +1 -0
- package/serialization/resources/tools/client/index.js +17 -0
- package/serialization/resources/tools/client/requests/ToolsShortenUrlRequest.d.ts +13 -0
- package/serialization/resources/tools/client/requests/ToolsShortenUrlRequest.js +34 -0
- package/serialization/resources/tools/client/requests/ToolsUploadUrlRequest.d.ts +14 -0
- package/serialization/resources/tools/client/requests/ToolsUploadUrlRequest.js +35 -0
- package/serialization/resources/tools/client/requests/index.d.ts +2 -0
- package/serialization/resources/tools/client/requests/index.js +7 -0
- package/serialization/resources/tools/index.d.ts +2 -0
- package/serialization/resources/tools/index.js +18 -0
- package/serialization/resources/tools/types/ToolsShortenUrlResponse.d.ts +13 -0
- package/serialization/resources/tools/types/ToolsShortenUrlResponse.js +34 -0
- package/serialization/resources/tools/types/ToolsUploadUrlResponse.d.ts +13 -0
- package/serialization/resources/tools/types/ToolsUploadUrlResponse.js +34 -0
- package/serialization/resources/tools/types/index.d.ts +2 -0
- package/serialization/resources/tools/types/index.js +18 -0
- package/serialization/types/Company.d.ts +7 -0
- package/serialization/types/Company.js +7 -0
- package/serialization/types/CompanyCategory.d.ts +10 -0
- package/serialization/types/CompanyCategory.js +46 -0
- package/serialization/types/CompanyDetails.d.ts +2 -0
- package/serialization/types/CompanyDetails.js +2 -0
- package/serialization/types/InboundActionMessage.d.ts +19 -0
- package/serialization/types/InboundActionMessage.js +40 -0
- package/serialization/types/InboundLocationMessage.d.ts +18 -0
- package/serialization/types/InboundLocationMessage.js +39 -0
- package/serialization/types/InboundLocationMessageCoordinates.d.ts +13 -0
- package/serialization/types/InboundLocationMessageCoordinates.js +34 -0
- package/serialization/types/InboundMediaMessage.d.ts +19 -0
- package/serialization/types/InboundMediaMessage.js +40 -0
- package/serialization/types/InboundMessage.d.ts +17 -0
- package/serialization/types/InboundMessage.js +38 -0
- package/serialization/types/InboundMessageMessageType.d.ts +10 -0
- package/serialization/types/InboundMessageMessageType.js +31 -0
- package/serialization/types/InboundMessageMetadata.d.ts +15 -0
- package/serialization/types/InboundMessageMetadata.js +36 -0
- package/serialization/types/InboundTextMessage.d.ts +17 -0
- package/serialization/types/InboundTextMessage.js +38 -0
- package/serialization/types/MediaPayload.d.ts +13 -0
- package/serialization/types/MediaPayload.js +34 -0
- package/serialization/types/MessageMetadata.d.ts +12 -0
- package/serialization/types/MessageMetadata.js +33 -0
- package/serialization/types/Messaging.d.ts +16 -0
- package/serialization/types/Messaging.js +37 -0
- package/serialization/types/SenderMetadata.d.ts +14 -0
- package/serialization/types/SenderMetadata.js +35 -0
- package/serialization/types/index.d.ts +13 -0
- package/serialization/types/index.js +13 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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("./ToolsShortenUrlResponse"), exports);
|
|
18
|
+
__exportStar(require("./ToolsUploadUrlResponse"), exports);
|
package/api/types/Company.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export interface Company {
|
|
|
9
9
|
createdAt?: Date;
|
|
10
10
|
/** The name of the company */
|
|
11
11
|
name?: string;
|
|
12
|
+
/** The category of the company */
|
|
13
|
+
category?: Pinnacle.CompanyCategory;
|
|
12
14
|
/** The address of the company */
|
|
13
15
|
address?: string;
|
|
14
16
|
/** The Employer Identification Number (EIN) of the company */
|
|
@@ -43,6 +45,16 @@ export interface Company {
|
|
|
43
45
|
pocTitle?: string;
|
|
44
46
|
/** The email address of the point of contact */
|
|
45
47
|
pocEmail?: string;
|
|
48
|
+
/** Explain how users will opt in to receive messages. */
|
|
49
|
+
optIn?: string;
|
|
50
|
+
/** Explain how users will opt out of receiving messages. */
|
|
51
|
+
optOut?: string;
|
|
52
|
+
/** Please provide the unique keywords to opt out. Each keyword should not contain spaces. */
|
|
53
|
+
optOutKeywords?: string[];
|
|
54
|
+
/** Please define what your agent will do. */
|
|
55
|
+
agentUseCase?: string;
|
|
56
|
+
/** Please provide some example messages that your agent will send. */
|
|
57
|
+
expectedAgentResponses?: string;
|
|
46
58
|
/** A list of test phone numbers */
|
|
47
59
|
testNumbers?: string[];
|
|
48
60
|
/** The approval status of the company */
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type CompanyCategory = "Entertainment" | "Finance" | "Food & Beverage" | "Games" | "Health" | "Misc" | "News" | "Other" | "Productivity" | "Shopping & Retail" | "Social" | "Sports" | "Travel" | "Utilities";
|
|
5
|
+
export declare const CompanyCategory: {
|
|
6
|
+
readonly Entertainment: "Entertainment";
|
|
7
|
+
readonly Finance: "Finance";
|
|
8
|
+
readonly FoodBeverage: "Food & Beverage";
|
|
9
|
+
readonly Games: "Games";
|
|
10
|
+
readonly Health: "Health";
|
|
11
|
+
readonly Misc: "Misc";
|
|
12
|
+
readonly News: "News";
|
|
13
|
+
readonly Other: "Other";
|
|
14
|
+
readonly Productivity: "Productivity";
|
|
15
|
+
readonly ShoppingRetail: "Shopping & Retail";
|
|
16
|
+
readonly Social: "Social";
|
|
17
|
+
readonly Sports: "Sports";
|
|
18
|
+
readonly Travel: "Travel";
|
|
19
|
+
readonly Utilities: "Utilities";
|
|
20
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CompanyCategory = void 0;
|
|
7
|
+
exports.CompanyCategory = {
|
|
8
|
+
Entertainment: "Entertainment",
|
|
9
|
+
Finance: "Finance",
|
|
10
|
+
FoodBeverage: "Food & Beverage",
|
|
11
|
+
Games: "Games",
|
|
12
|
+
Health: "Health",
|
|
13
|
+
Misc: "Misc",
|
|
14
|
+
News: "News",
|
|
15
|
+
Other: "Other",
|
|
16
|
+
Productivity: "Productivity",
|
|
17
|
+
ShoppingRetail: "Shopping & Retail",
|
|
18
|
+
Social: "Social",
|
|
19
|
+
Sports: "Sports",
|
|
20
|
+
Travel: "Travel",
|
|
21
|
+
Utilities: "Utilities",
|
|
22
|
+
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Pinnacle from "../index";
|
|
4
5
|
export interface CompanyDetails {
|
|
5
6
|
/** The name of the company. */
|
|
6
7
|
name: string;
|
|
8
|
+
/** The category of the company. */
|
|
9
|
+
category: Pinnacle.CompanyCategory;
|
|
7
10
|
/** The address of the company. */
|
|
8
11
|
address: string;
|
|
9
12
|
/** The EIN (Employer Identification Number) of the company. */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index";
|
|
5
|
+
export interface InboundActionMessage {
|
|
6
|
+
messageType?: "action";
|
|
7
|
+
actionTitle: string;
|
|
8
|
+
payload?: string;
|
|
9
|
+
actionMetadata?: string;
|
|
10
|
+
from: string;
|
|
11
|
+
to: string;
|
|
12
|
+
metadata?: Pinnacle.InboundMessageMetadata;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index";
|
|
5
|
+
export interface InboundLocationMessage {
|
|
6
|
+
messageType?: "location";
|
|
7
|
+
coordinates: Pinnacle.InboundLocationMessageCoordinates;
|
|
8
|
+
from: string;
|
|
9
|
+
to: string;
|
|
10
|
+
metadata?: Pinnacle.InboundMessageMetadata;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index";
|
|
5
|
+
export interface InboundMediaMessage {
|
|
6
|
+
messageType?: "media";
|
|
7
|
+
text?: string;
|
|
8
|
+
mediaUrls: Pinnacle.MediaPayload[];
|
|
9
|
+
from: string;
|
|
10
|
+
to: string;
|
|
11
|
+
metadata?: Pinnacle.InboundMessageMetadata;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index";
|
|
5
|
+
export interface InboundMessage {
|
|
6
|
+
from: string;
|
|
7
|
+
to: string;
|
|
8
|
+
messageType: Pinnacle.InboundMessageMessageType;
|
|
9
|
+
metadata?: Pinnacle.InboundMessageMetadata;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type InboundMessageMessageType = "text" | "media" | "action" | "location";
|
|
5
|
+
export declare const InboundMessageMessageType: {
|
|
6
|
+
readonly Text: "text";
|
|
7
|
+
readonly Media: "media";
|
|
8
|
+
readonly Action: "action";
|
|
9
|
+
readonly Location: "location";
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.InboundMessageMessageType = void 0;
|
|
7
|
+
exports.InboundMessageMessageType = {
|
|
8
|
+
Text: "text",
|
|
9
|
+
Media: "media",
|
|
10
|
+
Action: "action",
|
|
11
|
+
Location: "location",
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index";
|
|
5
|
+
export interface InboundTextMessage {
|
|
6
|
+
messageType?: "text";
|
|
7
|
+
text: string;
|
|
8
|
+
from: string;
|
|
9
|
+
to: string;
|
|
10
|
+
metadata?: Pinnacle.InboundMessageMetadata;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface Messaging {
|
|
5
|
+
/** Explain how users will opt in to receive messages. */
|
|
6
|
+
optIn: string;
|
|
7
|
+
/** Explain how users will opt out of receiving messages. */
|
|
8
|
+
optOut: string;
|
|
9
|
+
/** Please provide the unique keywords to opt out. Each keyword should not contain spaces. */
|
|
10
|
+
optOutKeywords: string[];
|
|
11
|
+
/** Please define what your agent will do. */
|
|
12
|
+
agentUseCase: string;
|
|
13
|
+
/** Please provide some example messages that your agent will send. */
|
|
14
|
+
expectedAgentResponses: string;
|
|
15
|
+
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -8,9 +8,11 @@ export * from "./CompanyAdditionalWebsitesItem";
|
|
|
8
8
|
export * from "./CompanyAdditionalEmailsItem";
|
|
9
9
|
export * from "./CompanyAdditionalPhoneNumbersItem";
|
|
10
10
|
export * from "./Company";
|
|
11
|
+
export * from "./CompanyCategory";
|
|
11
12
|
export * from "./CompanyDetails";
|
|
12
13
|
export * from "./CompanyContact";
|
|
13
14
|
export * from "./PointOfContact";
|
|
15
|
+
export * from "./Messaging";
|
|
14
16
|
export * from "./AdditionalWebsite";
|
|
15
17
|
export * from "./AdditionalPhoneNumber";
|
|
16
18
|
export * from "./AdditionalEmail";
|
|
@@ -19,3 +21,14 @@ export * from "./Card";
|
|
|
19
21
|
export * from "./ActionType";
|
|
20
22
|
export * from "./ActionLatLong";
|
|
21
23
|
export * from "./Action";
|
|
24
|
+
export * from "./InboundMessageMessageType";
|
|
25
|
+
export * from "./InboundMessageMetadata";
|
|
26
|
+
export * from "./InboundMessage";
|
|
27
|
+
export * from "./SenderMetadata";
|
|
28
|
+
export * from "./MessageMetadata";
|
|
29
|
+
export * from "./InboundTextMessage";
|
|
30
|
+
export * from "./MediaPayload";
|
|
31
|
+
export * from "./InboundMediaMessage";
|
|
32
|
+
export * from "./InboundActionMessage";
|
|
33
|
+
export * from "./InboundLocationMessageCoordinates";
|
|
34
|
+
export * from "./InboundLocationMessage";
|
package/api/types/index.js
CHANGED
|
@@ -24,9 +24,11 @@ __exportStar(require("./CompanyAdditionalWebsitesItem"), exports);
|
|
|
24
24
|
__exportStar(require("./CompanyAdditionalEmailsItem"), exports);
|
|
25
25
|
__exportStar(require("./CompanyAdditionalPhoneNumbersItem"), exports);
|
|
26
26
|
__exportStar(require("./Company"), exports);
|
|
27
|
+
__exportStar(require("./CompanyCategory"), exports);
|
|
27
28
|
__exportStar(require("./CompanyDetails"), exports);
|
|
28
29
|
__exportStar(require("./CompanyContact"), exports);
|
|
29
30
|
__exportStar(require("./PointOfContact"), exports);
|
|
31
|
+
__exportStar(require("./Messaging"), exports);
|
|
30
32
|
__exportStar(require("./AdditionalWebsite"), exports);
|
|
31
33
|
__exportStar(require("./AdditionalPhoneNumber"), exports);
|
|
32
34
|
__exportStar(require("./AdditionalEmail"), exports);
|
|
@@ -35,3 +37,14 @@ __exportStar(require("./Card"), exports);
|
|
|
35
37
|
__exportStar(require("./ActionType"), exports);
|
|
36
38
|
__exportStar(require("./ActionLatLong"), exports);
|
|
37
39
|
__exportStar(require("./Action"), exports);
|
|
40
|
+
__exportStar(require("./InboundMessageMessageType"), exports);
|
|
41
|
+
__exportStar(require("./InboundMessageMetadata"), exports);
|
|
42
|
+
__exportStar(require("./InboundMessage"), exports);
|
|
43
|
+
__exportStar(require("./SenderMetadata"), exports);
|
|
44
|
+
__exportStar(require("./MessageMetadata"), exports);
|
|
45
|
+
__exportStar(require("./InboundTextMessage"), exports);
|
|
46
|
+
__exportStar(require("./MediaPayload"), exports);
|
|
47
|
+
__exportStar(require("./InboundMediaMessage"), exports);
|
|
48
|
+
__exportStar(require("./InboundActionMessage"), exports);
|
|
49
|
+
__exportStar(require("./InboundLocationMessageCoordinates"), exports);
|
|
50
|
+
__exportStar(require("./InboundLocationMessage"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as core from "./core";
|
|
|
6
6
|
import * as Pinnacle from "./api/index";
|
|
7
7
|
import { Company } from "./api/resources/company/client/Client";
|
|
8
8
|
import { Send } from "./api/resources/send/client/Client";
|
|
9
|
+
import { Tools } from "./api/resources/tools/client/Client";
|
|
9
10
|
export declare namespace PinnacleClient {
|
|
10
11
|
interface Options {
|
|
11
12
|
environment?: core.Supplier<environments.PinnacleEnvironment | string>;
|
|
@@ -41,6 +42,8 @@ export declare class PinnacleClient {
|
|
|
41
42
|
get company(): Company;
|
|
42
43
|
protected _send: Send | undefined;
|
|
43
44
|
get send(): Send;
|
|
45
|
+
protected _tools: Tools | undefined;
|
|
46
|
+
get tools(): Tools;
|
|
44
47
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
45
48
|
"PINNACLE-API-Key": string;
|
|
46
49
|
}>;
|
package/dist/Client.js
CHANGED
|
@@ -47,6 +47,7 @@ const serializers = __importStar(require("./serialization/index"));
|
|
|
47
47
|
const errors = __importStar(require("./errors/index"));
|
|
48
48
|
const Client_1 = require("./api/resources/company/client/Client");
|
|
49
49
|
const Client_2 = require("./api/resources/send/client/Client");
|
|
50
|
+
const Client_3 = require("./api/resources/tools/client/Client");
|
|
50
51
|
class PinnacleClient {
|
|
51
52
|
constructor(_options) {
|
|
52
53
|
this._options = _options;
|
|
@@ -75,7 +76,7 @@ class PinnacleClient {
|
|
|
75
76
|
const _response = yield core.fetcher({
|
|
76
77
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PinnacleEnvironment.Default, "rcs_functionality"),
|
|
77
78
|
method: "GET",
|
|
78
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.
|
|
79
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.16", "User-Agent": "rcs-js/1.0.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
79
80
|
contentType: "application/json",
|
|
80
81
|
queryParameters: _queryParams,
|
|
81
82
|
requestType: "json",
|
|
@@ -129,6 +130,10 @@ class PinnacleClient {
|
|
|
129
130
|
var _a;
|
|
130
131
|
return ((_a = this._send) !== null && _a !== void 0 ? _a : (this._send = new Client_2.Send(this._options)));
|
|
131
132
|
}
|
|
133
|
+
get tools() {
|
|
134
|
+
var _a;
|
|
135
|
+
return ((_a = this._tools) !== null && _a !== void 0 ? _a : (this._tools = new Client_3.Tools(this._options)));
|
|
136
|
+
}
|
|
132
137
|
_getCustomAuthorizationHeaders() {
|
|
133
138
|
return __awaiter(this, void 0, void 0, function* () {
|
|
134
139
|
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
@@ -50,6 +50,7 @@ export declare class Company {
|
|
|
50
50
|
* await client.company.register({
|
|
51
51
|
* company: {
|
|
52
52
|
* name: "name",
|
|
53
|
+
* category: "Entertainment",
|
|
53
54
|
* address: "address",
|
|
54
55
|
* ein: "ein",
|
|
55
56
|
* description: "description",
|
|
@@ -67,6 +68,13 @@ export declare class Company {
|
|
|
67
68
|
* privacyPolicyUrl: "privacyPolicyUrl",
|
|
68
69
|
* tosUrl: "tosUrl"
|
|
69
70
|
* },
|
|
71
|
+
* messaging: {
|
|
72
|
+
* optIn: "By opting in, you agree to receive messages from Pinnacle, including updates and promotions. Reply \u201CSTOP\u201D to unsubscribe. Standard message and data rates may apply.",
|
|
73
|
+
* optOut: "Reply with keywords like STOP or UNSUBSCRIBE to opt-out. A confirmation message will be sent, and no further messages will be received unless you re-subscribe.",
|
|
74
|
+
* optOutKeywords: ["STOP", "UNSUBSCRIBE"],
|
|
75
|
+
* agentUseCase: "Pinnacle\u2019s agent assists with product updates, promotions, order tracking, and support. It answers FAQs, provides order updates, and helps with opt-in/out processes. Escalates to live support when needed.",
|
|
76
|
+
* expectedAgentResponses: "General Inquiry: \u201CHow can I assist you today?\u201D\nOrder Status: \u201CProvide your order number.\u201D\nOpt-In: \u201CYou\u2019re now subscribed!\u201D\nOpt-Out: \u201CYou have unsubscribed.\u201D\nEscalation: \u201CConnecting to a live agent.\u201D \n"
|
|
77
|
+
* },
|
|
70
78
|
* pointOfContact: {
|
|
71
79
|
* pocName: "pocName",
|
|
72
80
|
* pocTitle: "pocTitle",
|
|
@@ -76,7 +76,7 @@ class Company {
|
|
|
76
76
|
const _response = yield core.fetcher({
|
|
77
77
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PinnacleEnvironment.Default, "company"),
|
|
78
78
|
method: "GET",
|
|
79
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.
|
|
79
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.16", "User-Agent": "rcs-js/1.0.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
80
80
|
contentType: "application/json",
|
|
81
81
|
queryParameters: _queryParams,
|
|
82
82
|
requestType: "json",
|
|
@@ -137,6 +137,7 @@ class Company {
|
|
|
137
137
|
* await client.company.register({
|
|
138
138
|
* company: {
|
|
139
139
|
* name: "name",
|
|
140
|
+
* category: "Entertainment",
|
|
140
141
|
* address: "address",
|
|
141
142
|
* ein: "ein",
|
|
142
143
|
* description: "description",
|
|
@@ -154,6 +155,13 @@ class Company {
|
|
|
154
155
|
* privacyPolicyUrl: "privacyPolicyUrl",
|
|
155
156
|
* tosUrl: "tosUrl"
|
|
156
157
|
* },
|
|
158
|
+
* messaging: {
|
|
159
|
+
* optIn: "By opting in, you agree to receive messages from Pinnacle, including updates and promotions. Reply \u201CSTOP\u201D to unsubscribe. Standard message and data rates may apply.",
|
|
160
|
+
* optOut: "Reply with keywords like STOP or UNSUBSCRIBE to opt-out. A confirmation message will be sent, and no further messages will be received unless you re-subscribe.",
|
|
161
|
+
* optOutKeywords: ["STOP", "UNSUBSCRIBE"],
|
|
162
|
+
* agentUseCase: "Pinnacle\u2019s agent assists with product updates, promotions, order tracking, and support. It answers FAQs, provides order updates, and helps with opt-in/out processes. Escalates to live support when needed.",
|
|
163
|
+
* expectedAgentResponses: "General Inquiry: \u201CHow can I assist you today?\u201D\nOrder Status: \u201CProvide your order number.\u201D\nOpt-In: \u201CYou\u2019re now subscribed!\u201D\nOpt-Out: \u201CYou have unsubscribed.\u201D\nEscalation: \u201CConnecting to a live agent.\u201D \n"
|
|
164
|
+
* },
|
|
157
165
|
* pointOfContact: {
|
|
158
166
|
* pocName: "pocName",
|
|
159
167
|
* pocTitle: "pocTitle",
|
|
@@ -167,7 +175,7 @@ class Company {
|
|
|
167
175
|
const _response = yield core.fetcher({
|
|
168
176
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PinnacleEnvironment.Default, "company/register"),
|
|
169
177
|
method: "POST",
|
|
170
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.
|
|
178
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.16", "User-Agent": "rcs-js/1.0.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
171
179
|
contentType: "application/json",
|
|
172
180
|
requestType: "json",
|
|
173
181
|
body: serializers.CompanyRegisterRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -236,7 +244,7 @@ class Company {
|
|
|
236
244
|
const _response = yield core.fetcher({
|
|
237
245
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PinnacleEnvironment.Default, "company/update"),
|
|
238
246
|
method: "POST",
|
|
239
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.
|
|
247
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.16", "User-Agent": "rcs-js/1.0.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
240
248
|
contentType: "application/json",
|
|
241
249
|
requestType: "json",
|
|
242
250
|
body: serializers.CompanyUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -7,6 +7,7 @@ import * as Pinnacle from "../../../../index";
|
|
|
7
7
|
* {
|
|
8
8
|
* company: {
|
|
9
9
|
* name: "name",
|
|
10
|
+
* category: "Entertainment",
|
|
10
11
|
* address: "address",
|
|
11
12
|
* ein: "ein",
|
|
12
13
|
* description: "description",
|
|
@@ -24,6 +25,13 @@ import * as Pinnacle from "../../../../index";
|
|
|
24
25
|
* privacyPolicyUrl: "privacyPolicyUrl",
|
|
25
26
|
* tosUrl: "tosUrl"
|
|
26
27
|
* },
|
|
28
|
+
* messaging: {
|
|
29
|
+
* optIn: "By opting in, you agree to receive messages from Pinnacle, including updates and promotions. Reply \u201CSTOP\u201D to unsubscribe. Standard message and data rates may apply.",
|
|
30
|
+
* optOut: "Reply with keywords like STOP or UNSUBSCRIBE to opt-out. A confirmation message will be sent, and no further messages will be received unless you re-subscribe.",
|
|
31
|
+
* optOutKeywords: ["STOP", "UNSUBSCRIBE"],
|
|
32
|
+
* agentUseCase: "Pinnacle\u2019s agent assists with product updates, promotions, order tracking, and support. It answers FAQs, provides order updates, and helps with opt-in/out processes. Escalates to live support when needed.",
|
|
33
|
+
* expectedAgentResponses: "General Inquiry: \u201CHow can I assist you today?\u201D\nOrder Status: \u201CProvide your order number.\u201D\nOpt-In: \u201CYou\u2019re now subscribed!\u201D\nOpt-Out: \u201CYou have unsubscribed.\u201D\nEscalation: \u201CConnecting to a live agent.\u201D \n"
|
|
34
|
+
* },
|
|
27
35
|
* pointOfContact: {
|
|
28
36
|
* pocName: "pocName",
|
|
29
37
|
* pocTitle: "pocTitle",
|
|
@@ -34,6 +42,7 @@ import * as Pinnacle from "../../../../index";
|
|
|
34
42
|
export interface CompanyRegisterRequest {
|
|
35
43
|
company: Pinnacle.CompanyDetails;
|
|
36
44
|
companyContact: Pinnacle.CompanyContact;
|
|
45
|
+
messaging: Pinnacle.Messaging;
|
|
37
46
|
pointOfContact: Pinnacle.PointOfContact;
|
|
38
47
|
optionals?: Pinnacle.Optionals;
|
|
39
48
|
}
|
|
@@ -2,5 +2,8 @@ export * as company from "./company";
|
|
|
2
2
|
export * from "./company/types";
|
|
3
3
|
export * as send from "./send";
|
|
4
4
|
export * from "./send/types";
|
|
5
|
+
export * as tools from "./tools";
|
|
6
|
+
export * from "./tools/types";
|
|
5
7
|
export * from "./company/client/requests";
|
|
6
8
|
export * from "./send/client/requests";
|
|
9
|
+
export * from "./tools/client/requests";
|
|
@@ -26,10 +26,13 @@ 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 = exports.company = void 0;
|
|
29
|
+
exports.tools = exports.send = exports.company = void 0;
|
|
30
30
|
exports.company = __importStar(require("./company"));
|
|
31
31
|
__exportStar(require("./company/types"), exports);
|
|
32
32
|
exports.send = __importStar(require("./send"));
|
|
33
33
|
__exportStar(require("./send/types"), exports);
|
|
34
|
+
exports.tools = __importStar(require("./tools"));
|
|
35
|
+
__exportStar(require("./tools/types"), exports);
|
|
34
36
|
__exportStar(require("./company/client/requests"), exports);
|
|
35
37
|
__exportStar(require("./send/client/requests"), exports);
|
|
38
|
+
__exportStar(require("./tools/client/requests"), exports);
|
|
@@ -75,7 +75,7 @@ class Send {
|
|
|
75
75
|
const _response = yield core.fetcher({
|
|
76
76
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PinnacleEnvironment.Default, "send/rcs"),
|
|
77
77
|
method: "POST",
|
|
78
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.
|
|
78
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.16", "User-Agent": "rcs-js/1.0.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
requestType: "json",
|
|
81
81
|
body: serializers.Rcs.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -150,7 +150,7 @@ class Send {
|
|
|
150
150
|
const _response = yield core.fetcher({
|
|
151
151
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PinnacleEnvironment.Default, "send/sms"),
|
|
152
152
|
method: "POST",
|
|
153
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.
|
|
153
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.16", "User-Agent": "rcs-js/1.0.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
154
154
|
contentType: "application/json",
|
|
155
155
|
requestType: "json",
|
|
156
156
|
body: serializers.SendSmsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -225,7 +225,7 @@ class Send {
|
|
|
225
225
|
const _response = yield core.fetcher({
|
|
226
226
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PinnacleEnvironment.Default, "send/mms"),
|
|
227
227
|
method: "POST",
|
|
228
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.
|
|
228
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "rcs-js", "X-Fern-SDK-Version": "1.0.16", "User-Agent": "rcs-js/1.0.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
229
229
|
contentType: "application/json",
|
|
230
230
|
requestType: "json",
|
|
231
231
|
body: serializers.SendMmsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|