UNPKG

2.17 kBJavaScriptView Raw
1/*
2 * ---------------------------------------------------------
3 * Copyright(C) Microsoft Corporation. All rights reserved.
4 * ---------------------------------------------------------
5 *
6 * ---------------------------------------------------------
7 * Generated file, DO NOT EDIT
8 * ---------------------------------------------------------
9 */
10"use strict";
11Object.defineProperty(exports, "__esModule", { value: true });
12exports.TypeInfo = exports.BillingMode = void 0;
13var BillingMode;
14(function (BillingMode) {
15 /**
16 * None implies the organization is not billable because no Azure Subscription has been set.
17 */
18 BillingMode[BillingMode["None"] = 0] = "None";
19 /**
20 * When an organization is the only organization mapped to an Azure Subscription.
21 */
22 BillingMode[BillingMode["SingleOrg"] = 1] = "SingleOrg";
23 /**
24 * When an organization is mapped to an Azure Subscription to which at least one other org is mapped.
25 */
26 BillingMode[BillingMode["MultiOrg"] = 2] = "MultiOrg";
27})(BillingMode = exports.BillingMode || (exports.BillingMode = {}));
28exports.TypeInfo = {
29 AdvSecEnablementSettings: {},
30 AdvSecEnablementStatus: {},
31 BillableCommitterDetails: {},
32 BillingInfo: {},
33 BillingMode: {
34 enumValues: {
35 "none": 0,
36 "singleOrg": 1,
37 "multiOrg": 2
38 }
39 },
40 MeterUsage: {},
41};
42exports.TypeInfo.AdvSecEnablementSettings.fields = {
43 reposEnablementStatus: {
44 isArray: true,
45 typeInfo: exports.TypeInfo.AdvSecEnablementStatus
46 }
47};
48exports.TypeInfo.AdvSecEnablementStatus.fields = {
49 advSecEnablementLastChangedDate: {
50 isDate: true,
51 }
52};
53exports.TypeInfo.BillableCommitterDetails.fields = {
54 commitTime: {
55 isDate: true,
56 },
57 pushedTime: {
58 isDate: true,
59 }
60};
61exports.TypeInfo.BillingInfo.fields = {
62 advSecEnabledChangedOnDate: {
63 isDate: true,
64 },
65 advSecEnabledFirstChangedOnDate: {
66 isDate: true,
67 },
68 billingMode: {
69 enumType: exports.TypeInfo.BillingMode
70 }
71};
72exports.TypeInfo.MeterUsage.fields = {
73 billingDate: {
74 isDate: true,
75 }
76};