@gitpod/gitpod-protocol 0.1.5-mp-projects-remove-application-id.0 → 0.1.5-mp-pat-server-impl.0

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 (39) hide show
  1. package/data/gitpod-schema.json +8 -0
  2. package/lib/admin-protocol.d.ts +6 -0
  3. package/lib/admin-protocol.d.ts.map +1 -1
  4. package/lib/admin-protocol.js.map +1 -1
  5. package/lib/experiments/configcat-server.d.ts.map +1 -1
  6. package/lib/experiments/configcat-server.js +1 -0
  7. package/lib/experiments/configcat-server.js.map +1 -1
  8. package/lib/gitpod-service.d.ts +4 -3
  9. package/lib/gitpod-service.d.ts.map +1 -1
  10. package/lib/gitpod-service.js.map +1 -1
  11. package/lib/messaging/browser/connection.d.ts +2 -1
  12. package/lib/messaging/browser/connection.d.ts.map +1 -1
  13. package/lib/messaging/browser/connection.js +3 -3
  14. package/lib/messaging/browser/connection.js.map +1 -1
  15. package/lib/messaging/error.d.ts +1 -0
  16. package/lib/messaging/error.d.ts.map +1 -1
  17. package/lib/messaging/error.js +2 -0
  18. package/lib/messaging/error.js.map +1 -1
  19. package/lib/protocol.d.ts +2 -0
  20. package/lib/protocol.d.ts.map +1 -1
  21. package/lib/protocol.js.map +1 -1
  22. package/lib/teams-projects-protocol.d.ts +1 -0
  23. package/lib/teams-projects-protocol.d.ts.map +1 -1
  24. package/lib/teams-projects-protocol.js.map +1 -1
  25. package/lib/usage.d.ts +12 -0
  26. package/lib/usage.d.ts.map +1 -1
  27. package/lib/usage.js +7 -1
  28. package/lib/usage.js.map +1 -1
  29. package/package.json +1 -2
  30. package/pkg-yarn.lock +1 -2
  31. package/provenance-bundle.jsonl +1 -3
  32. package/src/admin-protocol.ts +8 -0
  33. package/src/experiments/configcat-server.ts +1 -0
  34. package/src/gitpod-service.ts +4 -3
  35. package/src/messaging/browser/connection.ts +4 -3
  36. package/src/messaging/error.ts +3 -0
  37. package/src/protocol.ts +2 -0
  38. package/src/teams-projects-protocol.ts +1 -0
  39. package/src/usage.ts +14 -0
@@ -32,6 +32,7 @@ export interface Project {
32
32
  cloneUrl: string;
33
33
  teamId?: string;
34
34
  userId?: string;
35
+ appInstallationId: string;
35
36
  settings?: ProjectSettings;
36
37
  creationTime: string;
37
38
  /** This is a flag that triggers the HARD DELETION of this entity */
package/src/usage.ts CHANGED
@@ -69,3 +69,17 @@ export interface InvoiceUsageData {
69
69
  startDate: string;
70
70
  endDate: string;
71
71
  }
72
+
73
+ export interface CostCenterJSON {
74
+ attributionId: string;
75
+ spendingLimit: number;
76
+ billingStrategy: CostCenter_BillingStrategy;
77
+ nextBillingTime?: string;
78
+ billingCycleStart?: string;
79
+ }
80
+
81
+ export enum CostCenter_BillingStrategy {
82
+ BILLING_STRATEGY_STRIPE = "BILLING_STRATEGY_STRIPE",
83
+ BILLING_STRATEGY_OTHER = "BILLING_STRATEGY_OTHER",
84
+ UNRECOGNIZED = "UNRECOGNIZED",
85
+ }