@wix/auto_sdk_apps-installer_apps-installer 1.0.3 → 1.0.5
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/build/cjs/index.d.ts +30 -3
- package/build/cjs/index.js +114 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +49 -2
- package/build/cjs/index.typings.js +105 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +417 -2
- package/build/cjs/meta.js +137 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +30 -3
- package/build/es/index.mjs +113 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +49 -2
- package/build/es/index.typings.mjs +104 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +417 -2
- package/build/es/meta.mjs +131 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +30 -3
- package/build/internal/cjs/index.js +114 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +49 -2
- package/build/internal/cjs/index.typings.js +105 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +417 -2
- package/build/internal/cjs/meta.js +137 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +30 -3
- package/build/internal/es/index.mjs +113 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +49 -2
- package/build/internal/es/index.typings.mjs +104 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +417 -2
- package/build/internal/es/meta.mjs +131 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InstallAppRequest as InstallAppRequest$1, InstallAppResponse as InstallAppResponse$1, UninstallAppRequest as UninstallAppRequest$1, UninstallAppResponse as UninstallAppResponse$1, BulkUninstallAppRequest as BulkUninstallAppRequest$1, BulkUninstallAppResponse as BulkUninstallAppResponse$1, InstallAppFromShareUrlRequest as InstallAppFromShareUrlRequest$1, InstallAppFromShareUrlResponse as InstallAppFromShareUrlResponse$1, IsPermittedToInstallAppsRequest as IsPermittedToInstallAppsRequest$1, IsPermittedToInstallAppsResponse as IsPermittedToInstallAppsResponse$1, GetInstalledAppsRequest as GetInstalledAppsRequest$1, GetInstalledAppsResponse as GetInstalledAppsResponse$1 } from './index.typings.js';
|
|
1
|
+
import { InstallAppRequest as InstallAppRequest$1, InstallAppResponse as InstallAppResponse$1, BulkInstallAppRequest as BulkInstallAppRequest$1, BulkInstallAppResponse as BulkInstallAppResponse$1, UninstallAppRequest as UninstallAppRequest$1, UninstallAppResponse as UninstallAppResponse$1, BulkUninstallAppRequest as BulkUninstallAppRequest$1, BulkUninstallAppResponse as BulkUninstallAppResponse$1, InstallAppFromShareUrlRequest as InstallAppFromShareUrlRequest$1, InstallAppFromShareUrlResponse as InstallAppFromShareUrlResponse$1, IsPermittedToInstallAppsRequest as IsPermittedToInstallAppsRequest$1, IsPermittedToInstallAppsResponse as IsPermittedToInstallAppsResponse$1, GetInstalledAppsRequest as GetInstalledAppsRequest$1, GetInstalledAppsResponse as GetInstalledAppsResponse$1 } from './index.typings.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
interface AppInstance {
|
|
@@ -37,6 +37,27 @@ interface AppInstance {
|
|
|
37
37
|
*/
|
|
38
38
|
updatedDate?: Date | null;
|
|
39
39
|
}
|
|
40
|
+
declare enum Status {
|
|
41
|
+
/** Installation status is unknown. */
|
|
42
|
+
UNKNOWN = "UNKNOWN",
|
|
43
|
+
/** Waiting for OAUTH authentication to complete installation. */
|
|
44
|
+
WAITING_FOR_OAUTH = "WAITING_FOR_OAUTH",
|
|
45
|
+
/** App instance authenticated successfully. */
|
|
46
|
+
AUTHENTICATED = "AUTHENTICATED",
|
|
47
|
+
/** Payment hasn't been completed and is required for access to the app. */
|
|
48
|
+
DIDNT_COMPLETE_PAYMENT = "DIDNT_COMPLETE_PAYMENT"
|
|
49
|
+
}
|
|
50
|
+
/** @enumType */
|
|
51
|
+
type StatusWithLiterals = Status | 'UNKNOWN' | 'WAITING_FOR_OAUTH' | 'AUTHENTICATED' | 'DIDNT_COMPLETE_PAYMENT';
|
|
52
|
+
interface LegacyParams {
|
|
53
|
+
/** Legacy int id */
|
|
54
|
+
intId?: number | null;
|
|
55
|
+
/**
|
|
56
|
+
* Legacy source template id
|
|
57
|
+
* @format GUID
|
|
58
|
+
*/
|
|
59
|
+
sourceTemplateId?: string | null;
|
|
60
|
+
}
|
|
40
61
|
interface DevVersionInstallation {
|
|
41
62
|
/**
|
|
42
63
|
* ID of the override to assign to the development version.
|
|
@@ -44,6 +65,10 @@ interface DevVersionInstallation {
|
|
|
44
65
|
*/
|
|
45
66
|
overrideId?: string;
|
|
46
67
|
}
|
|
68
|
+
interface ListAppInstancesRequest {
|
|
69
|
+
/** Tenant to fetch app instances for */
|
|
70
|
+
tenant?: Tenant;
|
|
71
|
+
}
|
|
47
72
|
interface Tenant {
|
|
48
73
|
/** Tenant ID. For a site, this is the [site ID](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction). For an account this is the [account ID](https://dev.wix.com/docs/rest/account-level/user-management/accounts/accounts/about-accounts). */
|
|
49
74
|
id?: string;
|
|
@@ -56,6 +81,151 @@ declare enum TenantType {
|
|
|
56
81
|
}
|
|
57
82
|
/** @enumType */
|
|
58
83
|
type TenantTypeWithLiterals = TenantType | 'SITE' | 'ACCOUNT';
|
|
84
|
+
interface ListAppInstancesResponse {
|
|
85
|
+
/** List of installed app instances list for the specified tenant */
|
|
86
|
+
appInstances?: AppInstance[];
|
|
87
|
+
}
|
|
88
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
89
|
+
createdEvent?: EntityCreatedEvent;
|
|
90
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
91
|
+
deletedEvent?: EntityDeletedEvent;
|
|
92
|
+
actionEvent?: ActionEvent;
|
|
93
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
94
|
+
id?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
97
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
98
|
+
*/
|
|
99
|
+
entityFqdn?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
102
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
103
|
+
*/
|
|
104
|
+
slug?: string;
|
|
105
|
+
/** ID of the entity associated with the event. */
|
|
106
|
+
entityId?: string;
|
|
107
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
108
|
+
eventTime?: Date | null;
|
|
109
|
+
/**
|
|
110
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
111
|
+
* (for example, GDPR).
|
|
112
|
+
*/
|
|
113
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
114
|
+
/** If present, indicates the action that triggered the event. */
|
|
115
|
+
originatedFrom?: string | null;
|
|
116
|
+
/**
|
|
117
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
118
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
119
|
+
*/
|
|
120
|
+
entityEventSequence?: string | null;
|
|
121
|
+
}
|
|
122
|
+
/** @oneof */
|
|
123
|
+
interface DomainEventBodyOneOf {
|
|
124
|
+
createdEvent?: EntityCreatedEvent;
|
|
125
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
126
|
+
deletedEvent?: EntityDeletedEvent;
|
|
127
|
+
actionEvent?: ActionEvent;
|
|
128
|
+
}
|
|
129
|
+
interface EntityCreatedEvent {
|
|
130
|
+
entityAsJson?: string;
|
|
131
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
132
|
+
restoreInfo?: RestoreInfo;
|
|
133
|
+
}
|
|
134
|
+
interface RestoreInfo {
|
|
135
|
+
deletedDate?: Date | null;
|
|
136
|
+
}
|
|
137
|
+
interface EntityUpdatedEvent {
|
|
138
|
+
/**
|
|
139
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
140
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
141
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
142
|
+
*/
|
|
143
|
+
currentEntityAsJson?: string;
|
|
144
|
+
}
|
|
145
|
+
interface EntityDeletedEvent {
|
|
146
|
+
/** Entity that was deleted. */
|
|
147
|
+
deletedEntityAsJson?: string | null;
|
|
148
|
+
}
|
|
149
|
+
interface ActionEvent {
|
|
150
|
+
bodyAsJson?: string;
|
|
151
|
+
}
|
|
152
|
+
interface MessageEnvelope {
|
|
153
|
+
/**
|
|
154
|
+
* App instance ID.
|
|
155
|
+
* @format GUID
|
|
156
|
+
*/
|
|
157
|
+
instanceId?: string | null;
|
|
158
|
+
/**
|
|
159
|
+
* Event type.
|
|
160
|
+
* @maxLength 150
|
|
161
|
+
*/
|
|
162
|
+
eventType?: string;
|
|
163
|
+
/** The identification type and identity data. */
|
|
164
|
+
identity?: IdentificationData;
|
|
165
|
+
/** Stringify payload. */
|
|
166
|
+
data?: string;
|
|
167
|
+
}
|
|
168
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
169
|
+
/**
|
|
170
|
+
* ID of a site visitor that has not logged in to the site.
|
|
171
|
+
* @format GUID
|
|
172
|
+
*/
|
|
173
|
+
anonymousVisitorId?: string;
|
|
174
|
+
/**
|
|
175
|
+
* ID of a site visitor that has logged in to the site.
|
|
176
|
+
* @format GUID
|
|
177
|
+
*/
|
|
178
|
+
memberId?: string;
|
|
179
|
+
/**
|
|
180
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
181
|
+
* @format GUID
|
|
182
|
+
*/
|
|
183
|
+
wixUserId?: string;
|
|
184
|
+
/**
|
|
185
|
+
* ID of an app.
|
|
186
|
+
* @format GUID
|
|
187
|
+
*/
|
|
188
|
+
appId?: string;
|
|
189
|
+
/** @readonly */
|
|
190
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
191
|
+
}
|
|
192
|
+
/** @oneof */
|
|
193
|
+
interface IdentificationDataIdOneOf {
|
|
194
|
+
/**
|
|
195
|
+
* ID of a site visitor that has not logged in to the site.
|
|
196
|
+
* @format GUID
|
|
197
|
+
*/
|
|
198
|
+
anonymousVisitorId?: string;
|
|
199
|
+
/**
|
|
200
|
+
* ID of a site visitor that has logged in to the site.
|
|
201
|
+
* @format GUID
|
|
202
|
+
*/
|
|
203
|
+
memberId?: string;
|
|
204
|
+
/**
|
|
205
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
206
|
+
* @format GUID
|
|
207
|
+
*/
|
|
208
|
+
wixUserId?: string;
|
|
209
|
+
/**
|
|
210
|
+
* ID of an app.
|
|
211
|
+
* @format GUID
|
|
212
|
+
*/
|
|
213
|
+
appId?: string;
|
|
214
|
+
}
|
|
215
|
+
declare enum WebhookIdentityType {
|
|
216
|
+
UNKNOWN = "UNKNOWN",
|
|
217
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
218
|
+
MEMBER = "MEMBER",
|
|
219
|
+
WIX_USER = "WIX_USER",
|
|
220
|
+
APP = "APP"
|
|
221
|
+
}
|
|
222
|
+
/** @enumType */
|
|
223
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
224
|
+
interface InstallDefaultAppsEvent {
|
|
225
|
+
tenant?: Tenant;
|
|
226
|
+
}
|
|
227
|
+
interface Empty {
|
|
228
|
+
}
|
|
59
229
|
interface InstallAppRequest {
|
|
60
230
|
/** Tenant details. */
|
|
61
231
|
tenant: Tenant;
|
|
@@ -66,6 +236,42 @@ interface InstallAppResponse {
|
|
|
66
236
|
/** The app instance created when the app was installed. */
|
|
67
237
|
appInstance?: AppInstance;
|
|
68
238
|
}
|
|
239
|
+
interface AppInstalledOnTenant {
|
|
240
|
+
/** Tenant details. */
|
|
241
|
+
tenant?: Tenant;
|
|
242
|
+
/** App instance details. */
|
|
243
|
+
appInstance?: AppInstance;
|
|
244
|
+
}
|
|
245
|
+
interface BulkInstallAppRequest {
|
|
246
|
+
/** Tenant details. */
|
|
247
|
+
tenant: Tenant;
|
|
248
|
+
/**
|
|
249
|
+
* Details of the app instances to create when the apps are installed.
|
|
250
|
+
* @maxSize 20
|
|
251
|
+
*/
|
|
252
|
+
appInstances?: AppInstance[];
|
|
253
|
+
}
|
|
254
|
+
/** A list of possible additional fields to be included in the response. */
|
|
255
|
+
declare enum RequestedFields {
|
|
256
|
+
/** The requested field is unknown. */
|
|
257
|
+
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
258
|
+
/** The client spec map. */
|
|
259
|
+
CLIENT_SPEC_MAP = "CLIENT_SPEC_MAP"
|
|
260
|
+
}
|
|
261
|
+
/** @enumType */
|
|
262
|
+
type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'CLIENT_SPEC_MAP';
|
|
263
|
+
interface BulkInstallAppResponse {
|
|
264
|
+
/** Information and metadata about the app installations. */
|
|
265
|
+
results?: BulkInstallAppResult[];
|
|
266
|
+
/** Metadata about the bulk installation. */
|
|
267
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
268
|
+
}
|
|
269
|
+
interface BulkInstallAppResult {
|
|
270
|
+
/** Metadata about the app installation. */
|
|
271
|
+
itemMetadata?: ItemMetadata;
|
|
272
|
+
/** Details of the created app instance. */
|
|
273
|
+
appInstance?: AppInstance;
|
|
274
|
+
}
|
|
69
275
|
interface ItemMetadata {
|
|
70
276
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
71
277
|
id?: string | null;
|
|
@@ -92,6 +298,166 @@ interface BulkActionMetadata {
|
|
|
92
298
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
93
299
|
undetailedFailures?: number;
|
|
94
300
|
}
|
|
301
|
+
interface ClientSpecMap {
|
|
302
|
+
/** The Client Spec Map data. */
|
|
303
|
+
data?: Record<number, ClientSpec>;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* ClientSpec is a merge of meta site and dev center data about application.
|
|
307
|
+
*
|
|
308
|
+
* This API is very old, but used a lot in editor and viewer.
|
|
309
|
+
*
|
|
310
|
+
* It represents a flatten hierarchy of subclasses of [com.wixpress.apps.dto.ClientSpec](https://github.com/wix-private/meta-site/blob/master/wix-meta-site-server/app-store-service/client-spec-map-api/src/main/scala/com/wixpress/apps/dto/ClientSpec.java).
|
|
311
|
+
*/
|
|
312
|
+
interface ClientSpec {
|
|
313
|
+
/** Possible values: editor, public, wixapps, appbuilder, sitemembers, siteextension, mobileapp, onboarding, metasite or ignored. */
|
|
314
|
+
type?: string;
|
|
315
|
+
/**
|
|
316
|
+
* Deprecated. Represents so-called intId -- a "position" of the application in Site Pages (previously editor saved intId
|
|
317
|
+
* instead of appDefId in pages to correlate with applications).
|
|
318
|
+
*/
|
|
319
|
+
applicationId?: number;
|
|
320
|
+
appDefinitionId?: string | null;
|
|
321
|
+
instanceId?: string | null;
|
|
322
|
+
state?: string | null;
|
|
323
|
+
expirationDate?: string | null;
|
|
324
|
+
/** This field will be deprecated in the future. It currently contains either the access token or the data token. */
|
|
325
|
+
instance?: string | null;
|
|
326
|
+
/** A OAuth access token for the application - provides API access. */
|
|
327
|
+
accessToken?: string | null;
|
|
328
|
+
/** A data token for the application - provides data about the application user. */
|
|
329
|
+
dataToken?: string | null;
|
|
330
|
+
/** MetaSiteClientSpec */
|
|
331
|
+
metaSiteId?: string | null;
|
|
332
|
+
/** deprecated */
|
|
333
|
+
appDefId?: string | null;
|
|
334
|
+
/** BaseTPAClientSpec */
|
|
335
|
+
versionFailure?: string | null;
|
|
336
|
+
appWorkerUrl?: string | null;
|
|
337
|
+
appDefinitionName?: string | null;
|
|
338
|
+
sectionDefaultPage?: string | null;
|
|
339
|
+
sectionUrl?: string | null;
|
|
340
|
+
widgets?: Record<string, Widget>;
|
|
341
|
+
gluedWidgets?: Record<string, GluedWidget>;
|
|
342
|
+
pixelUrl?: string | null;
|
|
343
|
+
embeddedScriptUrl?: string | null;
|
|
344
|
+
appRequirements?: TPAAppRequirements;
|
|
345
|
+
sectionRefreshOnWidthChange?: boolean | null;
|
|
346
|
+
sectionMobileUrl?: string | null;
|
|
347
|
+
sectionPublished?: boolean | null;
|
|
348
|
+
sectionMobilePublished?: boolean | null;
|
|
349
|
+
sectionSeoEnabled?: boolean | null;
|
|
350
|
+
/** TODO check serialization */
|
|
351
|
+
isWixTPA?: boolean | null;
|
|
352
|
+
installedAtDashboard?: boolean | null;
|
|
353
|
+
permissions?: TPAPermissions;
|
|
354
|
+
appFields?: any;
|
|
355
|
+
version?: string | null;
|
|
356
|
+
requiresEditorComponent?: boolean | null;
|
|
357
|
+
editorPartDismissed?: boolean | null;
|
|
358
|
+
openPremiumPage?: boolean | null;
|
|
359
|
+
/** TPAEditorClientSpec */
|
|
360
|
+
settingsUrl?: string | null;
|
|
361
|
+
onboardingSettingsUrl?: string | null;
|
|
362
|
+
dashboardUrl?: string | null;
|
|
363
|
+
dashboardDefaultHeight?: number | null;
|
|
364
|
+
settingsDialogBanner?: string | null;
|
|
365
|
+
settingsCompanyName?: string | null;
|
|
366
|
+
settingsWidth?: number | null;
|
|
367
|
+
settingsHeight?: number | null;
|
|
368
|
+
demoMode?: boolean | null;
|
|
369
|
+
sectionSettings?: TPASettingsClientSpec;
|
|
370
|
+
vendorProductId?: string | null;
|
|
371
|
+
vendorProducts?: string[];
|
|
372
|
+
preInstalled?: boolean | null;
|
|
373
|
+
appType?: string | null;
|
|
374
|
+
provisionOnSaveSite?: boolean | null;
|
|
375
|
+
components?: any;
|
|
376
|
+
/** WLAClientSpec */
|
|
377
|
+
datastoreId?: string | null;
|
|
378
|
+
originDatastoreId?: string | null;
|
|
379
|
+
packageName?: string | null;
|
|
380
|
+
/** SiteMembersClientSpec */
|
|
381
|
+
smcollectionId?: string | null;
|
|
382
|
+
collectionType?: string | null;
|
|
383
|
+
collectionFormFace?: string | null;
|
|
384
|
+
collectionExposure?: string | null;
|
|
385
|
+
smtoken?: string | null;
|
|
386
|
+
/** MobileAppClientSpec */
|
|
387
|
+
name?: string | null;
|
|
388
|
+
iconUrl?: string | null;
|
|
389
|
+
/** OnboardingClientSpec */
|
|
390
|
+
storyId?: string | null;
|
|
391
|
+
inUse?: boolean | null;
|
|
392
|
+
}
|
|
393
|
+
interface Widget {
|
|
394
|
+
/** BaseTPAClientWidget */
|
|
395
|
+
widgetId?: string | null;
|
|
396
|
+
widgetUrl?: string | null;
|
|
397
|
+
tpaWidgetId?: string | null;
|
|
398
|
+
refreshOnWidthChange?: boolean | null;
|
|
399
|
+
mobileUrl?: string | null;
|
|
400
|
+
appPage?: TPAAppPage;
|
|
401
|
+
published?: boolean | null;
|
|
402
|
+
mobilePublished?: boolean | null;
|
|
403
|
+
seoEnabled?: boolean | null;
|
|
404
|
+
preFetch?: boolean | null;
|
|
405
|
+
shouldBeStretchedByDefault?: boolean | null;
|
|
406
|
+
shouldBeStretchedByDefaultMobile?: boolean | null;
|
|
407
|
+
gluedOptions?: GluedOptions;
|
|
408
|
+
componentFields?: any;
|
|
409
|
+
default?: boolean | null;
|
|
410
|
+
/** TPAEditorClientWidget */
|
|
411
|
+
defaultWidth?: number | null;
|
|
412
|
+
defaultHeight?: number | null;
|
|
413
|
+
defaultShowOnAllPages?: boolean | null;
|
|
414
|
+
settings?: TPASettingsClientSpec;
|
|
415
|
+
autoAddToSite?: boolean | null;
|
|
416
|
+
defaultPosition?: TPAWidgetPosition;
|
|
417
|
+
canBeStretched?: boolean | null;
|
|
418
|
+
santaEditorPublished?: boolean | null;
|
|
419
|
+
addOnlyOnce?: boolean | null;
|
|
420
|
+
}
|
|
421
|
+
interface TPAAppPage {
|
|
422
|
+
id?: string;
|
|
423
|
+
name?: string;
|
|
424
|
+
defaultPage?: string;
|
|
425
|
+
hidden?: boolean;
|
|
426
|
+
multiInstanceEnabled?: boolean | null;
|
|
427
|
+
order?: number | null;
|
|
428
|
+
indexable?: boolean | null;
|
|
429
|
+
fullPage?: boolean | null;
|
|
430
|
+
landingPageInMobile?: boolean | null;
|
|
431
|
+
hideFromMenu?: boolean | null;
|
|
432
|
+
}
|
|
433
|
+
interface GluedOptions {
|
|
434
|
+
placement?: string | null;
|
|
435
|
+
verticalMargin?: number | null;
|
|
436
|
+
horizontalMargin?: number | null;
|
|
437
|
+
}
|
|
438
|
+
interface TPASettingsClientSpec {
|
|
439
|
+
height?: number;
|
|
440
|
+
width?: number;
|
|
441
|
+
url?: string | null;
|
|
442
|
+
urlV2?: string | null;
|
|
443
|
+
onboardingUrl?: string | null;
|
|
444
|
+
abTest?: boolean | null;
|
|
445
|
+
version?: number | null;
|
|
446
|
+
}
|
|
447
|
+
interface TPAWidgetPosition {
|
|
448
|
+
region?: string;
|
|
449
|
+
placement?: string;
|
|
450
|
+
}
|
|
451
|
+
interface GluedWidget {
|
|
452
|
+
widgetId?: string | null;
|
|
453
|
+
widgetUrl?: string | null;
|
|
454
|
+
}
|
|
455
|
+
interface TPAAppRequirements {
|
|
456
|
+
requireSiteMembers?: boolean;
|
|
457
|
+
}
|
|
458
|
+
interface TPAPermissions {
|
|
459
|
+
revoked?: boolean;
|
|
460
|
+
}
|
|
95
461
|
interface UninstallAppRequest {
|
|
96
462
|
/** Tenant details. */
|
|
97
463
|
tenant?: Tenant;
|
|
@@ -205,6 +571,54 @@ interface GetInstalledAppsResponse {
|
|
|
205
571
|
/** The installed app instances */
|
|
206
572
|
appInstances?: AppInstance[];
|
|
207
573
|
}
|
|
574
|
+
/** @docsIgnore */
|
|
575
|
+
type InstallAppApplicationErrors = {
|
|
576
|
+
code?: 'DOMAIN_ENTITY_MISSING';
|
|
577
|
+
description?: string;
|
|
578
|
+
data?: Record<string, any>;
|
|
579
|
+
} | {
|
|
580
|
+
code?: 'UNSUPPORTED_TENANT_TYPE';
|
|
581
|
+
description?: string;
|
|
582
|
+
data?: Record<string, any>;
|
|
583
|
+
} | {
|
|
584
|
+
code?: 'INVALID_DEV_VERSION';
|
|
585
|
+
description?: string;
|
|
586
|
+
data?: Record<string, any>;
|
|
587
|
+
} | {
|
|
588
|
+
code?: 'ACCOUNT_INVALID_DEV_VERSION';
|
|
589
|
+
description?: string;
|
|
590
|
+
data?: Record<string, any>;
|
|
591
|
+
};
|
|
592
|
+
/** @docsIgnore */
|
|
593
|
+
type BulkInstallAppApplicationErrors = {
|
|
594
|
+
code?: 'DOMAIN_ENTITY_MISSING';
|
|
595
|
+
description?: string;
|
|
596
|
+
data?: Record<string, any>;
|
|
597
|
+
} | {
|
|
598
|
+
code?: 'UNSUPPORTED_TENANT_TYPE';
|
|
599
|
+
description?: string;
|
|
600
|
+
data?: Record<string, any>;
|
|
601
|
+
};
|
|
602
|
+
/** @docsIgnore */
|
|
603
|
+
type InstallAppFromShareUrlApplicationErrors = {
|
|
604
|
+
code?: 'UNSUPPORTED_TENANT_TYPE';
|
|
605
|
+
description?: string;
|
|
606
|
+
data?: Record<string, any>;
|
|
607
|
+
} | {
|
|
608
|
+
code?: 'SHARE_URL_IS_REVOKED';
|
|
609
|
+
description?: string;
|
|
610
|
+
data?: Record<string, any>;
|
|
611
|
+
} | {
|
|
612
|
+
code?: 'SHARE_URL_NOT_FOUND';
|
|
613
|
+
description?: string;
|
|
614
|
+
data?: Record<string, any>;
|
|
615
|
+
};
|
|
616
|
+
/** @docsIgnore */
|
|
617
|
+
type IsPermittedToInstallAppsApplicationErrors = {
|
|
618
|
+
code?: 'UNSUPPORTED_TENANT_TYPE';
|
|
619
|
+
description?: string;
|
|
620
|
+
data?: Record<string, any>;
|
|
621
|
+
};
|
|
208
622
|
|
|
209
623
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
210
624
|
getUrl: (context: any) => string;
|
|
@@ -217,10 +631,11 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
|
|
|
217
631
|
__originalResponseType: R;
|
|
218
632
|
};
|
|
219
633
|
declare function installApp(): __PublicMethodMetaInfo<'POST', {}, InstallAppRequest$1, InstallAppRequest, InstallAppResponse$1, InstallAppResponse>;
|
|
634
|
+
declare function bulkInstallApp(): __PublicMethodMetaInfo<'POST', {}, BulkInstallAppRequest$1, BulkInstallAppRequest, BulkInstallAppResponse$1, BulkInstallAppResponse>;
|
|
220
635
|
declare function uninstallApp(): __PublicMethodMetaInfo<'POST', {}, UninstallAppRequest$1, UninstallAppRequest, UninstallAppResponse$1, UninstallAppResponse>;
|
|
221
636
|
declare function bulkUninstallApp(): __PublicMethodMetaInfo<'POST', {}, BulkUninstallAppRequest$1, BulkUninstallAppRequest, BulkUninstallAppResponse$1, BulkUninstallAppResponse>;
|
|
222
637
|
declare function installAppFromShareUrl(): __PublicMethodMetaInfo<'POST', {}, InstallAppFromShareUrlRequest$1, InstallAppFromShareUrlRequest, InstallAppFromShareUrlResponse$1, InstallAppFromShareUrlResponse>;
|
|
223
638
|
declare function isPermittedToInstallApps(): __PublicMethodMetaInfo<'POST', {}, IsPermittedToInstallAppsRequest$1, IsPermittedToInstallAppsRequest, IsPermittedToInstallAppsResponse$1, IsPermittedToInstallAppsResponse>;
|
|
224
639
|
declare function getInstalledApps(): __PublicMethodMetaInfo<'GET', {}, GetInstalledAppsRequest$1, GetInstalledAppsRequest, GetInstalledAppsResponse$1, GetInstalledAppsResponse>;
|
|
225
640
|
|
|
226
|
-
export { type __PublicMethodMetaInfo, bulkUninstallApp, getInstalledApps, installApp, installAppFromShareUrl, isPermittedToInstallApps, uninstallApp };
|
|
641
|
+
export { type ActionEvent as ActionEventOriginal, type AppInstalledOnTenant as AppInstalledOnTenantOriginal, type AppInstance as AppInstanceOriginal, type ApplicationError as ApplicationErrorOriginal, type AppsInstallOptions as AppsInstallOptionsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkInstallAppApplicationErrors as BulkInstallAppApplicationErrorsOriginal, type BulkInstallAppRequest as BulkInstallAppRequestOriginal, type BulkInstallAppResponse as BulkInstallAppResponseOriginal, type BulkInstallAppResult as BulkInstallAppResultOriginal, type BulkUninstallAppRequest as BulkUninstallAppRequestOriginal, type BulkUninstallAppResponse as BulkUninstallAppResponseOriginal, type BulkUninstallAppResult as BulkUninstallAppResultOriginal, type ClientSpecMap as ClientSpecMapOriginal, type ClientSpec as ClientSpecOriginal, type DevVersionInstallation as DevVersionInstallationOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type GetInstalledAppsRequest as GetInstalledAppsRequestOriginal, type GetInstalledAppsResponse as GetInstalledAppsResponseOriginal, type GluedOptions as GluedOptionsOriginal, type GluedWidget as GluedWidgetOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InstallAppApplicationErrors as InstallAppApplicationErrorsOriginal, type InstallAppFromShareUrlApplicationErrors as InstallAppFromShareUrlApplicationErrorsOriginal, type InstallAppFromShareUrlRequest as InstallAppFromShareUrlRequestOriginal, type InstallAppFromShareUrlResponse as InstallAppFromShareUrlResponseOriginal, type InstallAppRequest as InstallAppRequestOriginal, type InstallAppResponse as InstallAppResponseOriginal, type InstallDefaultAppsEvent as InstallDefaultAppsEventOriginal, InstallType as InstallTypeOriginal, type InstallTypeWithLiterals as InstallTypeWithLiteralsOriginal, type IsPermittedToInstallAppsApplicationErrors as IsPermittedToInstallAppsApplicationErrorsOriginal, type IsPermittedToInstallAppsRequestOptionsOneOf as IsPermittedToInstallAppsRequestOptionsOneOfOriginal, type IsPermittedToInstallAppsRequest as IsPermittedToInstallAppsRequestOriginal, type IsPermittedToInstallAppsResponse as IsPermittedToInstallAppsResponseOriginal, type ItemMetadata as ItemMetadataOriginal, type LegacyParams as LegacyParamsOriginal, type ListAppInstancesRequest as ListAppInstancesRequestOriginal, type ListAppInstancesResponse as ListAppInstancesResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type ShareUrlInstallOptions as ShareUrlInstallOptionsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type TPAAppPage as TPAAppPageOriginal, type TPAAppRequirements as TPAAppRequirementsOriginal, type TPAPermissions as TPAPermissionsOriginal, type TPASettingsClientSpec as TPASettingsClientSpecOriginal, type TPAWidgetPosition as TPAWidgetPositionOriginal, type Tenant as TenantOriginal, TenantType as TenantTypeOriginal, type TenantTypeWithLiterals as TenantTypeWithLiteralsOriginal, type UninstallAppRequest as UninstallAppRequestOriginal, type UninstallAppResponse as UninstallAppResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type Widget as WidgetOriginal, type __PublicMethodMetaInfo, bulkInstallApp, bulkUninstallApp, getInstalledApps, installApp, installAppFromShareUrl, isPermittedToInstallApps, uninstallApp };
|
package/build/cjs/meta.js
CHANGED
|
@@ -20,6 +20,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
+
InstallTypeOriginal: () => InstallType,
|
|
24
|
+
RequestedFieldsOriginal: () => RequestedFields,
|
|
25
|
+
StatusOriginal: () => Status,
|
|
26
|
+
TenantTypeOriginal: () => TenantType,
|
|
27
|
+
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
28
|
+
bulkInstallApp: () => bulkInstallApp2,
|
|
23
29
|
bulkUninstallApp: () => bulkUninstallApp2,
|
|
24
30
|
getInstalledApps: () => getInstalledApps2,
|
|
25
31
|
installApp: () => installApp2,
|
|
@@ -103,6 +109,12 @@ function resolveWixDevcenterAppsInstallerV1AppsInstallerServiceUrl(opts) {
|
|
|
103
109
|
srcPath: "/_api/apps-installer-service",
|
|
104
110
|
destPath: ""
|
|
105
111
|
}
|
|
112
|
+
],
|
|
113
|
+
"vibe._base_domain_": [
|
|
114
|
+
{
|
|
115
|
+
srcPath: "/_api/apps-installer-service",
|
|
116
|
+
destPath: ""
|
|
117
|
+
}
|
|
106
118
|
]
|
|
107
119
|
};
|
|
108
120
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
@@ -124,6 +136,9 @@ function installApp(payload) {
|
|
|
124
136
|
method: "POST",
|
|
125
137
|
methodFqn: "wix.devcenter.apps.installer.v1.AppsInstallerService.InstallApp",
|
|
126
138
|
packageName: PACKAGE_NAME,
|
|
139
|
+
migrationOptions: {
|
|
140
|
+
optInTransformResponse: true
|
|
141
|
+
},
|
|
127
142
|
url: resolveWixDevcenterAppsInstallerV1AppsInstallerServiceUrl({
|
|
128
143
|
protoPath: "/v1/app-instance/install",
|
|
129
144
|
data: serializedData,
|
|
@@ -146,6 +161,56 @@ function installApp(payload) {
|
|
|
146
161
|
}
|
|
147
162
|
return __installApp;
|
|
148
163
|
}
|
|
164
|
+
function bulkInstallApp(payload) {
|
|
165
|
+
function __bulkInstallApp({ host }) {
|
|
166
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
167
|
+
{
|
|
168
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
169
|
+
paths: [
|
|
170
|
+
{ path: "appInstances.installedDate" },
|
|
171
|
+
{ path: "appInstances.updatedDate" }
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
]);
|
|
175
|
+
const metadata = {
|
|
176
|
+
entityFqdn: "wix.apps.v1.app_instance",
|
|
177
|
+
method: "POST",
|
|
178
|
+
methodFqn: "wix.devcenter.apps.installer.v1.AppsInstallerService.BulkInstallApp",
|
|
179
|
+
packageName: PACKAGE_NAME,
|
|
180
|
+
migrationOptions: {
|
|
181
|
+
optInTransformResponse: true
|
|
182
|
+
},
|
|
183
|
+
url: resolveWixDevcenterAppsInstallerV1AppsInstallerServiceUrl({
|
|
184
|
+
protoPath: "/v1/bulk/app-instance/install",
|
|
185
|
+
data: serializedData,
|
|
186
|
+
host
|
|
187
|
+
}),
|
|
188
|
+
data: serializedData,
|
|
189
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
190
|
+
{
|
|
191
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
192
|
+
paths: [
|
|
193
|
+
{ path: "results.appInstance.installedDate" },
|
|
194
|
+
{ path: "results.appInstance.updatedDate" }
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
transformFn: import_float.transformRESTFloatToSDKFloat,
|
|
199
|
+
paths: [
|
|
200
|
+
{
|
|
201
|
+
path: "clientSpecMap.data.widgets.*.gluedOptions.verticalMargin"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
path: "clientSpecMap.data.widgets.*.gluedOptions.horizontalMargin"
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
])
|
|
209
|
+
};
|
|
210
|
+
return metadata;
|
|
211
|
+
}
|
|
212
|
+
return __bulkInstallApp;
|
|
213
|
+
}
|
|
149
214
|
function uninstallApp(payload) {
|
|
150
215
|
function __uninstallApp({ host }) {
|
|
151
216
|
const metadata = {
|
|
@@ -153,6 +218,9 @@ function uninstallApp(payload) {
|
|
|
153
218
|
method: "POST",
|
|
154
219
|
methodFqn: "wix.devcenter.apps.installer.v1.AppsInstallerService.UninstallApp",
|
|
155
220
|
packageName: PACKAGE_NAME,
|
|
221
|
+
migrationOptions: {
|
|
222
|
+
optInTransformResponse: true
|
|
223
|
+
},
|
|
156
224
|
url: resolveWixDevcenterAppsInstallerV1AppsInstallerServiceUrl({
|
|
157
225
|
protoPath: "/v1/app-instance/uninstall",
|
|
158
226
|
data: payload,
|
|
@@ -171,6 +239,9 @@ function bulkUninstallApp(payload) {
|
|
|
171
239
|
method: "POST",
|
|
172
240
|
methodFqn: "wix.devcenter.apps.installer.v1.AppsInstallerService.BulkUninstallApp",
|
|
173
241
|
packageName: PACKAGE_NAME,
|
|
242
|
+
migrationOptions: {
|
|
243
|
+
optInTransformResponse: true
|
|
244
|
+
},
|
|
174
245
|
url: resolveWixDevcenterAppsInstallerV1AppsInstallerServiceUrl({
|
|
175
246
|
protoPath: "/v1/bulk/app-instance/uninstall",
|
|
176
247
|
data: payload,
|
|
@@ -209,6 +280,9 @@ function installAppFromShareUrl(payload) {
|
|
|
209
280
|
method: "POST",
|
|
210
281
|
methodFqn: "wix.devcenter.apps.installer.v1.AppsInstallerService.InstallAppFromShareUrl",
|
|
211
282
|
packageName: PACKAGE_NAME,
|
|
283
|
+
migrationOptions: {
|
|
284
|
+
optInTransformResponse: true
|
|
285
|
+
},
|
|
212
286
|
url: resolveWixDevcenterAppsInstallerV1AppsInstallerServiceUrl({
|
|
213
287
|
protoPath: "/v1/app-share-url/install",
|
|
214
288
|
data: payload,
|
|
@@ -247,6 +321,9 @@ function isPermittedToInstallApps(payload) {
|
|
|
247
321
|
method: "POST",
|
|
248
322
|
methodFqn: "wix.devcenter.apps.installer.v1.AppsInstallerService.IsPermittedToInstallApps",
|
|
249
323
|
packageName: PACKAGE_NAME,
|
|
324
|
+
migrationOptions: {
|
|
325
|
+
optInTransformResponse: true
|
|
326
|
+
},
|
|
250
327
|
url: resolveWixDevcenterAppsInstallerV1AppsInstallerServiceUrl({
|
|
251
328
|
protoPath: "/v1/app-instance/is-permitted-to-install",
|
|
252
329
|
data: serializedData,
|
|
@@ -265,6 +342,9 @@ function getInstalledApps(payload) {
|
|
|
265
342
|
method: "GET",
|
|
266
343
|
methodFqn: "wix.devcenter.apps.installer.v1.AppsInstallerService.GetInstalledApps",
|
|
267
344
|
packageName: PACKAGE_NAME,
|
|
345
|
+
migrationOptions: {
|
|
346
|
+
optInTransformResponse: true
|
|
347
|
+
},
|
|
268
348
|
url: resolveWixDevcenterAppsInstallerV1AppsInstallerServiceUrl({
|
|
269
349
|
protoPath: "/v1/app-instances",
|
|
270
350
|
data: payload,
|
|
@@ -297,6 +377,39 @@ function getInstalledApps(payload) {
|
|
|
297
377
|
return __getInstalledApps;
|
|
298
378
|
}
|
|
299
379
|
|
|
380
|
+
// src/apps-v1-app-instance-apps-installer.types.ts
|
|
381
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
382
|
+
Status2["UNKNOWN"] = "UNKNOWN";
|
|
383
|
+
Status2["WAITING_FOR_OAUTH"] = "WAITING_FOR_OAUTH";
|
|
384
|
+
Status2["AUTHENTICATED"] = "AUTHENTICATED";
|
|
385
|
+
Status2["DIDNT_COMPLETE_PAYMENT"] = "DIDNT_COMPLETE_PAYMENT";
|
|
386
|
+
return Status2;
|
|
387
|
+
})(Status || {});
|
|
388
|
+
var TenantType = /* @__PURE__ */ ((TenantType2) => {
|
|
389
|
+
TenantType2["SITE"] = "SITE";
|
|
390
|
+
TenantType2["ACCOUNT"] = "ACCOUNT";
|
|
391
|
+
return TenantType2;
|
|
392
|
+
})(TenantType || {});
|
|
393
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
394
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
395
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
396
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
397
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
398
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
399
|
+
return WebhookIdentityType2;
|
|
400
|
+
})(WebhookIdentityType || {});
|
|
401
|
+
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
402
|
+
RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
403
|
+
RequestedFields2["CLIENT_SPEC_MAP"] = "CLIENT_SPEC_MAP";
|
|
404
|
+
return RequestedFields2;
|
|
405
|
+
})(RequestedFields || {});
|
|
406
|
+
var InstallType = /* @__PURE__ */ ((InstallType2) => {
|
|
407
|
+
InstallType2["UNKNOWN_INSTALL_TYPE"] = "UNKNOWN_INSTALL_TYPE";
|
|
408
|
+
InstallType2["APPS_INSTALL"] = "APPS_INSTALL";
|
|
409
|
+
InstallType2["SHARE_URL_INSTALL"] = "SHARE_URL_INSTALL";
|
|
410
|
+
return InstallType2;
|
|
411
|
+
})(InstallType || {});
|
|
412
|
+
|
|
300
413
|
// src/apps-v1-app-instance-apps-installer.meta.ts
|
|
301
414
|
function installApp2() {
|
|
302
415
|
const payload = {};
|
|
@@ -316,6 +429,24 @@ function installApp2() {
|
|
|
316
429
|
__originalResponseType: null
|
|
317
430
|
};
|
|
318
431
|
}
|
|
432
|
+
function bulkInstallApp2() {
|
|
433
|
+
const payload = {};
|
|
434
|
+
const getRequestOptions = bulkInstallApp(payload);
|
|
435
|
+
const getUrl = (context) => {
|
|
436
|
+
const { url } = getRequestOptions(context);
|
|
437
|
+
return url;
|
|
438
|
+
};
|
|
439
|
+
return {
|
|
440
|
+
getUrl,
|
|
441
|
+
httpMethod: "POST",
|
|
442
|
+
path: "/v1/bulk/app-instance/install",
|
|
443
|
+
pathParams: {},
|
|
444
|
+
__requestType: null,
|
|
445
|
+
__originalRequestType: null,
|
|
446
|
+
__responseType: null,
|
|
447
|
+
__originalResponseType: null
|
|
448
|
+
};
|
|
449
|
+
}
|
|
319
450
|
function uninstallApp2() {
|
|
320
451
|
const payload = {};
|
|
321
452
|
const getRequestOptions = uninstallApp(payload);
|
|
@@ -408,6 +539,12 @@ function getInstalledApps2() {
|
|
|
408
539
|
}
|
|
409
540
|
// Annotate the CommonJS export names for ESM import in node:
|
|
410
541
|
0 && (module.exports = {
|
|
542
|
+
InstallTypeOriginal,
|
|
543
|
+
RequestedFieldsOriginal,
|
|
544
|
+
StatusOriginal,
|
|
545
|
+
TenantTypeOriginal,
|
|
546
|
+
WebhookIdentityTypeOriginal,
|
|
547
|
+
bulkInstallApp,
|
|
411
548
|
bulkUninstallApp,
|
|
412
549
|
getInstalledApps,
|
|
413
550
|
installApp,
|