@monaco-protocol/client-v2 0.0.75 → 0.0.84-dev.0

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 (45) hide show
  1. package/dist/apis/EventGroupsApi.d.ts +13 -0
  2. package/dist/apis/EventGroupsApi.js +37 -0
  3. package/dist/apis/EventSubcategoriesApi.d.ts +40 -1
  4. package/dist/apis/EventSubcategoriesApi.js +115 -0
  5. package/dist/apis/EventsApi.d.ts +11 -11
  6. package/dist/apis/EventsApi.js +20 -20
  7. package/dist/apis/MarketsApi.d.ts +9 -9
  8. package/dist/apis/MarketsApi.js +18 -18
  9. package/dist/apis/ParticipantsApi.d.ts +57 -0
  10. package/dist/apis/ParticipantsApi.js +148 -0
  11. package/dist/apis/index.d.ts +1 -0
  12. package/dist/apis/index.js +1 -0
  13. package/dist/models/AddParticipantRequest.d.ts +10 -3
  14. package/dist/models/AddParticipantRequest.js +12 -3
  15. package/dist/models/AddParticipantsRequest.d.ts +1 -1
  16. package/dist/models/AddParticipantsRequest.js +4 -2
  17. package/dist/models/CategorySummaryWithDates.d.ts +52 -0
  18. package/dist/models/CategorySummaryWithDates.js +54 -0
  19. package/dist/models/CreateEventRequest.d.ts +7 -0
  20. package/dist/models/CreateEventRequest.js +3 -0
  21. package/dist/models/EventGroupSummaryWithDates.d.ts +59 -0
  22. package/dist/models/EventGroupSummaryWithDates.js +57 -0
  23. package/dist/models/EventResponse.d.ts +9 -9
  24. package/dist/models/EventResponse.js +9 -9
  25. package/dist/models/Order.d.ts +1 -1
  26. package/dist/models/Order.js +3 -1
  27. package/dist/models/OrderFailure.d.ts +1 -1
  28. package/dist/models/OrderFailure.js +3 -1
  29. package/dist/models/PagedEventResponse.d.ts +9 -9
  30. package/dist/models/PagedEventResponse.js +9 -9
  31. package/dist/models/Participant.d.ts +7 -0
  32. package/dist/models/Participant.js +3 -0
  33. package/dist/models/ParticipantsResponse.d.ts +7 -0
  34. package/dist/models/ParticipantsResponse.js +3 -0
  35. package/dist/models/Subcategory.d.ts +6 -0
  36. package/dist/models/Subcategory.js +2 -0
  37. package/dist/models/SubcategoryResponse.d.ts +7 -0
  38. package/dist/models/SubcategoryResponse.js +3 -0
  39. package/dist/models/SubcategorySummaryWithDates.d.ts +59 -0
  40. package/dist/models/SubcategorySummaryWithDates.js +57 -0
  41. package/dist/models/WithdrawalRequest.d.ts +2 -0
  42. package/dist/models/WithdrawalRequest.js +2 -0
  43. package/dist/models/index.d.ts +3 -0
  44. package/dist/models/index.js +3 -0
  45. package/package.json +1 -1
@@ -19,11 +19,11 @@ exports.EventResponseFromJSONTyped = EventResponseFromJSONTyped;
19
19
  exports.EventResponseToJSON = EventResponseToJSON;
20
20
  exports.EventResponseToJSONTyped = EventResponseToJSONTyped;
21
21
  const Meta_1 = require("./Meta");
22
- const Category_1 = require("./Category");
23
22
  const ExternalReference_1 = require("./ExternalReference");
24
- const Subcategory_1 = require("./Subcategory");
23
+ const CategorySummaryWithDates_1 = require("./CategorySummaryWithDates");
25
24
  const Event_1 = require("./Event");
26
- const EventGroup_1 = require("./EventGroup");
25
+ const EventGroupSummaryWithDates_1 = require("./EventGroupSummaryWithDates");
26
+ const SubcategorySummaryWithDates_1 = require("./SubcategorySummaryWithDates");
27
27
  const EventParticipant_1 = require("./EventParticipant");
28
28
  /**
29
29
  * Check if a given object implements the EventResponse interface.
@@ -41,9 +41,9 @@ function EventResponseFromJSONTyped(json, ignoreDiscriminator) {
41
41
  return {
42
42
  'meta': json['_meta'] == null ? undefined : (0, Meta_1.MetaFromJSON)(json['_meta']),
43
43
  'events': json['events'] == null ? undefined : (json['events'].map(Event_1.EventFromJSON)),
44
- 'eventGroups': json['eventGroups'] == null ? undefined : (json['eventGroups'].map(EventGroup_1.EventGroupFromJSON)),
45
- 'subcategories': json['subcategories'] == null ? undefined : (json['subcategories'].map(Subcategory_1.SubcategoryFromJSON)),
46
- 'categories': json['categories'] == null ? undefined : (json['categories'].map(Category_1.CategoryFromJSON)),
44
+ 'eventGroups': json['eventGroups'] == null ? undefined : (json['eventGroups'].map(EventGroupSummaryWithDates_1.EventGroupSummaryWithDatesFromJSON)),
45
+ 'subcategories': json['subcategories'] == null ? undefined : (json['subcategories'].map(SubcategorySummaryWithDates_1.SubcategorySummaryWithDatesFromJSON)),
46
+ 'categories': json['categories'] == null ? undefined : (json['categories'].map(CategorySummaryWithDates_1.CategorySummaryWithDatesFromJSON)),
47
47
  'participants': json['participants'] == null ? undefined : (json['participants'].map(EventParticipant_1.EventParticipantFromJSON)),
48
48
  'externalReferences': json['externalReferences'] == null ? undefined : (json['externalReferences'].map(ExternalReference_1.ExternalReferenceFromJSON)),
49
49
  };
@@ -58,9 +58,9 @@ function EventResponseToJSONTyped(value, ignoreDiscriminator = false) {
58
58
  return {
59
59
  '_meta': (0, Meta_1.MetaToJSON)(value['meta']),
60
60
  'events': value['events'] == null ? undefined : (value['events'].map(Event_1.EventToJSON)),
61
- 'eventGroups': value['eventGroups'] == null ? undefined : (value['eventGroups'].map(EventGroup_1.EventGroupToJSON)),
62
- 'subcategories': value['subcategories'] == null ? undefined : (value['subcategories'].map(Subcategory_1.SubcategoryToJSON)),
63
- 'categories': value['categories'] == null ? undefined : (value['categories'].map(Category_1.CategoryToJSON)),
61
+ 'eventGroups': value['eventGroups'] == null ? undefined : (value['eventGroups'].map(EventGroupSummaryWithDates_1.EventGroupSummaryWithDatesToJSON)),
62
+ 'subcategories': value['subcategories'] == null ? undefined : (value['subcategories'].map(SubcategorySummaryWithDates_1.SubcategorySummaryWithDatesToJSON)),
63
+ 'categories': value['categories'] == null ? undefined : (value['categories'].map(CategorySummaryWithDates_1.CategorySummaryWithDatesToJSON)),
64
64
  'participants': value['participants'] == null ? undefined : (value['participants'].map(EventParticipant_1.EventParticipantToJSON)),
65
65
  'externalReferences': value['externalReferences'] == null ? undefined : (value['externalReferences'].map(ExternalReference_1.ExternalReferenceToJSON)),
66
66
  };
@@ -21,7 +21,7 @@ export interface Order {
21
21
  * @type {string}
22
22
  * @memberof Order
23
23
  */
24
- id?: string;
24
+ id: string;
25
25
  /**
26
26
  *
27
27
  * @type {string}
@@ -50,6 +50,8 @@ exports.OrderMatchBehaviorEnum = {
50
50
  * Check if a given object implements the Order interface.
51
51
  */
52
52
  function instanceOfOrder(value) {
53
+ if (!('id' in value) || value['id'] === undefined)
54
+ return false;
53
55
  return true;
54
56
  }
55
57
  function OrderFromJSON(json) {
@@ -60,7 +62,7 @@ function OrderFromJSONTyped(json, ignoreDiscriminator) {
60
62
  return json;
61
63
  }
62
64
  return {
63
- 'id': json['id'] == null ? undefined : json['id'],
65
+ 'id': json['id'],
64
66
  'appId': json['appId'] == null ? undefined : json['appId'],
65
67
  'market': json['market'] == null ? undefined : (0, DocumentReference_1.DocumentReferenceFromJSON)(json['market']),
66
68
  'walletId': json['walletId'] == null ? undefined : json['walletId'],
@@ -33,7 +33,7 @@ export interface OrderFailure {
33
33
  * @type {string}
34
34
  * @memberof OrderFailure
35
35
  */
36
- errorCode?: string;
36
+ errorCode: string;
37
37
  /**
38
38
  * Order operation error detailed message
39
39
  * @type {string}
@@ -22,6 +22,8 @@ exports.OrderFailureToJSONTyped = OrderFailureToJSONTyped;
22
22
  * Check if a given object implements the OrderFailure interface.
23
23
  */
24
24
  function instanceOfOrderFailure(value) {
25
+ if (!('errorCode' in value) || value['errorCode'] === undefined)
26
+ return false;
25
27
  return true;
26
28
  }
27
29
  function OrderFailureFromJSON(json) {
@@ -32,7 +34,7 @@ function OrderFailureFromJSONTyped(json, ignoreDiscriminator) {
32
34
  return json;
33
35
  }
34
36
  return {
35
- 'errorCode': json['errorCode'] == null ? undefined : json['errorCode'],
37
+ 'errorCode': json['errorCode'],
36
38
  'errorMessage': json['errorMessage'] == null ? undefined : json['errorMessage'],
37
39
  };
38
40
  }
@@ -10,11 +10,11 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Meta } from './Meta';
13
- import type { Category } from './Category';
14
13
  import type { ExternalReference } from './ExternalReference';
15
- import type { Subcategory } from './Subcategory';
14
+ import type { CategorySummaryWithDates } from './CategorySummaryWithDates';
16
15
  import type { Event } from './Event';
17
- import type { EventGroup } from './EventGroup';
16
+ import type { EventGroupSummaryWithDates } from './EventGroupSummaryWithDates';
17
+ import type { SubcategorySummaryWithDates } from './SubcategorySummaryWithDates';
18
18
  import type { EventParticipant } from './EventParticipant';
19
19
  /**
20
20
  *
@@ -36,22 +36,22 @@ export interface PagedEventResponse {
36
36
  events?: Array<Event>;
37
37
  /**
38
38
  *
39
- * @type {Array<EventGroup>}
39
+ * @type {Array<EventGroupSummaryWithDates>}
40
40
  * @memberof PagedEventResponse
41
41
  */
42
- eventGroups?: Array<EventGroup>;
42
+ eventGroups?: Array<EventGroupSummaryWithDates>;
43
43
  /**
44
44
  *
45
- * @type {Array<Subcategory>}
45
+ * @type {Array<SubcategorySummaryWithDates>}
46
46
  * @memberof PagedEventResponse
47
47
  */
48
- subcategories?: Array<Subcategory>;
48
+ subcategories?: Array<SubcategorySummaryWithDates>;
49
49
  /**
50
50
  *
51
- * @type {Array<Category>}
51
+ * @type {Array<CategorySummaryWithDates>}
52
52
  * @memberof PagedEventResponse
53
53
  */
54
- categories?: Array<Category>;
54
+ categories?: Array<CategorySummaryWithDates>;
55
55
  /**
56
56
  *
57
57
  * @type {Array<EventParticipant>}
@@ -19,11 +19,11 @@ exports.PagedEventResponseFromJSONTyped = PagedEventResponseFromJSONTyped;
19
19
  exports.PagedEventResponseToJSON = PagedEventResponseToJSON;
20
20
  exports.PagedEventResponseToJSONTyped = PagedEventResponseToJSONTyped;
21
21
  const Meta_1 = require("./Meta");
22
- const Category_1 = require("./Category");
23
22
  const ExternalReference_1 = require("./ExternalReference");
24
- const Subcategory_1 = require("./Subcategory");
23
+ const CategorySummaryWithDates_1 = require("./CategorySummaryWithDates");
25
24
  const Event_1 = require("./Event");
26
- const EventGroup_1 = require("./EventGroup");
25
+ const EventGroupSummaryWithDates_1 = require("./EventGroupSummaryWithDates");
26
+ const SubcategorySummaryWithDates_1 = require("./SubcategorySummaryWithDates");
27
27
  const EventParticipant_1 = require("./EventParticipant");
28
28
  /**
29
29
  * Check if a given object implements the PagedEventResponse interface.
@@ -41,9 +41,9 @@ function PagedEventResponseFromJSONTyped(json, ignoreDiscriminator) {
41
41
  return {
42
42
  'meta': json['_meta'] == null ? undefined : (0, Meta_1.MetaFromJSON)(json['_meta']),
43
43
  'events': json['events'] == null ? undefined : (json['events'].map(Event_1.EventFromJSON)),
44
- 'eventGroups': json['eventGroups'] == null ? undefined : (json['eventGroups'].map(EventGroup_1.EventGroupFromJSON)),
45
- 'subcategories': json['subcategories'] == null ? undefined : (json['subcategories'].map(Subcategory_1.SubcategoryFromJSON)),
46
- 'categories': json['categories'] == null ? undefined : (json['categories'].map(Category_1.CategoryFromJSON)),
44
+ 'eventGroups': json['eventGroups'] == null ? undefined : (json['eventGroups'].map(EventGroupSummaryWithDates_1.EventGroupSummaryWithDatesFromJSON)),
45
+ 'subcategories': json['subcategories'] == null ? undefined : (json['subcategories'].map(SubcategorySummaryWithDates_1.SubcategorySummaryWithDatesFromJSON)),
46
+ 'categories': json['categories'] == null ? undefined : (json['categories'].map(CategorySummaryWithDates_1.CategorySummaryWithDatesFromJSON)),
47
47
  'participants': json['participants'] == null ? undefined : (json['participants'].map(EventParticipant_1.EventParticipantFromJSON)),
48
48
  'externalReferences': json['externalReferences'] == null ? undefined : (json['externalReferences'].map(ExternalReference_1.ExternalReferenceFromJSON)),
49
49
  };
@@ -58,9 +58,9 @@ function PagedEventResponseToJSONTyped(value, ignoreDiscriminator = false) {
58
58
  return {
59
59
  '_meta': (0, Meta_1.MetaToJSON)(value['meta']),
60
60
  'events': value['events'] == null ? undefined : (value['events'].map(Event_1.EventToJSON)),
61
- 'eventGroups': value['eventGroups'] == null ? undefined : (value['eventGroups'].map(EventGroup_1.EventGroupToJSON)),
62
- 'subcategories': value['subcategories'] == null ? undefined : (value['subcategories'].map(Subcategory_1.SubcategoryToJSON)),
63
- 'categories': value['categories'] == null ? undefined : (value['categories'].map(Category_1.CategoryToJSON)),
61
+ 'eventGroups': value['eventGroups'] == null ? undefined : (value['eventGroups'].map(EventGroupSummaryWithDates_1.EventGroupSummaryWithDatesToJSON)),
62
+ 'subcategories': value['subcategories'] == null ? undefined : (value['subcategories'].map(SubcategorySummaryWithDates_1.SubcategorySummaryWithDatesToJSON)),
63
+ 'categories': value['categories'] == null ? undefined : (value['categories'].map(CategorySummaryWithDates_1.CategorySummaryWithDatesToJSON)),
64
64
  'participants': value['participants'] == null ? undefined : (value['participants'].map(EventParticipant_1.EventParticipantToJSON)),
65
65
  'externalReferences': value['externalReferences'] == null ? undefined : (value['externalReferences'].map(ExternalReference_1.ExternalReferenceToJSON)),
66
66
  };
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { DocumentReference } from './DocumentReference';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -21,6 +22,12 @@ export interface Participant {
21
22
  * @memberof Participant
22
23
  */
23
24
  id?: string;
25
+ /**
26
+ *
27
+ * @type {DocumentReference}
28
+ * @memberof Participant
29
+ */
30
+ externalReferences?: DocumentReference;
24
31
  /**
25
32
  * Unique code for this participant across all events in a given subcategory
26
33
  * @type {string}
@@ -19,6 +19,7 @@ exports.ParticipantFromJSON = ParticipantFromJSON;
19
19
  exports.ParticipantFromJSONTyped = ParticipantFromJSONTyped;
20
20
  exports.ParticipantToJSON = ParticipantToJSON;
21
21
  exports.ParticipantToJSONTyped = ParticipantToJSONTyped;
22
+ const DocumentReference_1 = require("./DocumentReference");
22
23
  /**
23
24
  * @export
24
25
  */
@@ -41,6 +42,7 @@ function ParticipantFromJSONTyped(json, ignoreDiscriminator) {
41
42
  }
42
43
  return {
43
44
  'id': json['id'] == null ? undefined : json['id'],
45
+ 'externalReferences': json['externalReferences'] == null ? undefined : (0, DocumentReference_1.DocumentReferenceFromJSON)(json['externalReferences']),
44
46
  'code': json['code'] == null ? undefined : json['code'],
45
47
  'name': json['name'] == null ? undefined : json['name'],
46
48
  'type': json['type'] == null ? undefined : json['type'],
@@ -56,6 +58,7 @@ function ParticipantToJSONTyped(value, ignoreDiscriminator = false) {
56
58
  }
57
59
  return {
58
60
  'id': value['id'],
61
+ 'externalReferences': (0, DocumentReference_1.DocumentReferenceToJSON)(value['externalReferences']),
59
62
  'code': value['code'],
60
63
  'name': value['name'],
61
64
  'type': value['type'],
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Meta } from './Meta';
13
+ import type { ExternalReference } from './ExternalReference';
13
14
  import type { Participant } from './Participant';
14
15
  /**
15
16
  *
@@ -29,6 +30,12 @@ export interface ParticipantsResponse {
29
30
  * @memberof ParticipantsResponse
30
31
  */
31
32
  participants?: Array<Participant>;
33
+ /**
34
+ *
35
+ * @type {Array<ExternalReference>}
36
+ * @memberof ParticipantsResponse
37
+ */
38
+ externalReferences?: Array<ExternalReference>;
32
39
  }
33
40
  /**
34
41
  * Check if a given object implements the ParticipantsResponse interface.
@@ -19,6 +19,7 @@ exports.ParticipantsResponseFromJSONTyped = ParticipantsResponseFromJSONTyped;
19
19
  exports.ParticipantsResponseToJSON = ParticipantsResponseToJSON;
20
20
  exports.ParticipantsResponseToJSONTyped = ParticipantsResponseToJSONTyped;
21
21
  const Meta_1 = require("./Meta");
22
+ const ExternalReference_1 = require("./ExternalReference");
22
23
  const Participant_1 = require("./Participant");
23
24
  /**
24
25
  * Check if a given object implements the ParticipantsResponse interface.
@@ -36,6 +37,7 @@ function ParticipantsResponseFromJSONTyped(json, ignoreDiscriminator) {
36
37
  return {
37
38
  'meta': json['_meta'] == null ? undefined : (0, Meta_1.MetaFromJSON)(json['_meta']),
38
39
  'participants': json['participants'] == null ? undefined : (json['participants'].map(Participant_1.ParticipantFromJSON)),
40
+ 'externalReferences': json['externalReferences'] == null ? undefined : (json['externalReferences'].map(ExternalReference_1.ExternalReferenceFromJSON)),
39
41
  };
40
42
  }
41
43
  function ParticipantsResponseToJSON(json) {
@@ -48,5 +50,6 @@ function ParticipantsResponseToJSONTyped(value, ignoreDiscriminator = false) {
48
50
  return {
49
51
  '_meta': (0, Meta_1.MetaToJSON)(value['meta']),
50
52
  'participants': value['participants'] == null ? undefined : (value['participants'].map(Participant_1.ParticipantToJSON)),
53
+ 'externalReferences': value['externalReferences'] == null ? undefined : (value['externalReferences'].map(ExternalReference_1.ExternalReferenceToJSON)),
51
54
  };
52
55
  }
@@ -22,6 +22,12 @@ export interface Subcategory {
22
22
  * @memberof Subcategory
23
23
  */
24
24
  id?: string;
25
+ /**
26
+ *
27
+ * @type {DocumentReference}
28
+ * @memberof Subcategory
29
+ */
30
+ externalReferences?: DocumentReference;
25
31
  /**
26
32
  *
27
33
  * @type {string}
@@ -34,6 +34,7 @@ function SubcategoryFromJSONTyped(json, ignoreDiscriminator) {
34
34
  }
35
35
  return {
36
36
  'id': json['id'] == null ? undefined : json['id'],
37
+ 'externalReferences': json['externalReferences'] == null ? undefined : (0, DocumentReference_1.DocumentReferenceFromJSON)(json['externalReferences']),
37
38
  'name': json['name'] == null ? undefined : json['name'],
38
39
  'category': json['category'] == null ? undefined : (0, DocumentReference_1.DocumentReferenceFromJSON)(json['category']),
39
40
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
@@ -49,6 +50,7 @@ function SubcategoryToJSONTyped(value, ignoreDiscriminator = false) {
49
50
  }
50
51
  return {
51
52
  'id': value['id'],
53
+ 'externalReferences': (0, DocumentReference_1.DocumentReferenceToJSON)(value['externalReferences']),
52
54
  'name': value['name'],
53
55
  'category': (0, DocumentReference_1.DocumentReferenceToJSON)(value['category']),
54
56
  'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Meta } from './Meta';
13
+ import type { ExternalReference } from './ExternalReference';
13
14
  import type { Subcategory } from './Subcategory';
14
15
  import type { CategorySummary } from './CategorySummary';
15
16
  /**
@@ -30,6 +31,12 @@ export interface SubcategoryResponse {
30
31
  * @memberof SubcategoryResponse
31
32
  */
32
33
  subcategories?: Array<Subcategory>;
34
+ /**
35
+ *
36
+ * @type {Array<ExternalReference>}
37
+ * @memberof SubcategoryResponse
38
+ */
39
+ externalReferences?: Array<ExternalReference>;
33
40
  /**
34
41
  *
35
42
  * @type {Array<CategorySummary>}
@@ -19,6 +19,7 @@ exports.SubcategoryResponseFromJSONTyped = SubcategoryResponseFromJSONTyped;
19
19
  exports.SubcategoryResponseToJSON = SubcategoryResponseToJSON;
20
20
  exports.SubcategoryResponseToJSONTyped = SubcategoryResponseToJSONTyped;
21
21
  const Meta_1 = require("./Meta");
22
+ const ExternalReference_1 = require("./ExternalReference");
22
23
  const Subcategory_1 = require("./Subcategory");
23
24
  const CategorySummary_1 = require("./CategorySummary");
24
25
  /**
@@ -37,6 +38,7 @@ function SubcategoryResponseFromJSONTyped(json, ignoreDiscriminator) {
37
38
  return {
38
39
  'meta': json['_meta'] == null ? undefined : (0, Meta_1.MetaFromJSON)(json['_meta']),
39
40
  'subcategories': json['subcategories'] == null ? undefined : (json['subcategories'].map(Subcategory_1.SubcategoryFromJSON)),
41
+ 'externalReferences': json['externalReferences'] == null ? undefined : (json['externalReferences'].map(ExternalReference_1.ExternalReferenceFromJSON)),
40
42
  'categories': json['categories'] == null ? undefined : (json['categories'].map(CategorySummary_1.CategorySummaryFromJSON)),
41
43
  };
42
44
  }
@@ -50,6 +52,7 @@ function SubcategoryResponseToJSONTyped(value, ignoreDiscriminator = false) {
50
52
  return {
51
53
  '_meta': (0, Meta_1.MetaToJSON)(value['meta']),
52
54
  'subcategories': value['subcategories'] == null ? undefined : (value['subcategories'].map(Subcategory_1.SubcategoryToJSON)),
55
+ 'externalReferences': value['externalReferences'] == null ? undefined : (value['externalReferences'].map(ExternalReference_1.ExternalReferenceToJSON)),
53
56
  'categories': value['categories'] == null ? undefined : (value['categories'].map(CategorySummary_1.CategorySummaryToJSON)),
54
57
  };
55
58
  }
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Monaco API
3
+ * A RESTful API that allows you to interact with the Monaco Exchange. Provides endpoints for managing Events, Markets, Sessions, Wallets and Orders. To interact with the API, a client must have an App Id and an API Key to authenticate and create a session.
4
+ *
5
+ * The version of the OpenAPI document: 0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { DocumentReference } from './DocumentReference';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SubcategorySummaryWithDates
17
+ */
18
+ export interface SubcategorySummaryWithDates {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof SubcategorySummaryWithDates
23
+ */
24
+ id?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SubcategorySummaryWithDates
29
+ */
30
+ name?: string;
31
+ /**
32
+ *
33
+ * @type {DocumentReference}
34
+ * @memberof SubcategorySummaryWithDates
35
+ */
36
+ category?: DocumentReference;
37
+ /**
38
+ *
39
+ * @type {Date}
40
+ * @memberof SubcategorySummaryWithDates
41
+ * @deprecated
42
+ */
43
+ createdAt?: Date;
44
+ /**
45
+ *
46
+ * @type {Date}
47
+ * @memberof SubcategorySummaryWithDates
48
+ * @deprecated
49
+ */
50
+ modifiedAt?: Date;
51
+ }
52
+ /**
53
+ * Check if a given object implements the SubcategorySummaryWithDates interface.
54
+ */
55
+ export declare function instanceOfSubcategorySummaryWithDates(value: object): value is SubcategorySummaryWithDates;
56
+ export declare function SubcategorySummaryWithDatesFromJSON(json: any): SubcategorySummaryWithDates;
57
+ export declare function SubcategorySummaryWithDatesFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubcategorySummaryWithDates;
58
+ export declare function SubcategorySummaryWithDatesToJSON(json: any): SubcategorySummaryWithDates;
59
+ export declare function SubcategorySummaryWithDatesToJSONTyped(value?: SubcategorySummaryWithDates | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Monaco API
6
+ * A RESTful API that allows you to interact with the Monaco Exchange. Provides endpoints for managing Events, Markets, Sessions, Wallets and Orders. To interact with the API, a client must have an App Id and an API Key to authenticate and create a session.
7
+ *
8
+ * The version of the OpenAPI document: 0.1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSubcategorySummaryWithDates = instanceOfSubcategorySummaryWithDates;
17
+ exports.SubcategorySummaryWithDatesFromJSON = SubcategorySummaryWithDatesFromJSON;
18
+ exports.SubcategorySummaryWithDatesFromJSONTyped = SubcategorySummaryWithDatesFromJSONTyped;
19
+ exports.SubcategorySummaryWithDatesToJSON = SubcategorySummaryWithDatesToJSON;
20
+ exports.SubcategorySummaryWithDatesToJSONTyped = SubcategorySummaryWithDatesToJSONTyped;
21
+ const DocumentReference_1 = require("./DocumentReference");
22
+ /**
23
+ * Check if a given object implements the SubcategorySummaryWithDates interface.
24
+ */
25
+ function instanceOfSubcategorySummaryWithDates(value) {
26
+ return true;
27
+ }
28
+ function SubcategorySummaryWithDatesFromJSON(json) {
29
+ return SubcategorySummaryWithDatesFromJSONTyped(json, false);
30
+ }
31
+ function SubcategorySummaryWithDatesFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'id': json['id'] == null ? undefined : json['id'],
37
+ 'name': json['name'] == null ? undefined : json['name'],
38
+ 'category': json['category'] == null ? undefined : (0, DocumentReference_1.DocumentReferenceFromJSON)(json['category']),
39
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
40
+ 'modifiedAt': json['modifiedAt'] == null ? undefined : (new Date(json['modifiedAt'])),
41
+ };
42
+ }
43
+ function SubcategorySummaryWithDatesToJSON(json) {
44
+ return SubcategorySummaryWithDatesToJSONTyped(json, false);
45
+ }
46
+ function SubcategorySummaryWithDatesToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'id': value['id'],
52
+ 'name': value['name'],
53
+ 'category': (0, DocumentReference_1.DocumentReferenceToJSON)(value['category']),
54
+ 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
55
+ 'modifiedAt': value['modifiedAt'] == null ? undefined : ((value['modifiedAt']).toISOString()),
56
+ };
57
+ }
@@ -67,6 +67,7 @@ export declare const WithdrawalRequestInternalStatusEnum: {
67
67
  readonly ToBeConfirmed: "ToBeConfirmed";
68
68
  readonly Confirming: "Confirming";
69
69
  readonly Confirmed: "Confirmed";
70
+ readonly Flagged: "Flagged";
70
71
  readonly Failed: "Failed";
71
72
  };
72
73
  export type WithdrawalRequestInternalStatusEnum = typeof WithdrawalRequestInternalStatusEnum[keyof typeof WithdrawalRequestInternalStatusEnum];
@@ -79,6 +80,7 @@ export declare const WithdrawalRequestExternalStatusEnum: {
79
80
  readonly ToBeConfirmed: "ToBeConfirmed";
80
81
  readonly Confirming: "Confirming";
81
82
  readonly Confirmed: "Confirmed";
83
+ readonly Flagged: "Flagged";
82
84
  readonly Failed: "Failed";
83
85
  };
84
86
  export type WithdrawalRequestExternalStatusEnum = typeof WithdrawalRequestExternalStatusEnum[keyof typeof WithdrawalRequestExternalStatusEnum];
@@ -28,6 +28,7 @@ exports.WithdrawalRequestInternalStatusEnum = {
28
28
  ToBeConfirmed: 'ToBeConfirmed',
29
29
  Confirming: 'Confirming',
30
30
  Confirmed: 'Confirmed',
31
+ Flagged: 'Flagged',
31
32
  Failed: 'Failed'
32
33
  };
33
34
  /**
@@ -39,6 +40,7 @@ exports.WithdrawalRequestExternalStatusEnum = {
39
40
  ToBeConfirmed: 'ToBeConfirmed',
40
41
  Confirming: 'Confirming',
41
42
  Confirmed: 'Confirmed',
43
+ Flagged: 'Flagged',
42
44
  Failed: 'Failed'
43
45
  };
44
46
  /**
@@ -14,6 +14,7 @@ export * from './BatchOrderResponseOrdersInner';
14
14
  export * from './Category';
15
15
  export * from './CategoryResponse';
16
16
  export * from './CategorySummary';
17
+ export * from './CategorySummaryWithDates';
17
18
  export * from './ChunkOrderResponse';
18
19
  export * from './CommissionRate';
19
20
  export * from './CommissionRateResponse';
@@ -40,6 +41,7 @@ export * from './Event';
40
41
  export * from './EventGroup';
41
42
  export * from './EventGroupResponse';
42
43
  export * from './EventGroupSummary';
44
+ export * from './EventGroupSummaryWithDates';
43
45
  export * from './EventParticipant';
44
46
  export * from './EventParticipantsResponse';
45
47
  export * from './EventResponse';
@@ -92,6 +94,7 @@ export * from './SessionResponse';
92
94
  export * from './Subcategory';
93
95
  export * from './SubcategoryResponse';
94
96
  export * from './SubcategorySummary';
97
+ export * from './SubcategorySummaryWithDates';
95
98
  export * from './ToggleActionRequest';
96
99
  export * from './Trade';
97
100
  export * from './TradeResponse';
@@ -32,6 +32,7 @@ __exportStar(require("./BatchOrderResponseOrdersInner"), exports);
32
32
  __exportStar(require("./Category"), exports);
33
33
  __exportStar(require("./CategoryResponse"), exports);
34
34
  __exportStar(require("./CategorySummary"), exports);
35
+ __exportStar(require("./CategorySummaryWithDates"), exports);
35
36
  __exportStar(require("./ChunkOrderResponse"), exports);
36
37
  __exportStar(require("./CommissionRate"), exports);
37
38
  __exportStar(require("./CommissionRateResponse"), exports);
@@ -58,6 +59,7 @@ __exportStar(require("./Event"), exports);
58
59
  __exportStar(require("./EventGroup"), exports);
59
60
  __exportStar(require("./EventGroupResponse"), exports);
60
61
  __exportStar(require("./EventGroupSummary"), exports);
62
+ __exportStar(require("./EventGroupSummaryWithDates"), exports);
61
63
  __exportStar(require("./EventParticipant"), exports);
62
64
  __exportStar(require("./EventParticipantsResponse"), exports);
63
65
  __exportStar(require("./EventResponse"), exports);
@@ -110,6 +112,7 @@ __exportStar(require("./SessionResponse"), exports);
110
112
  __exportStar(require("./Subcategory"), exports);
111
113
  __exportStar(require("./SubcategoryResponse"), exports);
112
114
  __exportStar(require("./SubcategorySummary"), exports);
115
+ __exportStar(require("./SubcategorySummaryWithDates"), exports);
113
116
  __exportStar(require("./ToggleActionRequest"), exports);
114
117
  __exportStar(require("./Trade"), exports);
115
118
  __exportStar(require("./TradeResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monaco-protocol/client-v2",
3
- "version": "0.0.75",
3
+ "version": "0.0.84-dev.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [