@rtsdk/topia 0.16.3 → 0.17.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.
- package/dist/index.cjs +93 -3
- package/dist/index.d.ts +79 -3
- package/dist/index.js +93 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -40042,7 +40042,6 @@ class DroppedAsset extends Asset {
|
|
|
40042
40042
|
* });
|
|
40043
40043
|
* ```
|
|
40044
40044
|
*/
|
|
40045
|
-
// get dropped asset
|
|
40046
40045
|
updateDataObject(dataObject, options = {}) {
|
|
40047
40046
|
return __awaiter(this, void 0, void 0, function* () {
|
|
40048
40047
|
try {
|
|
@@ -40141,6 +40140,95 @@ class DroppedAsset extends Asset {
|
|
|
40141
40140
|
throw this.errorHandler({ error, params, sdkMethod: "DroppedAsset.updateClickType" });
|
|
40142
40141
|
}
|
|
40143
40142
|
}
|
|
40143
|
+
/**
|
|
40144
|
+
* @summary
|
|
40145
|
+
* Adds an array of links to an asset. Maximum is 20 links.
|
|
40146
|
+
*
|
|
40147
|
+
* @usage
|
|
40148
|
+
* ```ts
|
|
40149
|
+
* await droppedAsset.setClickableLinkMulti({
|
|
40150
|
+
* clickableLinks: [
|
|
40151
|
+
* {
|
|
40152
|
+
* clickableLink: "https://example_one.com",
|
|
40153
|
+
* clickableLinkTitle: "Example One Link",
|
|
40154
|
+
* isForceLinkInIframe: true,
|
|
40155
|
+
* isOpenLinkInDrawer: false,
|
|
40156
|
+
* },
|
|
40157
|
+
* {
|
|
40158
|
+
* clickableLink: "https://example two.com",
|
|
40159
|
+
* clickableLinkTitle: "Example Two Link",
|
|
40160
|
+
* isForceLinkInIframe: false,
|
|
40161
|
+
* isOpenLinkInDrawer: false,
|
|
40162
|
+
* },
|
|
40163
|
+
* ],
|
|
40164
|
+
* });
|
|
40165
|
+
* ```
|
|
40166
|
+
*/
|
|
40167
|
+
setClickableLinkMulti({ clickableLinks }) {
|
|
40168
|
+
const params = {
|
|
40169
|
+
clickType: exports.DroppedAssetClickType.LINK,
|
|
40170
|
+
clickableLinks,
|
|
40171
|
+
};
|
|
40172
|
+
try {
|
|
40173
|
+
return __classPrivateFieldGet(this, _DroppedAsset_updateDroppedAsset, "f").call(this, params, "set-clickable-link-multi");
|
|
40174
|
+
}
|
|
40175
|
+
catch (error) {
|
|
40176
|
+
throw this.errorHandler({ error, params, sdkMethod: "DroppedAsset.setClickableLinkMulti" });
|
|
40177
|
+
}
|
|
40178
|
+
}
|
|
40179
|
+
/**
|
|
40180
|
+
* @summary
|
|
40181
|
+
* Updates multiple clickable links for a dropped asset.
|
|
40182
|
+
* Pass in an 'existingLinkId' to edit an existing link.
|
|
40183
|
+
*
|
|
40184
|
+
* @usage
|
|
40185
|
+
* ```ts
|
|
40186
|
+
* await droppedAsset.updateClickableLinkMulti({
|
|
40187
|
+
* clickableLink: "https://example.com",
|
|
40188
|
+
* clickableLinkTitle: "Example Link",
|
|
40189
|
+
* isForceLinkInIframe: true,
|
|
40190
|
+
* isOpenLinkInDrawer: false,
|
|
40191
|
+
* existingLinkId: "abcd"
|
|
40192
|
+
* });
|
|
40193
|
+
* ```
|
|
40194
|
+
*/
|
|
40195
|
+
updateClickableLinkMulti({ clickableLink, clickableLinkTitle, isForceLinkInIframe, isOpenLinkInDrawer, existingLinkId, linkSamlQueryParams, }) {
|
|
40196
|
+
const params = {
|
|
40197
|
+
clickType: exports.DroppedAssetClickType.LINK,
|
|
40198
|
+
clickableLink,
|
|
40199
|
+
clickableLinkTitle,
|
|
40200
|
+
isForceLinkInIframe,
|
|
40201
|
+
isOpenLinkInDrawer,
|
|
40202
|
+
existingLinkId,
|
|
40203
|
+
linkSamlQueryParams,
|
|
40204
|
+
};
|
|
40205
|
+
try {
|
|
40206
|
+
return __classPrivateFieldGet(this, _DroppedAsset_updateDroppedAsset, "f").call(this, params, "update-clickable-link-multi");
|
|
40207
|
+
}
|
|
40208
|
+
catch (error) {
|
|
40209
|
+
throw this.errorHandler({ error, params, sdkMethod: "DroppedAsset.updateClickableLinkMulti" });
|
|
40210
|
+
}
|
|
40211
|
+
}
|
|
40212
|
+
/**
|
|
40213
|
+
* @summary
|
|
40214
|
+
* Removes a clickable link from a dropped asset.
|
|
40215
|
+
*
|
|
40216
|
+
* @usage
|
|
40217
|
+
* ```ts
|
|
40218
|
+
* await droppedAsset.removeClickableLink({ linkId: "link-id" });
|
|
40219
|
+
* ```
|
|
40220
|
+
*/
|
|
40221
|
+
removeClickableLink({ linkId }) {
|
|
40222
|
+
const params = {
|
|
40223
|
+
linkId,
|
|
40224
|
+
};
|
|
40225
|
+
try {
|
|
40226
|
+
return __classPrivateFieldGet(this, _DroppedAsset_updateDroppedAsset, "f").call(this, params, "remove-clickable-link");
|
|
40227
|
+
}
|
|
40228
|
+
catch (error) {
|
|
40229
|
+
throw this.errorHandler({ error, params, sdkMethod: "DroppedAsset.removeClickableLink" });
|
|
40230
|
+
}
|
|
40231
|
+
}
|
|
40144
40232
|
/**
|
|
40145
40233
|
* @summary
|
|
40146
40234
|
* Updates text and style of a dropped asset.
|
|
@@ -40910,8 +40998,7 @@ class World extends SDKController {
|
|
|
40910
40998
|
*
|
|
40911
40999
|
* @usage
|
|
40912
41000
|
* ```ts
|
|
40913
|
-
* await world.fetchDroppedAssetsWithUniqueName();
|
|
40914
|
-
* const assets = world.droppedAssets;
|
|
41001
|
+
* const droppedAssets = await world.fetchDroppedAssetsWithUniqueName({u niqueName: "exampleUniqueName", isPartial: true });
|
|
40915
41002
|
* ```
|
|
40916
41003
|
*/
|
|
40917
41004
|
fetchDroppedAssetsWithUniqueName({ uniqueName, isPartial = false, isReversed = false, }) {
|
|
@@ -42699,6 +42786,9 @@ class DroppedAssetFactory extends SDKController {
|
|
|
42699
42786
|
* ```
|
|
42700
42787
|
* const droppedAssetInstance = await DroppedAsset.getWithUniqueName("exampleUniqueName", urlSlug, interactiveSecret, credentials);
|
|
42701
42788
|
* ```
|
|
42789
|
+
*
|
|
42790
|
+
* @notes
|
|
42791
|
+
* This method leverages the handleGetDroppedAssetByUniqueName endpoint in the Public API and assumes there is exactly one dropped asset with matching uniqueName for the given urlSlug.
|
|
42702
42792
|
*/
|
|
42703
42793
|
getWithUniqueName(uniqueName, urlSlug, interactiveSecret, credentials) {
|
|
42704
42794
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist/index.d.ts
CHANGED
|
@@ -59,6 +59,14 @@ declare enum DroppedAssetMediaType {
|
|
|
59
59
|
NONE = "none",
|
|
60
60
|
LINK = "link"
|
|
61
61
|
}
|
|
62
|
+
type DroppedAssetLinkType = {
|
|
63
|
+
clickableLink: string;
|
|
64
|
+
clickableLinkTitle?: string;
|
|
65
|
+
isForceLinkInIframe?: boolean;
|
|
66
|
+
isOpenLinkInDrawer?: boolean;
|
|
67
|
+
existingLinkId?: string;
|
|
68
|
+
linkSamlQueryParams?: string;
|
|
69
|
+
};
|
|
62
70
|
|
|
63
71
|
type InteractiveCredentials = {
|
|
64
72
|
apiKey?: string;
|
|
@@ -319,6 +327,58 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
|
|
|
319
327
|
* ```
|
|
320
328
|
*/
|
|
321
329
|
updateClickType({ clickType, clickableLink, clickableLinkTitle, clickableDisplayTextDescription, clickableDisplayTextHeadline, isForceLinkInIframe, isOpenLinkInDrawer, portalName, position, }: UpdateClickTypeInterface): Promise<void | ResponseType$1>;
|
|
330
|
+
/**
|
|
331
|
+
* @summary
|
|
332
|
+
* Adds an array of links to an asset. Maximum is 20 links.
|
|
333
|
+
*
|
|
334
|
+
* @usage
|
|
335
|
+
* ```ts
|
|
336
|
+
* await droppedAsset.setClickableLinkMulti({
|
|
337
|
+
* clickableLinks: [
|
|
338
|
+
* {
|
|
339
|
+
* clickableLink: "https://example_one.com",
|
|
340
|
+
* clickableLinkTitle: "Example One Link",
|
|
341
|
+
* isForceLinkInIframe: true,
|
|
342
|
+
* isOpenLinkInDrawer: false,
|
|
343
|
+
* },
|
|
344
|
+
* {
|
|
345
|
+
* clickableLink: "https://example two.com",
|
|
346
|
+
* clickableLinkTitle: "Example Two Link",
|
|
347
|
+
* isForceLinkInIframe: false,
|
|
348
|
+
* isOpenLinkInDrawer: false,
|
|
349
|
+
* },
|
|
350
|
+
* ],
|
|
351
|
+
* });
|
|
352
|
+
* ```
|
|
353
|
+
*/
|
|
354
|
+
setClickableLinkMulti({ clickableLinks }: SetClickableLinkMultiInterface): Promise<void | ResponseType$1>;
|
|
355
|
+
/**
|
|
356
|
+
* @summary
|
|
357
|
+
* Updates multiple clickable links for a dropped asset.
|
|
358
|
+
* Pass in an 'existingLinkId' to edit an existing link.
|
|
359
|
+
*
|
|
360
|
+
* @usage
|
|
361
|
+
* ```ts
|
|
362
|
+
* await droppedAsset.updateClickableLinkMulti({
|
|
363
|
+
* clickableLink: "https://example.com",
|
|
364
|
+
* clickableLinkTitle: "Example Link",
|
|
365
|
+
* isForceLinkInIframe: true,
|
|
366
|
+
* isOpenLinkInDrawer: false,
|
|
367
|
+
* existingLinkId: "abcd"
|
|
368
|
+
* });
|
|
369
|
+
* ```
|
|
370
|
+
*/
|
|
371
|
+
updateClickableLinkMulti({ clickableLink, clickableLinkTitle, isForceLinkInIframe, isOpenLinkInDrawer, existingLinkId, linkSamlQueryParams, }: UpdateClickableLinkMultiInterface): Promise<void | ResponseType$1>;
|
|
372
|
+
/**
|
|
373
|
+
* @summary
|
|
374
|
+
* Removes a clickable link from a dropped asset.
|
|
375
|
+
*
|
|
376
|
+
* @usage
|
|
377
|
+
* ```ts
|
|
378
|
+
* await droppedAsset.removeClickableLink({ linkId: "link-id" });
|
|
379
|
+
* ```
|
|
380
|
+
*/
|
|
381
|
+
removeClickableLink({ linkId }: RemoveClickableLinkInterface): Promise<void | ResponseType$1>;
|
|
322
382
|
/**
|
|
323
383
|
* @summary
|
|
324
384
|
* Updates text and style of a dropped asset.
|
|
@@ -620,8 +680,7 @@ declare class World extends SDKController implements WorldInterface {
|
|
|
620
680
|
*
|
|
621
681
|
* @usage
|
|
622
682
|
* ```ts
|
|
623
|
-
* await world.fetchDroppedAssetsWithUniqueName();
|
|
624
|
-
* const assets = world.droppedAssets;
|
|
683
|
+
* const droppedAssets = await world.fetchDroppedAssetsWithUniqueName({u niqueName: "exampleUniqueName", isPartial: true });
|
|
625
684
|
* ```
|
|
626
685
|
*/
|
|
627
686
|
fetchDroppedAssetsWithUniqueName({ uniqueName, isPartial, isReversed, }: {
|
|
@@ -1803,6 +1862,20 @@ interface UpdateClickTypeInterface {
|
|
|
1803
1862
|
y: number;
|
|
1804
1863
|
};
|
|
1805
1864
|
}
|
|
1865
|
+
interface SetClickableLinkMultiInterface {
|
|
1866
|
+
clickableLinks: DroppedAssetLinkType[];
|
|
1867
|
+
}
|
|
1868
|
+
interface UpdateClickableLinkMultiInterface {
|
|
1869
|
+
clickableLink: string;
|
|
1870
|
+
clickableLinkTitle?: string;
|
|
1871
|
+
isForceLinkInIframe?: boolean;
|
|
1872
|
+
isOpenLinkInDrawer?: boolean;
|
|
1873
|
+
existingLinkId?: string;
|
|
1874
|
+
linkSamlQueryParams?: string;
|
|
1875
|
+
}
|
|
1876
|
+
interface RemoveClickableLinkInterface {
|
|
1877
|
+
linkId: string;
|
|
1878
|
+
}
|
|
1806
1879
|
interface UpdateMediaTypeInterface {
|
|
1807
1880
|
audioRadius: number;
|
|
1808
1881
|
audioSliderVolume: number;
|
|
@@ -2470,6 +2543,9 @@ declare class DroppedAssetFactory extends SDKController {
|
|
|
2470
2543
|
* ```
|
|
2471
2544
|
* const droppedAssetInstance = await DroppedAsset.getWithUniqueName("exampleUniqueName", urlSlug, interactiveSecret, credentials);
|
|
2472
2545
|
* ```
|
|
2546
|
+
*
|
|
2547
|
+
* @notes
|
|
2548
|
+
* This method leverages the handleGetDroppedAssetByUniqueName endpoint in the Public API and assumes there is exactly one dropped asset with matching uniqueName for the given urlSlug.
|
|
2473
2549
|
*/
|
|
2474
2550
|
getWithUniqueName(uniqueName: string, urlSlug: string, interactiveSecret: string, credentials: InteractiveCredentials): Promise<DroppedAsset>;
|
|
2475
2551
|
/**
|
|
@@ -2707,4 +2783,4 @@ declare class WorldFactory extends SDKController {
|
|
|
2707
2783
|
}>;
|
|
2708
2784
|
}
|
|
2709
2785
|
|
|
2710
|
-
export { AnalyticType, AnimationMetaType, Asset, AssetFactory, AssetInterface, AssetOptionalInterface, AssetOptions, AssetType, DroppedAsset, DroppedAssetClickType, DroppedAssetFactory, DroppedAssetInterface, DroppedAssetMediaType, DroppedAssetOptionalInterface, DroppedAssetOptions, Ecosystem, EcosystemFactory, EcosystemInterface, EcosystemOptionalInterface, FireToastInterface, FrameType, InteractiveCredentials, MoveAllVisitorsInterface, MoveVisitorInterface, OpenIframeInterface, ResponseType$1 as ResponseType, SDKController, SDKInterface, Scene, SceneFactory, SceneInterface, SceneOptionalInterface, Topia, TopiaInterface, UpdateBroadcastInterface, UpdateClickTypeInterface, UpdateDroppedAssetInterface, UpdateMediaTypeInterface, UpdatePrivateZoneInterface, User, UserFactory, UserInterface, UserOptionalInterface, UserOptions, Visitor, VisitorFactory, VisitorInterface, VisitorOptionalInterface, VisitorOptions, VisitorType, VisitorsToMoveArrayType, VisitorsToMoveType, WebRTCConnector, WebRTCConnectorFactory, WebRTCConnectorInterface, WebRTCConnectorOptionalInterface, WebhookInterface, World, WorldActivity, WorldActivityFactory, WorldActivityOptionalInterface, WorldActivityType, WorldDetailsInterface, WorldFactory, WorldInterface, WorldOptionalInterface, WorldOptions, WorldWebhooksInterface };
|
|
2786
|
+
export { AnalyticType, AnimationMetaType, Asset, AssetFactory, AssetInterface, AssetOptionalInterface, AssetOptions, AssetType, DroppedAsset, DroppedAssetClickType, DroppedAssetFactory, DroppedAssetInterface, DroppedAssetLinkType, DroppedAssetMediaType, DroppedAssetOptionalInterface, DroppedAssetOptions, Ecosystem, EcosystemFactory, EcosystemInterface, EcosystemOptionalInterface, FireToastInterface, FrameType, InteractiveCredentials, MoveAllVisitorsInterface, MoveVisitorInterface, OpenIframeInterface, RemoveClickableLinkInterface, ResponseType$1 as ResponseType, SDKController, SDKInterface, Scene, SceneFactory, SceneInterface, SceneOptionalInterface, SetClickableLinkMultiInterface, Topia, TopiaInterface, UpdateBroadcastInterface, UpdateClickTypeInterface, UpdateClickableLinkMultiInterface, UpdateDroppedAssetInterface, UpdateMediaTypeInterface, UpdatePrivateZoneInterface, User, UserFactory, UserInterface, UserOptionalInterface, UserOptions, Visitor, VisitorFactory, VisitorInterface, VisitorOptionalInterface, VisitorOptions, VisitorType, VisitorsToMoveArrayType, VisitorsToMoveType, WebRTCConnector, WebRTCConnectorFactory, WebRTCConnectorInterface, WebRTCConnectorOptionalInterface, WebhookInterface, World, WorldActivity, WorldActivityFactory, WorldActivityOptionalInterface, WorldActivityType, WorldDetailsInterface, WorldFactory, WorldInterface, WorldOptionalInterface, WorldOptions, WorldWebhooksInterface };
|
package/dist/index.js
CHANGED
|
@@ -40040,7 +40040,6 @@ class DroppedAsset extends Asset {
|
|
|
40040
40040
|
* });
|
|
40041
40041
|
* ```
|
|
40042
40042
|
*/
|
|
40043
|
-
// get dropped asset
|
|
40044
40043
|
updateDataObject(dataObject, options = {}) {
|
|
40045
40044
|
return __awaiter(this, void 0, void 0, function* () {
|
|
40046
40045
|
try {
|
|
@@ -40139,6 +40138,95 @@ class DroppedAsset extends Asset {
|
|
|
40139
40138
|
throw this.errorHandler({ error, params, sdkMethod: "DroppedAsset.updateClickType" });
|
|
40140
40139
|
}
|
|
40141
40140
|
}
|
|
40141
|
+
/**
|
|
40142
|
+
* @summary
|
|
40143
|
+
* Adds an array of links to an asset. Maximum is 20 links.
|
|
40144
|
+
*
|
|
40145
|
+
* @usage
|
|
40146
|
+
* ```ts
|
|
40147
|
+
* await droppedAsset.setClickableLinkMulti({
|
|
40148
|
+
* clickableLinks: [
|
|
40149
|
+
* {
|
|
40150
|
+
* clickableLink: "https://example_one.com",
|
|
40151
|
+
* clickableLinkTitle: "Example One Link",
|
|
40152
|
+
* isForceLinkInIframe: true,
|
|
40153
|
+
* isOpenLinkInDrawer: false,
|
|
40154
|
+
* },
|
|
40155
|
+
* {
|
|
40156
|
+
* clickableLink: "https://example two.com",
|
|
40157
|
+
* clickableLinkTitle: "Example Two Link",
|
|
40158
|
+
* isForceLinkInIframe: false,
|
|
40159
|
+
* isOpenLinkInDrawer: false,
|
|
40160
|
+
* },
|
|
40161
|
+
* ],
|
|
40162
|
+
* });
|
|
40163
|
+
* ```
|
|
40164
|
+
*/
|
|
40165
|
+
setClickableLinkMulti({ clickableLinks }) {
|
|
40166
|
+
const params = {
|
|
40167
|
+
clickType: DroppedAssetClickType.LINK,
|
|
40168
|
+
clickableLinks,
|
|
40169
|
+
};
|
|
40170
|
+
try {
|
|
40171
|
+
return __classPrivateFieldGet(this, _DroppedAsset_updateDroppedAsset, "f").call(this, params, "set-clickable-link-multi");
|
|
40172
|
+
}
|
|
40173
|
+
catch (error) {
|
|
40174
|
+
throw this.errorHandler({ error, params, sdkMethod: "DroppedAsset.setClickableLinkMulti" });
|
|
40175
|
+
}
|
|
40176
|
+
}
|
|
40177
|
+
/**
|
|
40178
|
+
* @summary
|
|
40179
|
+
* Updates multiple clickable links for a dropped asset.
|
|
40180
|
+
* Pass in an 'existingLinkId' to edit an existing link.
|
|
40181
|
+
*
|
|
40182
|
+
* @usage
|
|
40183
|
+
* ```ts
|
|
40184
|
+
* await droppedAsset.updateClickableLinkMulti({
|
|
40185
|
+
* clickableLink: "https://example.com",
|
|
40186
|
+
* clickableLinkTitle: "Example Link",
|
|
40187
|
+
* isForceLinkInIframe: true,
|
|
40188
|
+
* isOpenLinkInDrawer: false,
|
|
40189
|
+
* existingLinkId: "abcd"
|
|
40190
|
+
* });
|
|
40191
|
+
* ```
|
|
40192
|
+
*/
|
|
40193
|
+
updateClickableLinkMulti({ clickableLink, clickableLinkTitle, isForceLinkInIframe, isOpenLinkInDrawer, existingLinkId, linkSamlQueryParams, }) {
|
|
40194
|
+
const params = {
|
|
40195
|
+
clickType: DroppedAssetClickType.LINK,
|
|
40196
|
+
clickableLink,
|
|
40197
|
+
clickableLinkTitle,
|
|
40198
|
+
isForceLinkInIframe,
|
|
40199
|
+
isOpenLinkInDrawer,
|
|
40200
|
+
existingLinkId,
|
|
40201
|
+
linkSamlQueryParams,
|
|
40202
|
+
};
|
|
40203
|
+
try {
|
|
40204
|
+
return __classPrivateFieldGet(this, _DroppedAsset_updateDroppedAsset, "f").call(this, params, "update-clickable-link-multi");
|
|
40205
|
+
}
|
|
40206
|
+
catch (error) {
|
|
40207
|
+
throw this.errorHandler({ error, params, sdkMethod: "DroppedAsset.updateClickableLinkMulti" });
|
|
40208
|
+
}
|
|
40209
|
+
}
|
|
40210
|
+
/**
|
|
40211
|
+
* @summary
|
|
40212
|
+
* Removes a clickable link from a dropped asset.
|
|
40213
|
+
*
|
|
40214
|
+
* @usage
|
|
40215
|
+
* ```ts
|
|
40216
|
+
* await droppedAsset.removeClickableLink({ linkId: "link-id" });
|
|
40217
|
+
* ```
|
|
40218
|
+
*/
|
|
40219
|
+
removeClickableLink({ linkId }) {
|
|
40220
|
+
const params = {
|
|
40221
|
+
linkId,
|
|
40222
|
+
};
|
|
40223
|
+
try {
|
|
40224
|
+
return __classPrivateFieldGet(this, _DroppedAsset_updateDroppedAsset, "f").call(this, params, "remove-clickable-link");
|
|
40225
|
+
}
|
|
40226
|
+
catch (error) {
|
|
40227
|
+
throw this.errorHandler({ error, params, sdkMethod: "DroppedAsset.removeClickableLink" });
|
|
40228
|
+
}
|
|
40229
|
+
}
|
|
40142
40230
|
/**
|
|
40143
40231
|
* @summary
|
|
40144
40232
|
* Updates text and style of a dropped asset.
|
|
@@ -40908,8 +40996,7 @@ class World extends SDKController {
|
|
|
40908
40996
|
*
|
|
40909
40997
|
* @usage
|
|
40910
40998
|
* ```ts
|
|
40911
|
-
* await world.fetchDroppedAssetsWithUniqueName();
|
|
40912
|
-
* const assets = world.droppedAssets;
|
|
40999
|
+
* const droppedAssets = await world.fetchDroppedAssetsWithUniqueName({u niqueName: "exampleUniqueName", isPartial: true });
|
|
40913
41000
|
* ```
|
|
40914
41001
|
*/
|
|
40915
41002
|
fetchDroppedAssetsWithUniqueName({ uniqueName, isPartial = false, isReversed = false, }) {
|
|
@@ -42697,6 +42784,9 @@ class DroppedAssetFactory extends SDKController {
|
|
|
42697
42784
|
* ```
|
|
42698
42785
|
* const droppedAssetInstance = await DroppedAsset.getWithUniqueName("exampleUniqueName", urlSlug, interactiveSecret, credentials);
|
|
42699
42786
|
* ```
|
|
42787
|
+
*
|
|
42788
|
+
* @notes
|
|
42789
|
+
* This method leverages the handleGetDroppedAssetByUniqueName endpoint in the Public API and assumes there is exactly one dropped asset with matching uniqueName for the given urlSlug.
|
|
42700
42790
|
*/
|
|
42701
42791
|
getWithUniqueName(uniqueName, urlSlug, interactiveSecret, credentials) {
|
|
42702
42792
|
return __awaiter(this, void 0, void 0, function* () {
|
package/package.json
CHANGED