@dodayslabs/ts-sdk 0.2.0-feat-discovery.8 → 0.2.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.
@@ -0,0 +1,219 @@
1
+ /**
2
+ * DoDays API
3
+ * The DoDays API reference.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: engineering@dodays.co.uk
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 { Venue } from './Venue';
13
+ import type { Session } from './Session';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ClassWithType
18
+ */
19
+ export interface ClassWithType {
20
+ /**
21
+ *
22
+ * @type {number}
23
+ * @memberof ClassWithType
24
+ */
25
+ id: number;
26
+ /**
27
+ *
28
+ * @type {number}
29
+ * @memberof ClassWithType
30
+ */
31
+ activityId?: number;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof ClassWithType
36
+ */
37
+ name: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof ClassWithType
42
+ */
43
+ image?: string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof ClassWithType
48
+ */
49
+ description?: string;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof ClassWithType
54
+ */
55
+ sessionCost?: number;
56
+ /**
57
+ *
58
+ * @type {boolean}
59
+ * @memberof ClassWithType
60
+ */
61
+ trialAllowed?: boolean;
62
+ /**
63
+ *
64
+ * @type {number}
65
+ * @memberof ClassWithType
66
+ */
67
+ trialCost?: number;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof ClassWithType
72
+ */
73
+ ageRange?: string;
74
+ /**
75
+ *
76
+ * @type {boolean}
77
+ * @memberof ClassWithType
78
+ */
79
+ sell?: boolean;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof ClassWithType
84
+ */
85
+ term?: string;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof ClassWithType
90
+ */
91
+ teacher?: string;
92
+ /**
93
+ *
94
+ * @type {number}
95
+ * @memberof ClassWithType
96
+ */
97
+ venueId?: number;
98
+ /**
99
+ *
100
+ * @type {string}
101
+ * @memberof ClassWithType
102
+ */
103
+ venueName?: string;
104
+ /**
105
+ *
106
+ * @type {number}
107
+ * @memberof ClassWithType
108
+ */
109
+ providerId?: number;
110
+ /**
111
+ *
112
+ * @type {string}
113
+ * @memberof ClassWithType
114
+ */
115
+ providerName?: string;
116
+ /**
117
+ *
118
+ * @type {string}
119
+ * @memberof ClassWithType
120
+ */
121
+ providerClassImage?: string;
122
+ /**
123
+ *
124
+ * @type {string}
125
+ * @memberof ClassWithType
126
+ */
127
+ providerHandle?: string;
128
+ /**
129
+ *
130
+ * @type {string}
131
+ * @memberof ClassWithType
132
+ */
133
+ stage?: string;
134
+ /**
135
+ *
136
+ * @type {string}
137
+ * @memberof ClassWithType
138
+ */
139
+ stageClassImage?: string;
140
+ /**
141
+ *
142
+ * @type {string}
143
+ * @memberof ClassWithType
144
+ */
145
+ venueImage?: string;
146
+ /**
147
+ *
148
+ * @type {string}
149
+ * @memberof ClassWithType
150
+ */
151
+ ability?: ClassWithTypeAbilityEnum;
152
+ /**
153
+ *
154
+ * @type {number}
155
+ * @memberof ClassWithType
156
+ */
157
+ spacesCount?: number;
158
+ /**
159
+ *
160
+ * @type {number}
161
+ * @memberof ClassWithType
162
+ */
163
+ invitedWaiteesCount?: number;
164
+ /**
165
+ *
166
+ * @type {Date}
167
+ * @memberof ClassWithType
168
+ */
169
+ nextSession?: Date;
170
+ /**
171
+ *
172
+ * @type {Date}
173
+ * @memberof ClassWithType
174
+ */
175
+ nextSessionEndsAt?: Date;
176
+ /**
177
+ *
178
+ * @type {Array<Session>}
179
+ * @memberof ClassWithType
180
+ */
181
+ sessions?: Array<Session>;
182
+ /**
183
+ *
184
+ * @type {Venue}
185
+ * @memberof ClassWithType
186
+ */
187
+ venue?: Venue;
188
+ /**
189
+ *
190
+ * @type {string}
191
+ * @memberof ClassWithType
192
+ */
193
+ type: ClassWithTypeTypeEnum;
194
+ }
195
+ /**
196
+ * @export
197
+ */
198
+ export declare const ClassWithTypeAbilityEnum: {
199
+ readonly Beginner: "Beginner";
200
+ readonly Intermediate: "Intermediate";
201
+ readonly Advanced: "Advanced";
202
+ };
203
+ export type ClassWithTypeAbilityEnum = typeof ClassWithTypeAbilityEnum[keyof typeof ClassWithTypeAbilityEnum];
204
+ /**
205
+ * @export
206
+ */
207
+ export declare const ClassWithTypeTypeEnum: {
208
+ readonly Activity: "activity";
209
+ };
210
+ export type ClassWithTypeTypeEnum = typeof ClassWithTypeTypeEnum[keyof typeof ClassWithTypeTypeEnum];
211
+ /**
212
+ * Check if a given object implements the ClassWithType interface.
213
+ */
214
+ export declare function instanceOfClassWithType(value: object): value is ClassWithType;
215
+ export declare function ClassWithTypeFromJSON(json: any): ClassWithType;
216
+ export declare function ClassWithTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClassWithType;
217
+ export declare function ClassWithTypeToJSON(json: any): ClassWithType;
218
+ export declare function ClassWithTypeToJSONTyped(value?: ClassWithType | null, ignoreDiscriminator?: boolean): any;
219
+ //# sourceMappingURL=ClassWithType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClassWithType.d.ts","sourceRoot":"","sources":["../../src/models/ClassWithType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAOrC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQzC;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,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AIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;;;OAIG;IACH,IAAI,EAAE,qBAAqB,CAAC;CAC/B;AAGD;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAE9G;;GAEG;AACH,eAAO,MAAM,qBAAqB;;CAExB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAGrG;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAK7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAoCjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAqChH"}
@@ -0,0 +1,120 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DoDays API
5
+ * The DoDays API reference.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: engineering@dodays.co.uk
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { VenueFromJSON, VenueToJSON, } from './Venue';
15
+ import { SessionFromJSON, SessionToJSON, } from './Session';
16
+ /**
17
+ * @export
18
+ */
19
+ export const ClassWithTypeAbilityEnum = {
20
+ Beginner: 'Beginner',
21
+ Intermediate: 'Intermediate',
22
+ Advanced: 'Advanced'
23
+ };
24
+ /**
25
+ * @export
26
+ */
27
+ export const ClassWithTypeTypeEnum = {
28
+ Activity: 'activity'
29
+ };
30
+ /**
31
+ * Check if a given object implements the ClassWithType interface.
32
+ */
33
+ export function instanceOfClassWithType(value) {
34
+ if (!('id' in value) || value['id'] === undefined)
35
+ return false;
36
+ if (!('name' in value) || value['name'] === undefined)
37
+ return false;
38
+ if (!('type' in value) || value['type'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ export function ClassWithTypeFromJSON(json) {
43
+ return ClassWithTypeFromJSONTyped(json, false);
44
+ }
45
+ export function ClassWithTypeFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'id': json['id'],
51
+ 'activityId': json['activity_id'] == null ? undefined : json['activity_id'],
52
+ 'name': json['name'],
53
+ 'image': json['image'] == null ? undefined : json['image'],
54
+ 'description': json['description'] == null ? undefined : json['description'],
55
+ 'sessionCost': json['session_cost'] == null ? undefined : json['session_cost'],
56
+ 'trialAllowed': json['trial_allowed'] == null ? undefined : json['trial_allowed'],
57
+ 'trialCost': json['trial_cost'] == null ? undefined : json['trial_cost'],
58
+ 'ageRange': json['age_range'] == null ? undefined : json['age_range'],
59
+ 'sell': json['sell'] == null ? undefined : json['sell'],
60
+ 'term': json['term'] == null ? undefined : json['term'],
61
+ 'teacher': json['teacher'] == null ? undefined : json['teacher'],
62
+ 'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
63
+ 'venueName': json['venue_name'] == null ? undefined : json['venue_name'],
64
+ 'providerId': json['provider_id'] == null ? undefined : json['provider_id'],
65
+ 'providerName': json['provider_name'] == null ? undefined : json['provider_name'],
66
+ 'providerClassImage': json['provider_class_image'] == null ? undefined : json['provider_class_image'],
67
+ 'providerHandle': json['provider_handle'] == null ? undefined : json['provider_handle'],
68
+ 'stage': json['stage'] == null ? undefined : json['stage'],
69
+ 'stageClassImage': json['stage_class_image'] == null ? undefined : json['stage_class_image'],
70
+ 'venueImage': json['venue_image'] == null ? undefined : json['venue_image'],
71
+ 'ability': json['ability'] == null ? undefined : json['ability'],
72
+ 'spacesCount': json['spaces_count'] == null ? undefined : json['spaces_count'],
73
+ 'invitedWaiteesCount': json['invited_waitees_count'] == null ? undefined : json['invited_waitees_count'],
74
+ 'nextSession': json['next_session'] == null ? undefined : (new Date(json['next_session'])),
75
+ 'nextSessionEndsAt': json['next_session_ends_at'] == null ? undefined : (new Date(json['next_session_ends_at'])),
76
+ 'sessions': json['sessions'] == null ? undefined : (json['sessions'].map(SessionFromJSON)),
77
+ 'venue': json['venue'] == null ? undefined : VenueFromJSON(json['venue']),
78
+ 'type': json['type'],
79
+ };
80
+ }
81
+ export function ClassWithTypeToJSON(json) {
82
+ return ClassWithTypeToJSONTyped(json, false);
83
+ }
84
+ export function ClassWithTypeToJSONTyped(value, ignoreDiscriminator = false) {
85
+ if (value == null) {
86
+ return value;
87
+ }
88
+ return {
89
+ 'id': value['id'],
90
+ 'activity_id': value['activityId'],
91
+ 'name': value['name'],
92
+ 'image': value['image'],
93
+ 'description': value['description'],
94
+ 'session_cost': value['sessionCost'],
95
+ 'trial_allowed': value['trialAllowed'],
96
+ 'trial_cost': value['trialCost'],
97
+ 'age_range': value['ageRange'],
98
+ 'sell': value['sell'],
99
+ 'term': value['term'],
100
+ 'teacher': value['teacher'],
101
+ 'venue_id': value['venueId'],
102
+ 'venue_name': value['venueName'],
103
+ 'provider_id': value['providerId'],
104
+ 'provider_name': value['providerName'],
105
+ 'provider_class_image': value['providerClassImage'],
106
+ 'provider_handle': value['providerHandle'],
107
+ 'stage': value['stage'],
108
+ 'stage_class_image': value['stageClassImage'],
109
+ 'venue_image': value['venueImage'],
110
+ 'ability': value['ability'],
111
+ 'spaces_count': value['spacesCount'],
112
+ 'invited_waitees_count': value['invitedWaiteesCount'],
113
+ 'next_session': value['nextSession'] == null ? undefined : ((value['nextSession']).toISOString()),
114
+ 'next_session_ends_at': value['nextSessionEndsAt'] == null ? undefined : ((value['nextSessionEndsAt']).toISOString()),
115
+ 'sessions': value['sessions'] == null ? undefined : (value['sessions'].map(SessionToJSON)),
116
+ 'venue': VenueToJSON(value['venue']),
117
+ 'type': value['type'],
118
+ };
119
+ }
120
+ //# sourceMappingURL=ClassWithType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClassWithType.js","sourceRoot":"","sources":["../../src/models/ClassWithType.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,aAAa,EAEb,WAAW,GAEd,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,eAAe,EAEf,aAAa,GAEhB,MAAM,WAAW,CAAC;AAyLnB;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACpC,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;IAC5B,QAAQ,EAAE,UAAU;CACd,CAAC;AAGX;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,QAAQ,EAAE,UAAU;CACd,CAAC;AAIX;;GAEG;AACH,MAAM,UAAU,uBAAuB,CAAC,KAAa;IACjD,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAED,MAAM,UAAU,0BA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AC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;QACjG,sBAAsB,EAAE,KAAK,CAAC,mBAAmB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;QACrH,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAgB,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QAC1G,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACpC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
@@ -0,0 +1,47 @@
1
+ /**
2
+ * DoDays API
3
+ * The DoDays API reference.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: engineering@dodays.co.uk
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
+ */
16
+ export declare const Facility: {
17
+ readonly FreeWifi: "free-wifi";
18
+ readonly LockersAvailable: "lockers-available";
19
+ readonly OnsiteCafe: "onsite-cafe";
20
+ readonly OnsiteParking: "onsite-parking";
21
+ readonly PetFriendly: "pet-friendly";
22
+ readonly BabyChanging: "baby-changing";
23
+ readonly QuietZones: "quiet-zones";
24
+ readonly SoftPlay: "soft-play";
25
+ readonly AccessibleParking: "accessible-parking";
26
+ readonly AccessibleRestrooms: "accessible-restrooms";
27
+ readonly ChangingPlaces: "changing-places";
28
+ readonly ServiceDogFriendly: "service-dog-friendly";
29
+ readonly LiftAccess: "lift-access";
30
+ readonly StepFreeAccess: "step-free-access";
31
+ readonly WheelchairAccess: "wheelchair-access";
32
+ readonly AssistiveTechnologyAvailable: "assistive-technology-available";
33
+ readonly HearingLoopSystem: "hearing-loop-system";
34
+ readonly MultilingualInterpretation: "multilingual-interpretation";
35
+ readonly SignLanguageInterpretation: "sign-language-interpretation";
36
+ readonly AutismNeurodiversityInclusive: "autism-neurodiversity-inclusive";
37
+ readonly SendTrained: "send-trained";
38
+ readonly SmallGroupOptions: "small-group-options";
39
+ readonly SupportWorkerCarerWelcome: "support-worker-carer-welcome";
40
+ };
41
+ export type Facility = typeof Facility[keyof typeof Facility];
42
+ export declare function instanceOfFacility(value: any): boolean;
43
+ export declare function FacilityFromJSON(json: any): Facility;
44
+ export declare function FacilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): Facility;
45
+ export declare function FacilityToJSON(value?: Facility | null): any;
46
+ export declare function FacilityToJSONTyped(value: any, ignoreDiscriminator: boolean): Facility;
47
+ //# sourceMappingURL=Facility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Facility.d.ts","sourceRoot":"","sources":["../../src/models/Facility.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;CAwBX,CAAC;AACX,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAG9D,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAStD;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CAEvF;AAED,wBAAgB,cAAc,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,GAAG,GAAG,CAE3D;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CAEtF"}
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DoDays API
5
+ * The DoDays API reference.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: engineering@dodays.co.uk
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ */
18
+ export const Facility = {
19
+ FreeWifi: 'free-wifi',
20
+ LockersAvailable: 'lockers-available',
21
+ OnsiteCafe: 'onsite-cafe',
22
+ OnsiteParking: 'onsite-parking',
23
+ PetFriendly: 'pet-friendly',
24
+ BabyChanging: 'baby-changing',
25
+ QuietZones: 'quiet-zones',
26
+ SoftPlay: 'soft-play',
27
+ AccessibleParking: 'accessible-parking',
28
+ AccessibleRestrooms: 'accessible-restrooms',
29
+ ChangingPlaces: 'changing-places',
30
+ ServiceDogFriendly: 'service-dog-friendly',
31
+ LiftAccess: 'lift-access',
32
+ StepFreeAccess: 'step-free-access',
33
+ WheelchairAccess: 'wheelchair-access',
34
+ AssistiveTechnologyAvailable: 'assistive-technology-available',
35
+ HearingLoopSystem: 'hearing-loop-system',
36
+ MultilingualInterpretation: 'multilingual-interpretation',
37
+ SignLanguageInterpretation: 'sign-language-interpretation',
38
+ AutismNeurodiversityInclusive: 'autism-neurodiversity-inclusive',
39
+ SendTrained: 'send-trained',
40
+ SmallGroupOptions: 'small-group-options',
41
+ SupportWorkerCarerWelcome: 'support-worker-carer-welcome'
42
+ };
43
+ export function instanceOfFacility(value) {
44
+ for (const key in Facility) {
45
+ if (Object.prototype.hasOwnProperty.call(Facility, key)) {
46
+ if (Facility[key] === value) {
47
+ return true;
48
+ }
49
+ }
50
+ }
51
+ return false;
52
+ }
53
+ export function FacilityFromJSON(json) {
54
+ return FacilityFromJSONTyped(json, false);
55
+ }
56
+ export function FacilityFromJSONTyped(json, ignoreDiscriminator) {
57
+ return json;
58
+ }
59
+ export function FacilityToJSON(value) {
60
+ return value;
61
+ }
62
+ export function FacilityToJSONTyped(value, ignoreDiscriminator) {
63
+ return value;
64
+ }
65
+ //# sourceMappingURL=Facility.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Facility.js","sourceRoot":"","sources":["../../src/models/Facility.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG;IACpB,QAAQ,EAAE,WAAW;IACrB,gBAAgB,EAAE,mBAAmB;IACrC,UAAU,EAAE,aAAa;IACzB,aAAa,EAAE,gBAAgB;IAC/B,WAAW,EAAE,cAAc;IAC3B,YAAY,EAAE,eAAe;IAC7B,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,WAAW;IACrB,iBAAiB,EAAE,oBAAoB;IACvC,mBAAmB,EAAE,sBAAsB;IAC3C,cAAc,EAAE,iBAAiB;IACjC,kBAAkB,EAAE,sBAAsB;IAC1C,UAAU,EAAE,aAAa;IACzB,cAAc,EAAE,kBAAkB;IAClC,gBAAgB,EAAE,mBAAmB;IACrC,4BAA4B,EAAE,gCAAgC;IAC9D,iBAAiB,EAAE,qBAAqB;IACxC,0BAA0B,EAAE,6BAA6B;IACzD,0BAA0B,EAAE,8BAA8B;IAC1D,6BAA6B,EAAE,iCAAiC;IAChE,WAAW,EAAE,cAAc;IAC3B,iBAAiB,EAAE,qBAAqB;IACxC,yBAAyB,EAAE,8BAA8B;CACnD,CAAC;AAIX,MAAM,UAAU,kBAAkB,CAAC,KAAU;IACzC,KAAK,MAAM,GAAG,IAAI,QAAQ,EAAE,CAAC;QACzB,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,CAAC,EAAE,CAAC;YACtD,IAAI,QAAQ,CAAC,GAA4B,CAAC,KAAK,KAAK,EAAE,CAAC;gBACnD,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,IAAS;IACtC,OAAO,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,IAAS,EAAE,mBAA4B;IACzE,OAAO,IAAgB,CAAC;AAC5B,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,KAAuB;IAClD,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,KAAU,EAAE,mBAA4B;IACxE,OAAO,KAAiB,CAAC;AAC7B,CAAC"}
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Class } from './Class';
13
- import type { Provider } from './Provider';
12
+ import type { ClassWithType } from './ClassWithType';
13
+ import type { ProviderWithType } from './ProviderWithType';
14
14
  /**
15
15
  * @type GetDiscover200ResponseDataInner
16
16
  *
@@ -18,9 +18,9 @@ import type { Provider } from './Provider';
18
18
  */
19
19
  export type GetDiscover200ResponseDataInner = {
20
20
  type: 'activity';
21
- } & Class | {
21
+ } & ClassWithType | {
22
22
  type: 'provider';
23
- } & Provider;
23
+ } & ProviderWithType;
24
24
  export declare function GetDiscover200ResponseDataInnerFromJSON(json: any): GetDiscover200ResponseDataInner;
25
25
  export declare function GetDiscover200ResponseDataInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetDiscover200ResponseDataInner;
26
26
  export declare function GetDiscover200ResponseDataInnerToJSON(json: any): any;
@@ -1 +1 @@
1
- {"version":3,"file":"GetDiscover200ResponseDataInner.d.ts","sourceRoot":"","sources":["../../src/models/GetDiscover200ResponseDataInner.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,KAAK,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,CAAC,KAAK,CAAC,EAAE,+BAA+B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYpJ"}
@@ -11,8 +11,8 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { ClassFromJSONTyped, ClassToJSON, } from './Class';
15
- import { ProviderFromJSONTyped, ProviderToJSON, } from './Provider';
14
+ import { ClassWithTypeFromJSONTyped, ClassWithTypeToJSON, } from './ClassWithType';
15
+ import { ProviderWithTypeFromJSONTyped, ProviderWithTypeToJSON, } from './ProviderWithType';
16
16
  export function GetDiscover200ResponseDataInnerFromJSON(json) {
17
17
  return GetDiscover200ResponseDataInnerFromJSONTyped(json, false);
18
18
  }
@@ -22,9 +22,9 @@ export function GetDiscover200ResponseDataInnerFromJSONTyped(json, ignoreDiscrim
22
22
  }
23
23
  switch (json['type']) {
24
24
  case 'activity':
25
- return Object.assign({}, ClassFromJSONTyped(json, true), { type: 'activity' });
25
+ return Object.assign({}, ClassWithTypeFromJSONTyped(json, true), { type: 'activity' });
26
26
  case 'provider':
27
- return Object.assign({}, ProviderFromJSONTyped(json, true), { type: 'provider' });
27
+ return Object.assign({}, ProviderWithTypeFromJSONTyped(json, true), { type: 'provider' });
28
28
  default:
29
29
  return json;
30
30
  }
@@ -38,9 +38,9 @@ export function GetDiscover200ResponseDataInnerToJSONTyped(value, ignoreDiscrimi
38
38
  }
39
39
  switch (value['type']) {
40
40
  case 'activity':
41
- return Object.assign({}, ClassToJSON(value), { type: 'activity' });
41
+ return Object.assign({}, ClassWithTypeToJSON(value), { type: 'activity' });
42
42
  case 'provider':
43
- return Object.assign({}, ProviderToJSON(value), { type: 'provider' });
43
+ return Object.assign({}, ProviderWithTypeToJSON(value), { type: 'provider' });
44
44
  default:
45
45
  return value;
46
46
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GetDiscover200ResponseDataInner.js","sourceRoot":"","sources":["../../src/models/GetDiscover200ResponseDataInner.ts"],"names":[],"m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AAU,EAAW,CAAC,CAAC;QAChF,KAAK,UAAU;YACX,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,EAAE,EAAE,IAAI,EAAE,UAAU,EAAW,CAAC,CAAC;QACnF;YACI,OAAO,KAAK,CAAC;IACrB,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"GetDiscover200ResponseDataInner.js","sourceRoot":"","sources":["../../src/models/GetDiscover200ResponseDataInner.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAGH,OAAO,EAGH,0BAA0B,EAC1B,mBAAmB,GACtB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAGH,6BAA6B,EAC7B,sBAAsB,GACzB,MAAM,oBAAoB,CAAC;AAS5B,MAAM,UAAU,uCAAuC,CAAC,IAAS;IAC7D,OAAO,4CAA4C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrE,CAAC;AAED,MAAM,UAAU,4CAA4C,CAAC,IAAS,EAAE,mBAA4B;IAChG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,QAAQ,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QACnB,KAAK,UAAU;YACX,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,0BAA0B,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,UAAU,EAAW,CAAC,CAAC;QACpG,KAAK,UAAU;YACX,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,6BAA6B,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,UAAU,EAAW,CAAC,CAAC;QACvG;YACI,OAAO,IAAI,CAAC;IACpB,CAAC;AACL,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAC,IAAS;IAC3D,OAAO,0CAA0C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,0CAA0C,CAAC,KAA8C,EAAE,sBAA+B,KAAK;IAC3I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,QAAQ,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;QACpB,KAAK,UAAU;YACX,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,mBAAmB,CAAC,KAAK,CAAC,EAAE,EAAE,IAAI,EAAE,UAAU,EAAW,CAAC,CAAC;QACxF,KAAK,UAAU;YACX,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,sBAAsB,CAAC,KAAK,CAAC,EAAE,EAAE,IAAI,EAAE,UAAU,EAAW,CAAC,CAAC;QAC3F;YACI,OAAO,KAAK,CAAC;IACrB,CAAC;AACL,CAAC"}
@@ -26,7 +26,7 @@ export interface Product {
26
26
  * @type {string}
27
27
  * @memberof Product
28
28
  */
29
- name?: ProductNameEnum;
29
+ name?: string;
30
30
  /**
31
31
  *
32
32
  * @type {number}
@@ -34,15 +34,6 @@ export interface Product {
34
34
  */
35
35
  cost?: number;
36
36
  }
37
- /**
38
- * @export
39
- */
40
- export declare const ProductNameEnum: {
41
- readonly PerSession: "perSession";
42
- readonly PerTrial: "perTrial";
43
- readonly FixedCost: "fixedCost";
44
- };
45
- export type ProductNameEnum = typeof ProductNameEnum[keyof typeof ProductNameEnum];
46
37
  /**
47
38
  * Check if a given object implements the Product interface.
48
39
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Product.d.ts","sourceRoot":"","sources":["../../src/models/Product.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,C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AAE,OAAe,GAAG,GAAG,CAWpG"}
@@ -11,14 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- */
17
- export const ProductNameEnum = {
18
- PerSession: 'perSession',
19
- PerTrial: 'perTrial',
20
- FixedCost: 'fixedCost'
21
- };
22
14
  /**
23
15
  * Check if a given object implements the Product interface.
24
16
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../src/models/Product.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AA8BH;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC3B,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;CAChB,CAAC;AAIX;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAAa;IAC3C,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,IAAS;IACrC,OAAO,oBAAoB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAS,EAAE,mBAA4B;IACxE,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QACjD,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACvD,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;KAC1D,CAAC;AACN,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