@andev2005/movie-glu-sdk 1.0.5 → 1.0.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.
package/dist/index.d.mts CHANGED
@@ -99,23 +99,24 @@ type FilmDetailsResponse = {
99
99
  film_name: string;
100
100
  other_titles?: OtherTitles;
101
101
  version_type?: string;
102
- images: FilmImages;
103
- synopsis_long: string;
102
+ images?: FilmImages;
103
+ synopsis_short?: string;
104
+ synopsis_long?: string;
104
105
  distributor_id?: number;
105
106
  distributor?: string;
106
- release_dates: ReleaseDate[];
107
- age_rating: AgeRating[];
107
+ release_dates?: ReleaseDate[];
108
+ age_rating?: AgeRating[];
108
109
  duration_mins?: number;
109
- review_stars?: number;
110
+ review_stars?: number | string;
110
111
  review_txt?: string;
111
- trailers: Trailers | null;
112
- genres: Genre[];
113
- cast: Cast[];
114
- directors: Director[];
115
- producers: Producer[];
116
- writers: Writer[];
117
- show_dates: ShowDate[];
118
- alternate_versions: AlternateVersion[];
112
+ trailers?: Trailers | null;
113
+ genres?: Genre[];
114
+ cast?: Cast[];
115
+ directors?: Director[];
116
+ producers?: Producer[];
117
+ writers?: Writer[];
118
+ show_dates?: ShowDate[];
119
+ alternate_versions?: AlternateVersion[];
119
120
  status: Status;
120
121
  };
121
122
  type CinemaDetailsResponse = {
@@ -162,11 +163,11 @@ type Status = {
162
163
  };
163
164
  type OtherTitles = Record<string, string>;
164
165
  type ReleaseDate = {
165
- release_date: string;
166
+ release_date?: string;
166
167
  notes?: string;
167
168
  };
168
169
  type AgeRating = {
169
- rating: string;
170
+ rating?: string;
170
171
  age_rating_image?: string;
171
172
  age_advisory?: string;
172
173
  };
@@ -259,7 +260,7 @@ type AlternateVersion = {
259
260
  version_type: string;
260
261
  };
261
262
  type TrailerItem = {
262
- film_trailer: string;
263
+ film_trailer?: string;
263
264
  trailer_image?: string;
264
265
  version?: number;
265
266
  quality?: string;
package/dist/index.d.ts CHANGED
@@ -99,23 +99,24 @@ type FilmDetailsResponse = {
99
99
  film_name: string;
100
100
  other_titles?: OtherTitles;
101
101
  version_type?: string;
102
- images: FilmImages;
103
- synopsis_long: string;
102
+ images?: FilmImages;
103
+ synopsis_short?: string;
104
+ synopsis_long?: string;
104
105
  distributor_id?: number;
105
106
  distributor?: string;
106
- release_dates: ReleaseDate[];
107
- age_rating: AgeRating[];
107
+ release_dates?: ReleaseDate[];
108
+ age_rating?: AgeRating[];
108
109
  duration_mins?: number;
109
- review_stars?: number;
110
+ review_stars?: number | string;
110
111
  review_txt?: string;
111
- trailers: Trailers | null;
112
- genres: Genre[];
113
- cast: Cast[];
114
- directors: Director[];
115
- producers: Producer[];
116
- writers: Writer[];
117
- show_dates: ShowDate[];
118
- alternate_versions: AlternateVersion[];
112
+ trailers?: Trailers | null;
113
+ genres?: Genre[];
114
+ cast?: Cast[];
115
+ directors?: Director[];
116
+ producers?: Producer[];
117
+ writers?: Writer[];
118
+ show_dates?: ShowDate[];
119
+ alternate_versions?: AlternateVersion[];
119
120
  status: Status;
120
121
  };
121
122
  type CinemaDetailsResponse = {
@@ -162,11 +163,11 @@ type Status = {
162
163
  };
163
164
  type OtherTitles = Record<string, string>;
164
165
  type ReleaseDate = {
165
- release_date: string;
166
+ release_date?: string;
166
167
  notes?: string;
167
168
  };
168
169
  type AgeRating = {
169
- rating: string;
170
+ rating?: string;
170
171
  age_rating_image?: string;
171
172
  age_advisory?: string;
172
173
  };
@@ -259,7 +260,7 @@ type AlternateVersion = {
259
260
  version_type: string;
260
261
  };
261
262
  type TrailerItem = {
262
- film_trailer: string;
263
+ film_trailer?: string;
263
264
  trailer_image?: string;
264
265
  version?: number;
265
266
  quality?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andev2005/movie-glu-sdk",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/type.ts CHANGED
@@ -120,23 +120,24 @@ export type FilmDetailsResponse = {
120
120
  film_name: string;
121
121
  other_titles?: OtherTitles;
122
122
  version_type?: string;
123
- images: FilmImages;
124
- synopsis_long: string;
123
+ images?: FilmImages;
124
+ synopsis_short?: string;
125
+ synopsis_long?: string;
125
126
  distributor_id?: number;
126
127
  distributor?: string;
127
- release_dates: ReleaseDate[];
128
- age_rating: AgeRating[];
128
+ release_dates?: ReleaseDate[];
129
+ age_rating?: AgeRating[];
129
130
  duration_mins?: number;
130
- review_stars?: number;
131
+ review_stars?: number | string;
131
132
  review_txt?: string;
132
- trailers: Trailers | null;
133
- genres: Genre[];
134
- cast: Cast[];
135
- directors: Director[];
136
- producers: Producer[];
137
- writers: Writer[];
138
- show_dates: ShowDate[];
139
- alternate_versions: AlternateVersion[];
133
+ trailers?: Trailers | null;
134
+ genres?: Genre[];
135
+ cast?: Cast[];
136
+ directors?: Director[];
137
+ producers?: Producer[];
138
+ writers?: Writer[];
139
+ show_dates?: ShowDate[];
140
+ alternate_versions?: AlternateVersion[];
140
141
  status: Status;
141
142
  };
142
143
 
@@ -190,12 +191,12 @@ export type Status = {
190
191
  export type OtherTitles = Record<string, string>;
191
192
 
192
193
  export type ReleaseDate = {
193
- release_date: string;
194
+ release_date?: string;
194
195
  notes?: string;
195
196
  };
196
197
 
197
198
  export type AgeRating = {
198
- rating: string;
199
+ rating?: string;
199
200
  age_rating_image?: string;
200
201
  age_advisory?: string;
201
202
  };
@@ -303,7 +304,7 @@ export type AlternateVersion = {
303
304
  };
304
305
 
305
306
  export type TrailerItem = {
306
- film_trailer: string;
307
+ film_trailer?: string;
307
308
  trailer_image?: string;
308
309
  version?: number;
309
310
  quality?: string;