@maxim_mazurok/gapi.client.cloudchannel-v1 0.0.20230708 → 0.0.20230711
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 +13 -18
- package/package.json +1 -1
- package/tests.ts +13 -16
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://cloudchannel.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230711
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2202,9 +2202,8 @@ declare namespace gapi.client {
|
|
|
2202
2202
|
interface CustomersResource {
|
|
2203
2203
|
/**
|
|
2204
2204
|
* Creates a new Customer resource under the reseller or distributor account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the
|
|
2205
|
-
* reseller account in the API request. *
|
|
2206
|
-
*
|
|
2207
|
-
* resource.
|
|
2205
|
+
* reseller account in the API request. * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return
|
|
2206
|
+
* value: The newly created Customer resource.
|
|
2208
2207
|
*/
|
|
2209
2208
|
create(request: {
|
|
2210
2209
|
/** V1 error format. */
|
|
@@ -2374,9 +2373,8 @@ declare namespace gapi.client {
|
|
|
2374
2373
|
/**
|
|
2375
2374
|
* Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and
|
|
2376
2375
|
* overwrite_if_exists is true, it will update that Customer's data. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller
|
|
2377
|
-
* account in the API request. *
|
|
2378
|
-
*
|
|
2379
|
-
* has conflicting critical fields. Requires an overwrite. Return value: The Customer.
|
|
2376
|
+
* account in the API request. * NOT_FOUND: Cloud Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. *
|
|
2377
|
+
* ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite. Return value: The Customer.
|
|
2380
2378
|
*/
|
|
2381
2379
|
import(request: {
|
|
2382
2380
|
/** V1 error format. */
|
|
@@ -4148,9 +4146,8 @@ declare namespace gapi.client {
|
|
|
4148
4146
|
interface CustomersResource {
|
|
4149
4147
|
/**
|
|
4150
4148
|
* Creates a new Customer resource under the reseller or distributor account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the
|
|
4151
|
-
* reseller account in the API request. *
|
|
4152
|
-
*
|
|
4153
|
-
* resource.
|
|
4149
|
+
* reseller account in the API request. * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return
|
|
4150
|
+
* value: The newly created Customer resource.
|
|
4154
4151
|
*/
|
|
4155
4152
|
create(request: {
|
|
4156
4153
|
/** V1 error format. */
|
|
@@ -4320,9 +4317,8 @@ declare namespace gapi.client {
|
|
|
4320
4317
|
/**
|
|
4321
4318
|
* Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and
|
|
4322
4319
|
* overwrite_if_exists is true, it will update that Customer's data. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller
|
|
4323
|
-
* account in the API request. *
|
|
4324
|
-
*
|
|
4325
|
-
* has conflicting critical fields. Requires an overwrite. Return value: The Customer.
|
|
4320
|
+
* account in the API request. * NOT_FOUND: Cloud Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. *
|
|
4321
|
+
* ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite. Return value: The Customer.
|
|
4326
4322
|
*/
|
|
4327
4323
|
import(request: {
|
|
4328
4324
|
/** V1 error format. */
|
|
@@ -4689,11 +4685,10 @@ declare namespace gapi.client {
|
|
|
4689
4685
|
body: GoogleCloudChannelV1Customer): Request<GoogleCloudChannelV1Customer>;
|
|
4690
4686
|
/**
|
|
4691
4687
|
* Creates a Cloud Identity for the given customer using the customer's information, or the information provided here. Possible error codes: * PERMISSION_DENIED: The customer doesn't
|
|
4692
|
-
* belong to the reseller. *
|
|
4693
|
-
*
|
|
4694
|
-
*
|
|
4695
|
-
*
|
|
4696
|
-
* of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata.
|
|
4688
|
+
* belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer was not found. * ALREADY_EXISTS: The customer's primary
|
|
4689
|
+
* email already exists. Retry after changing the customer's primary contact email. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel
|
|
4690
|
+
* support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the
|
|
4691
|
+
* results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata.
|
|
4697
4692
|
*/
|
|
4698
4693
|
provisionCloudIdentity(request: {
|
|
4699
4694
|
/** V1 error format. */
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230711
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -337,8 +337,8 @@ gapi.load('client', async () => {
|
|
|
337
337
|
});
|
|
338
338
|
/**
|
|
339
339
|
* Creates a new Customer resource under the reseller or distributor account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the
|
|
340
|
-
* reseller account in the API request. *
|
|
341
|
-
*
|
|
340
|
+
* reseller account in the API request. * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return value:
|
|
341
|
+
* The newly created Customer resource.
|
|
342
342
|
*/
|
|
343
343
|
await gapi.client.cloudchannel.accounts.channelPartnerLinks.customers.create({
|
|
344
344
|
parent: "Test string",
|
|
@@ -411,9 +411,8 @@ gapi.load('client', async () => {
|
|
|
411
411
|
/**
|
|
412
412
|
* Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and
|
|
413
413
|
* overwrite_if_exists is true, it will update that Customer's data. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller
|
|
414
|
-
* account in the API request. *
|
|
415
|
-
*
|
|
416
|
-
* conflicting critical fields. Requires an overwrite. Return value: The Customer.
|
|
414
|
+
* account in the API request. * NOT_FOUND: Cloud Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. *
|
|
415
|
+
* ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite. Return value: The Customer.
|
|
417
416
|
*/
|
|
418
417
|
await gapi.client.cloudchannel.accounts.channelPartnerLinks.customers.import({
|
|
419
418
|
parent: "Test string",
|
|
@@ -496,8 +495,8 @@ gapi.load('client', async () => {
|
|
|
496
495
|
});
|
|
497
496
|
/**
|
|
498
497
|
* Creates a new Customer resource under the reseller or distributor account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the
|
|
499
|
-
* reseller account in the API request. *
|
|
500
|
-
*
|
|
498
|
+
* reseller account in the API request. * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return value:
|
|
499
|
+
* The newly created Customer resource.
|
|
501
500
|
*/
|
|
502
501
|
await gapi.client.cloudchannel.accounts.customers.create({
|
|
503
502
|
parent: "Test string",
|
|
@@ -570,9 +569,8 @@ gapi.load('client', async () => {
|
|
|
570
569
|
/**
|
|
571
570
|
* Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and
|
|
572
571
|
* overwrite_if_exists is true, it will update that Customer's data. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller
|
|
573
|
-
* account in the API request. *
|
|
574
|
-
*
|
|
575
|
-
* conflicting critical fields. Requires an overwrite. Return value: The Customer.
|
|
572
|
+
* account in the API request. * NOT_FOUND: Cloud Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. *
|
|
573
|
+
* ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite. Return value: The Customer.
|
|
576
574
|
*/
|
|
577
575
|
await gapi.client.cloudchannel.accounts.customers.import({
|
|
578
576
|
parent: "Test string",
|
|
@@ -683,11 +681,10 @@ gapi.load('client', async () => {
|
|
|
683
681
|
});
|
|
684
682
|
/**
|
|
685
683
|
* Creates a Cloud Identity for the given customer using the customer's information, or the information provided here. Possible error codes: * PERMISSION_DENIED: The customer doesn't
|
|
686
|
-
* belong to the reseller. *
|
|
687
|
-
*
|
|
688
|
-
*
|
|
689
|
-
*
|
|
690
|
-
* CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata.
|
|
684
|
+
* belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer was not found. * ALREADY_EXISTS: The customer's primary email
|
|
685
|
+
* already exists. Retry after changing the customer's primary contact email. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. *
|
|
686
|
+
* UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the
|
|
687
|
+
* operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata.
|
|
691
688
|
*/
|
|
692
689
|
await gapi.client.cloudchannel.accounts.customers.provisionCloudIdentity({
|
|
693
690
|
customer: "Test string",
|