@maxim_mazurok/gapi.client.cloudbilling-v1beta 0.0.20230813 → 0.0.20230825

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 +8 -16
  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://cloudbilling.googleapis.com/$discovery/rest?version=v1beta
12
- // Revision: 20230813
12
+ // Revision: 20230825
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -312,7 +312,7 @@ declare namespace gapi.client {
312
312
  /** Percentage of the fixed discount. */
313
313
  discountPercent?:
314
314
  Decimal;
315
- /** Type of the fixed discount scope which indicates the source of the discount. It can have values such as 'sku-group'. */
315
+ /** Type of the fixed discount scope which indicates the source of the discount. It can have values such as 'unspecified' and 'sku-group'. */
316
316
  discountScopeType?:
317
317
  string;
318
318
  /** Time that the fixed discount is anchored to. */
@@ -329,7 +329,7 @@ declare namespace gapi.client {
329
329
  /** Percentage of the floating discount. */
330
330
  discountPercent?:
331
331
  Decimal;
332
- /** Type of the floating discount scope which indicates the source of the discount. It can have values such as 'sku-group'. */
332
+ /** Type of the floating discount scope which indicates the source of the discount. It can have values such as 'unspecified' and 'sku-group'. */
333
333
  discountScopeType?:
334
334
  string;
335
335
  /** SKU group where the floating discount comes from. */
@@ -343,15 +343,9 @@ declare namespace gapi.client {
343
343
  interface GoogleCloudBillingBillingaccountpricesV1betaMergedPrice {
344
344
  }
345
345
  interface GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice {
346
- /** The source SKU floating discount is applied on the target SKU's default price. */
347
- sourceDiscountOnTargetPrice?:
348
- GoogleCloudBillingBillingaccountpricesV1betaSourceDiscountOnTargetPrice;
349
- /** Source SKU where the discount is migrated from. */
346
+ /** Source SKU where the discount is migrated from. Format: billingAccounts/{billing_account}/skus/{sku} */
350
347
  sourceSku?:
351
348
  string;
352
- /** Type of the migrated price. It can have values such as 'source-discount-on-target-price'. */
353
- type?:
354
- string;
355
349
  }
356
350
  interface GoogleCloudBillingBillingaccountpricesV1betaPriceReason {
357
351
  /** Default price which is the current list price. */
@@ -378,7 +372,10 @@ declare namespace gapi.client {
378
372
  /** Price migrated from other SKUs. */
379
373
  migratedPrice?:
380
374
  GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice;
381
- /** Type of the price reason. It can values such as 'default-price', 'fixed-price', 'fixed-discount', 'floating-discount', 'migrated-price', 'merged-price', 'list-price-as-ceiling'. */
375
+ /**
376
+ * Type of the price reason. It can have values such as 'unspecified', 'default-price', 'fixed-price', 'fixed-discount', 'floating-discount', 'migrated-price', 'merged-price',
377
+ * 'list-price-as-ceiling'.
378
+ */
382
379
  type?:
383
380
  string;
384
381
  }
@@ -412,11 +409,6 @@ declare namespace gapi.client {
412
409
  startAmount?:
413
410
  Decimal;
414
411
  }
415
- interface GoogleCloudBillingBillingaccountpricesV1betaSourceDiscountOnTargetPrice {
416
- /** Discount percent of the source SKU that is applied on the target SKU's default price. */
417
- migratedDiscountPercent?:
418
- Decimal;
419
- }
420
412
  interface GoogleCloudBillingBillingaccountpricesV1betaUnitInfo {
421
413
  /** Shorthand for the unit. Example: GiBy.mo. */
422
414
  unit?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbilling-v1beta",
3
- "version": "0.0.20230813",
3
+ "version": "0.0.20230825",
4
4
  "description": "TypeScript typings for Cloud Billing API v1beta",
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: 20230813
6
+ // Revision: 20230825
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */