@smartytalent/api-client 0.1.33-dev.2 → 0.1.33-dev.4

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 (89) hide show
  1. package/dist/apis/LabelsApi.d.ts +141 -0
  2. package/dist/apis/LabelsApi.d.ts.map +1 -0
  3. package/dist/apis/LabelsApi.js +342 -0
  4. package/dist/apis/LabelsApi.js.map +1 -0
  5. package/dist/apis/StatesApi.d.ts +157 -0
  6. package/dist/apis/StatesApi.d.ts.map +1 -0
  7. package/dist/apis/StatesApi.js +370 -0
  8. package/dist/apis/StatesApi.js.map +1 -0
  9. package/dist/apis/index.d.ts +2 -0
  10. package/dist/apis/index.d.ts.map +1 -1
  11. package/dist/apis/index.js +2 -0
  12. package/dist/apis/index.js.map +1 -1
  13. package/dist/models/CreateLabelRequestBody.d.ts +34 -0
  14. package/dist/models/CreateLabelRequestBody.d.ts.map +1 -0
  15. package/dist/models/CreateLabelRequestBody.js +52 -0
  16. package/dist/models/CreateLabelRequestBody.js.map +1 -0
  17. package/dist/models/CreateLabelRequestBodyData.d.ts +47 -0
  18. package/dist/models/CreateLabelRequestBodyData.d.ts.map +1 -0
  19. package/dist/models/CreateLabelRequestBodyData.js +63 -0
  20. package/dist/models/CreateLabelRequestBodyData.js.map +1 -0
  21. package/dist/models/CreateStateRequestBody.d.ts +34 -0
  22. package/dist/models/CreateStateRequestBody.d.ts.map +1 -0
  23. package/dist/models/CreateStateRequestBody.js +52 -0
  24. package/dist/models/CreateStateRequestBody.js.map +1 -0
  25. package/dist/models/CreateStateRequestBodyData.d.ts +47 -0
  26. package/dist/models/CreateStateRequestBodyData.d.ts.map +1 -0
  27. package/dist/models/CreateStateRequestBodyData.js +63 -0
  28. package/dist/models/CreateStateRequestBodyData.js.map +1 -0
  29. package/dist/models/EmailAttributesSchema.d.ts +25 -1
  30. package/dist/models/EmailAttributesSchema.d.ts.map +1 -1
  31. package/dist/models/EmailAttributesSchema.js +8 -0
  32. package/dist/models/EmailAttributesSchema.js.map +1 -1
  33. package/dist/models/EmailAttributesSchemaAttachmentsInner.d.ts +27 -3
  34. package/dist/models/EmailAttributesSchemaAttachmentsInner.d.ts.map +1 -1
  35. package/dist/models/EmailAttributesSchemaAttachmentsInner.js +8 -0
  36. package/dist/models/EmailAttributesSchemaAttachmentsInner.js.map +1 -1
  37. package/dist/models/LabelAttributesSchema.d.ts +92 -0
  38. package/dist/models/LabelAttributesSchema.d.ts.map +1 -0
  39. package/dist/models/LabelAttributesSchema.js +79 -0
  40. package/dist/models/LabelAttributesSchema.js.map +1 -0
  41. package/dist/models/LabelResourceSchema.d.ts +74 -0
  42. package/dist/models/LabelResourceSchema.d.ts.map +1 -0
  43. package/dist/models/LabelResourceSchema.js +74 -0
  44. package/dist/models/LabelResourceSchema.js.map +1 -0
  45. package/dist/models/LabelSchema.d.ts +49 -0
  46. package/dist/models/LabelSchema.d.ts.map +1 -0
  47. package/dist/models/LabelSchema.js +55 -0
  48. package/dist/models/LabelSchema.js.map +1 -0
  49. package/dist/models/LabelsSchema.d.ts +48 -0
  50. package/dist/models/LabelsSchema.d.ts.map +1 -0
  51. package/dist/models/LabelsSchema.js +56 -0
  52. package/dist/models/LabelsSchema.js.map +1 -0
  53. package/dist/models/StateAttributesSchema.d.ts +116 -0
  54. package/dist/models/StateAttributesSchema.d.ts.map +1 -0
  55. package/dist/models/StateAttributesSchema.js +86 -0
  56. package/dist/models/StateAttributesSchema.js.map +1 -0
  57. package/dist/models/StateResourceSchema.d.ts +74 -0
  58. package/dist/models/StateResourceSchema.d.ts.map +1 -0
  59. package/dist/models/StateResourceSchema.js +74 -0
  60. package/dist/models/StateResourceSchema.js.map +1 -0
  61. package/dist/models/StateSchema.d.ts +49 -0
  62. package/dist/models/StateSchema.d.ts.map +1 -0
  63. package/dist/models/StateSchema.js +55 -0
  64. package/dist/models/StateSchema.js.map +1 -0
  65. package/dist/models/StatesSchema.d.ts +48 -0
  66. package/dist/models/StatesSchema.d.ts.map +1 -0
  67. package/dist/models/StatesSchema.js +56 -0
  68. package/dist/models/StatesSchema.js.map +1 -0
  69. package/dist/models/UpdateLabelRequestBody.d.ts +34 -0
  70. package/dist/models/UpdateLabelRequestBody.d.ts.map +1 -0
  71. package/dist/models/UpdateLabelRequestBody.js +52 -0
  72. package/dist/models/UpdateLabelRequestBody.js.map +1 -0
  73. package/dist/models/UpdateLabelRequestBodyData.d.ts +53 -0
  74. package/dist/models/UpdateLabelRequestBodyData.d.ts.map +1 -0
  75. package/dist/models/UpdateLabelRequestBodyData.js +67 -0
  76. package/dist/models/UpdateLabelRequestBodyData.js.map +1 -0
  77. package/dist/models/UpdateStateRequestBody.d.ts +34 -0
  78. package/dist/models/UpdateStateRequestBody.d.ts.map +1 -0
  79. package/dist/models/UpdateStateRequestBody.js +52 -0
  80. package/dist/models/UpdateStateRequestBody.js.map +1 -0
  81. package/dist/models/UpdateStateRequestBodyData.d.ts +53 -0
  82. package/dist/models/UpdateStateRequestBodyData.d.ts.map +1 -0
  83. package/dist/models/UpdateStateRequestBodyData.js +67 -0
  84. package/dist/models/UpdateStateRequestBodyData.js.map +1 -0
  85. package/dist/models/index.d.ts +16 -0
  86. package/dist/models/index.d.ts.map +1 -1
  87. package/dist/models/index.js +16 -0
  88. package/dist/models/index.js.map +1 -1
  89. package/package.json +1 -1
@@ -0,0 +1,74 @@
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 { LabelAttributesSchema } from './LabelAttributesSchema';
13
+ import type { ResourceLinksSchema } from './ResourceLinksSchema';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface LabelResourceSchema
18
+ */
19
+ export interface LabelResourceSchema {
20
+ /**
21
+ *
22
+ * @type {LabelResourceSchemaTypeEnum}
23
+ * @memberof LabelResourceSchema
24
+ */
25
+ type: LabelResourceSchemaTypeEnum;
26
+ /**
27
+ * 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.
28
+ * @type {string}
29
+ * @memberof LabelResourceSchema
30
+ */
31
+ id: string;
32
+ /**
33
+ *
34
+ * @type {LabelAttributesSchema}
35
+ * @memberof LabelResourceSchema
36
+ */
37
+ attributes: LabelAttributesSchema;
38
+ /**
39
+ *
40
+ * @type {object}
41
+ * @memberof LabelResourceSchema
42
+ */
43
+ relationships?: object;
44
+ /**
45
+ *
46
+ * @type {ResourceLinksSchema}
47
+ * @memberof LabelResourceSchema
48
+ */
49
+ links?: ResourceLinksSchema;
50
+ /**
51
+ *
52
+ * @type {{ [key: string]: any; }}
53
+ * @memberof LabelResourceSchema
54
+ */
55
+ meta?: {
56
+ [key: string]: any;
57
+ };
58
+ }
59
+ /**
60
+ * @export
61
+ */
62
+ export declare const LabelResourceSchemaTypeEnum: {
63
+ readonly Labels: "labels";
64
+ };
65
+ export type LabelResourceSchemaTypeEnum = typeof LabelResourceSchemaTypeEnum[keyof typeof LabelResourceSchemaTypeEnum];
66
+ /**
67
+ * Check if a given object implements the LabelResourceSchema interface.
68
+ */
69
+ export declare function instanceOfLabelResourceSchema(value: object): value is LabelResourceSchema;
70
+ export declare function LabelResourceSchemaFromJSON(json: any): LabelResourceSchema;
71
+ export declare function LabelResourceSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): LabelResourceSchema;
72
+ export declare function LabelResourceSchemaToJSON(json: any): LabelResourceSchema;
73
+ export declare function LabelResourceSchemaToJSONTyped(value?: LabelResourceSchema | null, ignoreDiscriminator?: boolean): any;
74
+ //# sourceMappingURL=LabelResourceSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LabelResourceSchema.d.ts","sourceRoot":"","sources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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.LabelResourceSchemaTypeEnum = void 0;
17
+ exports.instanceOfLabelResourceSchema = instanceOfLabelResourceSchema;
18
+ exports.LabelResourceSchemaFromJSON = LabelResourceSchemaFromJSON;
19
+ exports.LabelResourceSchemaFromJSONTyped = LabelResourceSchemaFromJSONTyped;
20
+ exports.LabelResourceSchemaToJSON = LabelResourceSchemaToJSON;
21
+ exports.LabelResourceSchemaToJSONTyped = LabelResourceSchemaToJSONTyped;
22
+ const LabelAttributesSchema_1 = require("./LabelAttributesSchema");
23
+ const ResourceLinksSchema_1 = require("./ResourceLinksSchema");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.LabelResourceSchemaTypeEnum = {
28
+ Labels: 'labels'
29
+ };
30
+ /**
31
+ * Check if a given object implements the LabelResourceSchema interface.
32
+ */
33
+ function instanceOfLabelResourceSchema(value) {
34
+ if (!('type' in value) || value['type'] === undefined)
35
+ return false;
36
+ if (!('id' in value) || value['id'] === undefined)
37
+ return false;
38
+ if (!('attributes' in value) || value['attributes'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function LabelResourceSchemaFromJSON(json) {
43
+ return LabelResourceSchemaFromJSONTyped(json, false);
44
+ }
45
+ function LabelResourceSchemaFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'type': json['type'],
51
+ 'id': json['id'],
52
+ 'attributes': (0, LabelAttributesSchema_1.LabelAttributesSchemaFromJSON)(json['attributes']),
53
+ 'relationships': json['relationships'] == null ? undefined : json['relationships'],
54
+ 'links': json['links'] == null ? undefined : (0, ResourceLinksSchema_1.ResourceLinksSchemaFromJSON)(json['links']),
55
+ 'meta': json['meta'] == null ? undefined : json['meta'],
56
+ };
57
+ }
58
+ function LabelResourceSchemaToJSON(json) {
59
+ return LabelResourceSchemaToJSONTyped(json, false);
60
+ }
61
+ function LabelResourceSchemaToJSONTyped(value, ignoreDiscriminator = false) {
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ return {
66
+ 'type': value['type'],
67
+ 'id': value['id'],
68
+ 'attributes': (0, LabelAttributesSchema_1.LabelAttributesSchemaToJSON)(value['attributes']),
69
+ 'relationships': value['relationships'],
70
+ 'links': (0, ResourceLinksSchema_1.ResourceLinksSchemaToJSON)(value['links']),
71
+ 'meta': value['meta'],
72
+ };
73
+ }
74
+ //# sourceMappingURL=LabelResourceSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LabelResourceSchema.js","sourceRoot":"","sources":["../../src/models/LabelResourceSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA2EH,sEAKC;AAED,kEAEC;AAED,4EAaC;AAED,8DAEC;AAED,wEAcC;AAnHD,mEAKiC;AAEjC,+DAK+B;AA+C/B;;GAEG;AACU,QAAA,2BAA2B,GAAG;IACvC,MAAM,EAAE,QAAQ;CACV,CAAC;AAIX;;GAEG;AACH,SAAgB,6BAA6B,CAAC,KAAa;IACvD,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IA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e,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,OAAO,EAAE,IAAA,+CAAyB,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAClD,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
@@ -0,0 +1,49 @@
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 { ResourceLinksSchema } from './ResourceLinksSchema';
13
+ import type { LabelResourceSchema } from './LabelResourceSchema';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface LabelSchema
18
+ */
19
+ export interface LabelSchema {
20
+ /**
21
+ *
22
+ * @type {LabelResourceSchema}
23
+ * @memberof LabelSchema
24
+ */
25
+ data?: LabelResourceSchema;
26
+ /**
27
+ *
28
+ * @type {ResourceLinksSchema}
29
+ * @memberof LabelSchema
30
+ */
31
+ links?: ResourceLinksSchema;
32
+ /**
33
+ *
34
+ * @type {{ [key: string]: any; }}
35
+ * @memberof LabelSchema
36
+ */
37
+ meta?: {
38
+ [key: string]: any;
39
+ };
40
+ }
41
+ /**
42
+ * Check if a given object implements the LabelSchema interface.
43
+ */
44
+ export declare function instanceOfLabelSchema(value: object): value is LabelSchema;
45
+ export declare function LabelSchemaFromJSON(json: any): LabelSchema;
46
+ export declare function LabelSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): LabelSchema;
47
+ export declare function LabelSchemaToJSON(json: any): LabelSchema;
48
+ export declare function LabelSchemaToJSONTyped(value?: LabelSchema | null, ignoreDiscriminator?: boolean): any;
49
+ //# sourceMappingURL=LabelSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LabelSchema.d.ts","sourceRoot":"","sources":["../../src/models/LabelSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B;;;;OAIG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAEzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAU7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5G"}
@@ -0,0 +1,55 @@
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.instanceOfLabelSchema = instanceOfLabelSchema;
17
+ exports.LabelSchemaFromJSON = LabelSchemaFromJSON;
18
+ exports.LabelSchemaFromJSONTyped = LabelSchemaFromJSONTyped;
19
+ exports.LabelSchemaToJSON = LabelSchemaToJSON;
20
+ exports.LabelSchemaToJSONTyped = LabelSchemaToJSONTyped;
21
+ const ResourceLinksSchema_1 = require("./ResourceLinksSchema");
22
+ const LabelResourceSchema_1 = require("./LabelResourceSchema");
23
+ /**
24
+ * Check if a given object implements the LabelSchema interface.
25
+ */
26
+ function instanceOfLabelSchema(value) {
27
+ return true;
28
+ }
29
+ function LabelSchemaFromJSON(json) {
30
+ return LabelSchemaFromJSONTyped(json, false);
31
+ }
32
+ function LabelSchemaFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'data': json['data'] == null ? undefined : (0, LabelResourceSchema_1.LabelResourceSchemaFromJSON)(json['data']),
38
+ 'links': json['links'] == null ? undefined : (0, ResourceLinksSchema_1.ResourceLinksSchemaFromJSON)(json['links']),
39
+ 'meta': json['meta'] == null ? undefined : json['meta'],
40
+ };
41
+ }
42
+ function LabelSchemaToJSON(json) {
43
+ return LabelSchemaToJSONTyped(json, false);
44
+ }
45
+ function LabelSchemaToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'data': (0, LabelResourceSchema_1.LabelResourceSchemaToJSON)(value['data']),
51
+ 'links': (0, ResourceLinksSchema_1.ResourceLinksSchemaToJSON)(value['links']),
52
+ 'meta': value['meta'],
53
+ };
54
+ }
55
+ //# sourceMappingURL=LabelSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LabelSchema.js","sourceRoot":"","sources":["../../src/models/LabelSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA+CH,sDAEC;AAED,kDAEC;AAED,4DAUC;AAED,8CAEC;AAED,wDAWC;AA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AAC"}
@@ -0,0 +1,48 @@
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 { ResourcesMetaSchema } from './ResourcesMetaSchema';
13
+ import type { ResourcesLinksSchema } from './ResourcesLinksSchema';
14
+ import type { LabelResourceSchema } from './LabelResourceSchema';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface LabelsSchema
19
+ */
20
+ export interface LabelsSchema {
21
+ /**
22
+ *
23
+ * @type {Array<LabelResourceSchema>}
24
+ * @memberof LabelsSchema
25
+ */
26
+ data?: Array<LabelResourceSchema>;
27
+ /**
28
+ *
29
+ * @type {ResourcesLinksSchema}
30
+ * @memberof LabelsSchema
31
+ */
32
+ links?: ResourcesLinksSchema;
33
+ /**
34
+ *
35
+ * @type {ResourcesMetaSchema}
36
+ * @memberof LabelsSchema
37
+ */
38
+ meta?: ResourcesMetaSchema;
39
+ }
40
+ /**
41
+ * Check if a given object implements the LabelsSchema interface.
42
+ */
43
+ export declare function instanceOfLabelsSchema(value: object): value is LabelsSchema;
44
+ export declare function LabelsSchemaFromJSON(json: any): LabelsSchema;
45
+ export declare function LabelsSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): LabelsSchema;
46
+ export declare function LabelsSchemaToJSON(json: any): LabelsSchema;
47
+ export declare function LabelsSchemaToJSONTyped(value?: LabelsSchema | null, ignoreDiscriminator?: boolean): any;
48
+ //# sourceMappingURL=LabelsSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LabelsSchema.d.ts","sourceRoot":"","sources":["../../src/models/LabelsSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAClC;;;;OAIG;IACH,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC9B;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAE3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAU/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9G"}
@@ -0,0 +1,56 @@
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.instanceOfLabelsSchema = instanceOfLabelsSchema;
17
+ exports.LabelsSchemaFromJSON = LabelsSchemaFromJSON;
18
+ exports.LabelsSchemaFromJSONTyped = LabelsSchemaFromJSONTyped;
19
+ exports.LabelsSchemaToJSON = LabelsSchemaToJSON;
20
+ exports.LabelsSchemaToJSONTyped = LabelsSchemaToJSONTyped;
21
+ const ResourcesMetaSchema_1 = require("./ResourcesMetaSchema");
22
+ const ResourcesLinksSchema_1 = require("./ResourcesLinksSchema");
23
+ const LabelResourceSchema_1 = require("./LabelResourceSchema");
24
+ /**
25
+ * Check if a given object implements the LabelsSchema interface.
26
+ */
27
+ function instanceOfLabelsSchema(value) {
28
+ return true;
29
+ }
30
+ function LabelsSchemaFromJSON(json) {
31
+ return LabelsSchemaFromJSONTyped(json, false);
32
+ }
33
+ function LabelsSchemaFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'data': json['data'] == null ? undefined : (json['data'].map(LabelResourceSchema_1.LabelResourceSchemaFromJSON)),
39
+ 'links': json['links'] == null ? undefined : (0, ResourcesLinksSchema_1.ResourcesLinksSchemaFromJSON)(json['links']),
40
+ 'meta': json['meta'] == null ? undefined : (0, ResourcesMetaSchema_1.ResourcesMetaSchemaFromJSON)(json['meta']),
41
+ };
42
+ }
43
+ function LabelsSchemaToJSON(json) {
44
+ return LabelsSchemaToJSONTyped(json, false);
45
+ }
46
+ function LabelsSchemaToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'data': value['data'] == null ? undefined : (value['data'].map(LabelResourceSchema_1.LabelResourceSchemaToJSON)),
52
+ 'links': (0, ResourcesLinksSchema_1.ResourcesLinksSchemaToJSON)(value['links']),
53
+ 'meta': (0, ResourcesMetaSchema_1.ResourcesMetaSchemaToJSON)(value['meta']),
54
+ };
55
+ }
56
+ //# sourceMappingURL=LabelsSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LabelsSchema.js","sourceRoot":"","sources":["../../src/models/LabelsSchema.ts"],"names":[],"mappings":";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AK,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,MAAM,CAAgB,CAAC,GAAG,CAAC,+CAAyB,CAAC,CAAC;QAC1G,OAAO,EAAE,IAAA,iDAA0B,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACnD,MAAM,EAAE,IAAA,+CAAyB,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KACnD,CAAC;AACN,CAAC"}
@@ -0,0 +1,116 @@
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 StateAttributesSchema
17
+ */
18
+ export interface StateAttributesSchema {
19
+ /**
20
+ * Owner of this state row. Always the authenticated user; never set by the client.
21
+ * @type {string}
22
+ * @memberof StateAttributesSchema
23
+ */
24
+ userId?: string;
25
+ /**
26
+ * The kind of resource this state describes. Lives in the composite id as `{resourceType}:{resourceId}`.
27
+ * @type {StateAttributesSchemaResourceTypeEnum}
28
+ * @memberof StateAttributesSchema
29
+ */
30
+ resourceType?: StateAttributesSchemaResourceTypeEnum;
31
+ /**
32
+ * Id of the resource this state describes (e.g. an emailId, candidateId).
33
+ * @type {string}
34
+ * @memberof StateAttributesSchema
35
+ */
36
+ resourceId?: string;
37
+ /**
38
+ * True if the user has opened the resource at least once. Derived from the presence of `seenAt`; clients can write either `isSeen` or `seenAt` on upsert.
39
+ * @type {boolean}
40
+ * @memberof StateAttributesSchema
41
+ */
42
+ isSeen?: boolean;
43
+ /**
44
+ * True if the user has starred/favourited the resource.
45
+ * @type {boolean}
46
+ * @memberof StateAttributesSchema
47
+ */
48
+ isStarred?: boolean;
49
+ /**
50
+ * True if the user marked this resource as spam. Distinct from the email service's `suppressed` status, which is SES-driven on outbound delivery; this is an inbound, per-user action.
51
+ * @type {boolean}
52
+ * @memberof StateAttributesSchema
53
+ */
54
+ isSpam?: boolean;
55
+ /**
56
+ * ISO 8601 timestamp of the user's most recent open. Absent means never seen.
57
+ * @type {string}
58
+ * @memberof StateAttributesSchema
59
+ */
60
+ seenAt?: string | null;
61
+ /**
62
+ * ISO 8601 timestamp of when the user starred the resource. Absent means not starred; used as the sort key for the `Starred` folder.
63
+ * @type {string}
64
+ * @memberof StateAttributesSchema
65
+ */
66
+ starredAt?: string | null;
67
+ /**
68
+ * ISO 8601 timestamp of when the user marked the resource as spam. Absent means not spam; used as the sort key for the `Spam` folder.
69
+ * @type {string}
70
+ * @memberof StateAttributesSchema
71
+ */
72
+ spamAt?: string | null;
73
+ /**
74
+ * Denormalised copy of the underlying resource's own `created` timestamp. Used as the sparse unread-index sort key so the unread feed surfaces oldest resources first, not oldest state rows.
75
+ * @type {string}
76
+ * @memberof StateAttributesSchema
77
+ */
78
+ resourceCreatedAt?: string | null;
79
+ /**
80
+ * Open-ended per-resource flags (e.g. `{muted: true}` on conversations, `{pinned: true}` on candidates). First-class state goes on the top-level attributes; ad-hoc state lives here.
81
+ * @type {{ [key: string]: any; }}
82
+ * @memberof StateAttributesSchema
83
+ */
84
+ flags?: {
85
+ [key: string]: any;
86
+ };
87
+ /**
88
+ *
89
+ * @type {ResourceTimestampsSchema}
90
+ * @memberof StateAttributesSchema
91
+ */
92
+ timestamps?: ResourceTimestampsSchema;
93
+ }
94
+ /**
95
+ * @export
96
+ */
97
+ export declare const StateAttributesSchemaResourceTypeEnum: {
98
+ readonly Emails: "emails";
99
+ readonly Candidates: "candidates";
100
+ readonly Conversations: "conversations";
101
+ readonly Jobs: "jobs";
102
+ readonly Talents: "talents";
103
+ readonly Personas: "personas";
104
+ readonly Reports: "reports";
105
+ readonly Tasks: "tasks";
106
+ };
107
+ export type StateAttributesSchemaResourceTypeEnum = typeof StateAttributesSchemaResourceTypeEnum[keyof typeof StateAttributesSchemaResourceTypeEnum];
108
+ /**
109
+ * Check if a given object implements the StateAttributesSchema interface.
110
+ */
111
+ export declare function instanceOfStateAttributesSchema(value: object): value is StateAttributesSchema;
112
+ export declare function StateAttributesSchemaFromJSON(json: any): StateAttributesSchema;
113
+ export declare function StateAttributesSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): StateAttributesSchema;
114
+ export declare function StateAttributesSchemaToJSON(json: any): StateAttributesSchema;
115
+ export declare function StateAttributesSchemaToJSONTyped(value?: StateAttributesSchema | null, ignoreDiscriminator?: boolean): any;
116
+ //# sourceMappingURL=StateAttributesSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StateAttributesSchema.d.ts","sourceRoot":"","sources":["../../src/models/StateAttributesSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,YAAY,CAAC,EAAE,qCAAqC,CAAC;IACrD;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;;;OAIG;IACH,KAAK,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IAChC;;;;OAIG;IACH,UAAU,CAAC,EAAE,wBAAwB,CAAC;CACzC;AAGD;;GAEG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;;CASxC,CAAC;AACX,MAAM,MAAM,qCAAqC,GAAG,OAAO,qCAAqC,CAAC,MAAM,OAAO,qCAAqC,CAAC,CAAC;AAGrJ;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAmBjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAoBhI"}
@@ -0,0 +1,86 @@
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.StateAttributesSchemaResourceTypeEnum = void 0;
17
+ exports.instanceOfStateAttributesSchema = instanceOfStateAttributesSchema;
18
+ exports.StateAttributesSchemaFromJSON = StateAttributesSchemaFromJSON;
19
+ exports.StateAttributesSchemaFromJSONTyped = StateAttributesSchemaFromJSONTyped;
20
+ exports.StateAttributesSchemaToJSON = StateAttributesSchemaToJSON;
21
+ exports.StateAttributesSchemaToJSONTyped = StateAttributesSchemaToJSONTyped;
22
+ const ResourceTimestampsSchema_1 = require("./ResourceTimestampsSchema");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.StateAttributesSchemaResourceTypeEnum = {
27
+ Emails: 'emails',
28
+ Candidates: 'candidates',
29
+ Conversations: 'conversations',
30
+ Jobs: 'jobs',
31
+ Talents: 'talents',
32
+ Personas: 'personas',
33
+ Reports: 'reports',
34
+ Tasks: 'tasks'
35
+ };
36
+ /**
37
+ * Check if a given object implements the StateAttributesSchema interface.
38
+ */
39
+ function instanceOfStateAttributesSchema(value) {
40
+ return true;
41
+ }
42
+ function StateAttributesSchemaFromJSON(json) {
43
+ return StateAttributesSchemaFromJSONTyped(json, false);
44
+ }
45
+ function StateAttributesSchemaFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'userId': json['userId'] == null ? undefined : json['userId'],
51
+ 'resourceType': json['resourceType'] == null ? undefined : json['resourceType'],
52
+ 'resourceId': json['resourceId'] == null ? undefined : json['resourceId'],
53
+ 'isSeen': json['isSeen'] == null ? undefined : json['isSeen'],
54
+ 'isStarred': json['isStarred'] == null ? undefined : json['isStarred'],
55
+ 'isSpam': json['isSpam'] == null ? undefined : json['isSpam'],
56
+ 'seenAt': json['seenAt'] == null ? undefined : json['seenAt'],
57
+ 'starredAt': json['starredAt'] == null ? undefined : json['starredAt'],
58
+ 'spamAt': json['spamAt'] == null ? undefined : json['spamAt'],
59
+ 'resourceCreatedAt': json['resourceCreatedAt'] == null ? undefined : json['resourceCreatedAt'],
60
+ 'flags': json['flags'] == null ? undefined : json['flags'],
61
+ 'timestamps': json['timestamps'] == null ? undefined : (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaFromJSON)(json['timestamps']),
62
+ };
63
+ }
64
+ function StateAttributesSchemaToJSON(json) {
65
+ return StateAttributesSchemaToJSONTyped(json, false);
66
+ }
67
+ function StateAttributesSchemaToJSONTyped(value, ignoreDiscriminator = false) {
68
+ if (value == null) {
69
+ return value;
70
+ }
71
+ return {
72
+ 'userId': value['userId'],
73
+ 'resourceType': value['resourceType'],
74
+ 'resourceId': value['resourceId'],
75
+ 'isSeen': value['isSeen'],
76
+ 'isStarred': value['isStarred'],
77
+ 'isSpam': value['isSpam'],
78
+ 'seenAt': value['seenAt'],
79
+ 'starredAt': value['starredAt'],
80
+ 'spamAt': value['spamAt'],
81
+ 'resourceCreatedAt': value['resourceCreatedAt'],
82
+ 'flags': value['flags'],
83
+ 'timestamps': (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaToJSON)(value['timestamps']),
84
+ };
85
+ }
86
+ //# sourceMappingURL=StateAttributesSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StateAttributesSchema.js","sourceRoot":"","sources":["../../src/models/StateAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA+GH,0EAEC;AAED,sEAEC;AAED,gFAmBC;AAED,kEAEC;AAED,4EAoBC;AAhKD,yEAKoC;AAmFpC;;GAEG;AACU,QAAA,qCAAqC,GAAG;IACjD,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,eAAe;IAC9B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACR,CAAC;AAIX;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,I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