@smartytalent/api-client 0.1.5 → 0.1.6

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.
Files changed (57) hide show
  1. package/dist/apis/ChatsApi.d.ts +152 -0
  2. package/dist/apis/ChatsApi.d.ts.map +1 -0
  3. package/dist/apis/ChatsApi.js +367 -0
  4. package/dist/apis/ChatsApi.js.map +1 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.d.ts.map +1 -1
  7. package/dist/apis/index.js +1 -0
  8. package/dist/apis/index.js.map +1 -1
  9. package/dist/models/ChatAttributesSchema.d.ts +100 -0
  10. package/dist/models/ChatAttributesSchema.d.ts.map +1 -0
  11. package/dist/models/ChatAttributesSchema.js +83 -0
  12. package/dist/models/ChatAttributesSchema.js.map +1 -0
  13. package/dist/models/ChatRelationshipsSchema.d.ts +34 -0
  14. package/dist/models/ChatRelationshipsSchema.d.ts.map +1 -0
  15. package/dist/models/ChatRelationshipsSchema.js +50 -0
  16. package/dist/models/ChatRelationshipsSchema.js.map +1 -0
  17. package/dist/models/ChatRelationshipsTranslationsDataSchema.d.ts +39 -0
  18. package/dist/models/ChatRelationshipsTranslationsDataSchema.d.ts.map +1 -0
  19. package/dist/models/ChatRelationshipsTranslationsDataSchema.js +51 -0
  20. package/dist/models/ChatRelationshipsTranslationsDataSchema.js.map +1 -0
  21. package/dist/models/ChatRelationshipsTranslationsSchema.d.ts +34 -0
  22. package/dist/models/ChatRelationshipsTranslationsSchema.d.ts.map +1 -0
  23. package/dist/models/ChatRelationshipsTranslationsSchema.js +50 -0
  24. package/dist/models/ChatRelationshipsTranslationsSchema.js.map +1 -0
  25. package/dist/models/ChatResourceSchema.d.ts +75 -0
  26. package/dist/models/ChatResourceSchema.d.ts.map +1 -0
  27. package/dist/models/ChatResourceSchema.js +75 -0
  28. package/dist/models/ChatResourceSchema.js.map +1 -0
  29. package/dist/models/ChatSchema.d.ts +49 -0
  30. package/dist/models/ChatSchema.d.ts.map +1 -0
  31. package/dist/models/ChatSchema.js +55 -0
  32. package/dist/models/ChatSchema.js.map +1 -0
  33. package/dist/models/ChatsSchema.d.ts +48 -0
  34. package/dist/models/ChatsSchema.d.ts.map +1 -0
  35. package/dist/models/ChatsSchema.js +56 -0
  36. package/dist/models/ChatsSchema.js.map +1 -0
  37. package/dist/models/CreateChatRequestBody.d.ts +34 -0
  38. package/dist/models/CreateChatRequestBody.d.ts.map +1 -0
  39. package/dist/models/CreateChatRequestBody.js +52 -0
  40. package/dist/models/CreateChatRequestBody.js.map +1 -0
  41. package/dist/models/CreateChatRequestBodyData.d.ts +54 -0
  42. package/dist/models/CreateChatRequestBodyData.d.ts.map +1 -0
  43. package/dist/models/CreateChatRequestBodyData.js +66 -0
  44. package/dist/models/CreateChatRequestBodyData.js.map +1 -0
  45. package/dist/models/UpdateChatRequestBody.d.ts +34 -0
  46. package/dist/models/UpdateChatRequestBody.d.ts.map +1 -0
  47. package/dist/models/UpdateChatRequestBody.js +52 -0
  48. package/dist/models/UpdateChatRequestBody.js.map +1 -0
  49. package/dist/models/UpdateChatRequestBodyData.d.ts +53 -0
  50. package/dist/models/UpdateChatRequestBodyData.d.ts.map +1 -0
  51. package/dist/models/UpdateChatRequestBodyData.js +67 -0
  52. package/dist/models/UpdateChatRequestBodyData.js.map +1 -0
  53. package/dist/models/index.d.ts +11 -0
  54. package/dist/models/index.d.ts.map +1 -1
  55. package/dist/models/index.js +11 -0
  56. package/dist/models/index.js.map +1 -1
  57. package/package.json +1 -1
@@ -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,IAAI,oBAAoB,CAE3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAgB/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,CAiB9H"}
@@ -0,0 +1,83 @@
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.ChatAttributesSchemaStatusEnum = exports.ChatAttributesSchemaDirectionEnum = void 0;
17
+ exports.instanceOfChatAttributesSchema = instanceOfChatAttributesSchema;
18
+ exports.ChatAttributesSchemaFromJSON = ChatAttributesSchemaFromJSON;
19
+ exports.ChatAttributesSchemaFromJSONTyped = ChatAttributesSchemaFromJSONTyped;
20
+ exports.ChatAttributesSchemaToJSON = ChatAttributesSchemaToJSON;
21
+ exports.ChatAttributesSchemaToJSONTyped = ChatAttributesSchemaToJSONTyped;
22
+ const ResourceTimestampsSchema_1 = require("./ResourceTimestampsSchema");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.ChatAttributesSchemaDirectionEnum = {
27
+ Inbound: 'inbound',
28
+ Outbound: 'outbound'
29
+ };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.ChatAttributesSchemaStatusEnum = {
34
+ Active: 'active',
35
+ Pending: 'pending',
36
+ Archived: 'archived',
37
+ Failed: 'failed'
38
+ };
39
+ /**
40
+ * Check if a given object implements the ChatAttributesSchema interface.
41
+ */
42
+ function instanceOfChatAttributesSchema(value) {
43
+ return true;
44
+ }
45
+ function ChatAttributesSchemaFromJSON(json) {
46
+ return ChatAttributesSchemaFromJSONTyped(json, false);
47
+ }
48
+ function ChatAttributesSchemaFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'direction': json['direction'] == null ? undefined : json['direction'],
54
+ 'senderNumber': json['senderNumber'] == null ? undefined : json['senderNumber'],
55
+ 'recipientNumber': json['recipientNumber'] == null ? undefined : json['recipientNumber'],
56
+ 'messageSid': json['messageSid'] == null ? undefined : json['messageSid'],
57
+ 'body': json['body'] == null ? undefined : json['body'],
58
+ 'aiResponse': json['aiResponse'] == null ? undefined : json['aiResponse'],
59
+ 'shortCode': json['shortCode'] == null ? undefined : json['shortCode'],
60
+ 'status': json['status'] == null ? undefined : json['status'],
61
+ 'timestamps': json['timestamps'] == null ? undefined : (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaFromJSON)(json['timestamps']),
62
+ };
63
+ }
64
+ function ChatAttributesSchemaToJSON(json) {
65
+ return ChatAttributesSchemaToJSONTyped(json, false);
66
+ }
67
+ function ChatAttributesSchemaToJSONTyped(value, ignoreDiscriminator = false) {
68
+ if (value == null) {
69
+ return value;
70
+ }
71
+ return {
72
+ 'direction': value['direction'],
73
+ 'senderNumber': value['senderNumber'],
74
+ 'recipientNumber': value['recipientNumber'],
75
+ 'messageSid': value['messageSid'],
76
+ 'body': value['body'],
77
+ 'aiResponse': value['aiResponse'],
78
+ 'shortCode': value['shortCode'],
79
+ 'status': value['status'],
80
+ 'timestamps': (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaToJSON)(value['timestamps']),
81
+ };
82
+ }
83
+ //# sourceMappingURL=ChatAttributesSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatAttributesSchema.js","sourceRoot":"","sources":["../../src/models/ChatAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAkGH,wEAEC;AAED,oEAEC;AAED,8EAgBC;AAED,gEAEC;AAED,0EAiBC;AA7ID,yEAKoC;AAiEpC;;GAEG;AACU,QAAA,iCAAiC,GAAG;IAC7C,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACd,CAAC;AAGX;;GAEG;AACU,QAAA,8BAA8B,GAAG;IAC1C,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;CACV,CAAC;AAIX;;GAEG;AACH,SAAgB,8BAA8B,CAAC,KAAa;IACxD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,iCAAiC,CAAC,IAAS,EAAE,mBAA4B;IACrF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,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AK;IACrH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,YAAY,EAAE,IAAA,yDAA8B,EAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KACpE,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 { ChatRelationshipsTranslationsSchema } from './ChatRelationshipsTranslationsSchema';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ChatRelationshipsSchema
17
+ */
18
+ export interface ChatRelationshipsSchema {
19
+ /**
20
+ *
21
+ * @type {ChatRelationshipsTranslationsSchema}
22
+ * @memberof ChatRelationshipsSchema
23
+ */
24
+ translations?: ChatRelationshipsTranslationsSchema;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ChatRelationshipsSchema interface.
28
+ */
29
+ export declare function instanceOfChatRelationshipsSchema(value: object): value is ChatRelationshipsSchema;
30
+ export declare function ChatRelationshipsSchemaFromJSON(json: any): ChatRelationshipsSchema;
31
+ export declare function ChatRelationshipsSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatRelationshipsSchema;
32
+ export declare function ChatRelationshipsSchemaToJSON(json: any): ChatRelationshipsSchema;
33
+ export declare function ChatRelationshipsSchemaToJSONTyped(value?: ChatRelationshipsSchema | null, ignoreDiscriminator?: boolean): any;
34
+ //# sourceMappingURL=ChatRelationshipsSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatRelationshipsSchema.d.ts","sourceRoot":"","sources":["../../src/models/ChatRelationshipsSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAQjG;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,YAAY,CAAC,EAAE,mCAAmC,CAAC;CACtD;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAEjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAQrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASpI"}
@@ -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.instanceOfChatRelationshipsSchema = instanceOfChatRelationshipsSchema;
17
+ exports.ChatRelationshipsSchemaFromJSON = ChatRelationshipsSchemaFromJSON;
18
+ exports.ChatRelationshipsSchemaFromJSONTyped = ChatRelationshipsSchemaFromJSONTyped;
19
+ exports.ChatRelationshipsSchemaToJSON = ChatRelationshipsSchemaToJSON;
20
+ exports.ChatRelationshipsSchemaToJSONTyped = ChatRelationshipsSchemaToJSONTyped;
21
+ const ChatRelationshipsTranslationsSchema_1 = require("./ChatRelationshipsTranslationsSchema");
22
+ /**
23
+ * Check if a given object implements the ChatRelationshipsSchema interface.
24
+ */
25
+ function instanceOfChatRelationshipsSchema(value) {
26
+ return true;
27
+ }
28
+ function ChatRelationshipsSchemaFromJSON(json) {
29
+ return ChatRelationshipsSchemaFromJSONTyped(json, false);
30
+ }
31
+ function ChatRelationshipsSchemaFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'translations': json['translations'] == null ? undefined : (0, ChatRelationshipsTranslationsSchema_1.ChatRelationshipsTranslationsSchemaFromJSON)(json['translations']),
37
+ };
38
+ }
39
+ function ChatRelationshipsSchemaToJSON(json) {
40
+ return ChatRelationshipsSchemaToJSONTyped(json, false);
41
+ }
42
+ function ChatRelationshipsSchemaToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'translations': (0, ChatRelationshipsTranslationsSchema_1.ChatRelationshipsTranslationsSchemaToJSON)(value['translations']),
48
+ };
49
+ }
50
+ //# sourceMappingURL=ChatRelationshipsSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatRelationshipsSchema.js","sourceRoot":"","sources":["../../src/models/ChatRelationshipsSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4BH,8EAEC;AAED,0EAEC;AAED,oFAQC;AAED,sEAEC;AAED,gFASC;AAvDD,+FAK+C;AAgB/C;;GAEG;AACH,SAAgB,iCAAiC,CAAC,KAAa;IAC3D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,iFAA2C,EAAC,IAAI,CAAC,cAAc,CAAC,CAAC;KAC/H,CAAC;AACN,CAAC;AAED,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,kCAAkC,CAAC,KAAsC,EAAE,sBAA+B,KAAK;IAC3H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,cAAc,EAAE,IAAA,+EAAyC,EAAC,KAAK,CAAC,cAAc,CAAC,CAAC;KACnF,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 ChatRelationshipsTranslationsDataSchema
16
+ */
17
+ export interface ChatRelationshipsTranslationsDataSchema {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ChatRelationshipsTranslationsDataSchema
22
+ */
23
+ type?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ChatRelationshipsTranslationsDataSchema
28
+ */
29
+ id?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ChatRelationshipsTranslationsDataSchema interface.
33
+ */
34
+ export declare function instanceOfChatRelationshipsTranslationsDataSchema(value: object): value is ChatRelationshipsTranslationsDataSchema;
35
+ export declare function ChatRelationshipsTranslationsDataSchemaFromJSON(json: any): ChatRelationshipsTranslationsDataSchema;
36
+ export declare function ChatRelationshipsTranslationsDataSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatRelationshipsTranslationsDataSchema;
37
+ export declare function ChatRelationshipsTranslationsDataSchemaToJSON(json: any): ChatRelationshipsTranslationsDataSchema;
38
+ export declare function ChatRelationshipsTranslationsDataSchemaToJSONTyped(value?: ChatRelationshipsTranslationsDataSchema | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=ChatRelationshipsTranslationsDataSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatRelationshipsTranslationsDataSchema.d.ts","sourceRoot":"","sources":["../../src/models/ChatRelationshipsTranslationsDataSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,uCAAuC;IACpD;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,wBAAgB,iDAAiD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uCAAuC,CAEjI;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,GAAG,uCAAuC,CAElH;AAED,wBAAgB,oDAAoD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uCAAuC,CASrJ;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,GAAG,uCAAuC,CAEhH;AAED,wBAAgB,kDAAkD,CAAC,KAAK,CAAC,EAAE,uCAAuC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpK"}
@@ -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.instanceOfChatRelationshipsTranslationsDataSchema = instanceOfChatRelationshipsTranslationsDataSchema;
17
+ exports.ChatRelationshipsTranslationsDataSchemaFromJSON = ChatRelationshipsTranslationsDataSchemaFromJSON;
18
+ exports.ChatRelationshipsTranslationsDataSchemaFromJSONTyped = ChatRelationshipsTranslationsDataSchemaFromJSONTyped;
19
+ exports.ChatRelationshipsTranslationsDataSchemaToJSON = ChatRelationshipsTranslationsDataSchemaToJSON;
20
+ exports.ChatRelationshipsTranslationsDataSchemaToJSONTyped = ChatRelationshipsTranslationsDataSchemaToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ChatRelationshipsTranslationsDataSchema interface.
23
+ */
24
+ function instanceOfChatRelationshipsTranslationsDataSchema(value) {
25
+ return true;
26
+ }
27
+ function ChatRelationshipsTranslationsDataSchemaFromJSON(json) {
28
+ return ChatRelationshipsTranslationsDataSchemaFromJSONTyped(json, false);
29
+ }
30
+ function ChatRelationshipsTranslationsDataSchemaFromJSONTyped(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 ChatRelationshipsTranslationsDataSchemaToJSON(json) {
40
+ return ChatRelationshipsTranslationsDataSchemaToJSONTyped(json, false);
41
+ }
42
+ function ChatRelationshipsTranslationsDataSchemaToJSONTyped(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=ChatRelationshipsTranslationsDataSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatRelationshipsTranslationsDataSchema.js","sourceRoot":"","sources":["../../src/models/ChatRelationshipsTranslationsDataSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,8GAEC;AAED,0GAEC;AAED,oHASC;AAED,sGAEC;AAED,gHAUC;AApCD;;GAEG;AACH,SAAgB,iDAAiD,CAAC,KAAa;IAC3E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,+CAA+C,CAAC,IAAS;IACrE,OAAO,oDAAoD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7E,CAAC;AAED,SAAgB,oDAAoD,CAAC,IAAS,EAAE,mBAA4B;IACxG,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,6CAA6C,CAAC,IAAS;IACnE,OAAO,kDAAkD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3E,CAAC;AAED,SAAgB,kDAAkD,CAAC,KAAsD,EAAE,sBAA+B,KAAK;IAC3J,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 { ChatRelationshipsTranslationsDataSchema } from './ChatRelationshipsTranslationsDataSchema';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ChatRelationshipsTranslationsSchema
17
+ */
18
+ export interface ChatRelationshipsTranslationsSchema {
19
+ /**
20
+ *
21
+ * @type {Array<ChatRelationshipsTranslationsDataSchema>}
22
+ * @memberof ChatRelationshipsTranslationsSchema
23
+ */
24
+ data?: Array<ChatRelationshipsTranslationsDataSchema>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ChatRelationshipsTranslationsSchema interface.
28
+ */
29
+ export declare function instanceOfChatRelationshipsTranslationsSchema(value: object): value is ChatRelationshipsTranslationsSchema;
30
+ export declare function ChatRelationshipsTranslationsSchemaFromJSON(json: any): ChatRelationshipsTranslationsSchema;
31
+ export declare function ChatRelationshipsTranslationsSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatRelationshipsTranslationsSchema;
32
+ export declare function ChatRelationshipsTranslationsSchemaToJSON(json: any): ChatRelationshipsTranslationsSchema;
33
+ export declare function ChatRelationshipsTranslationsSchemaToJSONTyped(value?: ChatRelationshipsTranslationsSchema | null, ignoreDiscriminator?: boolean): any;
34
+ //# sourceMappingURL=ChatRelationshipsTranslationsSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatRelationshipsTranslationsSchema.d.ts","sourceRoot":"","sources":["../../src/models/ChatRelationshipsTranslationsSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,2CAA2C,CAAC;AAQzG;;;;GAIG;AACH,MAAM,WAAW,mCAAmC;IAChD;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,uCAAuC,CAAC,CAAC;CACzD;AAED;;GAEG;AACH,wBAAgB,6CAA6C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mCAAmC,CAEzH;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAE1G;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAQ7I;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAExG;AAED,wBAAgB,8CAA8C,CAAC,KAAK,CAAC,EAAE,mCAAmC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS5J"}
@@ -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.instanceOfChatRelationshipsTranslationsSchema = instanceOfChatRelationshipsTranslationsSchema;
17
+ exports.ChatRelationshipsTranslationsSchemaFromJSON = ChatRelationshipsTranslationsSchemaFromJSON;
18
+ exports.ChatRelationshipsTranslationsSchemaFromJSONTyped = ChatRelationshipsTranslationsSchemaFromJSONTyped;
19
+ exports.ChatRelationshipsTranslationsSchemaToJSON = ChatRelationshipsTranslationsSchemaToJSON;
20
+ exports.ChatRelationshipsTranslationsSchemaToJSONTyped = ChatRelationshipsTranslationsSchemaToJSONTyped;
21
+ const ChatRelationshipsTranslationsDataSchema_1 = require("./ChatRelationshipsTranslationsDataSchema");
22
+ /**
23
+ * Check if a given object implements the ChatRelationshipsTranslationsSchema interface.
24
+ */
25
+ function instanceOfChatRelationshipsTranslationsSchema(value) {
26
+ return true;
27
+ }
28
+ function ChatRelationshipsTranslationsSchemaFromJSON(json) {
29
+ return ChatRelationshipsTranslationsSchemaFromJSONTyped(json, false);
30
+ }
31
+ function ChatRelationshipsTranslationsSchemaFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(ChatRelationshipsTranslationsDataSchema_1.ChatRelationshipsTranslationsDataSchemaFromJSON)),
37
+ };
38
+ }
39
+ function ChatRelationshipsTranslationsSchemaToJSON(json) {
40
+ return ChatRelationshipsTranslationsSchemaToJSONTyped(json, false);
41
+ }
42
+ function ChatRelationshipsTranslationsSchemaToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'data': value['data'] == null ? undefined : (value['data'].map(ChatRelationshipsTranslationsDataSchema_1.ChatRelationshipsTranslationsDataSchemaToJSON)),
48
+ };
49
+ }
50
+ //# sourceMappingURL=ChatRelationshipsTranslationsSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatRelationshipsTranslationsSchema.js","sourceRoot":"","sources":["../../src/models/ChatRelationshipsTranslationsSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4BH,sGAEC;AAED,kGAEC;AAED,4GAQC;AAED,8FAEC;AAED,wGASC;AAvDD,uGAKmD;AAgBnD;;GAEG;AACH,SAAgB,6CAA6C,CAAC,KAAa;IACvE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS;IACjE,OAAO,gDAAgD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,gDAAgD,CAAC,IAAS,EAAE,mBAA4B;IACpG,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,CAAE,IAAI,CAAC,MAAM,CAAgB,CAAC,GAAG,CAAC,yFAA+C,CAAC,CAAC;KACjI,CAAC;AACN,CAAC;AAED,SAAgB,yCAAyC,CAAC,IAAS;IAC/D,OAAO,8CAA8C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,SAAgB,8CAA8C,CAAC,KAAkD,EAAE,sBAA+B,KAAK;IACnJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,MAAM,CAAgB,CAAC,GAAG,CAAC,uFAA6C,CAAC,CAAC;KACjI,CAAC;AACN,CAAC"}
@@ -0,0 +1,75 @@
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 { ChatAttributesSchema } from './ChatAttributesSchema';
13
+ import type { ResourceLinksSchema } from './ResourceLinksSchema';
14
+ import type { ChatRelationshipsSchema } from './ChatRelationshipsSchema';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ChatResourceSchema
19
+ */
20
+ export interface ChatResourceSchema {
21
+ /**
22
+ *
23
+ * @type {ChatResourceSchemaTypeEnum}
24
+ * @memberof ChatResourceSchema
25
+ */
26
+ type: ChatResourceSchemaTypeEnum;
27
+ /**
28
+ * Returns results with an ID greater than the specified ID. The ID is a combination of a UUID4 (hexadecimal) followed by a hyphen and an integer number from 1 to 9.
29
+ * @type {string}
30
+ * @memberof ChatResourceSchema
31
+ */
32
+ id: string;
33
+ /**
34
+ *
35
+ * @type {ChatAttributesSchema}
36
+ * @memberof ChatResourceSchema
37
+ */
38
+ attributes: ChatAttributesSchema;
39
+ /**
40
+ *
41
+ * @type {ChatRelationshipsSchema}
42
+ * @memberof ChatResourceSchema
43
+ */
44
+ relationships?: ChatRelationshipsSchema;
45
+ /**
46
+ *
47
+ * @type {ResourceLinksSchema}
48
+ * @memberof ChatResourceSchema
49
+ */
50
+ links?: ResourceLinksSchema;
51
+ /**
52
+ *
53
+ * @type {{ [key: string]: string; }}
54
+ * @memberof ChatResourceSchema
55
+ */
56
+ meta?: {
57
+ [key: string]: string;
58
+ };
59
+ }
60
+ /**
61
+ * @export
62
+ */
63
+ export declare const ChatResourceSchemaTypeEnum: {
64
+ readonly Chats: "chats";
65
+ };
66
+ export type ChatResourceSchemaTypeEnum = typeof ChatResourceSchemaTypeEnum[keyof typeof ChatResourceSchemaTypeEnum];
67
+ /**
68
+ * Check if a given object implements the ChatResourceSchema interface.
69
+ */
70
+ export declare function instanceOfChatResourceSchema(value: object): value is ChatResourceSchema;
71
+ export declare function ChatResourceSchemaFromJSON(json: any): ChatResourceSchema;
72
+ export declare function ChatResourceSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatResourceSchema;
73
+ export declare function ChatResourceSchemaToJSON(json: any): ChatResourceSchema;
74
+ export declare function ChatResourceSchemaToJSONTyped(value?: ChatResourceSchema | null, ignoreDiscriminator?: boolean): any;
75
+ //# sourceMappingURL=ChatResourceSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatResourceSchema.d.ts","sourceRoot":"","sources":["../../src/models/ChatResourceSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQzE;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,IAAI,EAAE,0BAA0B,CAAC;IACjC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,oBAAoB,CAAC;IACjC;;;;OAIG;IACH,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC;;;;OAIG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;CACrC;AAGD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;CAE7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC;AAGpH;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAKvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAa3G;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc1H"}
@@ -0,0 +1,75 @@
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.ChatResourceSchemaTypeEnum = void 0;
17
+ exports.instanceOfChatResourceSchema = instanceOfChatResourceSchema;
18
+ exports.ChatResourceSchemaFromJSON = ChatResourceSchemaFromJSON;
19
+ exports.ChatResourceSchemaFromJSONTyped = ChatResourceSchemaFromJSONTyped;
20
+ exports.ChatResourceSchemaToJSON = ChatResourceSchemaToJSON;
21
+ exports.ChatResourceSchemaToJSONTyped = ChatResourceSchemaToJSONTyped;
22
+ const ChatAttributesSchema_1 = require("./ChatAttributesSchema");
23
+ const ResourceLinksSchema_1 = require("./ResourceLinksSchema");
24
+ const ChatRelationshipsSchema_1 = require("./ChatRelationshipsSchema");
25
+ /**
26
+ * @export
27
+ */
28
+ exports.ChatResourceSchemaTypeEnum = {
29
+ Chats: 'chats'
30
+ };
31
+ /**
32
+ * Check if a given object implements the ChatResourceSchema interface.
33
+ */
34
+ function instanceOfChatResourceSchema(value) {
35
+ if (!('type' in value) || value['type'] === undefined)
36
+ return false;
37
+ if (!('id' in value) || value['id'] === undefined)
38
+ return false;
39
+ if (!('attributes' in value) || value['attributes'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function ChatResourceSchemaFromJSON(json) {
44
+ return ChatResourceSchemaFromJSONTyped(json, false);
45
+ }
46
+ function ChatResourceSchemaFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'type': json['type'],
52
+ 'id': json['id'],
53
+ 'attributes': (0, ChatAttributesSchema_1.ChatAttributesSchemaFromJSON)(json['attributes']),
54
+ 'relationships': json['relationships'] == null ? undefined : (0, ChatRelationshipsSchema_1.ChatRelationshipsSchemaFromJSON)(json['relationships']),
55
+ 'links': json['links'] == null ? undefined : (0, ResourceLinksSchema_1.ResourceLinksSchemaFromJSON)(json['links']),
56
+ 'meta': json['meta'] == null ? undefined : json['meta'],
57
+ };
58
+ }
59
+ function ChatResourceSchemaToJSON(json) {
60
+ return ChatResourceSchemaToJSONTyped(json, false);
61
+ }
62
+ function ChatResourceSchemaToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'type': value['type'],
68
+ 'id': value['id'],
69
+ 'attributes': (0, ChatAttributesSchema_1.ChatAttributesSchemaToJSON)(value['attributes']),
70
+ 'relationships': (0, ChatRelationshipsSchema_1.ChatRelationshipsSchemaToJSON)(value['relationships']),
71
+ 'links': (0, ResourceLinksSchema_1.ResourceLinksSchemaToJSON)(value['links']),
72
+ 'meta': value['meta'],
73
+ };
74
+ }
75
+ //# sourceMappingURL=ChatResourceSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatResourceSchema.js","sourceRoot":"","sources":["../../src/models/ChatResourceSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAU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