@livepreso/api 6.47.0 → 6.48.1

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 (63) hide show
  1. package/.rush/temp/package-deps_build.json +24 -24
  2. package/.rush/temp/shrinkwrap-deps.json +4 -4
  3. package/CHANGELOG.json +24 -0
  4. package/CHANGELOG.md +15 -1
  5. package/api.build.log +2 -2
  6. package/cjs/collections/dispatches.js +1 -0
  7. package/cjs/collections/dispatches.js.map +1 -1
  8. package/cjs/collections/signing-backends.js +28 -0
  9. package/cjs/collections/signing-backends.js.map +1 -0
  10. package/cjs/collections.js +13 -0
  11. package/cjs/collections.js.map +1 -1
  12. package/cjs/models/activity-item.js +1 -2
  13. package/cjs/models/activity-item.js.map +1 -1
  14. package/cjs/models/base.js +55 -6
  15. package/cjs/models/base.js.map +1 -1
  16. package/cjs/models/deck-tags.js +3 -0
  17. package/cjs/models/deck-tags.js.map +1 -1
  18. package/cjs/models/deck-version.js +0 -13
  19. package/cjs/models/deck-version.js.map +1 -1
  20. package/cjs/models/dispatch.js +14 -1
  21. package/cjs/models/dispatch.js.map +1 -1
  22. package/cjs/models/hosted-preso.js +5 -1
  23. package/cjs/models/hosted-preso.js.map +1 -1
  24. package/cjs/models/manifest-json.js +10 -0
  25. package/cjs/models/manifest-json.js.map +1 -1
  26. package/cjs/models/refresh-request.js +0 -24
  27. package/cjs/models/refresh-request.js.map +1 -1
  28. package/cjs/models/signing-backend.js +39 -0
  29. package/cjs/models/signing-backend.js.map +1 -0
  30. package/cjs/models/signing-request.js +4 -4
  31. package/cjs/models/signing-request.js.map +1 -1
  32. package/cjs/models/snapshot.js +0 -24
  33. package/cjs/models/snapshot.js.map +1 -1
  34. package/cjs/models/user.js +16 -10
  35. package/cjs/models/user.js.map +1 -1
  36. package/cjs/models.js +13 -0
  37. package/cjs/models.js.map +1 -1
  38. package/cjs/presentation/presentation-section.spec.js +12 -12
  39. package/cjs/presentation/presentation-section.spec.js.map +1 -1
  40. package/cjs/presentation/presentation-slide.spec.js +11 -11
  41. package/cjs/presentation/presentation-slide.spec.js.map +1 -1
  42. package/cjs/presentation/presentation-subslide.spec.js +11 -11
  43. package/cjs/presentation/presentation-subslide.spec.js.map +1 -1
  44. package/package.json +1 -1
  45. package/src/collections/dispatches.js +1 -0
  46. package/src/collections/signing-backends.js +18 -0
  47. package/src/collections.js +1 -0
  48. package/src/models/activity-item.js +1 -2
  49. package/src/models/base.js +19 -0
  50. package/src/models/deck-tags.js +4 -0
  51. package/src/models/deck-version.js +0 -9
  52. package/src/models/dispatch.js +14 -1
  53. package/src/models/hosted-preso.js +4 -0
  54. package/src/models/manifest-json.js +11 -0
  55. package/src/models/refresh-request.js +0 -15
  56. package/src/models/signing-backend.js +29 -0
  57. package/src/models/signing-request.js +3 -4
  58. package/src/models/snapshot.js +0 -15
  59. package/src/models/user.js +14 -10
  60. package/src/models.js +1 -0
  61. package/src/presentation/presentation-section.spec.js +12 -13
  62. package/src/presentation/presentation-slide.spec.js +11 -12
  63. package/src/presentation/presentation-subslide.spec.js +11 -11
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "files": {
3
- "modules/api/.rush/temp/shrinkwrap-deps.json": "0a4759a67fa52a08d563ebed9c295d2ac51bce3d",
3
+ "modules/api/.rush/temp/shrinkwrap-deps.json": "5c8b0aa31f8ad2a37763d02137c071bb4e1c2521",
4
4
  "modules/api/.eslintrc.js": "a9325f85f01fb051f78549038c43cfb83ee96b90",
5
5
  "modules/api/.gitignore": "0f5447f79c2a1562c9ef7f89bfcbc0bfd464979f",
6
6
  "modules/api/.gitlab-ci.yml": "c8ea3c1a76db6d89e41afa8c42e96ceb5578a961",
7
7
  "modules/api/.husky/.gitignore": "31354ec1389994b5f6708c7d915fdcc6bb76ba6e",
8
8
  "modules/api/.husky/pre-commit": "36af219892fda8ea669cd4b6725cd7b892231967",
9
- "modules/api/CHANGELOG.json": "e8cf89236b6a2dbd6dd73d01d7262933eb08f4c9",
10
- "modules/api/CHANGELOG.md": "ccdb3f4993192115c000394e47d682cf6f2d2376",
9
+ "modules/api/CHANGELOG.json": "342749140a6776d3957f34ac688f6e363c457beb",
10
+ "modules/api/CHANGELOG.md": "262498a27c36aa3595d58902cfb049496bdd6f1f",
11
11
  "modules/api/README.md": "7974bb11bba4378faccb7dcddb88b20cd8f1a94c",
12
12
  "modules/api/babel.config.js": "d79af6ab5b63b449aa19d1229df1def3bd194dfd",
13
13
  "modules/api/bin/test.sh": "28b784dae8bcf12a584e93aca3e7f6c932a1d3a8",
@@ -15,21 +15,20 @@
15
15
  "modules/api/index.js": "d7900e11dfff9acca7d3bfc19a8cfa4408833e19",
16
16
  "modules/api/jest.config.js": "52c0810f84aed86d3e62dc4b95dc3f440fa05253",
17
17
  "modules/api/mocha.opts": "33e6ba2ea1db0e7397b9c6ac9339f5f8657c3e99",
18
- "modules/api/package.json": "0cf7171cd46528d306ac1514f8766d7102729e07",
18
+ "modules/api/package.json": "bd75872f7210a59b67bacc2c41187fe3e3e1b562",
19
19
  "modules/api/setup-tests.js": "16e32752834050e369b9ced87b178e520806a87f",
20
20
  "modules/api/src/api.js": "21ee077b2fde0bd605933fd203c9b2190d947393",
21
21
  "modules/api/src/api.spec.js": "a9d30ed36f594f616601fe1b242c68440dff40df",
22
22
  "modules/api/src/auth.js": "5032ada348fb919e88272af228214a39971bbbd3",
23
23
  "modules/api/src/auth.spec.js": "ebd302b60032cacebac16a8d25ad09ee4bc98f92",
24
24
  "modules/api/src/caching.js": "6582f01cc373c502f6fec49116b0efcdb4bb647d",
25
- "modules/api/src/collections.js": "532884bab83a0a02f9305cca1b6d9de42ad0e2ae",
25
+ "modules/api/src/collections.js": "3875de63f9159911945c9c1116a4540cf6e8fe3d",
26
26
  "modules/api/src/collections/activity.js": "c6076b1cca55bc244bf2290e54c8e580e5295329",
27
27
  "modules/api/src/collections/adjunct-sections.js": "5f0d390b4cfdd30d0245a1c032b06dc80668bfed",
28
28
  "modules/api/src/collections/adjunct-slides.js": "f82de8cb59a77e02836aa04b8c3f7ada67f0319a",
29
29
  "modules/api/src/collections/adjunct-sub-slides.js": "d2628ba16bf0708abadbc408ba6e175ad3d88d81",
30
30
  "modules/api/src/collections/appointment-adjunct-tags.js": "8d61b61a8bdd1088406ca31170a1f9f963608a2c",
31
31
  "modules/api/src/collections/appointment-deckversion-tags.js": "4de75e496e89bde5ae1bb58566a0e87069ede4b2",
32
- "modules/api/src/collections/appointment-duplicates.js": "5f4074084d8759040b0d5b68b9b8f5bf82f26369",
33
32
  "modules/api/src/collections/appointment-editors.js": "ce45091f5f5288f2b0db803af535a9f5c15d9f58",
34
33
  "modules/api/src/collections/appointment-section-tags.js": "59b07ab2e55cf28e6f863e42d2adda81d08ee3f1",
35
34
  "modules/api/src/collections/appointment-slide-tags.js": "e6e3c84a366f0868cf1b2ce8914364ab8968f1c1",
@@ -50,7 +49,7 @@
50
49
  "modules/api/src/collections/deck-versions.js": "6914538addc83b98be29f2317c1c8441f4ad4496",
51
50
  "modules/api/src/collections/decks.js": "1b7082dd20084b0860216e34b9940e8435864f03",
52
51
  "modules/api/src/collections/deleted-assets.js": "221a7516091d81e43cf30dcc10ad5bbf5eb19292",
53
- "modules/api/src/collections/dispatches.js": "0fc68264212605446b5d99d73ef3c7bd9398ca06",
52
+ "modules/api/src/collections/dispatches.js": "cce349d1749ad6fed64b4cde02c89787c8b0d2f5",
54
53
  "modules/api/src/collections/event-objects.js": "13a8ec2666cfe6b055a0b1edea8b16d08191bebf",
55
54
  "modules/api/src/collections/events.js": "18c2aab7a9e33b2eef624f4966d28b178c345eda",
56
55
  "modules/api/src/collections/groups.js": "ec329ac97e012ef0e3b81bfb3d3f364375d81017",
@@ -63,6 +62,7 @@
63
62
  "modules/api/src/collections/section-selections.js": "2d4f24822aa9a279b071e15877f41c30d68b73ea",
64
63
  "modules/api/src/collections/sections.js": "797309aef62e40953b85a8bce3cd749b9fa591c6",
65
64
  "modules/api/src/collections/signers.js": "2b0fc90e6fb544e8d2d6af22744fb037c6f7674b",
65
+ "modules/api/src/collections/signing-backends.js": "78888f4688777eac2d7e21fd8a7d7fdfd6bce11e",
66
66
  "modules/api/src/collections/signing-requests.js": "c89ff8aa91b38d97ebaf2c1c7a045ad028268ff6",
67
67
  "modules/api/src/collections/slide-selections.js": "bda3676b5356b0fc0bbdc544b48b542b33560ed5",
68
68
  "modules/api/src/collections/slides.js": "2034263b15814d1117a092427bcde39f01b8a636",
@@ -81,8 +81,8 @@
81
81
  "modules/api/src/middlewares/base.js": "2b3e393809401198be0d6e81618bcd89db2a1c59",
82
82
  "modules/api/src/middlewares/json.js": "3f1a0219087de4730a6eda75b5ff333a74f1d6a5",
83
83
  "modules/api/src/middlewares/redirect.js": "68153e042826951f38c83a0da16a692135cceb83",
84
- "modules/api/src/models.js": "373cd8d3c7bedbfc10289e074d63404d5fc1b2c9",
85
- "modules/api/src/models/activity-item.js": "03ab2cb8a1411f61a27d93f67613887a3e5aee0c",
84
+ "modules/api/src/models.js": "8bccb2fbbd7d75888e957f85dd96dac7e0dda30c",
85
+ "modules/api/src/models/activity-item.js": "aa0d87239f6183c21b35207b5b11c6a3c239b058",
86
86
  "modules/api/src/models/adjunct-section.js": "f00f5ecb3d011822ceeb4de0bc0a2de6179ba4b7",
87
87
  "modules/api/src/models/adjunct-slide.js": "56983f0b2a40683d4801d7d931008db536722919",
88
88
  "modules/api/src/models/adjunct-sub-slide.js": "3659582b7e0b052eee2698bc6085b0142518773a",
@@ -90,7 +90,6 @@
90
90
  "modules/api/src/models/api.js": "ff66a1e1a42083d669e9037e1787ac7c12e7318e",
91
91
  "modules/api/src/models/appointment-adjunct-tags.js": "6f34d561f608bae351699b397dcecd80d3aa6ae6",
92
92
  "modules/api/src/models/appointment-deckversion-tags.js": "48ab3c0e3d16d29cd30ff7bba251073a2388b03f",
93
- "modules/api/src/models/appointment-duplicate.js": "63d0c71ad971942fbc34e376299531305a38c800",
94
93
  "modules/api/src/models/appointment-editor.js": "ed9f7531cfd6d01fbf370cb8f392cd5ec366af02",
95
94
  "modules/api/src/models/appointment-section-tags.js": "3ac4428c04f173a8aab47557369854da8d31c8de",
96
95
  "modules/api/src/models/appointment-slide-tags.js": "578b47bb8be70859992576d6d061d71a127fca94",
@@ -102,7 +101,7 @@
102
101
  "modules/api/src/models/asset.js": "6698368fa65e8672485e551d948a34885135c489",
103
102
  "modules/api/src/models/auto-adjunct-key-check.js": "eaecd2d50d626f4dedac346a76eefa2714f64f34",
104
103
  "modules/api/src/models/auto-adjunct.js": "b64eab4f95b946d68256d8d8a4ca7be9bbbd0207",
105
- "modules/api/src/models/base.js": "b5ff85a534e8d6e8e453f27ac295ca95c37fe75e",
104
+ "modules/api/src/models/base.js": "da1cfc4cd5ac767a70870e148d381a84f53a23f1",
106
105
  "modules/api/src/models/base.spec.js": "f93cddb6ce982573052f43e5b7d22d4d7d3e41ca",
107
106
  "modules/api/src/models/choicelist.js": "294c908f509a37e86e612ccd456c1c4b3f472cff",
108
107
  "modules/api/src/models/cms-val.js": "eb0a5c94016dd94fad28ad56e5eed0865d24667b",
@@ -111,12 +110,12 @@
111
110
  "modules/api/src/models/contact.js": "f770da24e2cab94e412b25401644b08af13f2315",
112
111
  "modules/api/src/models/customer.js": "fdce7fb9cb75cf3e00777a3f6f78c41a6fd95a08",
113
112
  "modules/api/src/models/deck-note.js": "f2825ffd6f42f1c1e56962bf0d2a6ded2f7174c0",
114
- "modules/api/src/models/deck-tags.js": "1f81197bb38312b31c8a2ed225acf74f0d4bfe72",
113
+ "modules/api/src/models/deck-tags.js": "d0122cb9aee76127ae1f03264982fa9495ee432c",
115
114
  "modules/api/src/models/deck-version-screenshot.js": "8ff8406419bddf6cf24230340edd8a604a6bd24f",
116
- "modules/api/src/models/deck-version.js": "74a91c2348cca63f5eef79c1742af41402e731e8",
115
+ "modules/api/src/models/deck-version.js": "efdc0e4c29c87fde56b23fbb629dc507c87c79be",
117
116
  "modules/api/src/models/deck.js": "ed9f83951b1787a065171783b033e03f1698b142",
118
117
  "modules/api/src/models/dispatch-preview.js": "27ca131aac1d6069329d3c4afec6c794a7c514cc",
119
- "modules/api/src/models/dispatch.js": "b033248da30c4b961d7036204b3e57145a53b3bf",
118
+ "modules/api/src/models/dispatch.js": "f20a2ad58cb3701356d150baa9599b5d73ec505d",
120
119
  "modules/api/src/models/envs.js": "21e4f947067c89dd5c8e4e50ca69834581afcfd2",
121
120
  "modules/api/src/models/event-object.js": "5ac9d07b485d21deef25aaae7e9be031d3b0967d",
122
121
  "modules/api/src/models/event.js": "0330db27741083c066373da56c2fe024dda5e1b1",
@@ -124,25 +123,26 @@
124
123
  "modules/api/src/models/file.js": "dbae7b5a1ab81d19652dd51a2c546eadee8db948",
125
124
  "modules/api/src/models/group.js": "b4de18740e483e47942fcc26ca20d00e0c99bb22",
126
125
  "modules/api/src/models/handover.js": "cbae12f03c08e38165bfdc748497eb260c5f8553",
127
- "modules/api/src/models/hosted-preso.js": "6e441e387e6fa876c9a04039443be423903452d5",
126
+ "modules/api/src/models/hosted-preso.js": "49d320fbd80b2238df46baaaef8963f94b040012",
128
127
  "modules/api/src/models/image.js": "33e76f12ae465f9cbea84ee265e9d30af76416d6",
129
128
  "modules/api/src/models/location.js": "1add45f18fb385ec27f4be0c0a324ac351b106d4",
130
- "modules/api/src/models/manifest-json.js": "ca2235e0ebf559b2ae889923f379ad2cf13019cd",
129
+ "modules/api/src/models/manifest-json.js": "967f75b087602221477fbea4f655c98821aa745b",
131
130
  "modules/api/src/models/onshare.js": "605c792a26eb2e3d4d4caf3483eefa9698d656e4",
132
131
  "modules/api/src/models/opportunity.js": "23f5d114e4d974136eea750733c8ac834e5545ae",
133
132
  "modules/api/src/models/pack-diff.js": "00d3fe89099d61bff9c5ba56eba5b45e41371148",
134
133
  "modules/api/src/models/pack.js": "6ac776d642e2b6ca944c178207dcee381acacce8",
135
- "modules/api/src/models/preset.js": "7ce84c1652b8a0bdd935a6318eb209203cce69a6",
136
- "modules/api/src/models/refresh-request.js": "d9fdbd928c5f3c9437fe82af69682d816722e45e",
134
+ "modules/api/src/models/preset.js": "db7a958b2de1968675d48454811895442f12b651",
135
+ "modules/api/src/models/refresh-request.js": "a56d8c02c22df3d9283033ffe26b2dd4a020c463",
137
136
  "modules/api/src/models/room.js": "c0afadc136fd7b5c57c434264f1e019d339c4000",
138
137
  "modules/api/src/models/salesforce-lookup.js": "ad07db52149fc5db6a5111874f94724f2d4d97f5",
139
138
  "modules/api/src/models/section-selection.js": "2f640a3bb70a3636f6bdfa444da75ec029ca48da",
140
139
  "modules/api/src/models/section.js": "8af095a56d8c1118806e7f0b829e8fc9b0ffd77e",
141
140
  "modules/api/src/models/signer.js": "1f94b6f93f80a64437da695fe222f5ace7c55b8a",
142
- "modules/api/src/models/signing-request.js": "da64c5baf09f6baa45ffc7581aa50bad5be26bc4",
141
+ "modules/api/src/models/signing-backend.js": "09961d923782fc1e11dc447c80de56c2b2f8c31d",
142
+ "modules/api/src/models/signing-request.js": "2d4846b0c057e5734f6a4b09066416bcdd1affbc",
143
143
  "modules/api/src/models/slide-selection.js": "d5d6b9e5da69b00bcc1573a3300567ee0f440386",
144
144
  "modules/api/src/models/slide.js": "2c6d3a40aa80366537fa278503a2af44852736de",
145
- "modules/api/src/models/snapshot.js": "45aaf89196a5c8d5bc36525047e4ccf628678f26",
145
+ "modules/api/src/models/snapshot.js": "199af68cb40f234375f4ef62398f6239879293eb",
146
146
  "modules/api/src/models/snapshot.spec.js": "583eedfb79e5f6df31543598116cf2b15082fbf7",
147
147
  "modules/api/src/models/sub-slide.js": "a27fee2928d848a4511a0dd0920705e1783b17f5",
148
148
  "modules/api/src/models/support-ticket.js": "7f29e6489042d44b8b7b51ab3ae6c1ce7cb3fdc7",
@@ -155,7 +155,7 @@
155
155
  "modules/api/src/models/token.js": "29a7b9e73271e9faca389fd03754b450c51b4b33",
156
156
  "modules/api/src/models/transcribe-socket.js": "eaa72b3be6db99293efd09fc8738a6fb32116c7a",
157
157
  "modules/api/src/models/upload.js": "be0d26ad0392a259b271b4c87e2931527fb8dc70",
158
- "modules/api/src/models/user.js": "0f6799fcc2423520bb2f20366ac5b783b715228c",
158
+ "modules/api/src/models/user.js": "9f574cec9d1957c81be8ec7fa9acb99741a14866",
159
159
  "modules/api/src/models/user.spec.js": "7e6f3b8909fe7c0df9b281375ed301c73fbce7d1",
160
160
  "modules/api/src/presentation.js": "42051579941c98eef6335b5178621da4aedcfe34",
161
161
  "modules/api/src/presentation/appointment-presentation.js": "c76d8362f34344e8e4b68da7c05ec67289d65344",
@@ -166,13 +166,13 @@
166
166
  "modules/api/src/presentation/presentation-deck.spec.js": "96a1f522fbc6d2f6ad90ff831e5c3f36ced5ef4e",
167
167
  "modules/api/src/presentation/presentation-decks.js": "d22cc2d74886a55d6086e598e8ccb01aad0fcad4",
168
168
  "modules/api/src/presentation/presentation-section.js": "8a83c0b01772f5a94635bc34e31f64905143d23c",
169
- "modules/api/src/presentation/presentation-section.spec.js": "cd2211858ae6fed7a778ba0eb93c97feff020a49",
169
+ "modules/api/src/presentation/presentation-section.spec.js": "ecbe0dd452befe11a03e2b461411b39e81a8d0f6",
170
170
  "modules/api/src/presentation/presentation-sections.js": "7d8ae82b1b59899cc75d93bab6278d275594e367",
171
171
  "modules/api/src/presentation/presentation-slide.js": "1ab44122b3f69ed8fe27081f974a6f4537e804b2",
172
- "modules/api/src/presentation/presentation-slide.spec.js": "7c3d5dbcfd89a0018d958d1789dee5e7f0e78865",
172
+ "modules/api/src/presentation/presentation-slide.spec.js": "74d87b487672ed6f293e588363e94ce3335981d3",
173
173
  "modules/api/src/presentation/presentation-slides.js": "1ec73eae0cc06c1c19aa8633ec7a52ccbe83f2a8",
174
174
  "modules/api/src/presentation/presentation-subslide.js": "71b30552f1f00bc0849a81193b042d3a2ddedfb2",
175
- "modules/api/src/presentation/presentation-subslide.spec.js": "f910712d442e3d1338415d399f45e5ce27b0fcaa",
175
+ "modules/api/src/presentation/presentation-subslide.spec.js": "6380401fa11c69254749faad31ef0a8faef2d515",
176
176
  "modules/api/src/presentation/presentation-subslides.js": "e6e46e45efdd1af8202a07093aeb5629d374445c",
177
177
  "modules/api/src/presentation/presentation.js": "094efe8eb17c522c2921ec67b961dfb472dfd9cf",
178
178
  "modules/api/src/selections.js": "58aab5f958720f8221e31a9b211dbd7f968f9696",
@@ -1,5 +1,5 @@
1
1
  {
2
- "../../modules/api": "../../modules/api:m7QQT80S9x+LAmhpDgLniBk3Wa9bt4BMQHmtKkHecbc=:",
2
+ "../../modules/api": "../../modules/api:MDBvKspvIBim7c6gdx4KLgeJyXPPGKuMWxUSrzdWnts=:",
3
3
  "/@ampproject/remapping/2.1.2": "sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==",
4
4
  "/@ampproject/remapping/2.3.0": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",
5
5
  "/@babel/cli/7.17.6_@babel+core@7.14.8": "sha512-l4w608nsDNlxZhiJ5tE3DbNmr61fIKMZ6fTBo171VEFuFMIYuJ3mHRhTLEkKKyvx2Mizkkv/0a8OJOnZqkKYNA==",
@@ -720,7 +720,7 @@
720
720
  "/memorystream/0.3.1": "sha1-htcJCzDORV1j+64S3aUaR93K+bI=",
721
721
  "/merge-stream/2.0.0": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
722
722
  "/merge2/1.4.1": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
723
- "/methods/1.1.2": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=",
723
+ "/methods/1.1.2": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
724
724
  "/micromatch/3.1.10": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",
725
725
  "/micromatch/4.0.4": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==",
726
726
  "/micromatch/4.0.5": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
@@ -785,7 +785,7 @@
785
785
  "/pascalcase/0.1.1": "sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==",
786
786
  "/path-exists/3.0.0": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==",
787
787
  "/path-exists/4.0.0": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
788
- "/path-is-absolute/1.0.1": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
788
+ "/path-is-absolute/1.0.1": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
789
789
  "/path-key/2.0.1": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==",
790
790
  "/path-key/3.1.1": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
791
791
  "/path-parse/1.0.7": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
@@ -983,7 +983,7 @@
983
983
  "/uri-js/4.4.1": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
984
984
  "/urix/0.1.0": "sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==",
985
985
  "/use/3.1.1": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",
986
- "/util-deprecate/1.0.2": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
986
+ "/util-deprecate/1.0.2": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
987
987
  "/util.promisify/1.1.1": "sha512-/s3UsZUrIfa6xDhr7zZhnE9SLQ5RIXyYfiVnMMyMDzOc8WhWN4Nbh36H842OyurKbCDAesZOJaVyvmSl6fhGQw==",
988
988
  "/uuid/3.4.0": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
989
989
  "/uuid/8.3.2": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
package/CHANGELOG.json CHANGED
@@ -1,6 +1,30 @@
1
1
  {
2
2
  "name": "@livepreso/api",
3
3
  "entries": [
4
+ {
5
+ "version": "6.48.1",
6
+ "tag": "@livepreso/api_v6.48.1",
7
+ "date": "Tue, 01 Oct 2024 01:45:55 GMT",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "comment": "Manifest changes"
12
+ }
13
+ ]
14
+ }
15
+ },
16
+ {
17
+ "version": "6.48.0",
18
+ "tag": "@livepreso/api_v6.48.0",
19
+ "date": "Fri, 23 Aug 2024 05:02:46 GMT",
20
+ "comments": {
21
+ "minor": [
22
+ {
23
+ "comment": "New models"
24
+ }
25
+ ]
26
+ }
27
+ },
4
28
  {
5
29
  "version": "6.47.0",
6
30
  "tag": "@livepreso/api_v6.47.0",
package/CHANGELOG.md CHANGED
@@ -1,6 +1,20 @@
1
1
  # Change Log - @livepreso/api
2
2
 
3
- This log was last generated on Wed, 24 Jul 2024 06:53:26 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 01 Oct 2024 01:45:55 GMT and should not be manually modified.
4
+
5
+ ## 6.48.1
6
+ Tue, 01 Oct 2024 01:45:55 GMT
7
+
8
+ ### Patches
9
+
10
+ - Manifest changes
11
+
12
+ ## 6.48.0
13
+ Fri, 23 Aug 2024 05:02:46 GMT
14
+
15
+ ### Minor changes
16
+
17
+ - New models
4
18
 
5
19
  ## 6.47.0
6
20
  Wed, 24 Jul 2024 06:53:26 GMT
package/api.build.log CHANGED
@@ -3,7 +3,7 @@ This project was not found in the build cache.
3
3
  Invoking: run-p build:*
4
4
 
5
5
 
6
- > @livepreso/api@6.46.0 build:cjs
6
+ > @livepreso/api@6.48.0 build:cjs
7
7
  > BABEL_ENV=cjs babel --delete-dir-on-start src/ --out-dir=cjs/ -s
8
8
 
9
- Successfully compiled 163 files with Babel (4111ms).
9
+ Successfully compiled 163 files with Babel (4607ms).
@@ -27,6 +27,7 @@ var DispatchCollection = _base.BaseCollection.extend(
27
27
  /** @lends collections.DispatchCollection# */
28
28
  {
29
29
  model: "DispatchModel",
30
+ comparator: "created_date",
30
31
  fetchCreatedMonthForUser: function fetchCreatedMonthForUser(date) {
31
32
  var userID = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _auth.Auth.user.id;
32
33
  var dateFrom = (0, _moment.default)(date).startOf("month").format();
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/collections/dispatches.js"],"names":["DispatchCollection","BaseCollection","extend","model","fetchCreatedMonthForUser","date","userID","Auth","user","id","dateFrom","startOf","format","dateTo","endOf","fetch","data","created_date__gte","created_date__lte","serialize","models","map","url","_url","parent","getFullURLPath","getPlainURL","prototype","call"],"mappings":";;;;;;;;;AAAA;;AAEA;;AACA;;AACA;;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,kBAAkB,GAAGC,qBAAeC,MAAf;AACjC;AAA8C;AAC7CC,EAAAA,KAAK,EAAE,eADsC;AAG7CC,EAAAA,wBAH6C,oCAGpBC,IAHoB,EAGS;AAAA,QAAvBC,MAAuB,uEAAdC,WAAKC,IAAL,CAAUC,EAAI;AACrD,QAAMC,QAAQ,GAAG,qBAAOL,IAAP,EAAaM,OAAb,CAAqB,OAArB,EAA8BC,MAA9B,EAAjB;AACA,QAAMC,MAAM,GAAG,qBAAOR,IAAP,EAAaS,KAAb,CAAmB,OAAnB,EAA4BF,MAA5B,EAAf;AAEA,WAAO,KAAKG,KAAL,CAAW;AACjBC,MAAAA,IAAI,EAAE;AACLR,QAAAA,IAAI,EAAEF,MADD;AAELW,QAAAA,iBAAiB,EAAEP,QAFd;AAGLQ,QAAAA,iBAAiB,EAAEL;AAHd;AADW,KAAX,CAAP;AAOA,GAd4C;AAgB7CM,EAAAA,SAhB6C,uBAgBjC;AACX,WAAO,KAAKC,MAAL,CAAYC,GAAZ,CAAgB,UAAClB,KAAD;AAAA,aAAWA,KAAK,CAACgB,SAAN,EAAX;AAAA,KAAhB,CAAP;AACA,GAlB4C;AAoB7CG,EAAAA,GApB6C,iBAoBvC;AACL,QAAI,CAAC,KAAKC,IAAN,IAAc,KAAKC,MAAvB,EAA+B;AAC9B,WAAKD,IAAL,GAAY,KAAKE,cAAL,WACR,KAAKD,MAAL,CAAYE,WAAZ,EADQ,iBAAZ;AAGA;;AAED,WAAOzB,qBAAe0B,SAAf,CAAyBL,GAAzB,CAA6BM,IAA7B,CAAkC,IAAlC,CAAP;AACA;AA5B4C,CADb,CAA3B;;;AAiCP,6BAAS,oBAAT,EAA+B5B,kBAA/B","sourcesContent":["import \"../models/dispatch.js\";\n\nimport { Auth } from \"../auth.js\";\nimport { BaseCollection } from \"./base.js\";\nimport moment from \"moment\";\nimport { register } from \"../state-register.js\";\n\n/**\n * @constructor\n * @alias collections.DispatchCollection\n * @extends collections.BaseCollection\n * @see models.DispatchModel\n */\nexport const DispatchCollection = BaseCollection.extend(\n\t/** @lends collections.DispatchCollection# */ {\n\t\tmodel: \"DispatchModel\",\n\n\t\tfetchCreatedMonthForUser(date, userID = Auth.user.id) {\n\t\t\tconst dateFrom = moment(date).startOf(\"month\").format();\n\t\t\tconst dateTo = moment(date).endOf(\"month\").format();\n\n\t\t\treturn this.fetch({\n\t\t\t\tdata: {\n\t\t\t\t\tuser: userID,\n\t\t\t\t\tcreated_date__gte: dateFrom,\n\t\t\t\t\tcreated_date__lte: dateTo,\n\t\t\t\t},\n\t\t\t});\n\t\t},\n\n\t\tserialize() {\n\t\t\treturn this.models.map((model) => model.serialize());\n\t\t},\n\n\t\turl() {\n\t\t\tif (!this._url && this.parent) {\n\t\t\t\tthis._url = this.getFullURLPath(\n\t\t\t\t\t`${this.parent.getPlainURL()}dispatches/`,\n\t\t\t\t);\n\t\t\t}\n\n\t\t\treturn BaseCollection.prototype.url.call(this);\n\t\t},\n\t},\n);\n\nregister(\"DispatchCollection\", DispatchCollection);\n"],"file":"dispatches.js"}
1
+ {"version":3,"sources":["../../src/collections/dispatches.js"],"names":["DispatchCollection","BaseCollection","extend","model","comparator","fetchCreatedMonthForUser","date","userID","Auth","user","id","dateFrom","startOf","format","dateTo","endOf","fetch","data","created_date__gte","created_date__lte","serialize","models","map","url","_url","parent","getFullURLPath","getPlainURL","prototype","call"],"mappings":";;;;;;;;;AAAA;;AAEA;;AACA;;AACA;;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,kBAAkB,GAAGC,qBAAeC,MAAf;AACjC;AAA8C;AAC7CC,EAAAA,KAAK,EAAE,eADsC;AAE7CC,EAAAA,UAAU,EAAE,cAFiC;AAI7CC,EAAAA,wBAJ6C,oCAIpBC,IAJoB,EAIS;AAAA,QAAvBC,MAAuB,uEAAdC,WAAKC,IAAL,CAAUC,EAAI;AACrD,QAAMC,QAAQ,GAAG,qBAAOL,IAAP,EAAaM,OAAb,CAAqB,OAArB,EAA8BC,MAA9B,EAAjB;AACA,QAAMC,MAAM,GAAG,qBAAOR,IAAP,EAAaS,KAAb,CAAmB,OAAnB,EAA4BF,MAA5B,EAAf;AAEA,WAAO,KAAKG,KAAL,CAAW;AACjBC,MAAAA,IAAI,EAAE;AACLR,QAAAA,IAAI,EAAEF,MADD;AAELW,QAAAA,iBAAiB,EAAEP,QAFd;AAGLQ,QAAAA,iBAAiB,EAAEL;AAHd;AADW,KAAX,CAAP;AAOA,GAf4C;AAiB7CM,EAAAA,SAjB6C,uBAiBjC;AACX,WAAO,KAAKC,MAAL,CAAYC,GAAZ,CAAgB,UAACnB,KAAD;AAAA,aAAWA,KAAK,CAACiB,SAAN,EAAX;AAAA,KAAhB,CAAP;AACA,GAnB4C;AAqB7CG,EAAAA,GArB6C,iBAqBvC;AACL,QAAI,CAAC,KAAKC,IAAN,IAAc,KAAKC,MAAvB,EAA+B;AAC9B,WAAKD,IAAL,GAAY,KAAKE,cAAL,WACR,KAAKD,MAAL,CAAYE,WAAZ,EADQ,iBAAZ;AAGA;;AAED,WAAO1B,qBAAe2B,SAAf,CAAyBL,GAAzB,CAA6BM,IAA7B,CAAkC,IAAlC,CAAP;AACA;AA7B4C,CADb,CAA3B;;;AAkCP,6BAAS,oBAAT,EAA+B7B,kBAA/B","sourcesContent":["import \"../models/dispatch.js\";\n\nimport { Auth } from \"../auth.js\";\nimport { BaseCollection } from \"./base.js\";\nimport moment from \"moment\";\nimport { register } from \"../state-register.js\";\n\n/**\n * @constructor\n * @alias collections.DispatchCollection\n * @extends collections.BaseCollection\n * @see models.DispatchModel\n */\nexport const DispatchCollection = BaseCollection.extend(\n\t/** @lends collections.DispatchCollection# */ {\n\t\tmodel: \"DispatchModel\",\n\t\tcomparator: \"created_date\",\n\n\t\tfetchCreatedMonthForUser(date, userID = Auth.user.id) {\n\t\t\tconst dateFrom = moment(date).startOf(\"month\").format();\n\t\t\tconst dateTo = moment(date).endOf(\"month\").format();\n\n\t\t\treturn this.fetch({\n\t\t\t\tdata: {\n\t\t\t\t\tuser: userID,\n\t\t\t\t\tcreated_date__gte: dateFrom,\n\t\t\t\t\tcreated_date__lte: dateTo,\n\t\t\t\t},\n\t\t\t});\n\t\t},\n\n\t\tserialize() {\n\t\t\treturn this.models.map((model) => model.serialize());\n\t\t},\n\n\t\turl() {\n\t\t\tif (!this._url && this.parent) {\n\t\t\t\tthis._url = this.getFullURLPath(\n\t\t\t\t\t`${this.parent.getPlainURL()}dispatches/`,\n\t\t\t\t);\n\t\t\t}\n\n\t\t\treturn BaseCollection.prototype.url.call(this);\n\t\t},\n\t},\n);\n\nregister(\"DispatchCollection\", DispatchCollection);\n"],"file":"dispatches.js"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SigningBackendCollection = void 0;
7
+
8
+ require("../models/signing-backend.js");
9
+
10
+ var _base = require("./base.js");
11
+
12
+ var _stateRegister = require("../state-register.js");
13
+
14
+ /**
15
+ * @constructor
16
+ * @alias collections.SigningBackendCollection
17
+ * @extends collections.BaseCollection
18
+ * @see models.SigningBackend
19
+ */
20
+ var SigningBackendCollection = _base.BaseCollection.extend(
21
+ /** @lends collections.SigningBackendCollection# */
22
+ {
23
+ model: "SigningBackendModel"
24
+ });
25
+
26
+ exports.SigningBackendCollection = SigningBackendCollection;
27
+ (0, _stateRegister.register)("SigningBackendCollection", SigningBackendCollection);
28
+ //# sourceMappingURL=signing-backends.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/collections/signing-backends.js"],"names":["SigningBackendCollection","BaseCollection","extend","model"],"mappings":";;;;;;;AAAA;;AAEA;;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,wBAAwB,GAAGC,qBAAeC,MAAf;AACvC;AAAoD;AACnDC,EAAAA,KAAK,EAAE;AAD4C,CADb,CAAjC;;;AAMP,6BAAS,0BAAT,EAAqCH,wBAArC","sourcesContent":["import \"../models/signing-backend.js\";\n\nimport { BaseCollection } from \"./base.js\";\nimport { register } from \"../state-register.js\";\n\n/**\n * @constructor\n * @alias collections.SigningBackendCollection\n * @extends collections.BaseCollection\n * @see models.SigningBackend\n */\nexport const SigningBackendCollection = BaseCollection.extend(\n\t/** @lends collections.SigningBackendCollection# */ {\n\t\tmodel: \"SigningBackendModel\",\n\t},\n);\n\nregister(\"SigningBackendCollection\", SigningBackendCollection);\n"],"file":"signing-backends.js"}
@@ -355,6 +355,19 @@ Object.keys(_sections).forEach(function (key) {
355
355
  });
356
356
  });
357
357
 
358
+ var _signingBackends = require("./collections/signing-backends");
359
+
360
+ Object.keys(_signingBackends).forEach(function (key) {
361
+ if (key === "default" || key === "__esModule") return;
362
+ if (key in exports && exports[key] === _signingBackends[key]) return;
363
+ Object.defineProperty(exports, key, {
364
+ enumerable: true,
365
+ get: function get() {
366
+ return _signingBackends[key];
367
+ }
368
+ });
369
+ });
370
+
358
371
  var _signingRequests = require("./collections/signing-requests");
359
372
 
360
373
  Object.keys(_signingRequests).forEach(function (key) {
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/collections.js"],"names":[],"mappings":";;;;;;AAGA;;AAAA;AAAA;AAAA;A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A;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["/**\n * @namespace collections\n */\nexport * from \"./collections/activity\";\nexport * from \"./collections/adjunct-sections\";\nexport * from \"./collections/adjunct-slides\";\nexport * from \"./collections/adjunct-sub-slides\";\nexport * from \"./collections/appointments\";\nexport * from \"./collections/assets\";\nexport * from \"./collections/auto-adjuncts\";\nexport * from \"./collections/base\";\nexport * from \"./collections/cms-vals\";\nexport * from \"./collections/contacts\";\nexport * from \"./collections/contact-phones\";\nexport * from \"./collections/created-assets\";\nexport * from \"./collections/customers\";\nexport * from \"./collections/deck-versions\";\nexport * from \"./collections/deck-version-screenshots\";\nexport * from \"./collections/decks\";\nexport * from \"./collections/deleted-assets\";\nexport * from \"./collections/dispatches\";\nexport * from \"./collections/events\";\nexport * from \"./collections/event-objects\";\nexport * from \"./collections/deck-notes\";\nexport * from \"./collections/opportunities\";\nexport * from \"./collections/pack-diffs\";\nexport * from \"./collections/packs\";\nexport * from \"./collections/presets\";\nexport * from \"./collections/section-selections\";\nexport * from \"./collections/sections\";\nexport * from \"./collections/signing-requests\";\nexport * from \"./collections/signers\";\nexport * from \"./collections/slide-selections\";\nexport * from \"./collections/slides\";\nexport * from \"./collections/snapshots\";\nexport * from \"./collections/sub-slides\";\nexport * from \"./collections/groups\";\nexport * from \"./collections/images\";\nexport * from \"./collections/users\";\nexport * from \"./collections/uploads\";\nexport * from \"./collections/appointment-editors.js\";\nexport * from \"./collections/tags.js\";\nexport * from \"./collections/teams.js\";\nexport * from \"./collections/templates.js\";\nexport * from \"./collections/appointment-tags.js\";\nexport * from \"./collections/appointment-deckversion-tags.js\";\nexport * from \"./collections/appointment-section-tags.js\";\nexport * from \"./collections/appointment-slide-tags.js\";\nexport * from \"./collections/appointment-adjunct-tags.js\";\nexport * from \"./collections/appointment-templates.js\";\n"],"file":"collections.js"}
1
+ {"version":3,"sources":["../src/collections.js"],"names":[],"mappings":";;;;;;AAGA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAA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AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["/**\n * @namespace collections\n */\nexport * from \"./collections/activity\";\nexport * from \"./collections/adjunct-sections\";\nexport * from \"./collections/adjunct-slides\";\nexport * from \"./collections/adjunct-sub-slides\";\nexport * from \"./collections/appointments\";\nexport * from \"./collections/assets\";\nexport * from \"./collections/auto-adjuncts\";\nexport * from \"./collections/base\";\nexport * from \"./collections/cms-vals\";\nexport * from \"./collections/contacts\";\nexport * from \"./collections/contact-phones\";\nexport * from \"./collections/created-assets\";\nexport * from \"./collections/customers\";\nexport * from \"./collections/deck-versions\";\nexport * from \"./collections/deck-version-screenshots\";\nexport * from \"./collections/decks\";\nexport * from \"./collections/deleted-assets\";\nexport * from \"./collections/dispatches\";\nexport * from \"./collections/events\";\nexport * from \"./collections/event-objects\";\nexport * from \"./collections/deck-notes\";\nexport * from \"./collections/opportunities\";\nexport * from \"./collections/pack-diffs\";\nexport * from \"./collections/packs\";\nexport * from \"./collections/presets\";\nexport * from \"./collections/section-selections\";\nexport * from \"./collections/sections\";\nexport * from \"./collections/signing-backends\";\nexport * from \"./collections/signing-requests\";\nexport * from \"./collections/signers\";\nexport * from \"./collections/slide-selections\";\nexport * from \"./collections/slides\";\nexport * from \"./collections/snapshots\";\nexport * from \"./collections/sub-slides\";\nexport * from \"./collections/groups\";\nexport * from \"./collections/images\";\nexport * from \"./collections/users\";\nexport * from \"./collections/uploads\";\nexport * from \"./collections/appointment-editors.js\";\nexport * from \"./collections/tags.js\";\nexport * from \"./collections/teams.js\";\nexport * from \"./collections/templates.js\";\nexport * from \"./collections/appointment-tags.js\";\nexport * from \"./collections/appointment-deckversion-tags.js\";\nexport * from \"./collections/appointment-section-tags.js\";\nexport * from \"./collections/appointment-slide-tags.js\";\nexport * from \"./collections/appointment-adjunct-tags.js\";\nexport * from \"./collections/appointment-templates.js\";\n"],"file":"collections.js"}
@@ -62,9 +62,8 @@ var ActivityItemModel = _base.BaseModel.extend(
62
62
  status: "string",
63
63
  concluded_date: "date",
64
64
  signed_document: "string",
65
- original_document: "string",
66
65
  cancellation_reason: "string",
67
- requested_by_contact: "boolean"
66
+ created_by_contact: "boolean"
68
67
  },
69
68
  children: {
70
69
  hostedpreso: "HostedPresoModel",
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/models/activity-item.js"],"names":["ActivityItemModel","BaseModel","extend","modelName","urlMatchKeys","id","props","user","activity","activity_date","appointment","appointment_name","from_appointment","contacts","customers","decks","from_user","to_user","contact","created_date","modified_date","notes","notyours","onshare","view_type","is_muted","appointment_is_deleted","signing_backend","status","concluded_date","signed_document","original_document","cancellation_reason","requested_by_contact","children","hostedpreso","dispatch","appointmentviewing","signingrequest","serialize","data","prototype","call","AppointmentModel","url","appointmentID"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;;;;;AAEA;AACA;AACA;AACA;AACA;AACO,IAAMA,iBAAiB,GAAGC,gBAAUC,MAAV;AAChC;AAAwC;AACvCC,EAAAA,SAAS,EAAE,YAD4B;AAGvCC,EAAAA,YAAY,EAAE;AACbC,IAAAA,EAAE,EAAE;AADS,GAHyB;AAOvCC,EAAAA,KAAK,EAAE;AACNC,IAAAA,IAAI,EAAE,QADA;AAENC,IAAAA,QAAQ,EAAE,QAFJ;AAGNC,IAAAA,aAAa,EAAE,MAHT;AAINC,IAAAA,WAAW,EAAE,QAJP;AAKNC,IAAAA,gBAAgB,EAAE,QALZ;AAMNC,IAAAA,gBAAgB,EAAE,QANZ;AAONC,IAAAA,QAAQ,EAAE,OAPJ;AAQNC,IAAAA,SAAS,EAAE,OARL;AASNC,IAAAA,KAAK,EAAE,OATD;AAUNC,IAAAA,SAAS,EAAE,QAVL;AAWNC,IAAAA,OAAO,EAAE,QAXH;AAYNC,IAAAA,OAAO,EAAE,QAZH;AAaNC,IAAAA,YAAY,EAAE,MAbR;AAcNC,IAAAA,aAAa,EAAE,MAdT;AAeNC,IAAAA,KAAK,EAAE,iBAfD;AAgBNC,IAAAA,QAAQ,EAAE,SAhBJ;AAiBNC,IAAAA,OAAO,EAAE,SAjBH;AAkBNC,IAAAA,SAAS,EAAE,QAlBL;AAmBNC,IAAAA,QAAQ,EAAE,SAnBJ;AAoBNC,IAAAA,sBAAsB,EAAE,SApBlB;AAqBNC,IAAAA,eAAe,EAAE,QArBX;AAsBNC,IAAAA,MAAM,EAAE,QAtBF;AAuBNC,IAAAA,cAAc,EAAE,MAvBV;AAwBNC,IAAAA,eAAe,EAAE,QAxBX;AAyBNC,IAAAA,iBAAiB,EAAE,QAzBb;AA0BNC,IAAAA,mBAAmB,EAAE,QA1Bf;AA2BNC,IAAAA,oBAAoB,EAAE;AA3BhB,GAPgC;AAqCvCC,EAAAA,QAAQ,EAAE;AACTC,IAAAA,WAAW,EAAE,kBADJ;AAETC,IAAAA,QAAQ,EAAE,eAFD;AAGTC,IAAAA,kBAAkB,EAAE,yBAHX;AAITC,IAAAA,cAAc,EAAE;AAJP,GArC6B;AA4CvCC,EAAAA,SA5CuC,uBA4C3B;AACX,QAAMC,IAAI,GAAGvC,gBAAUwC,SAAV,CAAoBF,SAApB,CAA8BG,IAA9B,CAAmC,IAAnC,CAAb;;AAEA,QAAMhC,WAAW,GAAG,IAAIiC,6BAAJ,CAAqB;AACxCC,MAAAA,GAAG,EAAEJ,IAAI,CAAC9B,WAAL,CAAiBkC;AADkB,KAArB,CAApB;AAIA;AACCC,MAAAA,aAAa,EAAEnC,WAAW,CAACL;AAD5B,OAEImC,IAFJ;AAIA;AAvDsC,CADR,CAA1B;;;AA4DP,6BAAS,mBAAT,EAA8BxC,iBAA9B","sourcesContent":["import \"../models/dispatch.js\";\nimport \"./hosted-preso.js\";\nimport \"./appointment-viewing.js\";\n\nimport { AppointmentModel } from \"../models/appointment.js\";\nimport { BaseModel } from \"../models/base.js\";\nimport { register } from \"../state-register.js\";\n\n/**\n * @constructor\n * @alias models.ActivityItemModel\n * @extends models.BaseModel\n */\nexport const ActivityItemModel = BaseModel.extend(\n\t/** @lends models.ActivityItemModel# */ {\n\t\tmodelName: \"activities\",\n\n\t\turlMatchKeys: {\n\t\t\tid: \"number\",\n\t\t},\n\n\t\tprops: {\n\t\t\tuser: \"object\",\n\t\t\tactivity: \"string\",\n\t\t\tactivity_date: \"date\",\n\t\t\tappointment: \"object\",\n\t\t\tappointment_name: \"string\",\n\t\t\tfrom_appointment: \"object\",\n\t\t\tcontacts: \"array\",\n\t\t\tcustomers: \"array\",\n\t\t\tdecks: \"array\",\n\t\t\tfrom_user: \"object\",\n\t\t\tto_user: \"object\",\n\t\t\tcontact: \"object\",\n\t\t\tcreated_date: \"date\",\n\t\t\tmodified_date: \"date\",\n\t\t\tnotes: \"stringSanitized\",\n\t\t\tnotyours: \"boolean\",\n\t\t\tonshare: \"boolean\",\n\t\t\tview_type: \"string\",\n\t\t\tis_muted: \"boolean\",\n\t\t\tappointment_is_deleted: \"boolean\",\n\t\t\tsigning_backend: \"string\",\n\t\t\tstatus: \"string\",\n\t\t\tconcluded_date: \"date\",\n\t\t\tsigned_document: \"string\",\n\t\t\toriginal_document: \"string\",\n\t\t\tcancellation_reason: \"string\",\n\t\t\trequested_by_contact: \"boolean\",\n\t\t},\n\n\t\tchildren: {\n\t\t\thostedpreso: \"HostedPresoModel\",\n\t\t\tdispatch: \"DispatchModel\",\n\t\t\tappointmentviewing: \"AppointmentViewingModel\",\n\t\t\tsigningrequest: \"SigningRequestModel\",\n\t\t},\n\n\t\tserialize() {\n\t\t\tconst data = BaseModel.prototype.serialize.call(this);\n\n\t\t\tconst appointment = new AppointmentModel({\n\t\t\t\turl: data.appointment.url,\n\t\t\t});\n\n\t\t\treturn {\n\t\t\t\tappointmentID: appointment.id,\n\t\t\t\t...data,\n\t\t\t};\n\t\t},\n\t},\n);\n\nregister(\"ActivityItemModel\", ActivityItemModel);\n"],"file":"activity-item.js"}
1
+ {"version":3,"sources":["../../src/models/activity-item.js"],"names":["ActivityItemModel","BaseModel","extend","modelName","urlMatchKeys","id","props","user","activity","activity_date","appointment","appointment_name","from_appointment","contacts","customers","decks","from_user","to_user","contact","created_date","modified_date","notes","notyours","onshare","view_type","is_muted","appointment_is_deleted","signing_backend","status","concluded_date","signed_document","cancellation_reason","created_by_contact","children","hostedpreso","dispatch","appointmentviewing","signingrequest","serialize","data","prototype","call","AppointmentModel","url","appointmentID"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;;;;;AAEA;AACA;AACA;AACA;AACA;AACO,IAAMA,iBAAiB,GAAGC,gBAAUC,MAAV;AAChC;AAAwC;AACvCC,EAAAA,SAAS,EAAE,YAD4B;AAGvCC,EAAAA,YAAY,EAAE;AACbC,IAAAA,EAAE,EAAE;AADS,GAHyB;AAOvCC,EAAAA,KAAK,EAAE;AACNC,IAAAA,IAAI,EAAE,QADA;AAENC,IAAAA,QAAQ,EAAE,QAFJ;AAGNC,IAAAA,aAAa,EAAE,MAHT;AAINC,IAAAA,WAAW,EAAE,QAJP;AAKNC,IAAAA,gBAAgB,EAAE,QALZ;AAMNC,IAAAA,gBAAgB,EAAE,QANZ;AAONC,IAAAA,QAAQ,EAAE,OAPJ;AAQNC,IAAAA,SAAS,EAAE,OARL;AASNC,IAAAA,KAAK,EAAE,OATD;AAUNC,IAAAA,SAAS,EAAE,QAVL;AAWNC,IAAAA,OAAO,EAAE,QAXH;AAYNC,IAAAA,OAAO,EAAE,QAZH;AAaNC,IAAAA,YAAY,EAAE,MAbR;AAcNC,IAAAA,aAAa,EAAE,MAdT;AAeNC,IAAAA,KAAK,EAAE,iBAfD;AAgBNC,IAAAA,QAAQ,EAAE,SAhBJ;AAiBNC,IAAAA,OAAO,EAAE,SAjBH;AAkBNC,IAAAA,SAAS,EAAE,QAlBL;AAmBNC,IAAAA,QAAQ,EAAE,SAnBJ;AAoBNC,IAAAA,sBAAsB,EAAE,SApBlB;AAqBNC,IAAAA,eAAe,EAAE,QArBX;AAsBNC,IAAAA,MAAM,EAAE,QAtBF;AAuBNC,IAAAA,cAAc,EAAE,MAvBV;AAwBNC,IAAAA,eAAe,EAAE,QAxBX;AAyBNC,IAAAA,mBAAmB,EAAE,QAzBf;AA0BNC,IAAAA,kBAAkB,EAAE;AA1Bd,GAPgC;AAoCvCC,EAAAA,QAAQ,EAAE;AACTC,IAAAA,WAAW,EAAE,kBADJ;AAETC,IAAAA,QAAQ,EAAE,eAFD;AAGTC,IAAAA,kBAAkB,EAAE,yBAHX;AAITC,IAAAA,cAAc,EAAE;AAJP,GApC6B;AA2CvCC,EAAAA,SA3CuC,uBA2C3B;AACX,QAAMC,IAAI,GAAGtC,gBAAUuC,SAAV,CAAoBF,SAApB,CAA8BG,IAA9B,CAAmC,IAAnC,CAAb;;AAEA,QAAM/B,WAAW,GAAG,IAAIgC,6BAAJ,CAAqB;AACxCC,MAAAA,GAAG,EAAEJ,IAAI,CAAC7B,WAAL,CAAiBiC;AADkB,KAArB,CAApB;AAIA;AACCC,MAAAA,aAAa,EAAElC,WAAW,CAACL;AAD5B,OAEIkC,IAFJ;AAIA;AAtDsC,CADR,CAA1B;;;AA2DP,6BAAS,mBAAT,EAA8BvC,iBAA9B","sourcesContent":["import \"../models/dispatch.js\";\nimport \"./hosted-preso.js\";\nimport \"./appointment-viewing.js\";\n\nimport { AppointmentModel } from \"../models/appointment.js\";\nimport { BaseModel } from \"../models/base.js\";\nimport { register } from \"../state-register.js\";\n\n/**\n * @constructor\n * @alias models.ActivityItemModel\n * @extends models.BaseModel\n */\nexport const ActivityItemModel = BaseModel.extend(\n\t/** @lends models.ActivityItemModel# */ {\n\t\tmodelName: \"activities\",\n\n\t\turlMatchKeys: {\n\t\t\tid: \"number\",\n\t\t},\n\n\t\tprops: {\n\t\t\tuser: \"object\",\n\t\t\tactivity: \"string\",\n\t\t\tactivity_date: \"date\",\n\t\t\tappointment: \"object\",\n\t\t\tappointment_name: \"string\",\n\t\t\tfrom_appointment: \"object\",\n\t\t\tcontacts: \"array\",\n\t\t\tcustomers: \"array\",\n\t\t\tdecks: \"array\",\n\t\t\tfrom_user: \"object\",\n\t\t\tto_user: \"object\",\n\t\t\tcontact: \"object\",\n\t\t\tcreated_date: \"date\",\n\t\t\tmodified_date: \"date\",\n\t\t\tnotes: \"stringSanitized\",\n\t\t\tnotyours: \"boolean\",\n\t\t\tonshare: \"boolean\",\n\t\t\tview_type: \"string\",\n\t\t\tis_muted: \"boolean\",\n\t\t\tappointment_is_deleted: \"boolean\",\n\t\t\tsigning_backend: \"string\",\n\t\t\tstatus: \"string\",\n\t\t\tconcluded_date: \"date\",\n\t\t\tsigned_document: \"string\",\n\t\t\tcancellation_reason: \"string\",\n\t\t\tcreated_by_contact: \"boolean\",\n\t\t},\n\n\t\tchildren: {\n\t\t\thostedpreso: \"HostedPresoModel\",\n\t\t\tdispatch: \"DispatchModel\",\n\t\t\tappointmentviewing: \"AppointmentViewingModel\",\n\t\t\tsigningrequest: \"SigningRequestModel\",\n\t\t},\n\n\t\tserialize() {\n\t\t\tconst data = BaseModel.prototype.serialize.call(this);\n\n\t\t\tconst appointment = new AppointmentModel({\n\t\t\t\turl: data.appointment.url,\n\t\t\t});\n\n\t\t\treturn {\n\t\t\t\tappointmentID: appointment.id,\n\t\t\t\t...data,\n\t\t\t};\n\t\t},\n\t},\n);\n\nregister(\"ActivityItemModel\", ActivityItemModel);\n"],"file":"activity-item.js"}
@@ -7,8 +7,12 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.BaseModel = void 0;
9
9
 
10
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
11
+
10
12
  var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
11
13
 
14
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
15
+
12
16
  var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
13
17
 
14
18
  var _utils = require("../utils.js");
@@ -19,6 +23,8 @@ var _ampersandRestCollection = _interopRequireDefault(require("ampersand-rest-co
19
23
 
20
24
  var _ampersandModel = _interopRequireDefault(require("ampersand-model"));
21
25
 
26
+ var _bluebird = _interopRequireDefault(require("bluebird"));
27
+
22
28
  var _superagentBluebirdPromise = _interopRequireDefault(require("superagent-bluebird-promise"));
23
29
 
24
30
  var _lodash = _interopRequireDefault(require("lodash"));
@@ -693,11 +699,54 @@ var BaseModel = _ampersandModel.default.extend(
693
699
 
694
700
  return _api.Api.getResourceURL(this.modelName);
695
701
  },
702
+ waitForReady: function waitForReady() {
703
+ var _arguments = arguments,
704
+ _this8 = this;
705
+
706
+ return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
707
+ var opts, attempts;
708
+ return _regenerator.default.wrap(function _callee$(_context) {
709
+ while (1) {
710
+ switch (_context.prev = _context.next) {
711
+ case 0:
712
+ opts = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : {};
713
+ attempts = _arguments.length > 1 && _arguments[1] !== undefined ? _arguments[1] : 20;
714
+
715
+ if (!(attempts === 0)) {
716
+ _context.next = 4;
717
+ break;
718
+ }
719
+
720
+ return _context.abrupt("return", _bluebird.default.reject());
721
+
722
+ case 4:
723
+ return _context.abrupt("return", _this8.fetch(opts).then(function () {
724
+ if (!_this8.creation_status) {
725
+ return _bluebird.default.reject(new Error("No creation_status key found"));
726
+ }
727
+
728
+ if (["ready", "failed"].indexOf(_this8.creation_status) > -1) {
729
+ return _bluebird.default.resolve();
730
+ }
731
+
732
+ return _bluebird.default.delay(1000).then(function () {
733
+ return _this8.waitForReady(opts, attempts - 1);
734
+ });
735
+ }));
736
+
737
+ case 5:
738
+ case "end":
739
+ return _context.stop();
740
+ }
741
+ }
742
+ }, _callee);
743
+ }))();
744
+ },
696
745
  sync: function sync() {
697
746
  return _sync2.sync.apply(this, arguments);
698
747
  },
699
748
  serialize: function serialize() {
700
- var _this8 = this;
749
+ var _this9 = this;
701
750
 
702
751
  var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
703
752
  derived: true
@@ -724,13 +773,13 @@ var BaseModel = _ampersandModel.default.extend(
724
773
  return object;
725
774
  }, {});
726
775
  Object.keys(this._unsetCollections).forEach(function (key) {
727
- if (_this8._unsetCollections[key].canBeEmpty && !_this8._values[key]) {
776
+ if (_this9._unsetCollections[key].canBeEmpty && !_this9._values[key]) {
728
777
  derived[key] = [];
729
778
  }
730
779
  });
731
780
  Object.keys(this._unsetChildren).forEach(function (key) {
732
- if (_this8._unsetChildren[key].canBeEmpty && !_this8._values[key] && _this8[key]) {
733
- derived[key] = _this8[key].url();
781
+ if (_this9._unsetChildren[key].canBeEmpty && !_this9._values[key] && _this9[key]) {
782
+ derived[key] = _this9[key].url();
734
783
  }
735
784
  });
736
785
  return _lodash.default.extend(data, derived);
@@ -738,7 +787,7 @@ var BaseModel = _ampersandModel.default.extend(
738
787
  // Safely retrieve the url from a child or collection that may or may not
739
788
  // be hydrated
740
789
  _retrieveURL: function _retrieveURL(item) {
741
- var _this9 = this;
790
+ var _this10 = this;
742
791
 
743
792
  if (_lodash.default.isUndefined(item) || item === null) {
744
793
  return item;
@@ -752,7 +801,7 @@ var BaseModel = _ampersandModel.default.extend(
752
801
  } else if (_lodash.default.isArray(item)) {
753
802
  // It's an array of urls or objects
754
803
  return item.map(function (child) {
755
- return _this9._retrieveURL(child);
804
+ return _this10._retrieveURL(child);
756
805
  });
757
806
  } else if ((0, _typeof2.default)(item) === "object" && item !== null) {
758
807
  return typeof item.url === "function" ? item.url() : item.url;