repzo 1.0.203 → 1.0.204

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.
@@ -17111,36 +17111,23 @@ export declare namespace Service {
17111
17111
  presentation: StringId;
17112
17112
  presentation_name: string;
17113
17113
  duration_on_presentation_ms: number;
17114
- result: [
17115
- {
17116
- sequence: StringId;
17117
- sequence_name: string;
17118
- duration_on_sequence_ms: number;
17119
- slides: [
17120
- {
17121
- slide: StringId;
17122
- feedback: "positive" | "negative";
17123
- duration_on_slide_ms: number;
17124
- }
17125
- ];
17126
- }
17127
- ];
17128
- interactions: [
17129
- {
17130
- interaction_time: number;
17131
- interaction_type: "slide_landing" | "slide_leaving" | "zoom" | "feedback_given" | "presentation_play" | "presentation_end" | "presentation_cancel";
17132
- interaction_detail: "in" | "out" | "positive" | "negative" | null;
17133
- slide?: StringId;
17134
- sequence?: StringId;
17135
- }
17136
- ];
17114
+ result: {
17115
+ sequence: StringId;
17116
+ duration_on_sequence_ms: number;
17117
+ slides: {
17118
+ slide: StringId;
17119
+ feedback: "positive" | "negative" | "notProvided";
17120
+ duration_on_slide_ms: number;
17121
+ }[];
17122
+ }[];
17137
17123
  }
17138
17124
  export interface CreateBody {
17139
17125
  geo_tag: GeoTag;
17140
- geoPoint?: GeoPoint;
17126
+ geoPoint: GeoPoint;
17141
17127
  time: number;
17142
17128
  tags?: StringId[];
17143
17129
  visit_id: string;
17130
+ visit?: StringId;
17144
17131
  creator?: {
17145
17132
  _id: StringId;
17146
17133
  type: "rep";
@@ -17171,30 +17158,37 @@ export declare namespace Service {
17171
17158
  completion_status: "ended" | "canceled";
17172
17159
  presentation: StringId;
17173
17160
  presentation_name: string;
17174
- duration_on_presentation_ms: number;
17175
- result?: [
17176
- {
17177
- sequence: StringId;
17178
- sequence_name: string;
17179
- duration_on_sequence_ms: number;
17180
- slides: [
17181
- {
17182
- slide: StringId;
17183
- feedback: "positive" | "negative";
17184
- duration_on_slide_ms: number;
17185
- }
17186
- ];
17187
- }
17188
- ];
17189
- interactions: [
17190
- {
17191
- interaction_time: number;
17192
- interaction_type: "slide_landing" | "slide_leaving" | "zoom" | "feedback_given" | "presentation_play" | "presentation_end" | "presentation_cancel";
17193
- interaction_detail: "in" | "out" | "positive" | "negative" | null;
17194
- slide?: StringId;
17195
- sequence?: StringId;
17196
- }
17197
- ];
17161
+ duration_on_presentation_ms?: number;
17162
+ result?: {
17163
+ sequence: StringId;
17164
+ duration_on_sequence_ms: number;
17165
+ slides: {
17166
+ slide: StringId;
17167
+ feedback: "positive" | "negative" | "notProvided";
17168
+ duration_on_slide_ms: number;
17169
+ }[];
17170
+ }[];
17171
+ interactions: {
17172
+ interaction_time: number;
17173
+ interaction_type: "slide_landing" | "slide_leaving" | "zoom" | "feedback_given" | "presentation_play" | "presentation_end" | "presentation_cancel";
17174
+ interaction_detail: "in" | "out" | "positive" | "negative" | null;
17175
+ slide?: StringId;
17176
+ sequence?: StringId;
17177
+ }[];
17178
+ }
17179
+ export interface CLMActivityInteraction {
17180
+ _id: StringId;
17181
+ interaction_time: number;
17182
+ interaction_type: "slide_landing" | "slide_leaving" | "zoom" | "feedback_given" | "presentation_play" | "presentation_end" | "presentation_cancel";
17183
+ interaction_detail: "in" | "out" | "positive" | "negative" | null;
17184
+ slide?: StringId;
17185
+ sequence?: StringId;
17186
+ presentation: StringId;
17187
+ clmFeedBackActivity: StringId;
17188
+ company_namespace: string[];
17189
+ createdAt: string;
17190
+ updatedAt: string;
17191
+ __v?: number;
17198
17192
  }
17199
17193
  export type PopulatedDoc = Data & {
17200
17194
  client_populated?: Pick<Client.Data, "_id" | "name" | "local_name" | "client_code">[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.203",
3
+ "version": "1.0.204",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -19363,43 +19363,24 @@ export namespace Service {
19363
19363
  presentation: StringId;
19364
19364
  presentation_name: string;
19365
19365
  duration_on_presentation_ms: number;
19366
- result: [
19367
- {
19368
- sequence: StringId;
19369
- sequence_name: string;
19370
- duration_on_sequence_ms: number;
19371
- slides: [
19372
- {
19373
- slide: StringId;
19374
- feedback: "positive" | "negative";
19375
- duration_on_slide_ms: number;
19376
- },
19377
- ];
19378
- },
19379
- ];
19380
- interactions: [
19381
- {
19382
- interaction_time: number;
19383
- interaction_type:
19384
- | "slide_landing"
19385
- | "slide_leaving"
19386
- | "zoom"
19387
- | "feedback_given"
19388
- | "presentation_play"
19389
- | "presentation_end"
19390
- | "presentation_cancel";
19391
- interaction_detail: "in" | "out" | "positive" | "negative" | null; // required for zoom and feedback_given, null for other
19392
- slide?: StringId; // optional for presentation_play, presentation_end, presentation_cancel, required for other
19393
- sequence?: StringId; // optional for presentation_play, presentation_end, presentation_cancel, required for other
19394
- },
19395
- ];
19366
+ result: {
19367
+ sequence: StringId;
19368
+ duration_on_sequence_ms: number;
19369
+ slides: {
19370
+ slide: StringId;
19371
+ feedback: "positive" | "negative" | "notProvided";
19372
+ duration_on_slide_ms: number;
19373
+ }[];
19374
+ }[];
19396
19375
  }
19376
+
19397
19377
  export interface CreateBody {
19398
19378
  geo_tag: GeoTag;
19399
- geoPoint?: GeoPoint; // ????
19379
+ geoPoint: GeoPoint;
19400
19380
  time: number;
19401
19381
  tags?: StringId[];
19402
19382
  visit_id: string;
19383
+ visit?: StringId;
19403
19384
  creator?: { _id: StringId; type: "rep"; name?: string; rep?: StringId };
19404
19385
  client: StringId;
19405
19386
  client_name: string;
@@ -19422,41 +19403,55 @@ export namespace Service {
19422
19403
  job_end_time?: number;
19423
19404
  job_duration?: number;
19424
19405
  company_namespace?: string[];
19425
-
19426
19406
  completion_status: "ended" | "canceled";
19427
19407
  presentation: StringId;
19428
19408
  presentation_name: string;
19429
- duration_on_presentation_ms: number;
19430
- result?: [
19431
- {
19432
- sequence: StringId;
19433
- sequence_name: string;
19434
- duration_on_sequence_ms: number;
19435
- slides: [
19436
- {
19437
- slide: StringId;
19438
- feedback: "positive" | "negative";
19439
- duration_on_slide_ms: number;
19440
- },
19441
- ];
19442
- },
19443
- ];
19444
- interactions: [
19445
- {
19446
- interaction_time: number;
19447
- interaction_type:
19448
- | "slide_landing"
19449
- | "slide_leaving"
19450
- | "zoom"
19451
- | "feedback_given"
19452
- | "presentation_play"
19453
- | "presentation_end"
19454
- | "presentation_cancel";
19455
- interaction_detail: "in" | "out" | "positive" | "negative" | null; // required for zoom and feedback_given, null for other
19456
- slide?: StringId; // optional for presentation_play, presentation_end, presentation_cancel, required for other
19457
- sequence?: StringId; // optional for presentation_play, presentation_end, presentation_cancel, required for other
19458
- },
19459
- ];
19409
+ duration_on_presentation_ms?: number;
19410
+ result?: {
19411
+ sequence: StringId;
19412
+ duration_on_sequence_ms: number;
19413
+ slides: {
19414
+ slide: StringId;
19415
+ feedback: "positive" | "negative" | "notProvided";
19416
+ duration_on_slide_ms: number;
19417
+ }[];
19418
+ }[];
19419
+ interactions: {
19420
+ interaction_time: number;
19421
+ interaction_type:
19422
+ | "slide_landing"
19423
+ | "slide_leaving"
19424
+ | "zoom"
19425
+ | "feedback_given"
19426
+ | "presentation_play"
19427
+ | "presentation_end"
19428
+ | "presentation_cancel";
19429
+ interaction_detail: "in" | "out" | "positive" | "negative" | null; // required for zoom and feedback_given, null for other
19430
+ slide?: StringId; // optional for presentation_play, presentation_end, presentation_cancel, required for other
19431
+ sequence?: StringId; // optional for presentation_play, presentation_end, presentation_cancel, required for other
19432
+ }[];
19433
+ }
19434
+
19435
+ export interface CLMActivityInteraction {
19436
+ _id: StringId;
19437
+ interaction_time: number;
19438
+ interaction_type:
19439
+ | "slide_landing"
19440
+ | "slide_leaving"
19441
+ | "zoom"
19442
+ | "feedback_given"
19443
+ | "presentation_play"
19444
+ | "presentation_end"
19445
+ | "presentation_cancel";
19446
+ interaction_detail: "in" | "out" | "positive" | "negative" | null; // required for zoom and feedback_given, null for other
19447
+ slide?: StringId; // optional for presentation_play, presentation_end, presentation_cancel, required for other
19448
+ sequence?: StringId; // optional for presentation_play, presentation_end, presentation_cancel, required for other
19449
+ presentation: StringId;
19450
+ clmFeedBackActivity: StringId;
19451
+ company_namespace: string[];
19452
+ createdAt: string;
19453
+ updatedAt: string;
19454
+ __v?: number;
19460
19455
  }
19461
19456
 
19462
19457
  export type PopulatedDoc = Data & {