Skip to content

Commit

Permalink
First step to TypeScript upgrade (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored and jmdobry committed Apr 25, 2017
1 parent 4a4cf04 commit 5e22af7
Show file tree
Hide file tree
Showing 205 changed files with 290 additions and 230 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ coverage
# Empty API
apis/iam/v1alpha1.js
.nyc_output
**/*.js
**/*.js.map
!samples/**/*.js
.vscode
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ cache:
before_install:
- npm i -g nyc codecov

before_script:
- npm run build

after_success:
- nyc report --reporter=lcov > coverage.lcov && codecov
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ the cached document in the Google AMP Cache.
* @property {string} errorCode The error code of an API call.
* @property {string} originalUrl The original non-AMP URL.
*/
module.exports = Acceleratedmobilepageurl;
export = Acceleratedmobilepageurl;
Original file line number Diff line number Diff line change
Expand Up @@ -354,4 +354,4 @@ function Adexchangebuyer(options) { // eslint-disable-line
* @property {string} kind Resource type.
* @property {string} nextPageToken Continuation token used to page through creatives. To retrieve the next page of results, set the next request's "pageToken" value to this.
*/
module.exports = Adexchangebuyer;
export = Adexchangebuyer;
Original file line number Diff line number Diff line change
Expand Up @@ -1004,4 +1004,4 @@ function Adexchangebuyer(options) { // eslint-disable-line
* @property {adexchangebuyer(v1.3).PretargetingConfig[]} items A list of pretargeting configs
* @property {string} kind Resource type.
*/
module.exports = Adexchangebuyer;
export = Adexchangebuyer;
Original file line number Diff line number Diff line change
Expand Up @@ -2085,4 +2085,4 @@ function Adexchangebuyer(options) { // eslint-disable-line
* @property {string} proposalRevisionNumber The current revision number of the proposal to be updated.
* @property {string} updateAction The proposed action on the private auction proposal.
*/
module.exports = Adexchangebuyer;
export = Adexchangebuyer;
Original file line number Diff line number Diff line change
Expand Up @@ -1139,4 +1139,4 @@ buyer.
that the invited user is associated with.
The value of this field is ignored in create operations.
*/
module.exports = Adexchangebuyer2;
export = Adexchangebuyer2;
Original file line number Diff line number Diff line change
Expand Up @@ -881,4 +881,4 @@ INACTIVE: Indicates that there has been no activity on this ad unit in the last
* @property {string} kind Kind of list this is, in this case adexchangeseller#urlChannels.
* @property {string} nextPageToken Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.
*/
module.exports = Adexchangeseller;
export = Adexchangeseller;
Original file line number Diff line number Diff line change
Expand Up @@ -589,4 +589,4 @@ INACTIVE: Indicates that there has been no activity on this ad unit in the last
* @property {string} kind Kind of list this is, in this case adexchangeseller#urlChannels.
* @property {string} nextPageToken Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.
*/
module.exports = Adexchangeseller;
export = Adexchangeseller;
Original file line number Diff line number Diff line change
Expand Up @@ -749,4 +749,4 @@ function Adexchangeseller(options) { // eslint-disable-line
* @property {string} kind Kind of list this is, in this case adexchangeseller#urlChannels.
* @property {string} nextPageToken Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.
*/
module.exports = Adexchangeseller;
export = Adexchangeseller;
Original file line number Diff line number Diff line change
Expand Up @@ -287,4 +287,4 @@ function Admin(options) { // eslint-disable-line
* @property {string} kind Identifies the resource as a collection of data transfer requests.
* @property {string} nextPageToken Continuation token which will be used to specify next page in list API.
*/
module.exports = Admin;
export = Admin;
2 changes: 1 addition & 1 deletion apis/admin/directory_v1.js → apis/admin/directory_v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4311,4 +4311,4 @@ function Admin(options) { // eslint-disable-line
* @property {admin(directory_v1).VerificationCode[]} items A list of verification code resources.
* @property {string} kind The type of the resource. This is always admin#directory#verificationCodesList.
*/
module.exports = Admin;
export = Admin;
2 changes: 1 addition & 1 deletion apis/admin/reports_v1.js → apis/admin/reports_v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,4 +316,4 @@ function Admin(options) { // eslint-disable-line
* @property {admin(reports_v1).UsageReport[]} usageReports Various application parameter records.
* @property {object[]} warnings Warnings if any.
*/
module.exports = Admin;
export = Admin;
2 changes: 1 addition & 1 deletion apis/adsense/v1.3.js → apis/adsense/v1.3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1591,4 +1591,4 @@ INACTIVE: Indicates that there has been no activity on this ad unit in the last
* @property {string} kind Kind of list this is, in this case adsense#urlChannels.
* @property {string} nextPageToken Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.
*/
module.exports = Adsense;
export = Adsense;
2 changes: 1 addition & 1 deletion apis/adsense/v1.4.js → apis/adsense/v1.4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1760,4 +1760,4 @@ INACTIVE: Indicates that there has been no activity on this ad unit in the last
* @property {string} kind Kind of list this is, in this case adsense#urlChannels.
* @property {string} nextPageToken Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.
*/
module.exports = Adsense;
export = Adsense;
2 changes: 1 addition & 1 deletion apis/adsensehost/v4.1.js → apis/adsensehost/v4.1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1177,4 +1177,4 @@ INACTIVE: Indicates that there has been no activity on this ad unit in the last
* @property {string} kind Kind of list this is, in this case adsensehost#urlChannels.
* @property {string} nextPageToken Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.
*/
module.exports = Adsensehost;
export = Adsensehost;
2 changes: 1 addition & 1 deletion apis/analytics/v2.4.js → apis/analytics/v2.4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,4 @@ function Analytics(options) { // eslint-disable-line
};
}

module.exports = Analytics;
export = Analytics;
2 changes: 1 addition & 1 deletion apis/analytics/v3.js → apis/analytics/v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4172,4 +4172,4 @@ For write (i.e., create, update, or delete) operations, you may specify a value
* @property {string} updated Time this web property was last modified.
* @property {string} websiteUrl Website url for this web property.
*/
module.exports = Analytics;
export = Analytics;
Original file line number Diff line number Diff line change
Expand Up @@ -602,4 +602,4 @@ will result in unexpected results.
* @property {analyticsreporting(v4).PivotHeaderEntry[]} pivotHeaderEntries A single pivot section header.
* @property {integer} totalPivotGroupsCount The total number of groups for this pivot.
*/
module.exports = Analyticsreporting;
export = Analyticsreporting;
Original file line number Diff line number Diff line change
Expand Up @@ -3420,4 +3420,4 @@ No attempt is made to verify that all pages are reachable from the homepage.
* @property {string} kind Identifies what kind of resource this is. Value: the fixed string "androidenterprise#usersListResponse".
* @property {androidenterprise(v1).User[]} user A user of an enterprise.
*/
module.exports = Androidenterprise;
export = Androidenterprise;
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ function Androidpublisher(options) { // eslint-disable-line
* @property {string} kind This kind represents a subscriptionPurchase object in the androidpublisher service.
* @property {string} validUntilTimestampMsec Time at which the subscription will expire, in milliseconds since the Epoch.
*/
module.exports = Androidpublisher;
export = Androidpublisher;
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ function Androidpublisher(options) { // eslint-disable-line
* @property {string} kind This kind represents a subscriptionPurchase object in the androidpublisher service.
* @property {string} validUntilTimestampMsec Time at which the subscription will expire, in milliseconds since the Epoch.
*/
module.exports = Androidpublisher;
export = Androidpublisher;
Original file line number Diff line number Diff line change
Expand Up @@ -2727,4 +2727,4 @@ function Androidpublisher(options) { // eslint-disable-line
* @property {androidpublisher(v2).TokenPagination} tokenPagination
* @property {androidpublisher(v2).VoidedPurchase[]} voidedPurchases
*/
module.exports = Androidpublisher;
export = Androidpublisher;
2 changes: 1 addition & 1 deletion apis/appengine/v1.js → apis/appengine/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1313,4 +1313,4 @@ ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for Automatic
* @property {string} method API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.@OutputOnly
* @property {string} endTime Time that this operation completed.@OutputOnly
*/
module.exports = Appengine;
export = Appengine;
2 changes: 1 addition & 1 deletion apis/appengine/v1alpha.js → apis/appengine/v1alpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,4 +303,4 @@ function Appengine(options) { // eslint-disable-line
* @property {string} name Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1"
*/
module.exports = Appengine;
export = Appengine;
2 changes: 1 addition & 1 deletion apis/appengine/v1beta.js → apis/appengine/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1802,4 +1802,4 @@ ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for Automatic
* @property {string} publicCertificate PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: <pre> -----BEGIN CERTIFICATE----- <certificate_value> -----END CERTIFICATE----- </pre>
* @property {string} privateKey Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: <pre> -----BEGIN RSA PRIVATE KEY----- <unencrypted_key_value> -----END RSA PRIVATE KEY----- </pre> @InputOnly
*/
module.exports = Appengine;
export = Appengine;
2 changes: 1 addition & 1 deletion apis/appengine/v1beta4.js → apis/appengine/v1beta4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1244,4 +1244,4 @@ ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for Automatic
* @property {integer} targetRequestCountPerSec Target requests per second.
* @property {integer} targetConcurrentRequests Target number of concurrent requests.
*/
module.exports = Appengine;
export = Appengine;
2 changes: 1 addition & 1 deletion apis/appengine/v1beta5.js → apis/appengine/v1beta5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1245,4 +1245,4 @@ ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for Automatic
* @property {appengine(v1beta5).Service[]} services The services belonging to the requested application.
* @property {string} nextPageToken Continuation token for fetching the next page of results.
*/
module.exports = Appengine;
export = Appengine;
2 changes: 1 addition & 1 deletion apis/appsactivity/v1.js → apis/appsactivity/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,4 @@ function Appsactivity(options) { // eslint-disable-line
* @property {string} permissionId The permission ID associated with this user. Equivalent to the Drive API's permission ID for this user, returned as part of the Drive Permissions resource.
* @property {appsactivity(v1).Photo} photo The profile photo of the user. Not present if the user has no profile photo.
*/
module.exports = Appsactivity;
export = Appsactivity;
2 changes: 1 addition & 1 deletion apis/appstate/v1.js → apis/appstate/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,4 @@ function Appstate(options) { // eslint-disable-line
* @property {string} kind Uniquely identifies the type of this resource. Value is always the fixed string appstate#writeResult.
* @property {integer} stateKey The written key.
*/
module.exports = Appstate;
export = Appstate;
2 changes: 1 addition & 1 deletion apis/bigquery/v2.js → apis/bigquery/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2628,4 +2628,4 @@ function Bigquery(options) { // eslint-disable-line
* @property {boolean} useLegacySql Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.
* @property {bigquery(v2).UserDefinedFunctionResource[]} userDefinedFunctionResources Describes user-defined function resources used in the query.
*/
module.exports = Bigquery;
export = Bigquery;
2 changes: 1 addition & 1 deletion apis/blogger/v2.js → apis/blogger/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,4 +501,4 @@ function Blogger(options) { // eslint-disable-line
* @property {string} selfLink The API REST URL to fetch this resource from.
* @property {string} url The user's profile page.
*/
module.exports = Blogger;
export = Blogger;
2 changes: 1 addition & 1 deletion apis/blogger/v3.js → apis/blogger/v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1517,4 +1517,4 @@ function Blogger(options) { // eslint-disable-line
* @property {string} selfLink The API REST URL to fetch this resource from.
* @property {string} url The user's profile page.
*/
module.exports = Blogger;
export = Blogger;
2 changes: 1 addition & 1 deletion apis/books/v1.js → apis/books/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2346,4 +2346,4 @@ function Books(options) { // eslint-disable-line
* @property {string} shortSeriesBookTitle Short book title in the context of the series.
* @property {object[]} volumeSeries
*/
module.exports = Books;
export = Books;
2 changes: 1 addition & 1 deletion apis/calendar/v3.js → apis/calendar/v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1857,4 +1857,4 @@ For adding Google Drive file attachments use the same format as in alternateLink
* @property {string} end The (exclusive) end of the time period.
* @property {string} start The (inclusive) start of the time period.
*/
module.exports = Calendar;
export = Calendar;
2 changes: 1 addition & 1 deletion apis/civicinfo/v2.js → apis/civicinfo/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -554,4 +554,4 @@ For example, if this division's OCD ID is ocd-division/country:us/district:d
* @property {civicinfo(v2).VoterInfoRequest} request
* @property {civicinfo(v2).VoterInfoResponse} response
*/
module.exports = Civicinfo;
export = Civicinfo;
2 changes: 1 addition & 1 deletion apis/classroom/v1.js → apis/classroom/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2235,4 +2235,4 @@ results are available.
results are available.
* @property {classroom(v1).Student[]} students Students who match the list request.
*/
module.exports = Classroom;
export = Classroom;
2 changes: 1 addition & 1 deletion apis/cloudbilling/v1.js → apis/cloudbilling/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -573,4 +573,4 @@ therefore projects associated with it will be unable to use paid services.
`billingAccounts/012345-567890-ABCDEF` would be the resource name for
billing account `012345-567890-ABCDEF`.
*/
module.exports = Cloudbilling;
export = Cloudbilling;
2 changes: 1 addition & 1 deletion apis/cloudbuild/v1.js → apis/cloudbuild/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -770,4 +770,4 @@ build.
* @property {cloudbuild(v1).BuiltImage[]} images Images that were built as a part of the build.
* @property {string[]} buildStepImages List of build step digests, in order corresponding to build step indices.
*/
module.exports = Cloudbuild;
export = Cloudbuild;
2 changes: 1 addition & 1 deletion apis/clouddebugger/v2.js → apis/clouddebugger/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1120,4 +1120,4 @@ The field `id` is guaranteed to be set (in addition to the echoed fileds).
* @property {clouddebugger(v2).Breakpoint} breakpoint Updated breakpoint information.
The field 'id' must be set.
*/
module.exports = Clouddebugger;
export = Clouddebugger;
Original file line number Diff line number Diff line change
Expand Up @@ -489,4 +489,4 @@ and contain the result of [`(string)$exception`](http://php.net/manual/en/except
If not provided, the time when the event was received by the
Error Reporting system will be used.
*/
module.exports = Clouderrorreporting;
export = Clouderrorreporting;
2 changes: 1 addition & 1 deletion apis/cloudfunctions/v1.js → apis/cloudfunctions/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ function Cloudfunctions(options) { // eslint-disable-line
projects/project-1/locations/region-1/functions/function-1
* @property {object} request The original request that started the operation.
*/
module.exports = Cloudfunctions;
export = Cloudfunctions;
Original file line number Diff line number Diff line change
Expand Up @@ -509,4 +509,4 @@ Google Cloud Pub/Sub `providers/cloud.pubsub/eventTypes/topic.publish`
* @type object
* @property {string} url Output only. The deployed url for the function.
*/
module.exports = Cloudfunctions;
export = Cloudfunctions;
2 changes: 1 addition & 1 deletion apis/cloudkms/v1.js → apis/cloudkms/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1238,4 +1238,4 @@ allowed.
* @memberOf! cloudkms(v1)
* @type object
*/
module.exports = Cloudkms;
export = Cloudkms;
Original file line number Diff line number Diff line change
Expand Up @@ -450,4 +450,4 @@ function Cloudmonitoring(options) { // eslint-disable-line
* @type object
* @property {string} kind Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#writeTimeseriesResponse".
*/
module.exports = Cloudmonitoring;
export = Cloudmonitoring;
Original file line number Diff line number Diff line change
Expand Up @@ -2925,4 +2925,4 @@ common set of message types for APIs to use.
For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
Required
*/
module.exports = Cloudresourcemanager;
export = Cloudresourcemanager;
Original file line number Diff line number Diff line change
Expand Up @@ -1797,4 +1797,4 @@ Read-only.
Example: <code>415104041262</code>
Read-only.
*/
module.exports = Cloudresourcemanager;
export = Cloudresourcemanager;
2 changes: 1 addition & 1 deletion apis/cloudtrace/v1.js → apis/cloudtrace/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,4 +384,4 @@ numeric value formatted as a 32-byte hex string.
* @type object
* @property {cloudtrace(v1).Trace[]} traces List of traces.
*/
module.exports = Cloudtrace;
export = Cloudtrace;
Original file line number Diff line number Diff line change
Expand Up @@ -1151,4 +1151,4 @@ If no `etag` is provided in the call to `setIamPolicy`, then the existing policy
* @property {string} nextPageToken [Output Only] A token used to continue a truncated list request.
* @property {string} selfLink [Output Only] Server defined URL for this resource.
*/
module.exports = Clouduseraccounts;
export = Clouduseraccounts;
Original file line number Diff line number Diff line change
Expand Up @@ -1814,4 +1814,4 @@ function Clouduseraccounts(options) { // eslint-disable-line
* @property {string} nextPageToken [Output Only] A token used to continue a truncated list request.
* @property {string} selfLink [Output Only] Server defined URL for this resource.
*/
module.exports = Clouduseraccounts;
export = Clouduseraccounts;
Original file line number Diff line number Diff line change
Expand Up @@ -1151,4 +1151,4 @@ If no `etag` is provided in the call to `setIamPolicy`, then the existing policy
* @property {string} nextPageToken [Output Only] A token used to continue a truncated list request.
* @property {string} selfLink [Output Only] Server defined URL for this resource.
*/
module.exports = Clouduseraccounts;
export = Clouduseraccounts;
Original file line number Diff line number Diff line change
Expand Up @@ -842,4 +842,4 @@ function Clouduseraccounts(options) { // eslint-disable-line
* @property {string} nextPageToken [Output Only] A token used to continue a truncated list request.
* @property {string} selfLink [Output Only] Server defined URL for this resource.
*/
module.exports = Clouduseraccounts;
export = Clouduseraccounts;
2 changes: 1 addition & 1 deletion apis/compute/alpha.js → apis/compute/alpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18301,4 +18301,4 @@ To see the latest fingerprint, make a get() request to retrieve a VpnTunnel.
* @property {string} labelFingerprint The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.
* @property {object} labels The labels to set for this resource.
*/
module.exports = Compute;
export = Compute;
2 changes: 1 addition & 1 deletion apis/compute/beta.js → apis/compute/beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34906,4 +34906,4 @@ CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol w
* @property {string} labelFingerprint The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.
* @property {object} labels The labels to set for this resource.
*/
module.exports = Compute;
export = Compute;
2 changes: 1 addition & 1 deletion apis/compute/v1.js → apis/compute/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27616,4 +27616,4 @@ CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol w
* @property {string} nextPageToken [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
* @property {string} selfLink [Output Only] Server-defined URL for this resource.
*/
module.exports = Compute;
export = Compute;
2 changes: 1 addition & 1 deletion apis/consumersurveys/v2.js → apis/consumersurveys/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,4 +618,4 @@ function Consumersurveys(options) { // eslint-disable-line
* @property {string} nextPageToken
* @property {string} previousPageToken
*/
module.exports = Consumersurveys;
export = Consumersurveys;
2 changes: 1 addition & 1 deletion apis/container/v1.js → apis/container/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1733,4 +1733,4 @@ function Container(options) { // eslint-disable-line
* @type object
* @property {container(v1).NodeManagement} management NodeManagement configuration for the node pool.
*/
module.exports = Container;
export = Container;
2 changes: 1 addition & 1 deletion apis/content/v2.js → apis/content/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3618,4 +3618,4 @@ Acceptable values are:
* @property {string} unit The weight unit.
* @property {string} value The weight represented as a number.
*/
module.exports = Content;
export = Content;
2 changes: 1 addition & 1 deletion apis/content/v2sandbox.js → apis/content/v2sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1153,4 +1153,4 @@ Start date and end date are separated by a forward slash (/). The start date is
* @property {string} predefinedBillingAddress The billing address.
* @property {string} type The type of instrument. Note that real orders might have different values than the four values accepted by createTestOrder.
*/
module.exports = Content;
export = Content;
2 changes: 1 addition & 1 deletion apis/customsearch/v1.js → apis/customsearch/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,4 @@ function Customsearch(options) { // eslint-disable-line
* @property {object} spelling
* @property {object} url
*/
module.exports = Customsearch;
export = Customsearch;
2 changes: 1 addition & 1 deletion apis/dataflow/v1b3.js → apis/dataflow/v1b3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2689,4 +2689,4 @@ to have failed.
is completed, contains the result of the operation.
* @property {dataflow(v1b3).ApproximateProgress} progress DEPRECATED in favor of reported_progress.
*/
module.exports = Dataflow;
export = Dataflow;
Loading

0 comments on commit 5e22af7

Please sign in to comment.