@maxim_mazurok/gapi.client.firebase-v1beta1 0.0.20250122 → 0.0.20250127

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 (3) hide show
  1. package/index.d.ts +21 -21
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://firebase.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20250122
12
+ // Revision: 20250127
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Firebase Management API v1beta1 */
18
18
  function load(
19
- urlOrObject: 'https://firebase.googleapis.com/$discovery/rest?version=v1beta1'
19
+ urlOrObject: 'https://firebase.googleapis.com/$discovery/rest?version=v1beta1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'firebase', version: 'v1beta1'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'firebase',
26
26
  version: 'v1beta1',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace firebase {
@@ -506,7 +506,7 @@ declare namespace gapi.client {
506
506
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
507
507
  uploadType?: string;
508
508
  },
509
- body: ShaCertificate
509
+ body: ShaCertificate,
510
510
  ): Request<ShaCertificate>;
511
511
  /** Removes a ShaCertificate from the specified AndroidApp. */
512
512
  delete(request?: {
@@ -620,7 +620,7 @@ declare namespace gapi.client {
620
620
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
621
621
  uploadType?: string;
622
622
  },
623
- body: AndroidApp
623
+ body: AndroidApp,
624
624
  ): Request<Operation>;
625
625
  /** Gets the specified AndroidApp. */
626
626
  get(request?: {
@@ -769,7 +769,7 @@ declare namespace gapi.client {
769
769
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
770
770
  uploadType?: string;
771
771
  },
772
- body: AndroidApp
772
+ body: AndroidApp,
773
773
  ): Request<AndroidApp>;
774
774
  /** Removes the specified AndroidApp from the FirebaseProject. */
775
775
  remove(request: {
@@ -827,7 +827,7 @@ declare namespace gapi.client {
827
827
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
828
828
  uploadType?: string;
829
829
  },
830
- body: RemoveAndroidAppRequest
830
+ body: RemoveAndroidAppRequest,
831
831
  ): Request<Operation>;
832
832
  /** Restores the specified AndroidApp to the FirebaseProject. */
833
833
  undelete(request: {
@@ -885,7 +885,7 @@ declare namespace gapi.client {
885
885
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
886
886
  uploadType?: string;
887
887
  },
888
- body: UndeleteAndroidAppRequest
888
+ body: UndeleteAndroidAppRequest,
889
889
  ): Request<Operation>;
890
890
  sha: ShaResource;
891
891
  }
@@ -979,7 +979,7 @@ declare namespace gapi.client {
979
979
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
980
980
  uploadType?: string;
981
981
  },
982
- body: FinalizeDefaultLocationRequest
982
+ body: FinalizeDefaultLocationRequest,
983
983
  ): Request<Operation>;
984
984
  }
985
985
  interface IosAppsResource {
@@ -1039,7 +1039,7 @@ declare namespace gapi.client {
1039
1039
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1040
1040
  uploadType?: string;
1041
1041
  },
1042
- body: IosApp
1042
+ body: IosApp,
1043
1043
  ): Request<Operation>;
1044
1044
  /** Gets the specified IosApp. */
1045
1045
  get(request?: {
@@ -1188,7 +1188,7 @@ declare namespace gapi.client {
1188
1188
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1189
1189
  uploadType?: string;
1190
1190
  },
1191
- body: IosApp
1191
+ body: IosApp,
1192
1192
  ): Request<IosApp>;
1193
1193
  /** Removes the specified IosApp from the FirebaseProject. */
1194
1194
  remove(request: {
@@ -1246,7 +1246,7 @@ declare namespace gapi.client {
1246
1246
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1247
1247
  uploadType?: string;
1248
1248
  },
1249
- body: RemoveIosAppRequest
1249
+ body: RemoveIosAppRequest,
1250
1250
  ): Request<Operation>;
1251
1251
  /** Restores the specified IosApp to the FirebaseProject. */
1252
1252
  undelete(request: {
@@ -1304,7 +1304,7 @@ declare namespace gapi.client {
1304
1304
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1305
1305
  uploadType?: string;
1306
1306
  },
1307
- body: UndeleteIosAppRequest
1307
+ body: UndeleteIosAppRequest,
1308
1308
  ): Request<Operation>;
1309
1309
  }
1310
1310
  interface WebAppsResource {
@@ -1364,7 +1364,7 @@ declare namespace gapi.client {
1364
1364
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1365
1365
  uploadType?: string;
1366
1366
  },
1367
- body: WebApp
1367
+ body: WebApp,
1368
1368
  ): Request<Operation>;
1369
1369
  /** Gets the specified WebApp. */
1370
1370
  get(request?: {
@@ -1513,7 +1513,7 @@ declare namespace gapi.client {
1513
1513
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1514
1514
  uploadType?: string;
1515
1515
  },
1516
- body: WebApp
1516
+ body: WebApp,
1517
1517
  ): Request<WebApp>;
1518
1518
  /** Removes the specified WebApp from the FirebaseProject. */
1519
1519
  remove(request: {
@@ -1571,7 +1571,7 @@ declare namespace gapi.client {
1571
1571
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1572
1572
  uploadType?: string;
1573
1573
  },
1574
- body: RemoveWebAppRequest
1574
+ body: RemoveWebAppRequest,
1575
1575
  ): Request<Operation>;
1576
1576
  /** Restores the specified WebApp to the FirebaseProject. */
1577
1577
  undelete(request: {
@@ -1629,7 +1629,7 @@ declare namespace gapi.client {
1629
1629
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1630
1630
  uploadType?: string;
1631
1631
  },
1632
- body: UndeleteWebAppRequest
1632
+ body: UndeleteWebAppRequest,
1633
1633
  ): Request<Operation>;
1634
1634
  }
1635
1635
  interface ProjectsResource {
@@ -1689,7 +1689,7 @@ declare namespace gapi.client {
1689
1689
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1690
1690
  uploadType?: string;
1691
1691
  },
1692
- body: AddFirebaseRequest
1692
+ body: AddFirebaseRequest,
1693
1693
  ): Request<Operation>;
1694
1694
  /** Links the specified FirebaseProject with an existing [Google Analytics account](http://www.google.com/analytics/). Using this call, you can either: - Specify an `analyticsAccountId` to provision a new Google Analytics property within the specified account and associate the new property with the `FirebaseProject`. - Specify an existing `analyticsPropertyId` to associate the property with the `FirebaseProject`. Note that when you call `AddGoogleAnalytics`: 1. The first check determines if any existing data streams in the Google Analytics property correspond to any existing Firebase Apps in the `FirebaseProject` (based on the `packageName` or `bundleId` associated with the data stream). Then, as applicable, the data streams and apps are linked. Note that this auto-linking only applies to `AndroidApps` and `IosApps`. 2. If no corresponding data streams are found for the Firebase Apps, new data streams are provisioned in the Google Analytics property for each of the Firebase Apps. Note that a new data stream is always provisioned for a Web App even if it was previously associated with a data stream in the Analytics property. Learn more about the hierarchy and structure of Google Analytics accounts in the [Analytics documentation](https://support.google.com/analytics/answer/9303323). The result of this call is an [`Operation`](../../v1beta1/operations). Poll the `Operation` to track the provisioning process by calling GetOperation until [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When `done` is `true`, the `Operation` has either succeeded or failed. If the `Operation` succeeded, its [`response`](../../v1beta1/operations#Operation.FIELDS.response) is set to an AnalyticsDetails; if the `Operation` failed, its [`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a google.rpc.Status. To call `AddGoogleAnalytics`, a project member must be an Owner for the existing `FirebaseProject` and have the [`Edit` permission](https://support.google.com/analytics/answer/2884495) for the Google Analytics account. If the `FirebaseProject` already has Google Analytics enabled, and you call `AddGoogleAnalytics` using an `analyticsPropertyId` that's different from the currently associated property, then the call will fail. Analytics may have already been enabled in the Firebase console or by specifying `timeZone` and `regionCode` in the call to [`AddFirebase`](../../v1beta1/projects/addFirebase). */
1695
1695
  addGoogleAnalytics(request: {
@@ -1747,7 +1747,7 @@ declare namespace gapi.client {
1747
1747
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1748
1748
  uploadType?: string;
1749
1749
  },
1750
- body: AddGoogleAnalyticsRequest
1750
+ body: AddGoogleAnalyticsRequest,
1751
1751
  ): Request<Operation>;
1752
1752
  /** Gets the specified FirebaseProject. */
1753
1753
  get(request?: {
@@ -1921,7 +1921,7 @@ declare namespace gapi.client {
1921
1921
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1922
1922
  uploadType?: string;
1923
1923
  },
1924
- body: FirebaseProject
1924
+ body: FirebaseProject,
1925
1925
  ): Request<FirebaseProject>;
1926
1926
  /** Unlinks the specified FirebaseProject from its Google Analytics account. This call removes the association of the specified `FirebaseProject` with its current Google Analytics property. However, this call does not delete the Google Analytics resources, such as the Google Analytics property or any data streams. These resources may be re-associated later to the `FirebaseProject` by calling [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics) and specifying the same `analyticsPropertyId`. For Android Apps and iOS Apps, this call re-links data streams with their corresponding apps. However, for Web Apps, this call provisions a *new* data stream for each Web App. To call `RemoveAnalytics`, a project member must be an Owner for the `FirebaseProject`. */
1927
1927
  removeAnalytics(request: {
@@ -1979,7 +1979,7 @@ declare namespace gapi.client {
1979
1979
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1980
1980
  uploadType?: string;
1981
1981
  },
1982
- body: RemoveAnalyticsRequest
1982
+ body: RemoveAnalyticsRequest,
1983
1983
  ): Request<{}>;
1984
1984
  /** Lists all available Apps for the specified FirebaseProject. This is a convenience method. Typically, interaction with an App should be done using the platform-specific service, but some tool use-cases require a summary of all known Apps (such as for App selector interfaces). */
1985
1985
  searchApps(request?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.firebase-v1beta1",
3
- "version": "0.0.20250122",
3
+ "version": "0.0.20250127",
4
4
  "description": "TypeScript typings for Firebase Management API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.firebase
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -71,7 +71,7 @@ gapi.auth.authorize(
71
71
  } else {
72
72
  /* handle authorization error */
73
73
  }
74
- }
74
+ },
75
75
  );
76
76
  ```
77
77