gca
@maxim_mazurok/gapi.client.androiddeviceprovisioning
npm i @maxim_mazurok/gapi.client.androiddeviceprovisioning
gca

@maxim_mazurok/gapi.client.androiddeviceprovisioning

Updated and fixed version of TypeScript typings for Google APIs generator

by Maxim Mazurok

1.0.20220622 (see all)License:MITTypeScript:Built-In
npm i @maxim_mazurok/gapi.client.androiddeviceprovisioning
Readme

TypeScript typings for Android Device Provisioning Partner API v1

Automates Android zero-touch enrollment for device resellers, customers, and EMMs. For detailed description please check documentation.

Installing

Install typings for Android Device Provisioning Partner API:

npm install @types/gapi.client.androiddeviceprovisioning@v1 --save-dev

Usage

You need to initialize Google API client in your code:

gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});

Then load api client wrapper:

gapi.client.load('androiddeviceprovisioning', 'v1', () => {
  // now we can use gapi.client.androiddeviceprovisioning
  // ...
});

After that you can use Android Device Provisioning Partner API resources:


/*
Lists the user's customer accounts.
*/
await gapi.client.androiddeviceprovisioning.customers.list({  });

/*
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
*/
await gapi.client.androiddeviceprovisioning.operations.get({ name: "name",  });

Downloads/wk

272

GitHub Stars

35

LAST COMMIT

4mos ago

MAINTAINERS

1

CONTRIBUTORS

8

OPEN ISSUES

10

OPEN PRs

3
VersionTagPublished
1.0.20220622
latest
3d ago
No alternatives found
No tutorials found
Add a tutorial