@maxim_mazurok/gapi.client.firebasedynamiclinks-v1 0.0.20230425 → 0.0.20230502

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 +433 -217
  2. package/package.json +1 -1
  3. package/tests.ts +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
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://firebasedynamiclinks.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230425
12
+ // Revision: 20230502
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,306 +24,416 @@ declare namespace gapi.client {
24
24
  namespace firebasedynamiclinks {
25
25
  interface AnalyticsInfo {
26
26
  /** Google Play Campaign Measurements. */
27
- googlePlayAnalytics?: GooglePlayAnalytics;
27
+ googlePlayAnalytics?:
28
+ GooglePlayAnalytics;
28
29
  /** iTunes Connect App Analytics. */
29
- itunesConnectAnalytics?: ITunesConnectAnalytics;
30
+ itunesConnectAnalytics?:
31
+ ITunesConnectAnalytics;
30
32
  }
31
33
  interface AndroidInfo {
32
34
  /** Link to open on Android if the app is not installed. */
33
- androidFallbackLink?: string;
35
+ androidFallbackLink?:
36
+ string;
34
37
  /** If specified, this overrides the ‘link’ parameter on Android. */
35
- androidLink?: string;
38
+ androidLink?:
39
+ string;
36
40
  /** Minimum version code for the Android app. If the installed app’s version code is lower, then the user is taken to the Play Store. */
37
- androidMinPackageVersionCode?: string;
41
+ androidMinPackageVersionCode?:
42
+ string;
38
43
  /** Android package name of the app. */
39
- androidPackageName?: string;
44
+ androidPackageName?:
45
+ string;
40
46
  }
41
47
  interface CreateManagedShortLinkRequest {
42
48
  /** Information about the Dynamic Link to be shortened. [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-shortener). */
43
- dynamicLinkInfo?: DynamicLinkInfo;
49
+ dynamicLinkInfo?:
50
+ DynamicLinkInfo;
44
51
  /**
45
52
  * Full long Dynamic Link URL with desired query parameters specified. For example, "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample", [Learn
46
53
  * more](https://firebase.google.com/docs/reference/dynamic-links/link-shortener).
47
54
  */
48
- longDynamicLink?: string;
55
+ longDynamicLink?:
56
+ string;
49
57
  /**
50
58
  * Link name to associate with the link. It's used for marketer to identify manually-created links in the Firebase console (https://console.firebase.google.com/). Links must be named
51
59
  * to be tracked.
52
60
  */
53
- name?: string;
61
+ name?:
62
+ string;
54
63
  /** Google SDK version. Version takes the form "$major.$minor.$patch" */
55
- sdkVersion?: string;
64
+ sdkVersion?:
65
+ string;
56
66
  /** Short Dynamic Link suffix. Optional. */
57
- suffix?: Suffix;
67
+ suffix?:
68
+ Suffix;
58
69
  }
59
70
  interface CreateManagedShortLinkResponse {
60
71
  /** Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz */
61
- managedShortLink?: ManagedShortLink;
72
+ managedShortLink?:
73
+ ManagedShortLink;
62
74
  /** Preview link to show the link flow chart. (debug info.) */
63
- previewLink?: string;
75
+ previewLink?:
76
+ string;
64
77
  /** Information about potential warnings on link creation. */
65
- warning?: DynamicLinkWarning[];
78
+ warning?:
79
+ DynamicLinkWarning[];
66
80
  }
67
81
  interface CreateShortDynamicLinkRequest {
68
82
  /** Information about the Dynamic Link to be shortened. [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-shortener). */
69
- dynamicLinkInfo?: DynamicLinkInfo;
83
+ dynamicLinkInfo?:
84
+ DynamicLinkInfo;
70
85
  /**
71
86
  * Full long Dynamic Link URL with desired query parameters specified. For example, "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample", [Learn
72
87
  * more](https://firebase.google.com/docs/reference/dynamic-links/link-shortener).
73
88
  */
74
- longDynamicLink?: string;
89
+ longDynamicLink?:
90
+ string;
75
91
  /** Google SDK version. Version takes the form "$major.$minor.$patch" */
76
- sdkVersion?: string;
92
+ sdkVersion?:
93
+ string;
77
94
  /** Short Dynamic Link suffix. Optional. */
78
- suffix?: Suffix;
95
+ suffix?:
96
+ Suffix;
79
97
  }
80
98
  interface CreateShortDynamicLinkResponse {
81
99
  /** Preview link to show the link flow chart. (debug info.) */
82
- previewLink?: string;
100
+ previewLink?:
101
+ string;
83
102
  /** Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz */
84
- shortLink?: string;
103
+ shortLink?:
104
+ string;
85
105
  /** Information about potential warnings on link creation. */
86
- warning?: DynamicLinkWarning[];
106
+ warning?:
107
+ DynamicLinkWarning[];
87
108
  }
88
109
  interface DesktopInfo {
89
110
  /** Link to open on desktop. */
90
- desktopFallbackLink?: string;
111
+ desktopFallbackLink?:
112
+ string;
91
113
  }
92
114
  interface DeviceInfo {
93
115
  /** Device model name. */
94
- deviceModelName?: string;
116
+ deviceModelName?:
117
+ string;
95
118
  /** Device language code setting. */
96
- languageCode?: string;
119
+ languageCode?:
120
+ string;
97
121
  /** Device language code setting obtained by executing JavaScript code in WebView. */
98
- languageCodeFromWebview?: string;
122
+ languageCodeFromWebview?:
123
+ string;
99
124
  /**
100
125
  * Device language code raw setting. iOS does returns language code in different format than iOS WebView. For example WebView returns en_US, but iOS returns en-US. Field below will
101
126
  * return raw value returned by iOS.
102
127
  */
103
- languageCodeRaw?: string;
128
+ languageCodeRaw?:
129
+ string;
104
130
  /** Device display resolution height. */
105
- screenResolutionHeight?: string;
131
+ screenResolutionHeight?:
132
+ string;
106
133
  /** Device display resolution width. */
107
- screenResolutionWidth?: string;
134
+ screenResolutionWidth?:
135
+ string;
108
136
  /** Device timezone setting. */
109
- timezone?: string;
137
+ timezone?:
138
+ string;
110
139
  }
111
140
  interface DynamicLinkEventStat {
112
141
  /** The number of times this event occurred. */
113
- count?: string;
142
+ count?:
143
+ string;
114
144
  /** Link event. */
115
- event?: string;
145
+ event?:
146
+ string;
116
147
  /** Requested platform. */
117
- platform?: string;
148
+ platform?:
149
+ string;
118
150
  }
119
151
  interface DynamicLinkInfo {
120
152
  /** Parameters used for tracking. See all tracking parameters in the [documentation](https://firebase.google.com/docs/dynamic-links/create-manually). */
121
- analyticsInfo?: AnalyticsInfo;
153
+ analyticsInfo?:
154
+ AnalyticsInfo;
122
155
  /** Android related information. See Android related parameters in the [documentation](https://firebase.google.com/docs/dynamic-links/create-manually). */
123
- androidInfo?: AndroidInfo;
156
+ androidInfo?:
157
+ AndroidInfo;
124
158
  /** Desktop related information. See desktop related parameters in the [documentation](https://firebase.google.com/docs/dynamic-links/create-manually). */
125
- desktopInfo?: DesktopInfo;
159
+ desktopInfo?:
160
+ DesktopInfo;
126
161
  /**
127
162
  * E.g. https://maps.app.goo.gl, https://maps.page.link, https://g.co/maps More examples can be found in description of getNormalizedUriPrefix in
128
163
  * j/c/g/firebase/dynamiclinks/uri/DdlDomain.java Will fallback to dynamic_link_domain is this field is missing
129
164
  */
130
- domainUriPrefix?: string;
165
+ domainUriPrefix?:
166
+ string;
131
167
  /**
132
168
  * Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl [Learn more](https://firebase.google.com/docs/dynamic-links/android/receive) on how to set up Dynamic Link domain
133
169
  * associated with your Firebase project. Required if missing domain_uri_prefix.
134
170
  */
135
- dynamicLinkDomain?: string;
171
+ dynamicLinkDomain?:
172
+ string;
136
173
  /** iOS related information. See iOS related parameters in the [documentation](https://firebase.google.com/docs/dynamic-links/create-manually). */
137
- iosInfo?: IosInfo;
174
+ iosInfo?:
175
+ IosInfo;
138
176
  /**
139
177
  * The link your app will open, You can specify any URL your app can handle. This link must be a well-formatted URL, be properly URL-encoded, and use the HTTP or HTTPS scheme. See
140
178
  * 'link' parameters in the [documentation](https://firebase.google.com/docs/dynamic-links/create-manually). Required.
141
179
  */
142
- link?: string;
180
+ link?:
181
+ string;
143
182
  /** Information of navigation behavior of a Firebase Dynamic Links. */
144
- navigationInfo?: NavigationInfo;
183
+ navigationInfo?:
184
+ NavigationInfo;
145
185
  /** Parameters for social meta tag params. Used to set meta tag data for link previews on social sites. */
146
- socialMetaTagInfo?: SocialMetaTagInfo;
186
+ socialMetaTagInfo?:
187
+ SocialMetaTagInfo;
147
188
  }
148
189
  interface DynamicLinkStats {
149
190
  /** Dynamic Link event stats. */
150
- linkEventStats?: DynamicLinkEventStat[];
191
+ linkEventStats?:
192
+ DynamicLinkEventStat[];
151
193
  }
152
194
  interface DynamicLinkWarning {
153
195
  /** The warning code. */
154
- warningCode?: string;
196
+ warningCode?:
197
+ string;
155
198
  /** The document describing the warning, and helps resolve. */
156
- warningDocumentLink?: string;
199
+ warningDocumentLink?:
200
+ string;
157
201
  /** The warning message to help developers improve their requests. */
158
- warningMessage?: string;
202
+ warningMessage?:
203
+ string;
159
204
  }
160
205
  interface GetIosPostInstallAttributionRequest {
161
206
  /** App installation epoch time (https://en.wikipedia.org/wiki/Unix_time). This is a client signal for a more accurate weak match. */
162
- appInstallationTime?: string;
207
+ appInstallationTime?:
208
+ string;
163
209
  /** APP bundle ID. */
164
- bundleId?: string;
210
+ bundleId?:
211
+ string;
165
212
  /** Device information. */
166
- device?: DeviceInfo;
213
+ device?:
214
+ DeviceInfo;
167
215
  /** iOS version, ie: 9.3.5. Consider adding "build". */
168
- iosVersion?: string;
216
+ iosVersion?:
217
+ string;
169
218
  /** App post install attribution retrieval information. Disambiguates mechanism (iSDK or developer invoked) to retrieve payload from clicked link. */
170
- retrievalMethod?: string;
219
+ retrievalMethod?:
220
+ string;
171
221
  /** Google SDK version. Version takes the form "$major.$minor.$patch" */
172
- sdkVersion?: string;
222
+ sdkVersion?:
223
+ string;
173
224
  /**
174
225
  * Possible unique matched link that server need to check before performing fingerprint match. If passed link is short server need to expand the link. If link is long server need to
175
226
  * vslidate the link.
176
227
  */
177
- uniqueMatchLinkToCheck?: string;
228
+ uniqueMatchLinkToCheck?:
229
+ string;
178
230
  /** Strong match page information. Disambiguates between default UI and custom page to present when strong match succeeds/fails to find cookie. */
179
- visualStyle?: string;
231
+ visualStyle?:
232
+ string;
180
233
  }
181
234
  interface GetIosPostInstallAttributionResponse {
182
235
  /** The minimum version for app, specified by dev through ?imv= parameter. Return to iSDK to allow app to evaluate if current version meets this. */
183
- appMinimumVersion?: string;
236
+ appMinimumVersion?:
237
+ string;
184
238
  /** The confidence of the returned attribution. */
185
- attributionConfidence?: string;
239
+ attributionConfidence?:
240
+ string;
186
241
  /** The deep-link attributed post-install via one of several techniques (fingerprint, copy unique). */
187
- deepLink?: string;
242
+ deepLink?:
243
+ string;
188
244
  /**
189
245
  * User-agent specific custom-scheme URIs for iSDK to open. This will be set according to the user-agent tha the click was originally made in. There is no Safari-equivalent
190
246
  * custom-scheme open URLs. ie: googlechrome://www.example.com ie: firefox://open-url?url=http://www.example.com ie: opera-http://example.com
191
247
  */
192
- externalBrowserDestinationLink?: string;
248
+ externalBrowserDestinationLink?:
249
+ string;
193
250
  /**
194
251
  * The link to navigate to update the app if min version is not met. This is either (in order): 1) fallback link (from ?ifl= parameter, if specified by developer) or 2) AppStore URL
195
252
  * (from ?isi= parameter, if specified), or 3) the payload link (from required link= parameter).
196
253
  */
197
- fallbackLink?: string;
254
+ fallbackLink?:
255
+ string;
198
256
  /** Invitation ID attributed post-install via one of several techniques (fingerprint, copy unique). */
199
- invitationId?: string;
257
+ invitationId?:
258
+ string;
200
259
  /** Instruction for iSDK to attemmpt to perform strong match. For instance, if browser does not support/allow cookie or outside of support browsers, this will be false. */
201
- isStrongMatchExecutable?: boolean;
260
+ isStrongMatchExecutable?:
261
+ boolean;
202
262
  /** Describes why match failed, ie: "discarded due to low confidence". This message will be publicly visible. */
203
- matchMessage?: string;
263
+ matchMessage?:
264
+ string;
204
265
  /** Entire FDL (short or long) attributed post-install via one of several techniques (fingerprint, copy unique). */
205
- requestedLink?: string;
266
+ requestedLink?:
267
+ string;
206
268
  /** Which IP version the request was made from. */
207
- requestIpVersion?: string;
269
+ requestIpVersion?:
270
+ string;
208
271
  /**
209
272
  * The entire FDL, expanded from a short link. It is the same as the requested_link, if it is long. Parameters from this should not be used directly (ie: server can default
210
273
  * utm_[campaign|medium|source] to a value when requested_link lack them, server determine the best fallback_link when requested_link specifies >1 fallback links).
211
274
  */
212
- resolvedLink?: string;
275
+ resolvedLink?:
276
+ string;
213
277
  /** Scion campaign value to be propagated by iSDK to Scion at post-install. */
214
- utmCampaign?: string;
278
+ utmCampaign?:
279
+ string;
215
280
  /** Scion content value to be propagated by iSDK to Scion at app-reopen. */
216
- utmContent?: string;
281
+ utmContent?:
282
+ string;
217
283
  /** Scion medium value to be propagated by iSDK to Scion at post-install. */
218
- utmMedium?: string;
284
+ utmMedium?:
285
+ string;
219
286
  /** Scion source value to be propagated by iSDK to Scion at post-install. */
220
- utmSource?: string;
287
+ utmSource?:
288
+ string;
221
289
  /** Scion term value to be propagated by iSDK to Scion at app-reopen. */
222
- utmTerm?: string;
290
+ utmTerm?:
291
+ string;
223
292
  }
224
293
  interface GetIosReopenAttributionRequest {
225
294
  /** APP bundle ID. */
226
- bundleId?: string;
295
+ bundleId?:
296
+ string;
227
297
  /**
228
298
  * FDL link to be verified from an app universal link open. The FDL link can be one of: 1) short FDL. e.g. .page.link/, or 2) long FDL. e.g. .page.link/?{query params}, or 3) Invite
229
299
  * FDL. e.g. .page.link/i/
230
300
  */
231
- requestedLink?: string;
301
+ requestedLink?:
302
+ string;
232
303
  /** Google SDK version. Version takes the form "$major.$minor.$patch" */
233
- sdkVersion?: string;
304
+ sdkVersion?:
305
+ string;
234
306
  }
235
307
  interface GetIosReopenAttributionResponse {
236
308
  /** The deep-link attributed the app universal link open. For both regular FDL links and invite FDL links. */
237
- deepLink?: string;
309
+ deepLink?:
310
+ string;
238
311
  /** Optional invitation ID, for only invite typed requested FDL links. */
239
- invitationId?: string;
312
+ invitationId?:
313
+ string;
240
314
  /** FDL input value of the "&imv=" parameter, minimum app version to be returned to Google Firebase SDK running on iOS-9. */
241
- iosMinAppVersion?: string;
315
+ iosMinAppVersion?:
316
+ string;
242
317
  /** The entire FDL, expanded from a short link. It is the same as the requested_link, if it is long. */
243
- resolvedLink?: string;
318
+ resolvedLink?:
319
+ string;
244
320
  /** Scion campaign value to be propagated by iSDK to Scion at app-reopen. */
245
- utmCampaign?: string;
321
+ utmCampaign?:
322
+ string;
246
323
  /** Scion content value to be propagated by iSDK to Scion at app-reopen. */
247
- utmContent?: string;
324
+ utmContent?:
325
+ string;
248
326
  /** Scion medium value to be propagated by iSDK to Scion at app-reopen. */
249
- utmMedium?: string;
327
+ utmMedium?:
328
+ string;
250
329
  /** Scion source value to be propagated by iSDK to Scion at app-reopen. */
251
- utmSource?: string;
330
+ utmSource?:
331
+ string;
252
332
  /** Scion term value to be propagated by iSDK to Scion at app-reopen. */
253
- utmTerm?: string;
333
+ utmTerm?:
334
+ string;
254
335
  }
255
336
  interface GooglePlayAnalytics {
256
337
  /** Deprecated; FDL SDK does not process nor log it. */
257
- gclid?: string;
338
+ gclid?:
339
+ string;
258
340
  /** Campaign name; used for keyword analysis to identify a specific product promotion or strategic campaign. */
259
- utmCampaign?: string;
341
+ utmCampaign?:
342
+ string;
260
343
  /** Campaign content; used for A/B testing and content-targeted ads to differentiate ads or links that point to the same URL. */
261
- utmContent?: string;
344
+ utmContent?:
345
+ string;
262
346
  /** Campaign medium; used to identify a medium such as email or cost-per-click. */
263
- utmMedium?: string;
347
+ utmMedium?:
348
+ string;
264
349
  /** Campaign source; used to identify a search engine, newsletter, or other source. */
265
- utmSource?: string;
350
+ utmSource?:
351
+ string;
266
352
  /** Campaign term; used with paid search to supply the keywords for ads. */
267
- utmTerm?: string;
353
+ utmTerm?:
354
+ string;
268
355
  }
269
356
  interface IosInfo {
270
357
  /** iOS App Store ID. */
271
- iosAppStoreId?: string;
358
+ iosAppStoreId?:
359
+ string;
272
360
  /** iOS bundle ID of the app. */
273
- iosBundleId?: string;
361
+ iosBundleId?:
362
+ string;
274
363
  /** Custom (destination) scheme to use for iOS. By default, we’ll use the bundle ID as the custom scheme. Developer can override this behavior using this param. */
275
- iosCustomScheme?: string;
364
+ iosCustomScheme?:
365
+ string;
276
366
  /** Link to open on iOS if the app is not installed. */
277
- iosFallbackLink?: string;
367
+ iosFallbackLink?:
368
+ string;
278
369
  /** iPad bundle ID of the app. */
279
- iosIpadBundleId?: string;
370
+ iosIpadBundleId?:
371
+ string;
280
372
  /** If specified, this overrides the ios_fallback_link value on iPads. */
281
- iosIpadFallbackLink?: string;
373
+ iosIpadFallbackLink?:
374
+ string;
282
375
  /** iOS minimum version. */
283
- iosMinimumVersion?: string;
376
+ iosMinimumVersion?:
377
+ string;
284
378
  }
285
379
  // tslint:disable-next-line:interface-name
286
380
  interface ITunesConnectAnalytics {
287
381
  /** Affiliate token used to create affiliate-coded links. */
288
- at?: string;
382
+ at?:
383
+ string;
289
384
  /** Campaign text that developers can optionally add to any link in order to track sales from a specific marketing campaign. */
290
- ct?: string;
385
+ ct?:
386
+ string;
291
387
  /** iTune media types, including music, podcasts, audiobooks and so on. */
292
- mt?: string;
388
+ mt?:
389
+ string;
293
390
  /** Provider token that enables analytics for Dynamic Links from within iTunes Connect. */
294
- pt?: string;
391
+ pt?:
392
+ string;
295
393
  }
296
394
  interface ManagedShortLink {
297
395
  /** Creation timestamp of the short link. */
298
- creationTime?: string;
396
+ creationTime?:
397
+ string;
299
398
  /** Attributes that have been flagged about this short url. */
300
- flaggedAttribute?: string[];
399
+ flaggedAttribute?:
400
+ string[];
301
401
  /** Full Dyamic Link info */
302
- info?: DynamicLinkInfo;
402
+ info?:
403
+ DynamicLinkInfo;
303
404
  /** Short durable link url, for example, "https://sample.app.goo.gl/xyz123". Required. */
304
- link?: string;
405
+ link?:
406
+ string;
305
407
  /** Link name defined by the creator. Required. */
306
- linkName?: string;
408
+ linkName?:
409
+ string;
307
410
  /** Visibility status of link. */
308
- visibility?: string;
411
+ visibility?:
412
+ string;
309
413
  }
310
414
  interface NavigationInfo {
311
415
  /** If this option is on, FDL click will be forced to redirect rather than show an interstitial page. */
312
- enableForcedRedirect?: boolean;
416
+ enableForcedRedirect?:
417
+ boolean;
313
418
  }
314
419
  interface SocialMetaTagInfo {
315
420
  /** A short description of the link. Optional. */
316
- socialDescription?: string;
421
+ socialDescription?:
422
+ string;
317
423
  /** An image url string. Optional. */
318
- socialImageLink?: string;
424
+ socialImageLink?:
425
+ string;
319
426
  /** Title to be displayed. Optional. */
320
- socialTitle?: string;
427
+ socialTitle?:
428
+ string;
321
429
  }
322
430
  interface Suffix {
323
431
  /** Only applies to Option.CUSTOM. */
324
- customSuffix?: string;
432
+ customSuffix?:
433
+ string;
325
434
  /** Suffix option. */
326
- option?: string;
435
+ option?:
436
+ string;
327
437
  }
328
438
  interface ManagedShortLinksResource {
329
439
  /**
@@ -334,53 +444,76 @@ declare namespace gapi.client {
334
444
  */
335
445
  create(request: {
336
446
  /** V1 error format. */
337
- "$.xgafv"?: string;
447
+ "$.xgafv"?:
448
+ string;
338
449
  /** OAuth access token. */
339
- access_token?: string;
450
+ access_token?:
451
+ string;
340
452
  /** Data format for response. */
341
- alt?: string;
453
+ alt?:
454
+ string;
342
455
  /** JSONP */
343
- callback?: string;
456
+ callback?:
457
+ string;
344
458
  /** Selector specifying which fields to include in a partial response. */
345
- fields?: string;
459
+ fields?:
460
+ string;
346
461
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
347
- key?: string;
462
+ key?:
463
+ string;
348
464
  /** OAuth 2.0 token for the current user. */
349
- oauth_token?: string;
465
+ oauth_token?:
466
+ string;
350
467
  /** Returns response with indentations and line breaks. */
351
- prettyPrint?: boolean;
468
+ prettyPrint?:
469
+ boolean;
352
470
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
353
- quotaUser?: string;
471
+ quotaUser?:
472
+ string;
354
473
  /** Upload protocol for media (e.g. "raw", "multipart"). */
355
- upload_protocol?: string;
474
+ upload_protocol?:
475
+ string;
356
476
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
357
- uploadType?: string;
477
+ uploadType?:
478
+ string;
358
479
  /** Request body */
359
- resource: CreateManagedShortLinkRequest;
480
+ resource:
481
+ CreateManagedShortLinkRequest;
360
482
  }): Request<CreateManagedShortLinkResponse>;
361
483
  create(request: {
362
484
  /** V1 error format. */
363
- "$.xgafv"?: string;
485
+ "$.xgafv"?:
486
+ string;
364
487
  /** OAuth access token. */
365
- access_token?: string;
488
+ access_token?:
489
+ string;
366
490
  /** Data format for response. */
367
- alt?: string;
491
+ alt?:
492
+ string;
368
493
  /** JSONP */
369
- callback?: string;
494
+ callback?:
495
+ string;
370
496
  /** Selector specifying which fields to include in a partial response. */
371
- fields?: string;
497
+ fields?:
498
+ string;
372
499
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
373
- key?: string;
500
+ key?:
501
+ string;
374
502
  /** OAuth 2.0 token for the current user. */
375
- oauth_token?: string;
503
+ oauth_token?:
504
+ string;
376
505
  /** Returns response with indentations and line breaks. */
377
- prettyPrint?: boolean;
506
+ prettyPrint?:
507
+ boolean;
378
508
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
379
- quotaUser?: string;
509
+ quotaUser?:
510
+ string;
380
511
  /** Upload protocol for media (e.g. "raw", "multipart"). */
381
- upload_protocol?: string;
512
+ upload_protocol?:
513
+ string;
382
514
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
383
- uploadType?: string;
515
+ uploadType?:
516
+ string;
384
517
  },
385
518
  body: CreateManagedShortLinkRequest): Request<CreateManagedShortLinkResponse>;
386
519
  }
@@ -392,53 +525,76 @@ declare namespace gapi.client {
392
525
  */
393
526
  create(request: {
394
527
  /** V1 error format. */
395
- "$.xgafv"?: string;
528
+ "$.xgafv"?:
529
+ string;
396
530
  /** OAuth access token. */
397
- access_token?: string;
531
+ access_token?:
532
+ string;
398
533
  /** Data format for response. */
399
- alt?: string;
534
+ alt?:
535
+ string;
400
536
  /** JSONP */
401
- callback?: string;
537
+ callback?:
538
+ string;
402
539
  /** Selector specifying which fields to include in a partial response. */
403
- fields?: string;
540
+ fields?:
541
+ string;
404
542
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
405
- key?: string;
543
+ key?:
544
+ string;
406
545
  /** OAuth 2.0 token for the current user. */
407
- oauth_token?: string;
546
+ oauth_token?:
547
+ string;
408
548
  /** Returns response with indentations and line breaks. */
409
- prettyPrint?: boolean;
549
+ prettyPrint?:
550
+ boolean;
410
551
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
411
- quotaUser?: string;
552
+ quotaUser?:
553
+ string;
412
554
  /** Upload protocol for media (e.g. "raw", "multipart"). */
413
- upload_protocol?: string;
555
+ upload_protocol?:
556
+ string;
414
557
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
415
- uploadType?: string;
558
+ uploadType?:
559
+ string;
416
560
  /** Request body */
417
- resource: CreateShortDynamicLinkRequest;
561
+ resource:
562
+ CreateShortDynamicLinkRequest;
418
563
  }): Request<CreateShortDynamicLinkResponse>;
419
564
  create(request: {
420
565
  /** V1 error format. */
421
- "$.xgafv"?: string;
566
+ "$.xgafv"?:
567
+ string;
422
568
  /** OAuth access token. */
423
- access_token?: string;
569
+ access_token?:
570
+ string;
424
571
  /** Data format for response. */
425
- alt?: string;
572
+ alt?:
573
+ string;
426
574
  /** JSONP */
427
- callback?: string;
575
+ callback?:
576
+ string;
428
577
  /** Selector specifying which fields to include in a partial response. */
429
- fields?: string;
578
+ fields?:
579
+ string;
430
580
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
431
- key?: string;
581
+ key?:
582
+ string;
432
583
  /** OAuth 2.0 token for the current user. */
433
- oauth_token?: string;
584
+ oauth_token?:
585
+ string;
434
586
  /** Returns response with indentations and line breaks. */
435
- prettyPrint?: boolean;
587
+ prettyPrint?:
588
+ boolean;
436
589
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
437
- quotaUser?: string;
590
+ quotaUser?:
591
+ string;
438
592
  /** Upload protocol for media (e.g. "raw", "multipart"). */
439
- upload_protocol?: string;
593
+ upload_protocol?:
594
+ string;
440
595
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
441
- uploadType?: string;
596
+ uploadType?:
597
+ string;
442
598
  },
443
599
  body: CreateShortDynamicLinkRequest): Request<CreateShortDynamicLinkResponse>;
444
600
  }
@@ -446,136 +602,196 @@ declare namespace gapi.client {
446
602
  /** 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. */
447
603
  getLinkStats(request?: {
448
604
  /** V1 error format. */
449
- "$.xgafv"?: string;
605
+ "$.xgafv"?:
606
+ string;
450
607
  /** OAuth access token. */
451
- access_token?: string;
608
+ access_token?:
609
+ string;
452
610
  /** Data format for response. */
453
- alt?: string;
611
+ alt?:
612
+ string;
454
613
  /** JSONP */
455
- callback?: string;
614
+ callback?:
615
+ string;
456
616
  /** The span of time requested in days. */
457
- durationDays?: string;
617
+ durationDays?:
618
+ string;
458
619
  /** Dynamic Link URL. e.g. https://abcd.app.goo.gl/wxyz */
459
- dynamicLink: string;
620
+ dynamicLink:
621
+ string;
460
622
  /** Selector specifying which fields to include in a partial response. */
461
- fields?: string;
623
+ fields?:
624
+ string;
462
625
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
463
- key?: string;
626
+ key?:
627
+ string;
464
628
  /** OAuth 2.0 token for the current user. */
465
- oauth_token?: string;
629
+ oauth_token?:
630
+ string;
466
631
  /** Returns response with indentations and line breaks. */
467
- prettyPrint?: boolean;
632
+ prettyPrint?:
633
+ boolean;
468
634
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
469
- quotaUser?: string;
635
+ quotaUser?:
636
+ string;
470
637
  /** Google SDK version. Version takes the form "$major.$minor.$patch" */
471
- sdkVersion?: string;
638
+ sdkVersion?:
639
+ string;
472
640
  /** Upload protocol for media (e.g. "raw", "multipart"). */
473
- upload_protocol?: string;
641
+ upload_protocol?:
642
+ string;
474
643
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
475
- uploadType?: string;
644
+ uploadType?:
645
+ string;
476
646
  }): Request<DynamicLinkStats>;
477
647
  /** Get iOS strong/weak-match info for post-install attribution. */
478
648
  installAttribution(request: {
479
649
  /** V1 error format. */
480
- "$.xgafv"?: string;
650
+ "$.xgafv"?:
651
+ string;
481
652
  /** OAuth access token. */
482
- access_token?: string;
653
+ access_token?:
654
+ string;
483
655
  /** Data format for response. */
484
- alt?: string;
656
+ alt?:
657
+ string;
485
658
  /** JSONP */
486
- callback?: string;
659
+ callback?:
660
+ string;
487
661
  /** Selector specifying which fields to include in a partial response. */
488
- fields?: string;
662
+ fields?:
663
+ string;
489
664
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
490
- key?: string;
665
+ key?:
666
+ string;
491
667
  /** OAuth 2.0 token for the current user. */
492
- oauth_token?: string;
668
+ oauth_token?:
669
+ string;
493
670
  /** Returns response with indentations and line breaks. */
494
- prettyPrint?: boolean;
671
+ prettyPrint?:
672
+ boolean;
495
673
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
496
- quotaUser?: string;
674
+ quotaUser?:
675
+ string;
497
676
  /** Upload protocol for media (e.g. "raw", "multipart"). */
498
- upload_protocol?: string;
677
+ upload_protocol?:
678
+ string;
499
679
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
500
- uploadType?: string;
680
+ uploadType?:
681
+ string;
501
682
  /** Request body */
502
- resource: GetIosPostInstallAttributionRequest;
683
+ resource:
684
+ GetIosPostInstallAttributionRequest;
503
685
  }): Request<GetIosPostInstallAttributionResponse>;
504
686
  installAttribution(request: {
505
687
  /** V1 error format. */
506
- "$.xgafv"?: string;
688
+ "$.xgafv"?:
689
+ string;
507
690
  /** OAuth access token. */
508
- access_token?: string;
691
+ access_token?:
692
+ string;
509
693
  /** Data format for response. */
510
- alt?: string;
694
+ alt?:
695
+ string;
511
696
  /** JSONP */
512
- callback?: string;
697
+ callback?:
698
+ string;
513
699
  /** Selector specifying which fields to include in a partial response. */
514
- fields?: string;
700
+ fields?:
701
+ string;
515
702
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
516
- key?: string;
703
+ key?:
704
+ string;
517
705
  /** OAuth 2.0 token for the current user. */
518
- oauth_token?: string;
706
+ oauth_token?:
707
+ string;
519
708
  /** Returns response with indentations and line breaks. */
520
- prettyPrint?: boolean;
709
+ prettyPrint?:
710
+ boolean;
521
711
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
522
- quotaUser?: string;
712
+ quotaUser?:
713
+ string;
523
714
  /** Upload protocol for media (e.g. "raw", "multipart"). */
524
- upload_protocol?: string;
715
+ upload_protocol?:
716
+ string;
525
717
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
526
- uploadType?: string;
718
+ uploadType?:
719
+ string;
527
720
  },
528
721
  body: GetIosPostInstallAttributionRequest): Request<GetIosPostInstallAttributionResponse>;
529
722
  /** Get iOS reopen attribution for app universal link open deeplinking. */
530
723
  reopenAttribution(request: {
531
724
  /** V1 error format. */
532
- "$.xgafv"?: string;
725
+ "$.xgafv"?:
726
+ string;
533
727
  /** OAuth access token. */
534
- access_token?: string;
728
+ access_token?:
729
+ string;
535
730
  /** Data format for response. */
536
- alt?: string;
731
+ alt?:
732
+ string;
537
733
  /** JSONP */
538
- callback?: string;
734
+ callback?:
735
+ string;
539
736
  /** Selector specifying which fields to include in a partial response. */
540
- fields?: string;
737
+ fields?:
738
+ string;
541
739
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
542
- key?: string;
740
+ key?:
741
+ string;
543
742
  /** OAuth 2.0 token for the current user. */
544
- oauth_token?: string;
743
+ oauth_token?:
744
+ string;
545
745
  /** Returns response with indentations and line breaks. */
546
- prettyPrint?: boolean;
746
+ prettyPrint?:
747
+ boolean;
547
748
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
548
- quotaUser?: string;
749
+ quotaUser?:
750
+ string;
549
751
  /** Upload protocol for media (e.g. "raw", "multipart"). */
550
- upload_protocol?: string;
752
+ upload_protocol?:
753
+ string;
551
754
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
552
- uploadType?: string;
755
+ uploadType?:
756
+ string;
553
757
  /** Request body */
554
- resource: GetIosReopenAttributionRequest;
758
+ resource:
759
+ GetIosReopenAttributionRequest;
555
760
  }): Request<GetIosReopenAttributionResponse>;
556
761
  reopenAttribution(request: {
557
762
  /** V1 error format. */
558
- "$.xgafv"?: string;
763
+ "$.xgafv"?:
764
+ string;
559
765
  /** OAuth access token. */
560
- access_token?: string;
766
+ access_token?:
767
+ string;
561
768
  /** Data format for response. */
562
- alt?: string;
769
+ alt?:
770
+ string;
563
771
  /** JSONP */
564
- callback?: string;
772
+ callback?:
773
+ string;
565
774
  /** Selector specifying which fields to include in a partial response. */
566
- fields?: string;
775
+ fields?:
776
+ string;
567
777
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
568
- key?: string;
778
+ key?:
779
+ string;
569
780
  /** OAuth 2.0 token for the current user. */
570
- oauth_token?: string;
781
+ oauth_token?:
782
+ string;
571
783
  /** Returns response with indentations and line breaks. */
572
- prettyPrint?: boolean;
784
+ prettyPrint?:
785
+ boolean;
573
786
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
574
- quotaUser?: string;
787
+ quotaUser?:
788
+ string;
575
789
  /** Upload protocol for media (e.g. "raw", "multipart"). */
576
- upload_protocol?: string;
790
+ upload_protocol?:
791
+ string;
577
792
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
578
- uploadType?: string;
793
+ uploadType?:
794
+ string;
579
795
  },
580
796
  body: GetIosReopenAttributionRequest): Request<GetIosReopenAttributionResponse>;
581
797
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.firebasedynamiclinks-v1",
3
- "version": "0.0.20230425",
3
+ "version": "0.0.20230502",
4
4
  "description": "TypeScript typings for Firebase Dynamic Links API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230425
6
+ // Revision: 20230502
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */