pingram 1.0.43-alpha.1752 → 1.0.43-alpha.1754

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.
@@ -11,7 +11,6 @@
11
11
  */
12
12
  import type { GetVoiceCallResponseCallSetupStream } from './GetVoiceCallResponseCallSetupStream';
13
13
  import type { ScriptStepsInner } from './ScriptStepsInner';
14
- import type { GetVoiceCallResponseCallSetupTranscript } from './GetVoiceCallResponseCallSetupTranscript';
15
14
  /**
16
15
  * What was requested when the call was placed. Stored on the call row.
17
16
  * @export
@@ -31,17 +30,17 @@ export interface GetVoiceCallResponseCallSetup {
31
30
  */
32
31
  script?: Array<ScriptStepsInner>;
33
32
  /**
34
- *
33
+ * Call recording. Omitted means off.
35
34
  * @type {boolean}
36
35
  * @memberof GetVoiceCallResponseCallSetup
37
36
  */
38
- record: boolean;
37
+ record?: boolean;
39
38
  /**
40
- *
41
- * @type {GetVoiceCallResponseCallSetupTranscript}
39
+ * single mixes every channel into one stream. multichannel transcribes each channel. Omitted means off.
40
+ * @type {string}
42
41
  * @memberof GetVoiceCallResponseCallSetup
43
42
  */
44
- transcript: GetVoiceCallResponseCallSetupTranscript;
43
+ transcript?: GetVoiceCallResponseCallSetupTranscriptEnum;
45
44
  /**
46
45
  *
47
46
  * @type {GetVoiceCallResponseCallSetupStream}
@@ -61,6 +60,14 @@ export interface GetVoiceCallResponseCallSetup {
61
60
  */
62
61
  voicemailMessage?: string;
63
62
  }
63
+ /**
64
+ * @export
65
+ */
66
+ export declare const GetVoiceCallResponseCallSetupTranscriptEnum: {
67
+ readonly SINGLE: "single";
68
+ readonly MULTICHANNEL: "multichannel";
69
+ };
70
+ export type GetVoiceCallResponseCallSetupTranscriptEnum = (typeof GetVoiceCallResponseCallSetupTranscriptEnum)[keyof typeof GetVoiceCallResponseCallSetupTranscriptEnum];
64
71
  /**
65
72
  * @export
66
73
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GetVoiceCallResponseCallSetupVoicemailActionEnum = void 0;
16
+ exports.GetVoiceCallResponseCallSetupVoicemailActionEnum = exports.GetVoiceCallResponseCallSetupTranscriptEnum = void 0;
17
17
  exports.instanceOfGetVoiceCallResponseCallSetup = instanceOfGetVoiceCallResponseCallSetup;
18
18
  exports.GetVoiceCallResponseCallSetupFromJSON = GetVoiceCallResponseCallSetupFromJSON;
19
19
  exports.GetVoiceCallResponseCallSetupFromJSONTyped = GetVoiceCallResponseCallSetupFromJSONTyped;
@@ -21,7 +21,13 @@ exports.GetVoiceCallResponseCallSetupToJSON = GetVoiceCallResponseCallSetupToJSO
21
21
  exports.GetVoiceCallResponseCallSetupToJSONTyped = GetVoiceCallResponseCallSetupToJSONTyped;
22
22
  const GetVoiceCallResponseCallSetupStream_1 = require("./GetVoiceCallResponseCallSetupStream");
23
23
  const ScriptStepsInner_1 = require("./ScriptStepsInner");
24
- const GetVoiceCallResponseCallSetupTranscript_1 = require("./GetVoiceCallResponseCallSetupTranscript");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.GetVoiceCallResponseCallSetupTranscriptEnum = {
28
+ SINGLE: 'single',
29
+ MULTICHANNEL: 'multichannel'
30
+ };
25
31
  /**
26
32
  * @export
27
33
  */
@@ -34,10 +40,6 @@ exports.GetVoiceCallResponseCallSetupVoicemailActionEnum = {
34
40
  * Check if a given object implements the GetVoiceCallResponseCallSetup interface.
35
41
  */
36
42
  function instanceOfGetVoiceCallResponseCallSetup(value) {
37
- if (!('record' in value) || value['record'] === undefined)
38
- return false;
39
- if (!('transcript' in value) || value['transcript'] === undefined)
40
- return false;
41
43
  return true;
42
44
  }
43
45
  function GetVoiceCallResponseCallSetupFromJSON(json) {
@@ -52,8 +54,8 @@ function GetVoiceCallResponseCallSetupFromJSONTyped(json, ignoreDiscriminator) {
52
54
  script: json['script'] == null
53
55
  ? undefined
54
56
  : json['script'].map(ScriptStepsInner_1.ScriptStepsInnerFromJSON),
55
- record: json['record'],
56
- transcript: (0, GetVoiceCallResponseCallSetupTranscript_1.GetVoiceCallResponseCallSetupTranscriptFromJSON)(json['transcript']),
57
+ record: json['record'] == null ? undefined : json['record'],
58
+ transcript: json['transcript'] == null ? undefined : json['transcript'],
57
59
  stream: json['stream'] == null
58
60
  ? undefined
59
61
  : (0, GetVoiceCallResponseCallSetupStream_1.GetVoiceCallResponseCallSetupStreamFromJSON)(json['stream']),
@@ -74,7 +76,7 @@ function GetVoiceCallResponseCallSetupToJSONTyped(value, ignoreDiscriminator = f
74
76
  ? undefined
75
77
  : (value['script'] ?? []).map(ScriptStepsInner_1.ScriptStepsInnerToJSON),
76
78
  record: value['record'],
77
- transcript: (0, GetVoiceCallResponseCallSetupTranscript_1.GetVoiceCallResponseCallSetupTranscriptToJSON)(value['transcript']),
79
+ transcript: value['transcript'],
78
80
  stream: (0, GetVoiceCallResponseCallSetupStream_1.GetVoiceCallResponseCallSetupStreamToJSON)(value['stream']),
79
81
  voicemailAction: value['voicemailAction'],
80
82
  voicemailMessage: value['voicemailMessage']
@@ -22,7 +22,7 @@ export interface ScriptPrivacy {
22
22
  */
23
23
  record?: boolean;
24
24
  /**
25
- * single mixes every channel into one stream. multichannel transcribes each channel.
25
+ * single mixes every channel into one stream. multichannel transcribes each channel. Omitted means off.
26
26
  * @type {string}
27
27
  * @memberof ScriptPrivacy
28
28
  */
@@ -22,7 +22,7 @@ export interface ScriptStream {
22
22
  */
23
23
  audio?: boolean;
24
24
  /**
25
- * single mixes every channel into one stream. multichannel transcribes each channel.
25
+ * single mixes every channel into one stream. multichannel transcribes each channel. Omitted means off.
26
26
  * @type {string}
27
27
  * @memberof ScriptStream
28
28
  */
@@ -144,7 +144,6 @@ export * from './GetVoiceCallResponseCallCost';
144
144
  export * from './GetVoiceCallResponseCallCostLinesInner';
145
145
  export * from './GetVoiceCallResponseCallSetup';
146
146
  export * from './GetVoiceCallResponseCallSetupStream';
147
- export * from './GetVoiceCallResponseCallSetupTranscript';
148
147
  export * from './GetVoiceCallResponseCallTimelineInner';
149
148
  export * from './GetVoiceCallResponseCallTimelineInnerLatency';
150
149
  export * from './GoogleGemini31FlashLivePreview';
@@ -162,7 +162,6 @@ __exportStar(require("./GetVoiceCallResponseCallCost"), exports);
162
162
  __exportStar(require("./GetVoiceCallResponseCallCostLinesInner"), exports);
163
163
  __exportStar(require("./GetVoiceCallResponseCallSetup"), exports);
164
164
  __exportStar(require("./GetVoiceCallResponseCallSetupStream"), exports);
165
- __exportStar(require("./GetVoiceCallResponseCallSetupTranscript"), exports);
166
165
  __exportStar(require("./GetVoiceCallResponseCallTimelineInner"), exports);
167
166
  __exportStar(require("./GetVoiceCallResponseCallTimelineInnerLatency"), exports);
168
167
  __exportStar(require("./GoogleGemini31FlashLivePreview"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pingram",
3
- "version": "1.0.43-alpha.1752",
3
+ "version": "1.0.43-alpha.1754",
4
4
  "description": "Official Node.js SDK for Pingram - Send notifications via Email, SMS, Push, In-App, and more",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -1,26 +0,0 @@
1
- /**
2
- * Pingram
3
- * Internal API for notification delivery and management
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Post-call transcript that was requested. false when it was off.
14
- * @export
15
- */
16
- export declare const GetVoiceCallResponseCallSetupTranscript: {
17
- readonly SINGLE: "single";
18
- readonly MULTICHANNEL: "multichannel";
19
- readonly FALSE: "false";
20
- };
21
- export type GetVoiceCallResponseCallSetupTranscript = (typeof GetVoiceCallResponseCallSetupTranscript)[keyof typeof GetVoiceCallResponseCallSetupTranscript];
22
- export declare function instanceOfGetVoiceCallResponseCallSetupTranscript(value: any): boolean;
23
- export declare function GetVoiceCallResponseCallSetupTranscriptFromJSON(json: any): GetVoiceCallResponseCallSetupTranscript;
24
- export declare function GetVoiceCallResponseCallSetupTranscriptFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetVoiceCallResponseCallSetupTranscript;
25
- export declare function GetVoiceCallResponseCallSetupTranscriptToJSON(value?: GetVoiceCallResponseCallSetupTranscript | null): any;
26
- export declare function GetVoiceCallResponseCallSetupTranscriptToJSONTyped(value: any, ignoreDiscriminator: boolean): GetVoiceCallResponseCallSetupTranscript;
@@ -1,52 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Pingram
6
- * Internal API for notification delivery and management
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GetVoiceCallResponseCallSetupTranscript = void 0;
17
- exports.instanceOfGetVoiceCallResponseCallSetupTranscript = instanceOfGetVoiceCallResponseCallSetupTranscript;
18
- exports.GetVoiceCallResponseCallSetupTranscriptFromJSON = GetVoiceCallResponseCallSetupTranscriptFromJSON;
19
- exports.GetVoiceCallResponseCallSetupTranscriptFromJSONTyped = GetVoiceCallResponseCallSetupTranscriptFromJSONTyped;
20
- exports.GetVoiceCallResponseCallSetupTranscriptToJSON = GetVoiceCallResponseCallSetupTranscriptToJSON;
21
- exports.GetVoiceCallResponseCallSetupTranscriptToJSONTyped = GetVoiceCallResponseCallSetupTranscriptToJSONTyped;
22
- /**
23
- * Post-call transcript that was requested. false when it was off.
24
- * @export
25
- */
26
- exports.GetVoiceCallResponseCallSetupTranscript = {
27
- SINGLE: 'single',
28
- MULTICHANNEL: 'multichannel',
29
- FALSE: 'false'
30
- };
31
- function instanceOfGetVoiceCallResponseCallSetupTranscript(value) {
32
- for (const key in exports.GetVoiceCallResponseCallSetupTranscript) {
33
- if (Object.prototype.hasOwnProperty.call(exports.GetVoiceCallResponseCallSetupTranscript, key)) {
34
- if (exports.GetVoiceCallResponseCallSetupTranscript[key] === value) {
35
- return true;
36
- }
37
- }
38
- }
39
- return false;
40
- }
41
- function GetVoiceCallResponseCallSetupTranscriptFromJSON(json) {
42
- return GetVoiceCallResponseCallSetupTranscriptFromJSONTyped(json, false);
43
- }
44
- function GetVoiceCallResponseCallSetupTranscriptFromJSONTyped(json, ignoreDiscriminator) {
45
- return json;
46
- }
47
- function GetVoiceCallResponseCallSetupTranscriptToJSON(value) {
48
- return value;
49
- }
50
- function GetVoiceCallResponseCallSetupTranscriptToJSONTyped(value, ignoreDiscriminator) {
51
- return value;
52
- }