@maxim_mazurok/gapi.client.firebasedynamiclinks-v1 0.3.20261109 → 0.4.20261109
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/index.d.ts +10 -13
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -316,7 +316,7 @@ declare namespace gapi.client {
|
|
|
316
316
|
/** Creation timestamp of the short link. */
|
|
317
317
|
creationTime?: string;
|
|
318
318
|
/** Attributes that have been flagged about this short url. */
|
|
319
|
-
flaggedAttribute?: 'UNSPECIFIED_ATTRIBUTE' | 'SPAM'[];
|
|
319
|
+
flaggedAttribute?: ('UNSPECIFIED_ATTRIBUTE' | 'SPAM')[];
|
|
320
320
|
/** Full Dyamic Link info */
|
|
321
321
|
info?: DynamicLinkInfo;
|
|
322
322
|
/** Short durable link url, for example, "https://sample.app.goo.gl/xyz123". Required. */
|
|
@@ -345,7 +345,8 @@ declare namespace gapi.client {
|
|
|
345
345
|
/** Suffix option. */
|
|
346
346
|
option?: 'OPTION_UNSPECIFIED' | 'UNGUESSABLE' | 'SHORT' | 'CUSTOM';
|
|
347
347
|
}
|
|
348
|
-
|
|
348
|
+
|
|
349
|
+
const managedShortLinks: {
|
|
349
350
|
/** Creates a managed short Dynamic Link given either a valid long Dynamic Link or details such as Dynamic Link domain, Android and iOS app information. The created short Dynamic Link will not expire. This differs from CreateShortDynamicLink in the following ways: - The request will also contain a name for the link (non unique name for the front end). - The response must be authenticated with an auth token (generated with the admin service account). - The link will appear in the FDL list of links in the console front end. The Dynamic Link domain in the request must be owned by requester's Firebase project. */
|
|
350
351
|
create(request: {
|
|
351
352
|
/** V1 error format. */
|
|
@@ -400,8 +401,9 @@ declare namespace gapi.client {
|
|
|
400
401
|
},
|
|
401
402
|
body: CreateManagedShortLinkRequest,
|
|
402
403
|
): Request<CreateManagedShortLinkResponse>;
|
|
403
|
-
}
|
|
404
|
-
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
const shortLinks: {
|
|
405
407
|
/** Creates a short Dynamic Link given either a valid long Dynamic Link or details such as Dynamic Link domain, Android and iOS app information. The created short Dynamic Link will not expire. Repeated calls with the same long Dynamic Link or Dynamic Link information will produce the same short Dynamic Link. The Dynamic Link domain in the request must be owned by requester's Firebase project. */
|
|
406
408
|
create(request: {
|
|
407
409
|
/** V1 error format. */
|
|
@@ -456,8 +458,9 @@ declare namespace gapi.client {
|
|
|
456
458
|
},
|
|
457
459
|
body: CreateShortDynamicLinkRequest,
|
|
458
460
|
): Request<CreateShortDynamicLinkResponse>;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
const v1: {
|
|
461
464
|
/** Fetches analytics stats of a short Dynamic Link for a given duration. Metrics include number of clicks, redirects, installs, app first opens, and app reopens. */
|
|
462
465
|
getLinkStats(request?: {
|
|
463
466
|
/** V1 error format. */
|
|
@@ -597,12 +600,6 @@ declare namespace gapi.client {
|
|
|
597
600
|
},
|
|
598
601
|
body: GetIosReopenAttributionRequest,
|
|
599
602
|
): Request<GetIosReopenAttributionResponse>;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
const managedShortLinks: ManagedShortLinksResource;
|
|
603
|
-
|
|
604
|
-
const shortLinks: ShortLinksResource;
|
|
605
|
-
|
|
606
|
-
const v1: V1Resource;
|
|
603
|
+
};
|
|
607
604
|
}
|
|
608
605
|
}
|