@fragus/sam-types 1.0.2 → 1.0.4

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.2",
2
+ "version": "1.0.4",
3
3
  "name": "@fragus/sam-types",
4
4
  "description": "Typescript interfaces for all types used to communicate between SAM client(s) and the SAM API",
5
5
  "author": "Fragus",
@@ -28,7 +28,6 @@ export interface IContractProviderInfo extends IEssentialContractProviderInfo {
28
28
  isUseWhiteBGOnWeb?: boolean
29
29
  isForceEnableCustomContracts?: boolean
30
30
  productsEnabled?: boolean
31
- webLogoSquare?: string | null
32
31
  vatPct: number
33
32
  inactive: boolean
34
33
  isUsingV4PricingTool: boolean
@@ -11,7 +11,7 @@ export interface IContractProviderRequest extends IProviderCustomizationResponse
11
11
  omnicarFee: number
12
12
  paymentGateways: PaymentGateway[]
13
13
  postmarkFromEmail: string
14
-
14
+
15
15
  logo: string
16
16
  contactFormUrl: string
17
17
  showRegistrationSelectionPage: boolean
@@ -27,7 +27,6 @@ export interface IContractProviderRequest extends IProviderCustomizationResponse
27
27
  isForceAllowCustomContracts: boolean
28
28
  isShowLogoOnWeb: boolean
29
29
  webLogoBanner: string | null
30
- webLogoSquare: string | null
31
30
  disableContractTemplates: boolean
32
31
  productsEnabled: boolean
33
32
  parentProviderId: number | null
@@ -69,8 +68,6 @@ export interface IContractProviderResponse extends IProviderCustomizationRespons
69
68
  isShowLogoOnWeb: boolean
70
69
  webLogoBanner: string | null
71
70
  webLogoBannerUrl?: string | null
72
- webLogoSquare: string | null
73
- webLogoSquareUrl?: string | null
74
71
  disableContractTemplates: boolean
75
72
  productsEnabled: boolean
76
73
  state: ProviderState
@@ -85,6 +82,7 @@ export interface IContractProviderResponse extends IProviderCustomizationRespons
85
82
  isLoadOptionalProviderCustomization: boolean // Has providerCustomizationLoaded been loaded?
86
83
  generalConditions: string
87
84
  optionsConditions?: string
85
+ stripeForeignId?: string
88
86
  }
89
87
 
90
88
  export interface IContractProviderListItemResponse {
package/types/index.d.ts CHANGED
@@ -109,7 +109,7 @@ export declare enum PaymentFailureReason {
109
109
  export declare enum ResponseWarnings {
110
110
  GenericWarning = 499
111
111
  }
112
- export declare type FileUploadToStorageType = 'General-Storage' | 'Logo-Banner-Storage' | 'Logo-Square-Storage';
112
+ export declare type FileUploadToStorageType = 'General-Storage' | 'Logo-Banner-Storage';
113
113
  export declare enum OutageSeverityLevel {
114
114
  Low = 1,
115
115
  Medium = 2,
package/types/index.ts CHANGED
@@ -121,7 +121,7 @@ export enum ResponseWarnings {
121
121
  GenericWarning = 499,
122
122
  }
123
123
 
124
- export type FileUploadToStorageType = 'General-Storage' | 'Logo-Banner-Storage' | 'Logo-Square-Storage'
124
+ export type FileUploadToStorageType = 'General-Storage' | 'Logo-Banner-Storage'
125
125
 
126
126
  export enum OutageSeverityLevel {
127
127
  Low = 1,