@wix/auto_sdk_app-management_apps 1.0.0 → 1.0.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.
- package/build/cjs/index.d.ts +14 -14
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +161 -77
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +122 -56
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +14 -14
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +161 -77
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +122 -56
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +14 -14
- package/build/internal/cjs/index.typings.d.ts +161 -77
- package/build/internal/cjs/meta.d.ts +122 -56
- package/build/internal/es/index.d.mts +14 -14
- package/build/internal/es/index.typings.d.mts +161 -77
- package/build/internal/es/meta.d.mts +122 -56
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -13,7 +13,9 @@ interface V1App {
|
|
|
13
13
|
*/
|
|
14
14
|
id?: string | null;
|
|
15
15
|
/**
|
|
16
|
-
* The display name
|
|
16
|
+
* The display name shown to users and in App Market after publication, separate from the namespace, slug, and code identifier.
|
|
17
|
+
* On creation and update, `<`, `>`, double quotes, and apostrophes are escaped as
|
|
18
|
+
* `<`, `>`, `"`, and `'`. Responses contain the escaped value, which can be longer than the submitted name.
|
|
17
19
|
* @maxLength 50
|
|
18
20
|
*/
|
|
19
21
|
name?: string;
|
|
@@ -23,16 +25,25 @@ interface V1App {
|
|
|
23
25
|
* @format GUID
|
|
24
26
|
*/
|
|
25
27
|
accountId?: string | null;
|
|
26
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* Secrets for authentication and webhooks. Omitted from Get App responses by default.
|
|
30
|
+
* To retrieve them, include `APP_SECRETS` in Get App's `additionalFields`.
|
|
31
|
+
* Requires authorization to access the app's secrets.
|
|
32
|
+
*/
|
|
27
33
|
appSecrets?: AppSecrets;
|
|
28
34
|
/**
|
|
29
|
-
* App namespace, combining an account or company identifier with an app-name component.
|
|
35
|
+
* App namespace, combining an account or company identifier with an app-name component.
|
|
36
|
+
* For example, `@example-company/bookings-helper`.
|
|
37
|
+
* Assign it once through Set Namespace after creating the app. Don't supply it to Create App
|
|
38
|
+
* or Update App. Set Namespace fails if the app already has a namespace.
|
|
30
39
|
* @minLength 1
|
|
31
40
|
* @maxLength 150
|
|
32
41
|
*/
|
|
33
42
|
namespace?: string | null;
|
|
34
43
|
/**
|
|
35
|
-
*
|
|
44
|
+
* An identifier for referencing the app in code, separate from its display name, namespace, and slug.
|
|
45
|
+
* Must start with a letter, underscore, or dollar sign; remaining characters can also include digits.
|
|
46
|
+
* JavaScript reserved words aren't rejected. Choose a non-reserved identifier if using this value as a JavaScript variable name.
|
|
36
47
|
* Unique for non-companion apps. Companion apps return the shared value `companionApp`; use `id` to uniquely identify an app.
|
|
37
48
|
* For example, the namespace `@app-builder/my-cool-app` can be represented by the code identifier `AppBuilderMyCoolApp`.
|
|
38
49
|
* @minLength 3
|
|
@@ -41,7 +52,12 @@ interface V1App {
|
|
|
41
52
|
codeIdentifier?: string | null;
|
|
42
53
|
/** The state of the application. */
|
|
43
54
|
status?: StatusWithLiterals;
|
|
44
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* Revision number, which increments by 1 each time the app is updated.
|
|
57
|
+
* To prevent conflicting changes, supply the current revision when calling Update App.
|
|
58
|
+
* Retrieve the latest revision through Get App before updating.
|
|
59
|
+
* Ignored when creating an app.
|
|
60
|
+
*/
|
|
45
61
|
revision?: string | null;
|
|
46
62
|
/**
|
|
47
63
|
* A human-readable, URL-friendly identifier for the app.
|
|
@@ -52,7 +68,9 @@ interface V1App {
|
|
|
52
68
|
/** URLs used by the app's OAuth flow. */
|
|
53
69
|
appUrls?: AppUrls;
|
|
54
70
|
/**
|
|
55
|
-
* Identity of the user or app that created the app, including its source template when applicable.
|
|
71
|
+
* Identity and creation channel of the user or app that created the app, including its source template when applicable.
|
|
72
|
+
* Create App derives `id` and `type` from the caller's identity, replacing any supplied values.
|
|
73
|
+
* You can supply `sourceTemplateId` during creation. Creator information can't be changed through Update App.
|
|
56
74
|
* @immutable
|
|
57
75
|
*/
|
|
58
76
|
createdBy?: CreatedBy;
|
|
@@ -68,7 +86,7 @@ interface V1App {
|
|
|
68
86
|
* @readonly
|
|
69
87
|
*/
|
|
70
88
|
updatedDate?: Date | null;
|
|
71
|
-
/**
|
|
89
|
+
/** Event-based tracking of unreleased changes, grouped by type. Updates asynchronously; see each flag for its tracking scope. */
|
|
72
90
|
unreleasedChanges?: UnreleasedChanges;
|
|
73
91
|
/** Indicates whether this app is a companion app assigned to a specific site or account. */
|
|
74
92
|
companionApp?: boolean | null;
|
|
@@ -76,6 +94,8 @@ interface V1App {
|
|
|
76
94
|
interface AppSecrets {
|
|
77
95
|
/**
|
|
78
96
|
* App authentication secret. Keep this value in a secure backend secret store.
|
|
97
|
+
* During rotation, this field contains the previous secret while both secrets exist.
|
|
98
|
+
* After the previous secret is retired, this field contains the replacement secret.
|
|
79
99
|
* @readonly
|
|
80
100
|
* @format GUID
|
|
81
101
|
*/
|
|
@@ -87,7 +107,8 @@ interface AppSecrets {
|
|
|
87
107
|
*/
|
|
88
108
|
webhookPublicKey?: string;
|
|
89
109
|
/**
|
|
90
|
-
*
|
|
110
|
+
* Replacement authentication secret used during rotation. Present while the app has two secrets.
|
|
111
|
+
* After the previous secret is retired, this value moves to `appSecret` and this field is cleared.
|
|
91
112
|
* @readonly
|
|
92
113
|
* @format GUID
|
|
93
114
|
*/
|
|
@@ -133,44 +154,66 @@ interface AppUrls {
|
|
|
133
154
|
}
|
|
134
155
|
interface CreatedBy {
|
|
135
156
|
/**
|
|
136
|
-
* ID
|
|
157
|
+
* Creator ID derived from the caller's identity; a supplied value is replaced during creation.
|
|
158
|
+
* Identifies a user for `USER`, `CODE_GEN`, and `APP_BUILDER_SELF_HOSTED`, or an app for `APP`.
|
|
137
159
|
* @format GUID
|
|
138
160
|
*/
|
|
139
161
|
id?: string;
|
|
140
|
-
/**
|
|
162
|
+
/** Creator identity or creation channel, derived from the caller's identity rather than a supplied value. */
|
|
141
163
|
type?: CreatedByTypeWithLiterals;
|
|
142
164
|
/**
|
|
143
|
-
* ID of the template
|
|
165
|
+
* ID of the source template, when applicable. Can be supplied to Create App.
|
|
144
166
|
* @format GUID
|
|
145
167
|
*/
|
|
146
168
|
sourceTemplateId?: string | null;
|
|
147
169
|
}
|
|
148
170
|
declare enum CreatedByType {
|
|
171
|
+
/** Created by a user; `id` is the user's ID. */
|
|
149
172
|
USER = "USER",
|
|
173
|
+
/** Created by an app; `id` is the app's ID. */
|
|
150
174
|
APP = "APP",
|
|
175
|
+
/** Created through code generation; `id` is the initiating user's ID. */
|
|
151
176
|
CODE_GEN = "CODE_GEN",
|
|
177
|
+
/** Created through the self-hosted app builder; `id` is the initiating user's ID. */
|
|
152
178
|
APP_BUILDER_SELF_HOSTED = "APP_BUILDER_SELF_HOSTED"
|
|
153
179
|
}
|
|
154
180
|
/** @enumType */
|
|
155
181
|
type CreatedByTypeWithLiterals = CreatedByType | 'USER' | 'APP' | 'CODE_GEN' | 'APP_BUILDER_SELF_HOSTED';
|
|
156
182
|
interface InstallationPreferences extends InstallationPreferencesOpenButtonOptionsOneOf {
|
|
157
|
-
/** Component to open when `openButtonAction` is `OPEN_COMPONENT_ID`. */
|
|
183
|
+
/** Component to open. Supply `componentId` when `openButtonAction` is `OPEN_COMPONENT_ID`. */
|
|
158
184
|
openComponentIdOptions?: OpenComponentId;
|
|
159
|
-
/**
|
|
185
|
+
/**
|
|
186
|
+
* Preferred destination after installing an app with both editor and dashboard components.
|
|
187
|
+
* A recognized dashboard page in `postInstallationComponentId` takes precedence over this preference.
|
|
188
|
+
* Otherwise, `DASHBOARD` selects the dashboard and `EDITOR` selects the editor.
|
|
189
|
+
* On sites without an editor, `EDITOR` falls back to the dashboard.
|
|
190
|
+
* `UNKNOWN_REDIRECT_TARGET` leaves the default installation navigation unchanged.
|
|
191
|
+
*/
|
|
160
192
|
overridePostInstallationRedirect?: RedirectTargetWithLiterals;
|
|
161
193
|
/**
|
|
162
|
-
* ID of the
|
|
194
|
+
* Optional ID of the app's dashboard page to open after installation.
|
|
195
|
+
* A recognized dashboard page takes precedence over `overridePostInstallationRedirect`.
|
|
196
|
+
* If omitted or not recognized as a dashboard page, navigation uses the redirect preference
|
|
197
|
+
* or the default installation flow. This field doesn't select an editor component.
|
|
163
198
|
* @format GUID
|
|
164
199
|
*/
|
|
165
200
|
postInstallationComponentId?: string | null;
|
|
166
|
-
/**
|
|
201
|
+
/**
|
|
202
|
+
* Action performed when the user selects the app's Open button after installation.
|
|
203
|
+
* For `OPEN_COMPONENT_ID`, supply `openComponentIdOptions.componentId`.
|
|
204
|
+
* `UNKNOWN_ACTION` means no explicit component-opening action is selected.
|
|
205
|
+
*/
|
|
167
206
|
openButtonAction?: OpenButtonActionWithLiterals;
|
|
168
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* Custom warning shown when a user tries to uninstall the app.
|
|
209
|
+
* Select `NO_ACTION` for no custom warning; `NONE_ACTION` represents an unspecified preference.
|
|
210
|
+
* The product and shipping values select warning text, rather than performing cleanup.
|
|
211
|
+
*/
|
|
169
212
|
uninstallAction?: UninstallActionsWithLiterals;
|
|
170
213
|
}
|
|
171
214
|
/** @oneof */
|
|
172
215
|
interface InstallationPreferencesOpenButtonOptionsOneOf {
|
|
173
|
-
/** Component to open when `openButtonAction` is `OPEN_COMPONENT_ID`. */
|
|
216
|
+
/** Component to open. Supply `componentId` when `openButtonAction` is `OPEN_COMPONENT_ID`. */
|
|
174
217
|
openComponentIdOptions?: OpenComponentId;
|
|
175
218
|
}
|
|
176
219
|
declare enum ShowConsentBehaviour {
|
|
@@ -181,14 +224,19 @@ declare enum ShowConsentBehaviour {
|
|
|
181
224
|
/** @enumType */
|
|
182
225
|
type ShowConsentBehaviourWithLiterals = ShowConsentBehaviour | 'DEFAULT_BEHAVIOUR' | 'SHOW_CONSENT' | 'SKIP_CONSENT';
|
|
183
226
|
declare enum RedirectTarget {
|
|
227
|
+
/** Use the default installation navigation. */
|
|
184
228
|
UNKNOWN_REDIRECT_TARGET = "UNKNOWN_REDIRECT_TARGET",
|
|
229
|
+
/** Prefer the site dashboard for an app with editor and dashboard components. */
|
|
185
230
|
DASHBOARD = "DASHBOARD",
|
|
231
|
+
/** Prefer the editor; use the dashboard on sites without an editor. */
|
|
186
232
|
EDITOR = "EDITOR"
|
|
187
233
|
}
|
|
188
234
|
/** @enumType */
|
|
189
235
|
type RedirectTargetWithLiterals = RedirectTarget | 'UNKNOWN_REDIRECT_TARGET' | 'DASHBOARD' | 'EDITOR';
|
|
190
236
|
declare enum OpenButtonAction {
|
|
237
|
+
/** No explicit component-opening action is selected. */
|
|
191
238
|
UNKNOWN_ACTION = "UNKNOWN_ACTION",
|
|
239
|
+
/** Open the component specified by `openComponentIdOptions.componentId`. */
|
|
192
240
|
OPEN_COMPONENT_ID = "OPEN_COMPONENT_ID"
|
|
193
241
|
}
|
|
194
242
|
/** @enumType */
|
|
@@ -205,23 +253,41 @@ interface OpenComponentId {
|
|
|
205
253
|
componentId?: string;
|
|
206
254
|
}
|
|
207
255
|
declare enum UninstallActions {
|
|
256
|
+
/** Unspecified warning preference. Use `NO_ACTION` to explicitly select no custom warning. */
|
|
208
257
|
NONE_ACTION = "NONE_ACTION",
|
|
258
|
+
/** Show the standard uninstall message without a custom warning. Default when no preference is stored. */
|
|
209
259
|
NO_ACTION = "NO_ACTION",
|
|
260
|
+
/** Warn users to remove all products associated with the app from their store. */
|
|
210
261
|
REMOVE_ALL_PRODUCT = "REMOVE_ALL_PRODUCT",
|
|
262
|
+
/** Warn users that shipping to regions served only by the app will be removed from checkout. */
|
|
211
263
|
SHIPPING_RATES_REGION = "SHIPPING_RATES_REGION"
|
|
212
264
|
}
|
|
213
265
|
/** @enumType */
|
|
214
266
|
type UninstallActionsWithLiterals = UninstallActions | 'NONE_ACTION' | 'NO_ACTION' | 'REMOVE_ALL_PRODUCT' | 'SHIPPING_RATES_REGION';
|
|
267
|
+
/**
|
|
268
|
+
* Event-based tracking of changes not yet included in a released app version.
|
|
269
|
+
* Flags update asynchronously and reset when a production app version is created or updated.
|
|
270
|
+
*/
|
|
215
271
|
interface UnreleasedChanges {
|
|
216
|
-
/**
|
|
272
|
+
/** Whether components have unreleased creation, update, or deletion changes. */
|
|
217
273
|
componentsChanges?: boolean;
|
|
218
|
-
/**
|
|
274
|
+
/** Whether app translations have unreleased creation or update changes. */
|
|
219
275
|
appTranslationsChanges?: boolean;
|
|
220
|
-
/**
|
|
276
|
+
/**
|
|
277
|
+
* Whether component translations have unreleased update changes.
|
|
278
|
+
* Component-translation creation events currently aren't reflected in this flag.
|
|
279
|
+
*/
|
|
221
280
|
componentsTranslationChanges?: boolean;
|
|
222
|
-
/**
|
|
281
|
+
/**
|
|
282
|
+
* Whether app permissions have unreleased creation or update changes.
|
|
283
|
+
* Permission-deletion events currently aren't reflected in this flag.
|
|
284
|
+
*/
|
|
223
285
|
appPermissionsChanges?: boolean;
|
|
224
|
-
/**
|
|
286
|
+
/**
|
|
287
|
+
* Whether app identity fields have unreleased changes, such as `name`, `slug`, `namespace`, and `codeIdentifier`.
|
|
288
|
+
* Doesn't track changes to `appUrls` or `installationPreferences`.
|
|
289
|
+
* Updates asynchronously after the app's update event; the update response may not yet reflect this flag.
|
|
290
|
+
*/
|
|
225
291
|
appEntityChanges?: boolean;
|
|
226
292
|
}
|
|
227
293
|
interface AppComponentMetadata {
|
|
@@ -415,7 +481,7 @@ interface AccountInfo {
|
|
|
415
481
|
}
|
|
416
482
|
interface AppOwnerChangedEvent {
|
|
417
483
|
/**
|
|
418
|
-
*
|
|
484
|
+
* App ID.
|
|
419
485
|
* @format GUID
|
|
420
486
|
*/
|
|
421
487
|
appId?: string;
|
|
@@ -431,16 +497,16 @@ interface AppOwnerChangedEvent {
|
|
|
431
497
|
previousAccountId?: string;
|
|
432
498
|
}
|
|
433
499
|
interface CreateAppRequest {
|
|
434
|
-
/** App to
|
|
500
|
+
/** App to create. */
|
|
435
501
|
app: V1App;
|
|
436
502
|
}
|
|
437
503
|
interface CreateAppResponse {
|
|
438
|
-
/**
|
|
504
|
+
/** Created app. */
|
|
439
505
|
app?: V1App;
|
|
440
506
|
}
|
|
441
507
|
interface GetAppRequest {
|
|
442
508
|
/**
|
|
443
|
-
*
|
|
509
|
+
* App ID.
|
|
444
510
|
* @format GUID
|
|
445
511
|
*/
|
|
446
512
|
appId: string;
|
|
@@ -461,31 +527,31 @@ declare enum RequestedFields {
|
|
|
461
527
|
/** @enumType */
|
|
462
528
|
type RequestedFieldsWithLiterals = RequestedFields | 'APP_SECRETS';
|
|
463
529
|
interface GetAppResponse {
|
|
464
|
-
/**
|
|
530
|
+
/** Retrieved app. */
|
|
465
531
|
app?: V1App;
|
|
466
532
|
}
|
|
467
533
|
interface UpdateAppRequest {
|
|
468
|
-
/** App to
|
|
534
|
+
/** App to update. Specify the app ID, current revision, and fields to change. */
|
|
469
535
|
app: V1App;
|
|
470
536
|
}
|
|
471
537
|
interface UpdateAppResponse {
|
|
472
|
-
/**
|
|
538
|
+
/** Updated app. */
|
|
473
539
|
app?: V1App;
|
|
474
540
|
}
|
|
475
541
|
interface GenerateSlugRequest {
|
|
476
542
|
/**
|
|
477
|
-
*
|
|
543
|
+
* App ID.
|
|
478
544
|
* @format GUID
|
|
479
545
|
*/
|
|
480
546
|
appId: string;
|
|
481
547
|
}
|
|
482
548
|
interface GenerateSlugResponse {
|
|
483
|
-
/**
|
|
549
|
+
/** App with its generated or existing slug. */
|
|
484
550
|
app?: V1App;
|
|
485
551
|
}
|
|
486
552
|
interface RenameSlugRequest {
|
|
487
553
|
/**
|
|
488
|
-
*
|
|
554
|
+
* App ID.
|
|
489
555
|
* @format GUID
|
|
490
556
|
*/
|
|
491
557
|
appId?: string;
|
|
@@ -497,12 +563,12 @@ interface RenameSlugRequest {
|
|
|
497
563
|
newSlug?: string;
|
|
498
564
|
}
|
|
499
565
|
interface RenameSlugResponse {
|
|
500
|
-
/**
|
|
566
|
+
/** App with its slug updated to the requested `newSlug`. */
|
|
501
567
|
app?: V1App;
|
|
502
568
|
}
|
|
503
569
|
interface RenameCodeIdentifierRequest {
|
|
504
570
|
/**
|
|
505
|
-
*
|
|
571
|
+
* App ID.
|
|
506
572
|
* @format GUID
|
|
507
573
|
*/
|
|
508
574
|
appId?: string;
|
|
@@ -514,12 +580,12 @@ interface RenameCodeIdentifierRequest {
|
|
|
514
580
|
newCodeIdentifier?: string;
|
|
515
581
|
}
|
|
516
582
|
interface RenameCodeIdentifierResponse {
|
|
517
|
-
/**
|
|
583
|
+
/** App with its updated code identifier. */
|
|
518
584
|
app?: V1App;
|
|
519
585
|
}
|
|
520
586
|
interface GetNamespaceSuggestionRequest {
|
|
521
587
|
/**
|
|
522
|
-
*
|
|
588
|
+
* App ID.
|
|
523
589
|
* @format GUID
|
|
524
590
|
*/
|
|
525
591
|
appId: string;
|
|
@@ -535,12 +601,12 @@ declare enum NamespaceType {
|
|
|
535
601
|
/** @enumType */
|
|
536
602
|
type NamespaceTypeWithLiterals = NamespaceType | 'ACCOUNT' | 'COMPANY';
|
|
537
603
|
interface GetNamespaceSuggestionResponse {
|
|
538
|
-
/**
|
|
604
|
+
/** Suggested namespace. */
|
|
539
605
|
namespace?: string;
|
|
540
606
|
}
|
|
541
607
|
interface GetNamespaceSuggestionByNameRequest {
|
|
542
608
|
/**
|
|
543
|
-
*
|
|
609
|
+
* App display name used to derive a namespace suggestion.
|
|
544
610
|
* @maxLength 50
|
|
545
611
|
*/
|
|
546
612
|
name: string;
|
|
@@ -549,7 +615,7 @@ interface GetNamespaceSuggestionByNameRequest {
|
|
|
549
615
|
}
|
|
550
616
|
interface GetNamespaceSuggestionByNameResponse {
|
|
551
617
|
/**
|
|
552
|
-
*
|
|
618
|
+
* Suggested namespace.
|
|
553
619
|
* @minLength 1
|
|
554
620
|
* @maxLength 150
|
|
555
621
|
*/
|
|
@@ -557,12 +623,12 @@ interface GetNamespaceSuggestionByNameResponse {
|
|
|
557
623
|
}
|
|
558
624
|
interface SetNamespaceRequest {
|
|
559
625
|
/**
|
|
560
|
-
*
|
|
626
|
+
* App ID.
|
|
561
627
|
* @format GUID
|
|
562
628
|
*/
|
|
563
629
|
appId: string;
|
|
564
630
|
/**
|
|
565
|
-
* Name used to derive the app's namespace component
|
|
631
|
+
* Name used to derive the app's namespace component.
|
|
566
632
|
* Lowercased; runs of non-alphanumeric characters (including spaces and underscores) become hyphens, with leading/trailing separators removed.
|
|
567
633
|
* For example, `Bookings Helper` and `Bookings_Helper` become `bookings-helper`. If no letters or digits remain, uses `untitled`.
|
|
568
634
|
* Subject to the reserved-name restrictions documented on Set Namespace. For permitted Wix-owned apps, `wix` is removed before normalization.
|
|
@@ -598,7 +664,7 @@ interface SuggestCodeIdentifierResponse {
|
|
|
598
664
|
}
|
|
599
665
|
interface SetCodeIdentifierRequest {
|
|
600
666
|
/**
|
|
601
|
-
*
|
|
667
|
+
* App ID.
|
|
602
668
|
* @format GUID
|
|
603
669
|
*/
|
|
604
670
|
appId?: string;
|
|
@@ -778,7 +844,7 @@ interface Cursors {
|
|
|
778
844
|
}
|
|
779
845
|
interface SetPrivateAppRequest {
|
|
780
846
|
/**
|
|
781
|
-
*
|
|
847
|
+
* App ID.
|
|
782
848
|
* @format GUID
|
|
783
849
|
*/
|
|
784
850
|
appId?: string;
|
|
@@ -788,7 +854,7 @@ interface SetPrivateAppRequest {
|
|
|
788
854
|
revision?: string;
|
|
789
855
|
}
|
|
790
856
|
interface SetPrivateAppResponse {
|
|
791
|
-
/**
|
|
857
|
+
/** App with its `privateApp` setting updated to the requested value. */
|
|
792
858
|
app?: V1App;
|
|
793
859
|
}
|
|
794
860
|
interface AppChangedEvent {
|
|
@@ -877,7 +943,7 @@ interface AppSlugChanged {
|
|
|
877
943
|
}
|
|
878
944
|
interface SetAppOwnerRequest {
|
|
879
945
|
/**
|
|
880
|
-
*
|
|
946
|
+
* App ID.
|
|
881
947
|
* @format GUID
|
|
882
948
|
*/
|
|
883
949
|
appId?: string;
|
|
@@ -890,7 +956,7 @@ interface SetAppOwnerRequest {
|
|
|
890
956
|
revision?: string;
|
|
891
957
|
}
|
|
892
958
|
interface SetAppOwnerResponse {
|
|
893
|
-
/**
|
|
959
|
+
/** App owned by the requested `accountId`. */
|
|
894
960
|
app?: V1App;
|
|
895
961
|
}
|
|
896
962
|
interface AppUrlsChangedInOldServiceEvent extends AppUrlsChangedInOldServiceEventChangedUrlOneOf {
|
|
@@ -899,7 +965,7 @@ interface AppUrlsChangedInOldServiceEvent extends AppUrlsChangedInOldServiceEven
|
|
|
899
965
|
/** redirect uris */
|
|
900
966
|
redirectUriMessage?: RedirectUrlMessage;
|
|
901
967
|
/**
|
|
902
|
-
*
|
|
968
|
+
* App ID.
|
|
903
969
|
* @format GUID
|
|
904
970
|
*/
|
|
905
971
|
appId?: string;
|
|
@@ -921,7 +987,7 @@ interface RedirectUrlMessage {
|
|
|
921
987
|
}
|
|
922
988
|
interface CreateSecondarySecretRequest {
|
|
923
989
|
/**
|
|
924
|
-
*
|
|
990
|
+
* App ID.
|
|
925
991
|
* @format GUID
|
|
926
992
|
*/
|
|
927
993
|
appId: string;
|
|
@@ -945,7 +1011,7 @@ interface ActivateSecondarySecretResponse {
|
|
|
945
1011
|
}
|
|
946
1012
|
interface RotateSecretRequest {
|
|
947
1013
|
/**
|
|
948
|
-
*
|
|
1014
|
+
* App ID.
|
|
949
1015
|
* @format GUID
|
|
950
1016
|
*/
|
|
951
1017
|
appId?: string;
|
|
@@ -956,7 +1022,7 @@ interface RotateSecretResponse {
|
|
|
956
1022
|
}
|
|
957
1023
|
interface RollbackSecretRequest {
|
|
958
1024
|
/**
|
|
959
|
-
*
|
|
1025
|
+
* App ID.
|
|
960
1026
|
* @format GUID
|
|
961
1027
|
*/
|
|
962
1028
|
appId?: string;
|
|
@@ -967,24 +1033,24 @@ interface RollbackSecretResponse {
|
|
|
967
1033
|
}
|
|
968
1034
|
interface RevokeSecretRequest {
|
|
969
1035
|
/**
|
|
970
|
-
*
|
|
1036
|
+
* App ID.
|
|
971
1037
|
* @format GUID
|
|
972
1038
|
*/
|
|
973
1039
|
appId: string;
|
|
974
|
-
/**
|
|
1040
|
+
/** Credential to revoke. The app must have both a previous and a replacement secret. */
|
|
975
1041
|
secretToRevoke: SecretToRevokeWithLiterals;
|
|
976
1042
|
}
|
|
977
|
-
/**
|
|
1043
|
+
/** Credential to revoke during app-secret rotation. */
|
|
978
1044
|
declare enum SecretToRevoke {
|
|
979
|
-
/**
|
|
1045
|
+
/** Switch signing to the replacement secret and schedule retirement of the previous secret. */
|
|
980
1046
|
PREVIOUS_SECRET = "PREVIOUS_SECRET",
|
|
981
|
-
/**
|
|
1047
|
+
/** Discard the replacement secret and restore signing with the previous secret. */
|
|
982
1048
|
NEW_SECRET = "NEW_SECRET"
|
|
983
1049
|
}
|
|
984
1050
|
/** @enumType */
|
|
985
1051
|
type SecretToRevokeWithLiterals = SecretToRevoke | 'PREVIOUS_SECRET' | 'NEW_SECRET';
|
|
986
1052
|
interface RevokeSecretResponse {
|
|
987
|
-
/** Scheduled retirement time of the previous secret.
|
|
1053
|
+
/** Scheduled retirement time of the previous secret. Returned for `PREVIOUS_SECRET` and omitted for `NEW_SECRET`. Use the latest returned timestamp. */
|
|
988
1054
|
previousSecretRevokeAt?: Date | null;
|
|
989
1055
|
}
|
|
990
1056
|
/** payload for kafka event for this version on app submit */
|