@saooti/octopus-sdk 36.0.36 → 36.0.38

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/index.ts CHANGED
@@ -63,6 +63,7 @@ export const getClassicLoading = () => import("./src/components/form/ClassicLoad
63
63
  export const getClassicSelect = () => import("./src/components/form/ClassicSelect.vue");
64
64
  export const getClassicDatePicker = () => import("./src/components/form/ClassicDatePicker.vue");
65
65
  export const getPaginate = () => import("./src/components/display/list/Paginate.vue");
66
+ export const getPaginateParams = () => import("./src/components/display/list/PaginateParams.vue");
66
67
  export const getListPaginate = () => import("./src/components/display/list/ListPaginate.vue");
67
68
  export const getClassicMultiselect = () => import("./src/components/form/ClassicMultiselect.vue");
68
69
  export const getClassicInputText = () => import("./src/components/form/ClassicInputText.vue");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "36.0.36",
3
+ "version": "36.0.38",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -214,7 +214,7 @@ export default defineComponent({
214
214
  case 'RECORDING':
215
215
  return this.$t('In live');
216
216
  case 'DEBRIEFING':
217
- if (!this.isAnimatorLive) return '';
217
+ /* if (!this.isAnimatorLive) return ''; */
218
218
  if ('READY_TO_RECORD' === this.podcast.processingStatus)
219
219
  return this.$t('Not recording');
220
220
  return this.$t('Debriefing');
@@ -135,7 +135,6 @@
135
135
  v-if="
136
136
  !!fetchConference &&
137
137
  isLiveReadyToRecord &&
138
- !isNotRecorded &&
139
138
  isOctopusAndAnimator
140
139
  "
141
140
  :podcast="podcast"
@@ -147,6 +146,7 @@
147
146
  <EditBox
148
147
  v-else-if="editRight && isEditBox"
149
148
  :podcast="podcast"
149
+ :displayStudioAccess="isDebriefing"
150
150
  @validatePodcast="$emit('updatePodcast', $event)"
151
151
  />
152
152
  <TagList
@@ -243,9 +243,8 @@ export default defineComponent({
243
243
  'READY' === this.podcast?.processingStatus
244
244
  );
245
245
  },
246
- isNotRecorded(): boolean {
246
+ isDebriefing(): boolean {
247
247
  return (
248
- this.isLiveReadyToRecord &&
249
248
  undefined!==this.fetchConference &&
250
249
  'DEBRIEFING' === this.fetchConference.status
251
250
  );
@@ -223,18 +223,25 @@ export default defineComponent({
223
223
  },
224
224
 
225
225
  methods: {
226
+ async fetchConferencePublic(){
227
+ const data = await octopusApi.fetchData<string>(9, 'conference/realstatus/'+this.podcast.conferenceId);
228
+ this.fetchConference = {
229
+ status: data,
230
+ conferenceId: this.podcast.conferenceId,
231
+ title:'',
232
+ };
233
+ },
226
234
  async initConference(){
227
- if (!this.podcast || !this.isLiveReadyToRecord) return;
228
- if (this.isOctopusAndAnimator && undefined!==this.podcast.conferenceId) {
229
- const data = await crudApi.fetchData<Conference>(9,'conference/'+this.podcast.conferenceId);
230
- this.fetchConference = data ? data : {conferenceId:-1, title:''};
231
- } else if(undefined!==this.podcast.conferenceId){
232
- const data = await octopusApi.fetchData<string>(9, 'conference/realstatus/'+this.podcast.conferenceId);
233
- this.fetchConference = {
234
- status: data,
235
- conferenceId: this.podcast.conferenceId,
236
- title:'',
237
- };
235
+ if (!this.podcast || undefined==this.podcast.conferenceId) return;
236
+ if (this.isOctopusAndAnimator ) {
237
+ try {
238
+ const data = await crudApi.fetchData<Conference>(9,'conference/'+this.podcast.conferenceId);
239
+ this.fetchConference = data ? data : {conferenceId:-1, title:''};
240
+ } catch {
241
+ await this.fetchConferencePublic();
242
+ }
243
+ } else{
244
+ await this.fetchConferencePublic();
238
245
  }
239
246
  if (
240
247
  this.fetchConference &&
@@ -12,7 +12,7 @@ const state:ParamStore = {
12
12
  isPlaylist: false,
13
13
  isProduction: false,
14
14
  isContribution: true,
15
- ApiUri: 'https://api.dev2.saooti.org/',
15
+ ApiUri: 'https://api.staging.saooti.org/',
16
16
  podcastmaker: false,
17
17
  buttonPlus: true,
18
18
  allCategories: [],
@@ -26,8 +26,8 @@ const state:ParamStore = {
26
26
  SharePlayer: true,
27
27
  ShareButtons: true,
28
28
  ShareDistribution: true,
29
- MiniplayerUri: 'https://playerbeta.dev2.saooti.org/',
30
- hlsUri: 'https://hls.dev2.saooti.org/',
29
+ MiniplayerUri: 'https://playerbeta.staging.saooti.org/',
30
+ hlsUri: 'https://hls.staging.saooti.org/',
31
31
  mainRubrique: 0,
32
32
  resourceUrl: undefined,
33
33
  podcastItemShowEmission: false,
@@ -79,13 +79,13 @@ const state:ParamStore = {
79
79
  userName: '',
80
80
  },
81
81
  octopusApi: {
82
- url: 'https://api.dev2.saooti.org/',
83
- commentsUrl: 'https://comments.dev2.saooti.org/',
84
- imageUrl:'https://imageproxy.dev2.saooti.org/',
85
- studioUrl: 'https://studio.dev2.saooti.org/',
86
- playerUrl: 'https://playerbeta.dev2.saooti.org/',
87
- speechToTextUrl:'https://speech2text.dev2.saooti.org/',
88
- recoUrl: 'https://reco.dev2.saooti.org/',
82
+ url: 'https://api.staging.saooti.org/',
83
+ commentsUrl: 'https://comments.staging.saooti.org/',
84
+ imageUrl:'https://imageproxy.staging.saooti.org/',
85
+ studioUrl: 'https://studio.staging.saooti.org/',
86
+ playerUrl: 'https://playerbeta.staging.saooti.org/',
87
+ speechToTextUrl:'https://speech2text.staging.saooti.org/',
88
+ recoUrl: 'https://reco.staging.saooti.org/',
89
89
  organisationId: undefined,
90
90
  rubriqueIdFilter: undefined,
91
91
  },