@maxim_mazurok/gapi.client.paymentsresellersubscription
Advanced tools
Comparing version 1.0.20220502 to 1.0.20220504
@@ -6,3 +6,3 @@ /* This is stub file for gapi.client.paymentsresellersubscription definition tests */ | ||
// Revision: 20220502 | ||
// Revision: 20220504 | ||
@@ -9,0 +9,0 @@ gapi.load('client', () => { |
@@ -13,3 +13,3 @@ /* Type definitions for non-npm package Payments Reseller Subscription API v1 1.0 */ | ||
// Generated from: https://paymentsresellersubscription.googleapis.com/$discovery/rest?version=v1 | ||
// Revision: 20220502 | ||
// Revision: 20220504 | ||
@@ -174,2 +174,4 @@ /// <reference types="gapi.client" /> | ||
freeTrialEndTime?: string; | ||
/** Required. The line items of the subscription. */ | ||
lineItems?: GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem[]; | ||
/** Output only. Response only. Resource name of the subscription. It will have the format of "partners/{partner_id}/subscriptions/{subscription_id}" */ | ||
@@ -184,10 +186,18 @@ name?: string; | ||
processingState?: string; | ||
/** Required. Required. Resource name that identifies the purchased products. The format will be 'partners/{partner_id}/products/{product_id}'. */ | ||
/** | ||
* Required. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be | ||
* 'partners/{partner_id}/products/{product_id}'. | ||
*/ | ||
products?: string[]; | ||
/** | ||
* Optional. Optional. Resource name that identifies one or more promotions that can be applied on the product. A typical promotion for a subscription is Free trial. The format will be | ||
* 'partners/{partner_id}/promotions/{promotion_id}'. | ||
* Optional. Deprecated: consider using the top-level `promotion_specs` as the input. Optional. Resource name that identifies one or more promotions that can be applied on the product. | ||
* A typical promotion for a subscription is Free trial. The format will be 'partners/{partner_id}/promotions/{promotion_id}'. | ||
*/ | ||
promotions?: string[]; | ||
/** | ||
* Optional. Subscription-level promotions. Only free trial is supported on this level. It determines the first renewal time of the subscription to be the end of the free trial period. | ||
* Specify the promotion resource name only when used as input. | ||
*/ | ||
promotionSpecs?: GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec[]; | ||
/** | ||
* Output only. The place where partners should redirect the end-user to after creation. This field might also be populated when creation failed. However, Partners should always | ||
@@ -222,2 +232,28 @@ * prepare a default URL to redirect the user in case this field is empty. | ||
} | ||
interface GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem { | ||
/** | ||
* Output only. It is set only if the line item has its own free trial applied. End time of the line item free trial period, in ISO 8061 format. For example, | ||
* "2019-08-31T17:28:54.564Z". It will be set the same as createTime if no free trial promotion is specified. | ||
*/ | ||
lineItemFreeTrialEndTime?: string; | ||
/** | ||
* Optional. The promotions applied on the line item. It can be: - a free trial promotion, which overrides the subscription-level free trial promotion. - an introductory pricing | ||
* promotion. When used as input in Create or Provision API, specify its resource name only. | ||
*/ | ||
lineItemPromotionSpecs?: GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec[]; | ||
/** Required. Product resource name that identifies one the line item The format is 'partners/{partner_id}/products/{product_id}'. */ | ||
product?: string; | ||
/** Output only. The state of the line item. */ | ||
state?: string; | ||
} | ||
interface GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec { | ||
/** Output only. The duration of the free trial if the promotion is of type FREE_TRIAL. */ | ||
freeTrialDuration?: GoogleCloudPaymentsResellerSubscriptionV1Duration; | ||
/** Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING. */ | ||
introductoryPricingDetails?: GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails; | ||
/** Required. Promotion resource name that identifies a promotion. The format is 'partners/{partner_id}/promotions/{promotion_id}'. */ | ||
promotion?: string; | ||
/** Output only. The type of the promotion for the spec. */ | ||
type?: string; | ||
} | ||
interface GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails { | ||
@@ -224,0 +260,0 @@ /** Required. Specifies the billing cycle spec for the new upgraded/downgraded subscription. */ |
{ | ||
"name": "@maxim_mazurok/gapi.client.paymentsresellersubscription", | ||
"version": "1.0.20220502", | ||
"version": "1.0.20220504", | ||
"description": "TypeScript typings for Payments Reseller Subscription API v1", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56926
861