@smartytalent/api-client 0.1.33-dev.24 → 0.1.33-dev.25
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/dist/models/ChatAttributesSchema.d.ts +93 -20
- package/dist/models/ChatAttributesSchema.d.ts.map +1 -1
- package/dist/models/ChatAttributesSchema.js +53 -15
- package/dist/models/ChatAttributesSchema.js.map +1 -1
- package/dist/models/ChatMetaSchema.d.ts +7 -29
- package/dist/models/ChatMetaSchema.d.ts.map +1 -1
- package/dist/models/ChatMetaSchema.js +2 -8
- package/dist/models/ChatMetaSchema.js.map +1 -1
- package/dist/models/ChatRelationshipsBoeUserDataSchema.d.ts +39 -0
- package/dist/models/ChatRelationshipsBoeUserDataSchema.d.ts.map +1 -0
- package/dist/models/ChatRelationshipsBoeUserDataSchema.js +51 -0
- package/dist/models/ChatRelationshipsBoeUserDataSchema.js.map +1 -0
- package/dist/models/ChatRelationshipsBoeUserSchema.d.ts +34 -0
- package/dist/models/ChatRelationshipsBoeUserSchema.d.ts.map +1 -0
- package/dist/models/ChatRelationshipsBoeUserSchema.js +50 -0
- package/dist/models/ChatRelationshipsBoeUserSchema.js.map +1 -0
- package/dist/models/ChatRelationshipsCandidateDataSchema.d.ts +39 -0
- package/dist/models/ChatRelationshipsCandidateDataSchema.d.ts.map +1 -0
- package/dist/models/ChatRelationshipsCandidateDataSchema.js +51 -0
- package/dist/models/ChatRelationshipsCandidateDataSchema.js.map +1 -0
- package/dist/models/ChatRelationshipsCandidateSchema.d.ts +34 -0
- package/dist/models/ChatRelationshipsCandidateSchema.d.ts.map +1 -0
- package/dist/models/ChatRelationshipsCandidateSchema.js +50 -0
- package/dist/models/ChatRelationshipsCandidateSchema.js.map +1 -0
- package/dist/models/ChatRelationshipsConversationDataSchema.d.ts +39 -0
- package/dist/models/{ChatRelationshipsTranslationsDataSchema.d.ts.map → ChatRelationshipsConversationDataSchema.d.ts.map} +1 -1
- package/dist/models/ChatRelationshipsConversationDataSchema.js +51 -0
- package/dist/models/{ChatRelationshipsTranslationsDataSchema.js.map → ChatRelationshipsConversationDataSchema.js.map} +1 -1
- package/dist/models/ChatRelationshipsConversationSchema.d.ts +41 -0
- package/dist/models/ChatRelationshipsConversationSchema.d.ts.map +1 -0
- package/dist/models/ChatRelationshipsConversationSchema.js +50 -0
- package/dist/models/ChatRelationshipsConversationSchema.js.map +1 -0
- package/dist/models/ChatRelationshipsSchema.d.ts +34 -7
- package/dist/models/ChatRelationshipsSchema.d.ts.map +1 -1
- package/dist/models/ChatRelationshipsSchema.js +15 -6
- package/dist/models/ChatRelationshipsSchema.js.map +1 -1
- package/dist/models/ChatRelationshipsTalentDataSchema.d.ts +39 -0
- package/dist/models/ChatRelationshipsTalentDataSchema.d.ts.map +1 -0
- package/dist/models/ChatRelationshipsTalentDataSchema.js +51 -0
- package/dist/models/ChatRelationshipsTalentDataSchema.js.map +1 -0
- package/dist/models/ChatRelationshipsTalentSchema.d.ts +34 -0
- package/dist/models/ChatRelationshipsTalentSchema.d.ts.map +1 -0
- package/dist/models/ChatRelationshipsTalentSchema.js +50 -0
- package/dist/models/ChatRelationshipsTalentSchema.js.map +1 -0
- package/dist/models/ChatRelationshipsUserDataSchema.d.ts +39 -0
- package/dist/models/ChatRelationshipsUserDataSchema.d.ts.map +1 -0
- package/dist/models/ChatRelationshipsUserDataSchema.js +51 -0
- package/dist/models/ChatRelationshipsUserDataSchema.js.map +1 -0
- package/dist/models/ChatRelationshipsUserSchema.d.ts +34 -0
- package/dist/models/ChatRelationshipsUserSchema.d.ts.map +1 -0
- package/dist/models/ChatRelationshipsUserSchema.js +50 -0
- package/dist/models/ChatRelationshipsUserSchema.js.map +1 -0
- package/dist/models/index.d.ts +10 -4
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +10 -4
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/ChatRelationshipsConversationsDataSchema.d.ts +0 -39
- package/dist/models/ChatRelationshipsConversationsDataSchema.d.ts.map +0 -1
- package/dist/models/ChatRelationshipsConversationsDataSchema.js +0 -51
- package/dist/models/ChatRelationshipsConversationsDataSchema.js.map +0 -1
- package/dist/models/ChatRelationshipsConversationsSchema.d.ts +0 -42
- package/dist/models/ChatRelationshipsConversationsSchema.d.ts.map +0 -1
- package/dist/models/ChatRelationshipsConversationsSchema.js +0 -50
- package/dist/models/ChatRelationshipsConversationsSchema.js.map +0 -1
- package/dist/models/ChatRelationshipsTranslationsDataSchema.d.ts +0 -39
- package/dist/models/ChatRelationshipsTranslationsDataSchema.js +0 -51
- package/dist/models/ChatRelationshipsTranslationsSchema.d.ts +0 -34
- package/dist/models/ChatRelationshipsTranslationsSchema.d.ts.map +0 -1
- package/dist/models/ChatRelationshipsTranslationsSchema.js +0 -50
- package/dist/models/ChatRelationshipsTranslationsSchema.js.map +0 -1
|
@@ -11,59 +11,99 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ResourceTimestampsSchema } from './ResourceTimestampsSchema';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Cross-protocol chat message attributes. One row per direction:
|
|
15
|
+
* inbound and outbound replies on the same conversation are separate
|
|
16
|
+
* rows, joined by relationships.conversation. `protocol` is the wire
|
|
17
|
+
* format (sms/whatsapp/teams/googlechat/webapp). `fromIdentifier`
|
|
18
|
+
* and `toIdentifier` are protocol-native handles (E.164 phone for
|
|
19
|
+
* SMS/WhatsApp, Teams AAD object id, Google Chat user id, etc.) so
|
|
20
|
+
* the row carries the literal sender/receiver without joins. The
|
|
21
|
+
* resolved principals (candidate / talent / user) live in
|
|
22
|
+
* relationships - direction tells you which side of the
|
|
23
|
+
* conversation each principal is on (inbound: from-side is the
|
|
24
|
+
* external party; outbound: to-side is the external party, plus an
|
|
25
|
+
* optional user relationship for the boe agent that signed it).
|
|
26
|
+
* `body` is a multilingual dict {locale: text} mirroring the email
|
|
27
|
+
* pattern - the chat AI step function translates user-facing
|
|
28
|
+
* content into the tenant's active locales for admin display.
|
|
15
29
|
* @export
|
|
16
30
|
* @interface ChatAttributesSchema
|
|
17
31
|
*/
|
|
18
32
|
export interface ChatAttributesSchema {
|
|
19
33
|
/**
|
|
20
|
-
* Message direction
|
|
34
|
+
* Message direction relative to boe (inbound from external, outbound to external).
|
|
21
35
|
* @type {ChatAttributesSchemaDirectionEnum}
|
|
22
36
|
* @memberof ChatAttributesSchema
|
|
23
37
|
*/
|
|
24
38
|
direction?: ChatAttributesSchemaDirectionEnum;
|
|
25
39
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
40
|
+
* Wire protocol. Adapter Lambdas set this on write so downstream code can branch on rendering / status callback handling.
|
|
41
|
+
* @type {ChatAttributesSchemaProtocolEnum}
|
|
28
42
|
* @memberof ChatAttributesSchema
|
|
29
43
|
*/
|
|
30
|
-
|
|
44
|
+
protocol?: ChatAttributesSchemaProtocolEnum;
|
|
31
45
|
/**
|
|
32
|
-
*
|
|
46
|
+
* Sender's protocol-native handle (E.164 phone for SMS/WhatsApp, AAD object id for Teams, etc.).
|
|
33
47
|
* @type {string}
|
|
34
48
|
* @memberof ChatAttributesSchema
|
|
35
49
|
*/
|
|
36
|
-
|
|
50
|
+
fromIdentifier?: string;
|
|
37
51
|
/**
|
|
38
|
-
*
|
|
52
|
+
* Display name of the sender at write time. Denormalised from the resolved principal.
|
|
39
53
|
* @type {string}
|
|
40
54
|
* @memberof ChatAttributesSchema
|
|
41
55
|
*/
|
|
42
|
-
|
|
56
|
+
fromName?: string;
|
|
43
57
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {
|
|
58
|
+
* Principal type of the sender. Maps the platform's principal tables. `guest` for unknown senders (typically rejected by the inbound gate).
|
|
59
|
+
* @type {ChatAttributesSchemaFromTypeEnum}
|
|
46
60
|
* @memberof ChatAttributesSchema
|
|
47
61
|
*/
|
|
48
|
-
|
|
62
|
+
fromType?: ChatAttributesSchemaFromTypeEnum;
|
|
49
63
|
/**
|
|
50
|
-
*
|
|
64
|
+
* Recipient's protocol-native handle.
|
|
51
65
|
* @type {string}
|
|
52
66
|
* @memberof ChatAttributesSchema
|
|
53
67
|
*/
|
|
54
|
-
|
|
68
|
+
toIdentifier?: string;
|
|
55
69
|
/**
|
|
56
|
-
*
|
|
70
|
+
* Display name of the recipient at write time.
|
|
57
71
|
* @type {string}
|
|
58
72
|
* @memberof ChatAttributesSchema
|
|
59
73
|
*/
|
|
60
|
-
|
|
74
|
+
toName?: string;
|
|
61
75
|
/**
|
|
62
|
-
*
|
|
76
|
+
* Principal type of the recipient.
|
|
77
|
+
* @type {ChatAttributesSchemaToTypeEnum}
|
|
78
|
+
* @memberof ChatAttributesSchema
|
|
79
|
+
*/
|
|
80
|
+
toType?: ChatAttributesSchemaToTypeEnum;
|
|
81
|
+
/**
|
|
82
|
+
* Multilingual message body keyed by BCP 47 locale (e.g. {`en-US`: `Hi`, `pl-PL`: `Cześć`}). Inbound writers stamp a single locale; the chat AI step function fills the rest.
|
|
83
|
+
* @type {{ [key: string]: string; }}
|
|
84
|
+
* @memberof ChatAttributesSchema
|
|
85
|
+
*/
|
|
86
|
+
body?: {
|
|
87
|
+
[key: string]: string;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Lifecycle state. Inbound rows go straight to `received`. Outbound progresses queued -> sent -> delivered (or failed). `archived` is a terminal soft-delete for both directions.
|
|
63
91
|
* @type {ChatAttributesSchemaStatusEnum}
|
|
64
92
|
* @memberof ChatAttributesSchema
|
|
65
93
|
*/
|
|
66
94
|
status?: ChatAttributesSchemaStatusEnum;
|
|
95
|
+
/**
|
|
96
|
+
* BCP 47 locale of the original message (the locale key initially populated in `body`). Detected at the inbound gate, set by the writer on outbound.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof ChatAttributesSchema
|
|
99
|
+
*/
|
|
100
|
+
languageCode?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Unique short identifier (provider/lookup correlation).
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof ChatAttributesSchema
|
|
105
|
+
*/
|
|
106
|
+
shortCode?: string;
|
|
67
107
|
/**
|
|
68
108
|
*
|
|
69
109
|
* @type {ResourceTimestampsSchema}
|
|
@@ -79,14 +119,47 @@ export declare const ChatAttributesSchemaDirectionEnum: {
|
|
|
79
119
|
readonly Outbound: "outbound";
|
|
80
120
|
};
|
|
81
121
|
export type ChatAttributesSchemaDirectionEnum = typeof ChatAttributesSchemaDirectionEnum[keyof typeof ChatAttributesSchemaDirectionEnum];
|
|
122
|
+
/**
|
|
123
|
+
* @export
|
|
124
|
+
*/
|
|
125
|
+
export declare const ChatAttributesSchemaProtocolEnum: {
|
|
126
|
+
readonly Sms: "sms";
|
|
127
|
+
readonly Whatsapp: "whatsapp";
|
|
128
|
+
readonly Teams: "teams";
|
|
129
|
+
readonly Googlechat: "googlechat";
|
|
130
|
+
readonly Webapp: "webapp";
|
|
131
|
+
};
|
|
132
|
+
export type ChatAttributesSchemaProtocolEnum = typeof ChatAttributesSchemaProtocolEnum[keyof typeof ChatAttributesSchemaProtocolEnum];
|
|
133
|
+
/**
|
|
134
|
+
* @export
|
|
135
|
+
*/
|
|
136
|
+
export declare const ChatAttributesSchemaFromTypeEnum: {
|
|
137
|
+
readonly User: "user";
|
|
138
|
+
readonly Candidate: "candidate";
|
|
139
|
+
readonly Talent: "talent";
|
|
140
|
+
readonly Guest: "guest";
|
|
141
|
+
};
|
|
142
|
+
export type ChatAttributesSchemaFromTypeEnum = typeof ChatAttributesSchemaFromTypeEnum[keyof typeof ChatAttributesSchemaFromTypeEnum];
|
|
143
|
+
/**
|
|
144
|
+
* @export
|
|
145
|
+
*/
|
|
146
|
+
export declare const ChatAttributesSchemaToTypeEnum: {
|
|
147
|
+
readonly User: "user";
|
|
148
|
+
readonly Candidate: "candidate";
|
|
149
|
+
readonly Talent: "talent";
|
|
150
|
+
readonly Guest: "guest";
|
|
151
|
+
};
|
|
152
|
+
export type ChatAttributesSchemaToTypeEnum = typeof ChatAttributesSchemaToTypeEnum[keyof typeof ChatAttributesSchemaToTypeEnum];
|
|
82
153
|
/**
|
|
83
154
|
* @export
|
|
84
155
|
*/
|
|
85
156
|
export declare const ChatAttributesSchemaStatusEnum: {
|
|
86
|
-
readonly
|
|
87
|
-
readonly
|
|
88
|
-
readonly
|
|
157
|
+
readonly Received: "received";
|
|
158
|
+
readonly Queued: "queued";
|
|
159
|
+
readonly Sent: "sent";
|
|
160
|
+
readonly Delivered: "delivered";
|
|
89
161
|
readonly Failed: "failed";
|
|
162
|
+
readonly Archived: "archived";
|
|
90
163
|
};
|
|
91
164
|
export type ChatAttributesSchemaStatusEnum = typeof ChatAttributesSchemaStatusEnum[keyof typeof ChatAttributesSchemaStatusEnum];
|
|
92
165
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatAttributesSchema.d.ts","sourceRoot":"","sources":["../../src/models/ChatAttributesSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E
|
|
1
|
+
{"version":3,"file":"ChatAttributesSchema.d.ts","sourceRoot":"","sources":["../../src/models/ChatAttributesSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,iCAAiC,CAAC;IAC9C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,gCAAgC,CAAC;IAC5C;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,gCAAgC,CAAC;IAC5C;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;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,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAoB/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAqB9H"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ChatAttributesSchemaStatusEnum = exports.ChatAttributesSchemaDirectionEnum = void 0;
|
|
16
|
+
exports.ChatAttributesSchemaStatusEnum = exports.ChatAttributesSchemaToTypeEnum = exports.ChatAttributesSchemaFromTypeEnum = exports.ChatAttributesSchemaProtocolEnum = exports.ChatAttributesSchemaDirectionEnum = void 0;
|
|
17
17
|
exports.instanceOfChatAttributesSchema = instanceOfChatAttributesSchema;
|
|
18
18
|
exports.ChatAttributesSchemaFromJSON = ChatAttributesSchemaFromJSON;
|
|
19
19
|
exports.ChatAttributesSchemaFromJSONTyped = ChatAttributesSchemaFromJSONTyped;
|
|
@@ -27,14 +27,44 @@ exports.ChatAttributesSchemaDirectionEnum = {
|
|
|
27
27
|
Inbound: 'inbound',
|
|
28
28
|
Outbound: 'outbound'
|
|
29
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.ChatAttributesSchemaProtocolEnum = {
|
|
34
|
+
Sms: 'sms',
|
|
35
|
+
Whatsapp: 'whatsapp',
|
|
36
|
+
Teams: 'teams',
|
|
37
|
+
Googlechat: 'googlechat',
|
|
38
|
+
Webapp: 'webapp'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
exports.ChatAttributesSchemaFromTypeEnum = {
|
|
44
|
+
User: 'user',
|
|
45
|
+
Candidate: 'candidate',
|
|
46
|
+
Talent: 'talent',
|
|
47
|
+
Guest: 'guest'
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
exports.ChatAttributesSchemaToTypeEnum = {
|
|
53
|
+
User: 'user',
|
|
54
|
+
Candidate: 'candidate',
|
|
55
|
+
Talent: 'talent',
|
|
56
|
+
Guest: 'guest'
|
|
57
|
+
};
|
|
30
58
|
/**
|
|
31
59
|
* @export
|
|
32
60
|
*/
|
|
33
61
|
exports.ChatAttributesSchemaStatusEnum = {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
62
|
+
Received: 'received',
|
|
63
|
+
Queued: 'queued',
|
|
64
|
+
Sent: 'sent',
|
|
65
|
+
Delivered: 'delivered',
|
|
66
|
+
Failed: 'failed',
|
|
67
|
+
Archived: 'archived'
|
|
38
68
|
};
|
|
39
69
|
/**
|
|
40
70
|
* Check if a given object implements the ChatAttributesSchema interface.
|
|
@@ -51,13 +81,17 @@ function ChatAttributesSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
81
|
}
|
|
52
82
|
return {
|
|
53
83
|
'direction': json['direction'] == null ? undefined : json['direction'],
|
|
54
|
-
'
|
|
55
|
-
'
|
|
56
|
-
'
|
|
84
|
+
'protocol': json['protocol'] == null ? undefined : json['protocol'],
|
|
85
|
+
'fromIdentifier': json['fromIdentifier'] == null ? undefined : json['fromIdentifier'],
|
|
86
|
+
'fromName': json['fromName'] == null ? undefined : json['fromName'],
|
|
87
|
+
'fromType': json['fromType'] == null ? undefined : json['fromType'],
|
|
88
|
+
'toIdentifier': json['toIdentifier'] == null ? undefined : json['toIdentifier'],
|
|
89
|
+
'toName': json['toName'] == null ? undefined : json['toName'],
|
|
90
|
+
'toType': json['toType'] == null ? undefined : json['toType'],
|
|
57
91
|
'body': json['body'] == null ? undefined : json['body'],
|
|
58
|
-
'aiResponse': json['aiResponse'] == null ? undefined : json['aiResponse'],
|
|
59
|
-
'shortCode': json['shortCode'] == null ? undefined : json['shortCode'],
|
|
60
92
|
'status': json['status'] == null ? undefined : json['status'],
|
|
93
|
+
'languageCode': json['languageCode'] == null ? undefined : json['languageCode'],
|
|
94
|
+
'shortCode': json['shortCode'] == null ? undefined : json['shortCode'],
|
|
61
95
|
'timestamps': json['timestamps'] == null ? undefined : (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaFromJSON)(json['timestamps']),
|
|
62
96
|
};
|
|
63
97
|
}
|
|
@@ -70,13 +104,17 @@ function ChatAttributesSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
70
104
|
}
|
|
71
105
|
return {
|
|
72
106
|
'direction': value['direction'],
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
107
|
+
'protocol': value['protocol'],
|
|
108
|
+
'fromIdentifier': value['fromIdentifier'],
|
|
109
|
+
'fromName': value['fromName'],
|
|
110
|
+
'fromType': value['fromType'],
|
|
111
|
+
'toIdentifier': value['toIdentifier'],
|
|
112
|
+
'toName': value['toName'],
|
|
113
|
+
'toType': value['toType'],
|
|
76
114
|
'body': value['body'],
|
|
77
|
-
'aiResponse': value['aiResponse'],
|
|
78
|
-
'shortCode': value['shortCode'],
|
|
79
115
|
'status': value['status'],
|
|
116
|
+
'languageCode': value['languageCode'],
|
|
117
|
+
'shortCode': value['shortCode'],
|
|
80
118
|
'timestamps': (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaToJSON)(value['timestamps']),
|
|
81
119
|
};
|
|
82
120
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatAttributesSchema.js","sourceRoot":"","sources":["../../src/models/ChatAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
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,WAAW,CAAC;QAC/B,YAAY,EAAE,IAAA,yDAA8B,EAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KACpE,CAAC;AACN,CAAC"}
|
|
@@ -12,18 +12,14 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* Resource-level meta for chat rows. Stamped at write time by inbound /
|
|
14
14
|
* outbound transport adapters and downstream actions:
|
|
15
|
-
* - `
|
|
16
|
-
* for SMS
|
|
17
|
-
*
|
|
18
|
-
* have a first-class `conversations` relationship today, so the
|
|
19
|
-
* link travels in meta until a relationship lands
|
|
15
|
+
* - `providerMessageId` carries the underlying provider id (Twilio
|
|
16
|
+
* MessageSid for SMS, Bot Framework activity id for Teams, etc.)
|
|
17
|
+
* so admin views can correlate to provider logs
|
|
20
18
|
* - `isReply` indicates this row is a reply within an existing
|
|
21
19
|
* conversation (inbound Lambda's clarify_reply path or outbound
|
|
22
20
|
* Lambda invoked from a workflow's wait_for_reply step)
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* - `languageCode` denormalised target locale, set by the inbound
|
|
26
|
-
* gate after language detection
|
|
21
|
+
* `conversationId` and `languageCode` are first-class attributes on
|
|
22
|
+
* the chat resource; they are not duplicated in meta.
|
|
27
23
|
* Frontend should treat unknown keys gracefully - meta is forward-
|
|
28
24
|
* compatible (`additionalProperties: true`).
|
|
29
25
|
* @export
|
|
@@ -32,35 +28,17 @@
|
|
|
32
28
|
export interface ChatMetaSchema {
|
|
33
29
|
[key: string]: any | any;
|
|
34
30
|
/**
|
|
35
|
-
* Provider-side message id (Twilio MessageSid for SMS).
|
|
31
|
+
* Provider-side message id (Twilio MessageSid for SMS, etc.).
|
|
36
32
|
* @type {string}
|
|
37
33
|
* @memberof ChatMetaSchema
|
|
38
34
|
*/
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Thread linkage. Resolves to a row in /v1/conversations.
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof ChatMetaSchema
|
|
44
|
-
*/
|
|
45
|
-
conversationId?: string;
|
|
35
|
+
providerMessageId?: string;
|
|
46
36
|
/**
|
|
47
37
|
* True when this chat row is a reply within an open thread.
|
|
48
38
|
* @type {boolean}
|
|
49
39
|
* @memberof ChatMetaSchema
|
|
50
40
|
*/
|
|
51
41
|
isReply?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Internal workflow status (e.g. active).
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof ChatMetaSchema
|
|
56
|
-
*/
|
|
57
|
-
status?: string;
|
|
58
|
-
/**
|
|
59
|
-
* BCP 47 locale (e.g. en-US, pl-PL) detected at the inbound gate.
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof ChatMetaSchema
|
|
62
|
-
*/
|
|
63
|
-
languageCode?: string;
|
|
64
42
|
}
|
|
65
43
|
/**
|
|
66
44
|
* Check if a given object implements the ChatMetaSchema interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMetaSchema.d.ts","sourceRoot":"","sources":["../../src/models/ChatMetaSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH
|
|
1
|
+
{"version":3,"file":"ChatMetaSchema.d.ts","sourceRoot":"","sources":["../../src/models/ChatMetaSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,cAAc;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,GAAG,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAE/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAUnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWlH"}
|
|
@@ -33,11 +33,8 @@ function ChatMetaSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
...json,
|
|
36
|
-
'
|
|
37
|
-
'conversationId': json['conversationId'] == null ? undefined : json['conversationId'],
|
|
36
|
+
'providerMessageId': json['providerMessageId'] == null ? undefined : json['providerMessageId'],
|
|
38
37
|
'isReply': json['isReply'] == null ? undefined : json['isReply'],
|
|
39
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
40
|
-
'languageCode': json['languageCode'] == null ? undefined : json['languageCode'],
|
|
41
38
|
};
|
|
42
39
|
}
|
|
43
40
|
function ChatMetaSchemaToJSON(json) {
|
|
@@ -49,11 +46,8 @@ function ChatMetaSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
49
46
|
}
|
|
50
47
|
return {
|
|
51
48
|
...value,
|
|
52
|
-
'
|
|
53
|
-
'conversationId': value['conversationId'],
|
|
49
|
+
'providerMessageId': value['providerMessageId'],
|
|
54
50
|
'isReply': value['isReply'],
|
|
55
|
-
'status': value['status'],
|
|
56
|
-
'languageCode': value['languageCode'],
|
|
57
51
|
};
|
|
58
52
|
}
|
|
59
53
|
//# sourceMappingURL=ChatMetaSchema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMetaSchema.js","sourceRoot":"","sources":["../../src/models/ChatMetaSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"ChatMetaSchema.js","sourceRoot":"","sources":["../../src/models/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by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.1
|
|
6
|
+
* Contact: developer@smartymeet.com
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ChatRelationshipsBoeUserDataSchema
|
|
16
|
+
*/
|
|
17
|
+
export interface ChatRelationshipsBoeUserDataSchema {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ChatRelationshipsBoeUserDataSchema
|
|
22
|
+
*/
|
|
23
|
+
type?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ChatRelationshipsBoeUserDataSchema
|
|
28
|
+
*/
|
|
29
|
+
id?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ChatRelationshipsBoeUserDataSchema interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfChatRelationshipsBoeUserDataSchema(value: object): value is ChatRelationshipsBoeUserDataSchema;
|
|
35
|
+
export declare function ChatRelationshipsBoeUserDataSchemaFromJSON(json: any): ChatRelationshipsBoeUserDataSchema;
|
|
36
|
+
export declare function ChatRelationshipsBoeUserDataSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatRelationshipsBoeUserDataSchema;
|
|
37
|
+
export declare function ChatRelationshipsBoeUserDataSchemaToJSON(json: any): ChatRelationshipsBoeUserDataSchema;
|
|
38
|
+
export declare function ChatRelationshipsBoeUserDataSchemaToJSONTyped(value?: ChatRelationshipsBoeUserDataSchema | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=ChatRelationshipsBoeUserDataSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatRelationshipsBoeUserDataSchema.d.ts","sourceRoot":"","sources":["../../src/models/ChatRelationshipsBoeUserDataSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,wBAAgB,4CAA4C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kCAAkC,CAEvH;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,GAAG,kCAAkC,CAExG;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kCAAkC,CAS3I;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,kCAAkC,CAEtG;AAED,wBAAgB,6CAA6C,CAAC,KAAK,CAAC,EAAE,kCAAkC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1J"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SmartyMeet Dev03 API REST
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.1
|
|
9
|
+
* Contact: developer@smartymeet.com
|
|
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.instanceOfChatRelationshipsBoeUserDataSchema = instanceOfChatRelationshipsBoeUserDataSchema;
|
|
17
|
+
exports.ChatRelationshipsBoeUserDataSchemaFromJSON = ChatRelationshipsBoeUserDataSchemaFromJSON;
|
|
18
|
+
exports.ChatRelationshipsBoeUserDataSchemaFromJSONTyped = ChatRelationshipsBoeUserDataSchemaFromJSONTyped;
|
|
19
|
+
exports.ChatRelationshipsBoeUserDataSchemaToJSON = ChatRelationshipsBoeUserDataSchemaToJSON;
|
|
20
|
+
exports.ChatRelationshipsBoeUserDataSchemaToJSONTyped = ChatRelationshipsBoeUserDataSchemaToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ChatRelationshipsBoeUserDataSchema interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfChatRelationshipsBoeUserDataSchema(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ChatRelationshipsBoeUserDataSchemaFromJSON(json) {
|
|
28
|
+
return ChatRelationshipsBoeUserDataSchemaFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ChatRelationshipsBoeUserDataSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
36
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ChatRelationshipsBoeUserDataSchemaToJSON(json) {
|
|
40
|
+
return ChatRelationshipsBoeUserDataSchemaToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ChatRelationshipsBoeUserDataSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'type': value['type'],
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=ChatRelationshipsBoeUserDataSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatRelationshipsBoeUserDataSchema.js","sourceRoot":"","sources":["../../src/models/ChatRelationshipsBoeUserDataSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,oGAEC;AAED,gGAEC;AAED,0GASC;AAED,4FAEC;AAED,sGAUC;AApCD;;GAEG;AACH,SAAgB,4CAA4C,CAAC,KAAa;IACtE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,0CAA0C,CAAC,IAAS;IAChE,OAAO,+CAA+C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxE,CAAC;AAED,SAAgB,+CAA+C,CAAC,IAAS,EAAE,mBAA4B;IACnG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACvD,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;KACpD,CAAC;AACN,CAAC;AAED,SAAgB,wCAAwC,CAAC,IAAS;IAC9D,OAAO,6CAA6C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtE,CAAC;AAED,SAAgB,6CAA6C,CAAC,KAAiD,EAAE,sBAA+B,KAAK;IACjJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;KACpB,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SmartyMeet Dev03 API REST
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.1
|
|
6
|
+
* Contact: developer@smartymeet.com
|
|
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
|
+
import type { ChatRelationshipsBoeUserDataSchema } from './ChatRelationshipsBoeUserDataSchema';
|
|
13
|
+
/**
|
|
14
|
+
* Boe AI agent involved in this message. Mirror of tenant.relationships.boeUser - always populated when boe is on either side of the conversation (today: every row). Splitting this from the generic `user` slot keeps the semantics clean: `user` is for human counterparties, `boeUser` is the AI agent.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ChatRelationshipsBoeUserSchema
|
|
17
|
+
*/
|
|
18
|
+
export interface ChatRelationshipsBoeUserSchema {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ChatRelationshipsBoeUserDataSchema}
|
|
22
|
+
* @memberof ChatRelationshipsBoeUserSchema
|
|
23
|
+
*/
|
|
24
|
+
data?: ChatRelationshipsBoeUserDataSchema | null;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ChatRelationshipsBoeUserSchema interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfChatRelationshipsBoeUserSchema(value: object): value is ChatRelationshipsBoeUserSchema;
|
|
30
|
+
export declare function ChatRelationshipsBoeUserSchemaFromJSON(json: any): ChatRelationshipsBoeUserSchema;
|
|
31
|
+
export declare function ChatRelationshipsBoeUserSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatRelationshipsBoeUserSchema;
|
|
32
|
+
export declare function ChatRelationshipsBoeUserSchemaToJSON(json: any): ChatRelationshipsBoeUserSchema;
|
|
33
|
+
export declare function ChatRelationshipsBoeUserSchemaToJSONTyped(value?: ChatRelationshipsBoeUserSchema | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=ChatRelationshipsBoeUserSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatRelationshipsBoeUserSchema.d.ts","sourceRoot":"","sources":["../../src/models/ChatRelationshipsBoeUserSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAQ/F;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,IAAI,CAAC,EAAE,kCAAkC,GAAG,IAAI,CAAC;CACpD;AAED;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAE/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAQnI;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAE9F;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASlJ"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SmartyMeet Dev03 API REST
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.1
|
|
9
|
+
* Contact: developer@smartymeet.com
|
|
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.instanceOfChatRelationshipsBoeUserSchema = instanceOfChatRelationshipsBoeUserSchema;
|
|
17
|
+
exports.ChatRelationshipsBoeUserSchemaFromJSON = ChatRelationshipsBoeUserSchemaFromJSON;
|
|
18
|
+
exports.ChatRelationshipsBoeUserSchemaFromJSONTyped = ChatRelationshipsBoeUserSchemaFromJSONTyped;
|
|
19
|
+
exports.ChatRelationshipsBoeUserSchemaToJSON = ChatRelationshipsBoeUserSchemaToJSON;
|
|
20
|
+
exports.ChatRelationshipsBoeUserSchemaToJSONTyped = ChatRelationshipsBoeUserSchemaToJSONTyped;
|
|
21
|
+
const ChatRelationshipsBoeUserDataSchema_1 = require("./ChatRelationshipsBoeUserDataSchema");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ChatRelationshipsBoeUserSchema interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfChatRelationshipsBoeUserSchema(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ChatRelationshipsBoeUserSchemaFromJSON(json) {
|
|
29
|
+
return ChatRelationshipsBoeUserSchemaFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ChatRelationshipsBoeUserSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (0, ChatRelationshipsBoeUserDataSchema_1.ChatRelationshipsBoeUserDataSchemaFromJSON)(json['data']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ChatRelationshipsBoeUserSchemaToJSON(json) {
|
|
40
|
+
return ChatRelationshipsBoeUserSchemaToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ChatRelationshipsBoeUserSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'data': (0, ChatRelationshipsBoeUserDataSchema_1.ChatRelationshipsBoeUserDataSchemaToJSON)(value['data']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=ChatRelationshipsBoeUserSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatRelationshipsBoeUserSchema.js","sourceRoot":"","sources":["../../src/models/ChatRelationshipsBoeUserSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4BH,4FAEC;AAED,wFAEC;AAED,kGAQC;AAED,oFAEC;AAED,8FASC;AAvDD,6FAK8C;AAgB9C;;GAEG;AACH,SAAgB,wCAAwC,CAAC,KAAa;IAClE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS,EAAE,mBAA4B;IAC/F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,+EAA0C,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACtG,CAAC;AACN,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,SAAgB,yCAAyC,CAAC,KAA6C,EAAE,sBAA+B,KAAK;IACzI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,IAAA,6EAAwC,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KAClE,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SmartyMeet Dev03 API REST
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.1
|
|
6
|
+
* Contact: developer@smartymeet.com
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ChatRelationshipsCandidateDataSchema
|
|
16
|
+
*/
|
|
17
|
+
export interface ChatRelationshipsCandidateDataSchema {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ChatRelationshipsCandidateDataSchema
|
|
22
|
+
*/
|
|
23
|
+
type?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ChatRelationshipsCandidateDataSchema
|
|
28
|
+
*/
|
|
29
|
+
id?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ChatRelationshipsCandidateDataSchema interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfChatRelationshipsCandidateDataSchema(value: object): value is ChatRelationshipsCandidateDataSchema;
|
|
35
|
+
export declare function ChatRelationshipsCandidateDataSchemaFromJSON(json: any): ChatRelationshipsCandidateDataSchema;
|
|
36
|
+
export declare function ChatRelationshipsCandidateDataSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatRelationshipsCandidateDataSchema;
|
|
37
|
+
export declare function ChatRelationshipsCandidateDataSchemaToJSON(json: any): ChatRelationshipsCandidateDataSchema;
|
|
38
|
+
export declare function ChatRelationshipsCandidateDataSchemaToJSONTyped(value?: ChatRelationshipsCandidateDataSchema | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=ChatRelationshipsCandidateDataSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatRelationshipsCandidateDataSchema.d.ts","sourceRoot":"","sources":["../../src/models/ChatRelationshipsCandidateDataSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oCAAoC;IACjD;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,wBAAgB,8CAA8C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oCAAoC,CAE3H;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,GAAG,oCAAoC,CAE5G;AAED,wBAAgB,iDAAiD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oCAAoC,CAS/I;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,GAAG,oCAAoC,CAE1G;AAED,wBAAgB,+CAA+C,CAAC,KAAK,CAAC,EAAE,oCAAoC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9J"}
|