@smartytalent/api-client 0.1.5 → 0.1.7
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/apis/ChatsApi.d.ts +153 -0
- package/dist/apis/ChatsApi.d.ts.map +1 -0
- package/dist/apis/ChatsApi.js +370 -0
- package/dist/apis/ChatsApi.js.map +1 -0
- package/dist/apis/DefaultApi.d.ts +60 -0
- package/dist/apis/DefaultApi.d.ts.map +1 -0
- package/dist/apis/DefaultApi.js +170 -0
- package/dist/apis/DefaultApi.js.map +1 -0
- package/dist/apis/TimelinesApi.d.ts +77 -0
- package/dist/apis/TimelinesApi.d.ts.map +1 -0
- package/dist/apis/TimelinesApi.js +204 -0
- package/dist/apis/TimelinesApi.js.map +1 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +3 -0
- package/dist/apis/index.js.map +1 -1
- package/dist/models/ChatAttributesSchema.d.ts +100 -0
- package/dist/models/ChatAttributesSchema.d.ts.map +1 -0
- package/dist/models/ChatAttributesSchema.js +83 -0
- package/dist/models/ChatAttributesSchema.js.map +1 -0
- package/dist/models/ChatRelationshipsSchema.d.ts +34 -0
- package/dist/models/ChatRelationshipsSchema.d.ts.map +1 -0
- package/dist/models/ChatRelationshipsSchema.js +50 -0
- package/dist/models/ChatRelationshipsSchema.js.map +1 -0
- package/dist/models/ChatRelationshipsTranslationsDataSchema.d.ts +39 -0
- package/dist/models/ChatRelationshipsTranslationsDataSchema.d.ts.map +1 -0
- package/dist/models/ChatRelationshipsTranslationsDataSchema.js +51 -0
- package/dist/models/ChatRelationshipsTranslationsDataSchema.js.map +1 -0
- package/dist/models/ChatRelationshipsTranslationsSchema.d.ts +34 -0
- package/dist/models/ChatRelationshipsTranslationsSchema.d.ts.map +1 -0
- package/dist/models/ChatRelationshipsTranslationsSchema.js +50 -0
- package/dist/models/ChatRelationshipsTranslationsSchema.js.map +1 -0
- package/dist/models/ChatResourceSchema.d.ts +75 -0
- package/dist/models/ChatResourceSchema.d.ts.map +1 -0
- package/dist/models/ChatResourceSchema.js +75 -0
- package/dist/models/ChatResourceSchema.js.map +1 -0
- package/dist/models/ChatSchema.d.ts +49 -0
- package/dist/models/ChatSchema.d.ts.map +1 -0
- package/dist/models/ChatSchema.js +55 -0
- package/dist/models/ChatSchema.js.map +1 -0
- package/dist/models/ChatsSchema.d.ts +48 -0
- package/dist/models/ChatsSchema.d.ts.map +1 -0
- package/dist/models/ChatsSchema.js +56 -0
- package/dist/models/ChatsSchema.js.map +1 -0
- package/dist/models/CreateChatRequestBody.d.ts +34 -0
- package/dist/models/CreateChatRequestBody.d.ts.map +1 -0
- package/dist/models/CreateChatRequestBody.js +52 -0
- package/dist/models/CreateChatRequestBody.js.map +1 -0
- package/dist/models/CreateChatRequestBodyData.d.ts +54 -0
- package/dist/models/CreateChatRequestBodyData.d.ts.map +1 -0
- package/dist/models/CreateChatRequestBodyData.js +66 -0
- package/dist/models/CreateChatRequestBodyData.js.map +1 -0
- package/dist/models/TimelineAttributesSchema.d.ts +93 -0
- package/dist/models/TimelineAttributesSchema.d.ts.map +1 -0
- package/dist/models/TimelineAttributesSchema.js +81 -0
- package/dist/models/TimelineAttributesSchema.js.map +1 -0
- package/dist/models/TimelineAttributesSchemaChangesValue.d.ts +39 -0
- package/dist/models/TimelineAttributesSchemaChangesValue.d.ts.map +1 -0
- package/dist/models/TimelineAttributesSchemaChangesValue.js +51 -0
- package/dist/models/TimelineAttributesSchemaChangesValue.js.map +1 -0
- package/dist/models/TimelineAttributesSchemaSummaryValue.d.ts +46 -0
- package/dist/models/TimelineAttributesSchemaSummaryValue.d.ts.map +1 -0
- package/dist/models/TimelineAttributesSchemaSummaryValue.js +54 -0
- package/dist/models/TimelineAttributesSchemaSummaryValue.js.map +1 -0
- package/dist/models/TimelineAttributesSchemaSummaryValueUser.d.ts +39 -0
- package/dist/models/TimelineAttributesSchemaSummaryValueUser.d.ts.map +1 -0
- package/dist/models/TimelineAttributesSchemaSummaryValueUser.js +51 -0
- package/dist/models/TimelineAttributesSchemaSummaryValueUser.js.map +1 -0
- package/dist/models/TimelineAttributesSchemaTimestamps.d.ts +33 -0
- package/dist/models/TimelineAttributesSchemaTimestamps.d.ts.map +1 -0
- package/dist/models/TimelineAttributesSchemaTimestamps.js +49 -0
- package/dist/models/TimelineAttributesSchemaTimestamps.js.map +1 -0
- package/dist/models/TimelineResourceSchema.d.ts +74 -0
- package/dist/models/TimelineResourceSchema.d.ts.map +1 -0
- package/dist/models/TimelineResourceSchema.js +74 -0
- package/dist/models/TimelineResourceSchema.js.map +1 -0
- package/dist/models/TimelineSchema.d.ts +49 -0
- package/dist/models/TimelineSchema.d.ts.map +1 -0
- package/dist/models/TimelineSchema.js +55 -0
- package/dist/models/TimelineSchema.js.map +1 -0
- package/dist/models/TimelinesSchema.d.ts +48 -0
- package/dist/models/TimelinesSchema.d.ts.map +1 -0
- package/dist/models/TimelinesSchema.js +56 -0
- package/dist/models/TimelinesSchema.js.map +1 -0
- package/dist/models/UpdateChatRequestBody.d.ts +34 -0
- package/dist/models/UpdateChatRequestBody.d.ts.map +1 -0
- package/dist/models/UpdateChatRequestBody.js +52 -0
- package/dist/models/UpdateChatRequestBody.js.map +1 -0
- package/dist/models/UpdateChatRequestBodyData.d.ts +53 -0
- package/dist/models/UpdateChatRequestBodyData.d.ts.map +1 -0
- package/dist/models/UpdateChatRequestBodyData.js +67 -0
- package/dist/models/UpdateChatRequestBodyData.js.map +1 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +19 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,170 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.DefaultApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
class DefaultApi extends runtime.BaseAPI {
|
|
55
|
+
/**
|
|
56
|
+
* Creates request options for corsTimelineEntry without sending the request
|
|
57
|
+
*/
|
|
58
|
+
async corsTimelineEntryRequestOpts(requestParameters) {
|
|
59
|
+
if (requestParameters['timelineId'] == null) {
|
|
60
|
+
throw new runtime.RequiredError('timelineId', 'Required parameter "timelineId" was null or undefined when calling corsTimelineEntry().');
|
|
61
|
+
}
|
|
62
|
+
const queryParameters = {};
|
|
63
|
+
const headerParameters = {};
|
|
64
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
65
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
66
|
+
}
|
|
67
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
68
|
+
// oauth required
|
|
69
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
70
|
+
}
|
|
71
|
+
let urlPath = `/v1/timelines/{timelineId}`;
|
|
72
|
+
urlPath = urlPath.replace(`{${"timelineId"}}`, encodeURIComponent(String(requestParameters['timelineId'])));
|
|
73
|
+
return {
|
|
74
|
+
path: urlPath,
|
|
75
|
+
method: 'OPTIONS',
|
|
76
|
+
headers: headerParameters,
|
|
77
|
+
query: queryParameters,
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* CORS support for Timeline Entry
|
|
82
|
+
*/
|
|
83
|
+
async corsTimelineEntryRaw(requestParameters, initOverrides) {
|
|
84
|
+
const requestOptions = await this.corsTimelineEntryRequestOpts(requestParameters);
|
|
85
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
86
|
+
return new runtime.VoidApiResponse(response);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* CORS support for Timeline Entry
|
|
90
|
+
*/
|
|
91
|
+
async corsTimelineEntry(requestParameters, initOverrides) {
|
|
92
|
+
await this.corsTimelineEntryRaw(requestParameters, initOverrides);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Creates request options for corsTimelineRollback without sending the request
|
|
96
|
+
*/
|
|
97
|
+
async corsTimelineRollbackRequestOpts(requestParameters) {
|
|
98
|
+
if (requestParameters['timelineId'] == null) {
|
|
99
|
+
throw new runtime.RequiredError('timelineId', 'Required parameter "timelineId" was null or undefined when calling corsTimelineRollback().');
|
|
100
|
+
}
|
|
101
|
+
const queryParameters = {};
|
|
102
|
+
const headerParameters = {};
|
|
103
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
104
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
105
|
+
}
|
|
106
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
107
|
+
// oauth required
|
|
108
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
109
|
+
}
|
|
110
|
+
let urlPath = `/v1/timelines/{timelineId}/rollback`;
|
|
111
|
+
urlPath = urlPath.replace(`{${"timelineId"}}`, encodeURIComponent(String(requestParameters['timelineId'])));
|
|
112
|
+
return {
|
|
113
|
+
path: urlPath,
|
|
114
|
+
method: 'OPTIONS',
|
|
115
|
+
headers: headerParameters,
|
|
116
|
+
query: queryParameters,
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* CORS support for Timeline Rollback
|
|
121
|
+
*/
|
|
122
|
+
async corsTimelineRollbackRaw(requestParameters, initOverrides) {
|
|
123
|
+
const requestOptions = await this.corsTimelineRollbackRequestOpts(requestParameters);
|
|
124
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
125
|
+
return new runtime.VoidApiResponse(response);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* CORS support for Timeline Rollback
|
|
129
|
+
*/
|
|
130
|
+
async corsTimelineRollback(requestParameters, initOverrides) {
|
|
131
|
+
await this.corsTimelineRollbackRaw(requestParameters, initOverrides);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Creates request options for corsTimelines without sending the request
|
|
135
|
+
*/
|
|
136
|
+
async corsTimelinesRequestOpts() {
|
|
137
|
+
const queryParameters = {};
|
|
138
|
+
const headerParameters = {};
|
|
139
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
140
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
141
|
+
}
|
|
142
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
143
|
+
// oauth required
|
|
144
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
145
|
+
}
|
|
146
|
+
let urlPath = `/v1/timelines`;
|
|
147
|
+
return {
|
|
148
|
+
path: urlPath,
|
|
149
|
+
method: 'OPTIONS',
|
|
150
|
+
headers: headerParameters,
|
|
151
|
+
query: queryParameters,
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* CORS support for Timelines
|
|
156
|
+
*/
|
|
157
|
+
async corsTimelinesRaw(initOverrides) {
|
|
158
|
+
const requestOptions = await this.corsTimelinesRequestOpts();
|
|
159
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
160
|
+
return new runtime.VoidApiResponse(response);
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* CORS support for Timelines
|
|
164
|
+
*/
|
|
165
|
+
async corsTimelines(initOverrides) {
|
|
166
|
+
await this.corsTimelinesRaw(initOverrides);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
exports.DefaultApi = DefaultApi;
|
|
170
|
+
//# sourceMappingURL=DefaultApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":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/F,CAAC;QAGD,IAAI,OAAO,GAAG,eAAe,CAAC;QAE9B,OAAO;YACH,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,SAAS;YACjB,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;SACzB,CAAC;IACN,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,gBAAgB,CAAC,aAA0D;QAC7E,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,wBAAwB,EAAE,CAAC;QAC7D,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;QAEnE,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,aAAa,CAAC,aAA0D;QAC1E,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAC/C,CAAC;CAEJ;AAzJD,gCAyJC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { TimelineSchema, TimelinesSchema } from '../models/index';
|
|
14
|
+
export interface ListTimelinesRequest {
|
|
15
|
+
filterEntityKey?: string;
|
|
16
|
+
filterUserKey?: string;
|
|
17
|
+
filterCreatedFrom?: Date;
|
|
18
|
+
filterCreatedTo?: Date;
|
|
19
|
+
pageSize?: number;
|
|
20
|
+
pageNumber?: number;
|
|
21
|
+
pageAfter?: any;
|
|
22
|
+
pageBefore?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface RollbackTimelineRequest {
|
|
25
|
+
timelineId: string;
|
|
26
|
+
}
|
|
27
|
+
export interface ShowTimelineRequest {
|
|
28
|
+
timelineId: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare class TimelinesApi extends runtime.BaseAPI {
|
|
34
|
+
/**
|
|
35
|
+
* Creates request options for listTimelines without sending the request
|
|
36
|
+
*/
|
|
37
|
+
listTimelinesRequestOpts(requestParameters: ListTimelinesRequest): Promise<runtime.RequestOpts>;
|
|
38
|
+
/**
|
|
39
|
+
* Returns a collection of timeline entries. ## Overview Returns a collection of timeline entries (change history), sorted by the time they were created in descending order (most recent first). ### Timeline Endpoints Pagination The timeline endpoints support two versions of pagination: traditional and cursor-based. Note that the parameters for these pagination methods cannot coexist; using them together will result in a bad request error. #### More information For more information, see the [pagination documentation](/docs/pagination). ### Filtering Use one filter at a time. Available filters: - `filterEntityKey` - Filter by entity key prefix (e.g., \"jobs#jobId\" to get all timeline entries for a specific job). Uses the EntityIndex. - `filterUserKey` - Filter by user key prefix (e.g., \"userId\" to get all timeline entries by a specific user). Uses the UserIndex. - `filterCreatedFrom` / `filterCreatedTo` - Filter by creation date range. Uses the CreatedIndex.
|
|
40
|
+
* List Timelines
|
|
41
|
+
*/
|
|
42
|
+
listTimelinesRaw(requestParameters: ListTimelinesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TimelinesSchema>>;
|
|
43
|
+
/**
|
|
44
|
+
* Returns a collection of timeline entries. ## Overview Returns a collection of timeline entries (change history), sorted by the time they were created in descending order (most recent first). ### Timeline Endpoints Pagination The timeline endpoints support two versions of pagination: traditional and cursor-based. Note that the parameters for these pagination methods cannot coexist; using them together will result in a bad request error. #### More information For more information, see the [pagination documentation](/docs/pagination). ### Filtering Use one filter at a time. Available filters: - `filterEntityKey` - Filter by entity key prefix (e.g., \"jobs#jobId\" to get all timeline entries for a specific job). Uses the EntityIndex. - `filterUserKey` - Filter by user key prefix (e.g., \"userId\" to get all timeline entries by a specific user). Uses the UserIndex. - `filterCreatedFrom` / `filterCreatedTo` - Filter by creation date range. Uses the CreatedIndex.
|
|
45
|
+
* List Timelines
|
|
46
|
+
*/
|
|
47
|
+
listTimelines(requestParameters?: ListTimelinesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TimelinesSchema>;
|
|
48
|
+
/**
|
|
49
|
+
* Creates request options for rollbackTimeline without sending the request
|
|
50
|
+
*/
|
|
51
|
+
rollbackTimelineRequestOpts(requestParameters: RollbackTimelineRequest): Promise<runtime.RequestOpts>;
|
|
52
|
+
/**
|
|
53
|
+
* Rolls back the entity to the state captured in the specified timeline entry.
|
|
54
|
+
* Rollback Timeline Entry
|
|
55
|
+
*/
|
|
56
|
+
rollbackTimelineRaw(requestParameters: RollbackTimelineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TimelineSchema>>;
|
|
57
|
+
/**
|
|
58
|
+
* Rolls back the entity to the state captured in the specified timeline entry.
|
|
59
|
+
* Rollback Timeline Entry
|
|
60
|
+
*/
|
|
61
|
+
rollbackTimeline(requestParameters: RollbackTimelineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TimelineSchema>;
|
|
62
|
+
/**
|
|
63
|
+
* Creates request options for showTimeline without sending the request
|
|
64
|
+
*/
|
|
65
|
+
showTimelineRequestOpts(requestParameters: ShowTimelineRequest): Promise<runtime.RequestOpts>;
|
|
66
|
+
/**
|
|
67
|
+
* Returns a single timeline entry by its ID.
|
|
68
|
+
* Show Timeline Entry
|
|
69
|
+
*/
|
|
70
|
+
showTimelineRaw(requestParameters: ShowTimelineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TimelineSchema>>;
|
|
71
|
+
/**
|
|
72
|
+
* Returns a single timeline entry by its ID.
|
|
73
|
+
* Show Timeline Entry
|
|
74
|
+
*/
|
|
75
|
+
showTimeline(requestParameters: ShowTimelineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TimelineSchema>;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=TimelinesApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimelinesApi.d.ts","sourceRoot":"","sources":["../../src/apis/TimelinesApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,cAAc,EACd,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAUzB,MAAM,WAAW,oBAAoB;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,IAAI,CAAC;IACzB,eAAe,CAAC,EAAE,IAAI,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,uBAAuB;IACpC,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,mBAAmB;IAChC,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,qBAAa,YAAa,SAAQ,OAAO,CAAC,OAAO;IAE7C;;OAEG;IACG,wBAAwB,CAAC,iBAAiB,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;IAyDrG;;;OAGG;IACG,gBAAgB,CAAC,iBAAiB,EAAE,oBAAoB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;IAO1K;;;OAGG;IACG,aAAa,CAAC,iBAAiB,GAAE,oBAAyB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC;IAKvJ;;OAEG;IACG,2BAA2B,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;IAiC3G;;;OAGG;IACG,mBAAmB,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;IAO/K;;;OAGG;IACG,gBAAgB,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,cAAc,CAAC;IAKvJ;;OAEG;IACG,uBAAuB,CAAC,iBAAiB,EAAE,mBAAmB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;IAiCnG;;;OAGG;IACG,eAAe,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;IAOvK;;;OAGG;IACG,YAAY,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,cAAc,CAAC;CAKlJ"}
|
|
@@ -0,0 +1,204 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.TimelinesApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const index_1 = require("../models/index");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class TimelinesApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Creates request options for listTimelines without sending the request
|
|
58
|
+
*/
|
|
59
|
+
async listTimelinesRequestOpts(requestParameters) {
|
|
60
|
+
const queryParameters = {};
|
|
61
|
+
if (requestParameters['filterEntityKey'] != null) {
|
|
62
|
+
queryParameters['filterEntityKey'] = requestParameters['filterEntityKey'];
|
|
63
|
+
}
|
|
64
|
+
if (requestParameters['filterUserKey'] != null) {
|
|
65
|
+
queryParameters['filterUserKey'] = requestParameters['filterUserKey'];
|
|
66
|
+
}
|
|
67
|
+
if (requestParameters['filterCreatedFrom'] != null) {
|
|
68
|
+
queryParameters['filterCreatedFrom'] = requestParameters['filterCreatedFrom'].toISOString();
|
|
69
|
+
}
|
|
70
|
+
if (requestParameters['filterCreatedTo'] != null) {
|
|
71
|
+
queryParameters['filterCreatedTo'] = requestParameters['filterCreatedTo'].toISOString();
|
|
72
|
+
}
|
|
73
|
+
if (requestParameters['pageSize'] != null) {
|
|
74
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
75
|
+
}
|
|
76
|
+
if (requestParameters['pageNumber'] != null) {
|
|
77
|
+
queryParameters['pageNumber'] = requestParameters['pageNumber'];
|
|
78
|
+
}
|
|
79
|
+
if (requestParameters['pageAfter'] != null) {
|
|
80
|
+
queryParameters['pageAfter'] = requestParameters['pageAfter'];
|
|
81
|
+
}
|
|
82
|
+
if (requestParameters['pageBefore'] != null) {
|
|
83
|
+
queryParameters['pageBefore'] = requestParameters['pageBefore'];
|
|
84
|
+
}
|
|
85
|
+
const headerParameters = {};
|
|
86
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
87
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
88
|
+
}
|
|
89
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
90
|
+
// oauth required
|
|
91
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
92
|
+
}
|
|
93
|
+
let urlPath = `/v1/timelines`;
|
|
94
|
+
return {
|
|
95
|
+
path: urlPath,
|
|
96
|
+
method: 'GET',
|
|
97
|
+
headers: headerParameters,
|
|
98
|
+
query: queryParameters,
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Returns a collection of timeline entries. ## Overview Returns a collection of timeline entries (change history), sorted by the time they were created in descending order (most recent first). ### Timeline Endpoints Pagination The timeline endpoints support two versions of pagination: traditional and cursor-based. Note that the parameters for these pagination methods cannot coexist; using them together will result in a bad request error. #### More information For more information, see the [pagination documentation](/docs/pagination). ### Filtering Use one filter at a time. Available filters: - `filterEntityKey` - Filter by entity key prefix (e.g., \"jobs#jobId\" to get all timeline entries for a specific job). Uses the EntityIndex. - `filterUserKey` - Filter by user key prefix (e.g., \"userId\" to get all timeline entries by a specific user). Uses the UserIndex. - `filterCreatedFrom` / `filterCreatedTo` - Filter by creation date range. Uses the CreatedIndex.
|
|
103
|
+
* List Timelines
|
|
104
|
+
*/
|
|
105
|
+
async listTimelinesRaw(requestParameters, initOverrides) {
|
|
106
|
+
const requestOptions = await this.listTimelinesRequestOpts(requestParameters);
|
|
107
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
108
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TimelinesSchemaFromJSON)(jsonValue));
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Returns a collection of timeline entries. ## Overview Returns a collection of timeline entries (change history), sorted by the time they were created in descending order (most recent first). ### Timeline Endpoints Pagination The timeline endpoints support two versions of pagination: traditional and cursor-based. Note that the parameters for these pagination methods cannot coexist; using them together will result in a bad request error. #### More information For more information, see the [pagination documentation](/docs/pagination). ### Filtering Use one filter at a time. Available filters: - `filterEntityKey` - Filter by entity key prefix (e.g., \"jobs#jobId\" to get all timeline entries for a specific job). Uses the EntityIndex. - `filterUserKey` - Filter by user key prefix (e.g., \"userId\" to get all timeline entries by a specific user). Uses the UserIndex. - `filterCreatedFrom` / `filterCreatedTo` - Filter by creation date range. Uses the CreatedIndex.
|
|
112
|
+
* List Timelines
|
|
113
|
+
*/
|
|
114
|
+
async listTimelines(requestParameters = {}, initOverrides) {
|
|
115
|
+
const response = await this.listTimelinesRaw(requestParameters, initOverrides);
|
|
116
|
+
return await response.value();
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Creates request options for rollbackTimeline without sending the request
|
|
120
|
+
*/
|
|
121
|
+
async rollbackTimelineRequestOpts(requestParameters) {
|
|
122
|
+
if (requestParameters['timelineId'] == null) {
|
|
123
|
+
throw new runtime.RequiredError('timelineId', 'Required parameter "timelineId" was null or undefined when calling rollbackTimeline().');
|
|
124
|
+
}
|
|
125
|
+
const queryParameters = {};
|
|
126
|
+
const headerParameters = {};
|
|
127
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
128
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
129
|
+
}
|
|
130
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
131
|
+
// oauth required
|
|
132
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
133
|
+
}
|
|
134
|
+
let urlPath = `/v1/timelines/{timelineId}/rollback`;
|
|
135
|
+
urlPath = urlPath.replace(`{${"timelineId"}}`, encodeURIComponent(String(requestParameters['timelineId'])));
|
|
136
|
+
return {
|
|
137
|
+
path: urlPath,
|
|
138
|
+
method: 'POST',
|
|
139
|
+
headers: headerParameters,
|
|
140
|
+
query: queryParameters,
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Rolls back the entity to the state captured in the specified timeline entry.
|
|
145
|
+
* Rollback Timeline Entry
|
|
146
|
+
*/
|
|
147
|
+
async rollbackTimelineRaw(requestParameters, initOverrides) {
|
|
148
|
+
const requestOptions = await this.rollbackTimelineRequestOpts(requestParameters);
|
|
149
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
150
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TimelineSchemaFromJSON)(jsonValue));
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Rolls back the entity to the state captured in the specified timeline entry.
|
|
154
|
+
* Rollback Timeline Entry
|
|
155
|
+
*/
|
|
156
|
+
async rollbackTimeline(requestParameters, initOverrides) {
|
|
157
|
+
const response = await this.rollbackTimelineRaw(requestParameters, initOverrides);
|
|
158
|
+
return await response.value();
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Creates request options for showTimeline without sending the request
|
|
162
|
+
*/
|
|
163
|
+
async showTimelineRequestOpts(requestParameters) {
|
|
164
|
+
if (requestParameters['timelineId'] == null) {
|
|
165
|
+
throw new runtime.RequiredError('timelineId', 'Required parameter "timelineId" was null or undefined when calling showTimeline().');
|
|
166
|
+
}
|
|
167
|
+
const queryParameters = {};
|
|
168
|
+
const headerParameters = {};
|
|
169
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
170
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
171
|
+
}
|
|
172
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
173
|
+
// oauth required
|
|
174
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
175
|
+
}
|
|
176
|
+
let urlPath = `/v1/timelines/{timelineId}`;
|
|
177
|
+
urlPath = urlPath.replace(`{${"timelineId"}}`, encodeURIComponent(String(requestParameters['timelineId'])));
|
|
178
|
+
return {
|
|
179
|
+
path: urlPath,
|
|
180
|
+
method: 'GET',
|
|
181
|
+
headers: headerParameters,
|
|
182
|
+
query: queryParameters,
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Returns a single timeline entry by its ID.
|
|
187
|
+
* Show Timeline Entry
|
|
188
|
+
*/
|
|
189
|
+
async showTimelineRaw(requestParameters, initOverrides) {
|
|
190
|
+
const requestOptions = await this.showTimelineRequestOpts(requestParameters);
|
|
191
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
192
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TimelineSchemaFromJSON)(jsonValue));
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Returns a single timeline entry by its ID.
|
|
196
|
+
* Show Timeline Entry
|
|
197
|
+
*/
|
|
198
|
+
async showTimeline(requestParameters, initOverrides) {
|
|
199
|
+
const response = await this.showTimelineRaw(requestParameters, initOverrides);
|
|
200
|
+
return await response.value();
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
exports.TimelinesApi = TimelinesApi;
|
|
204
|
+
//# sourceMappingURL=TimelinesApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimelinesApi.js","sourceRoot":"","sources":["../../src/apis/TimelinesApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AAMtC,2CAOyB;AAqBzB;;GAEG;AACH,MAAa,YAAa,SAAQ,OAAO,CAAC,OAAO;IAE7C;;OAEG;IACH,KAAK,CAAC,wBAAwB,CAAC,iBAAuC;QAClE,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,IAAI,iBAAiB,CAAC,iBAAiB,CAAC,IAAI,IAAI,EAAE,CAAC;YAC/C,eAAe,CAAC,iBAAiB,CAAC,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;QAED,IAAI,iBAAiB,CAAC,eAAe,CAAC,IAAI,IAAI,EAAE,C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AI,CAAC,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;QAC7E,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;QAEnE,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,8BAAsB,EAAC,SAAS,CAAC,CAAC,CAAC;IACnG,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,YAAY,CAAC,iBAAsC,EAAE,aAA0D;QACjH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAC9E,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AAlMD,oCAkMC"}
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -5,7 +5,9 @@ export * from './AssessmentsApi';
|
|
|
5
5
|
export * from './BrowsersApi';
|
|
6
6
|
export * from './CallsApi';
|
|
7
7
|
export * from './CandidatesApi';
|
|
8
|
+
export * from './ChatsApi';
|
|
8
9
|
export * from './ConversationsApi';
|
|
10
|
+
export * from './DefaultApi';
|
|
9
11
|
export * from './EmailsApi';
|
|
10
12
|
export * from './FilesApi';
|
|
11
13
|
export * from './FindersApi';
|
|
@@ -22,6 +24,7 @@ export * from './RolesApi';
|
|
|
22
24
|
export * from './RunsApi';
|
|
23
25
|
export * from './TalentsApi';
|
|
24
26
|
export * from './TenantsApi';
|
|
27
|
+
export * from './TimelinesApi';
|
|
25
28
|
export * from './TranslationsApi';
|
|
26
29
|
export * from './TriggersApi';
|
|
27
30
|
export * from './UsersApi';
|
package/dist/apis/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc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AoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
|
package/dist/apis/index.js
CHANGED
|
@@ -23,7 +23,9 @@ __exportStar(require("./AssessmentsApi"), exports);
|
|
|
23
23
|
__exportStar(require("./BrowsersApi"), exports);
|
|
24
24
|
__exportStar(require("./CallsApi"), exports);
|
|
25
25
|
__exportStar(require("./CandidatesApi"), exports);
|
|
26
|
+
__exportStar(require("./ChatsApi"), exports);
|
|
26
27
|
__exportStar(require("./ConversationsApi"), exports);
|
|
28
|
+
__exportStar(require("./DefaultApi"), exports);
|
|
27
29
|
__exportStar(require("./EmailsApi"), exports);
|
|
28
30
|
__exportStar(require("./FilesApi"), exports);
|
|
29
31
|
__exportStar(require("./FindersApi"), exports);
|
|
@@ -40,6 +42,7 @@ __exportStar(require("./RolesApi"), exports);
|
|
|
40
42
|
__exportStar(require("./RunsApi"), exports);
|
|
41
43
|
__exportStar(require("./TalentsApi"), exports);
|
|
42
44
|
__exportStar(require("./TenantsApi"), exports);
|
|
45
|
+
__exportStar(require("./TimelinesApi"), exports);
|
|
43
46
|
__exportStar(require("./TranslationsApi"), exports);
|
|
44
47
|
__exportStar(require("./TriggersApi"), exports);
|
|
45
48
|
__exportStar(require("./UsersApi"), exports);
|
package/dist/apis/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,6CAA2B;AAC3B,kDAAgC;AAChC,qDAAmC;AACnC,8CAA4B;AAC5B,6CAA2B;AAC3B,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B;AAC3B,gDAA8B;AAC9B,6CAA2B;AAC3B,qDAAmC;AACnC,kDAAgC;AAChC,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,+CAA6B;AAC7B,+CAA6B;AAC7B,oDAAkC;AAClC,gDAA8B;AAC9B,6CAA2B;AAC3B,gDAA8B;AAC9B,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,6CAA2B;AAC3B,kDAAgC;AAChC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B;AAC3B,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B;AAC3B,gDAA8B;AAC9B,6CAA2B;AAC3B,qDAAmC;AACnC,kDAAgC;AAChC,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,+CAA6B;AAC7B,+CAA6B;AAC7B,iDAA+B;AAC/B,oDAAkC;AAClC,gDAA8B;AAC9B,6CAA2B;AAC3B,gDAA8B;AAC9B,iDAA+B"}
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { ResourceTimestampsSchema } from './ResourceTimestampsSchema';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ChatAttributesSchema
|
|
17
|
+
*/
|
|
18
|
+
export interface ChatAttributesSchema {
|
|
19
|
+
/**
|
|
20
|
+
* Message direction
|
|
21
|
+
* @type {ChatAttributesSchemaDirectionEnum}
|
|
22
|
+
* @memberof ChatAttributesSchema
|
|
23
|
+
*/
|
|
24
|
+
direction?: ChatAttributesSchemaDirectionEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Sender phone number in E.164 format
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ChatAttributesSchema
|
|
29
|
+
*/
|
|
30
|
+
senderNumber?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Recipient phone number in E.164 format
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ChatAttributesSchema
|
|
35
|
+
*/
|
|
36
|
+
recipientNumber?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Twilio message SID
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ChatAttributesSchema
|
|
41
|
+
*/
|
|
42
|
+
messageSid?: string;
|
|
43
|
+
/**
|
|
44
|
+
* SMS message body
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ChatAttributesSchema
|
|
47
|
+
*/
|
|
48
|
+
body?: string;
|
|
49
|
+
/**
|
|
50
|
+
* AI-generated response text
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ChatAttributesSchema
|
|
53
|
+
*/
|
|
54
|
+
aiResponse?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Unique short identifier
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ChatAttributesSchema
|
|
59
|
+
*/
|
|
60
|
+
shortCode?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Current status
|
|
63
|
+
* @type {ChatAttributesSchemaStatusEnum}
|
|
64
|
+
* @memberof ChatAttributesSchema
|
|
65
|
+
*/
|
|
66
|
+
status?: ChatAttributesSchemaStatusEnum;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {ResourceTimestampsSchema}
|
|
70
|
+
* @memberof ChatAttributesSchema
|
|
71
|
+
*/
|
|
72
|
+
timestamps?: ResourceTimestampsSchema;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @export
|
|
76
|
+
*/
|
|
77
|
+
export declare const ChatAttributesSchemaDirectionEnum: {
|
|
78
|
+
readonly Inbound: "inbound";
|
|
79
|
+
readonly Outbound: "outbound";
|
|
80
|
+
};
|
|
81
|
+
export type ChatAttributesSchemaDirectionEnum = typeof ChatAttributesSchemaDirectionEnum[keyof typeof ChatAttributesSchemaDirectionEnum];
|
|
82
|
+
/**
|
|
83
|
+
* @export
|
|
84
|
+
*/
|
|
85
|
+
export declare const ChatAttributesSchemaStatusEnum: {
|
|
86
|
+
readonly Active: "active";
|
|
87
|
+
readonly Pending: "pending";
|
|
88
|
+
readonly Archived: "archived";
|
|
89
|
+
readonly Failed: "failed";
|
|
90
|
+
};
|
|
91
|
+
export type ChatAttributesSchemaStatusEnum = typeof ChatAttributesSchemaStatusEnum[keyof typeof ChatAttributesSchemaStatusEnum];
|
|
92
|
+
/**
|
|
93
|
+
* Check if a given object implements the ChatAttributesSchema interface.
|
|
94
|
+
*/
|
|
95
|
+
export declare function instanceOfChatAttributesSchema(value: object): value is ChatAttributesSchema;
|
|
96
|
+
export declare function ChatAttributesSchemaFromJSON(json: any): ChatAttributesSchema;
|
|
97
|
+
export declare function ChatAttributesSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatAttributesSchema;
|
|
98
|
+
export declare function ChatAttributesSchemaToJSON(json: any): ChatAttributesSchema;
|
|
99
|
+
export declare function ChatAttributesSchemaToJSONTyped(value?: ChatAttributesSchema | null, ignoreDiscriminator?: boolean): any;
|
|
100
|
+
//# sourceMappingURL=ChatAttributesSchema.d.ts.map
|
|
@@ -0,0 +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;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,iCAAiC,CAAC;IAC9C;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC;;;;OAIG;IACH,UAAU,CAAC,EAAE,wBAAwB,CAAC;CACzC;AAGD;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;CAGpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAEzI;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;CAKjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAC,MAAM,OAAO,8BAA8B,CAAC,CAAC;AAGhI;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,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