ms-salesforce-api 3.4.0__py3-none-any.whl → 3.5.0__py3-none-any.whl

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.
@@ -83,6 +83,7 @@ SELECT
83
83
  TXT_Comments__c,
84
84
  Year_Created__c,
85
85
  LKP_ParentOpportunity__c,
86
+ TECH_Old_NewBusiness__c,
86
87
  (
87
88
  SELECT
88
89
  Description,
@@ -213,6 +213,7 @@ class OpportunityDTO(object):
213
213
  billing_info,
214
214
  parent_opportunity,
215
215
  project_name,
216
+ tech_old_new_business,
216
217
  ):
217
218
  self.opportunity_id = opportunity_id
218
219
  self.account_billing_country = account_billing_country
@@ -296,6 +297,7 @@ class OpportunityDTO(object):
296
297
  self.billing_info = billing_info
297
298
  self.parent_opportunity = parent_opportunity
298
299
  self.project_name = project_name
300
+ self.tech_old_new_business = tech_old_new_business
299
301
 
300
302
  @staticmethod
301
303
  def from_salesforce_record(record):
@@ -530,6 +532,7 @@ class OpportunityDTO(object):
530
532
  billing_info=record["TXT_BillingInfo__c"],
531
533
  parent_opportunity=record["LKP_ParentOpportunity__c"],
532
534
  project_name=record["FRM_ProjectName__c"],
535
+ tech_old_new_business=record["TECH_Old_NewBusiness__c"],
533
536
  )
534
537
 
535
538
  def to_dict(self):
@@ -616,4 +619,5 @@ class OpportunityDTO(object):
616
619
  "billing_info": self.billing_info,
617
620
  "parent_opportunity": self.parent_opportunity,
618
621
  "project_name": self.project_name,
622
+ "tech_old_new_business": self.tech_old_new_business,
619
623
  }
@@ -106,6 +106,7 @@ class BigQueryExporter:
106
106
  "billing_info": "STRING",
107
107
  "parent_opportunity": "STRING",
108
108
  "project_name": "STRING",
109
+ "tech_old_new_business": "Boolean",
109
110
  },
110
111
  "opportunity_line_item": {
111
112
  "opportunity_id": "STRING",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ms-salesforce-api
3
- Version: 3.4.0
3
+ Version: 3.5.0
4
4
  Summary: Python library used to extract data from Salesforce API and migrate it to Bigquery and Postgres.
5
5
  License-File: LICENSE
6
6
  Author: Making Science
@@ -33,10 +33,10 @@ ms_salesforce_api/salesforce/api/lead/dto/__init__.py,sha256=47DEQpj8HBSa-_TImW-
33
33
  ms_salesforce_api/salesforce/api/lead/export_data/Bigquery.py,sha256=rym4GJCr-8dhzZZBtmh03wD8rzgRy5AptIJ5cI9zZqY,3789
34
34
  ms_salesforce_api/salesforce/api/lead/export_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
35
  ms_salesforce_api/salesforce/api/opportunity/__init__.py,sha256=mPITW67LvqsuLBP1Mv4YCYkrKv_LiUP58PhmmojYEi0,1386
36
- ms_salesforce_api/salesforce/api/opportunity/constants.py,sha256=rakW4WoDKgaNbIRcs5FvCXB9Ko7gr2Qt4Asm8xED_kY,5961
37
- ms_salesforce_api/salesforce/api/opportunity/dto/OpportunityDTO.py,sha256=92Ybp3VmOfw6vMHl9FlUZ4aPAZElIlXA3zEwuNm-zXY,25010
36
+ ms_salesforce_api/salesforce/api/opportunity/constants.py,sha256=fqG1k_SOn0H-d3Koa9uawWkbyYF0RZwPKLdBPE2yXlY,5990
37
+ ms_salesforce_api/salesforce/api/opportunity/dto/OpportunityDTO.py,sha256=oE2aMv5mBn-vN3QrgBURB9lkCo88zkEhXC8Cfo3ZtI0,25234
38
38
  ms_salesforce_api/salesforce/api/opportunity/dto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
- ms_salesforce_api/salesforce/api/opportunity/export_data/Bigquery.py,sha256=JFQi0kS7zHvKqLcGdFOWg5FlLsnfzOIin9RHL4Sogsk,6936
39
+ ms_salesforce_api/salesforce/api/opportunity/export_data/Bigquery.py,sha256=rB9Kun2ukhZlmEJNfYBM1reAg10SsremCqSzF-2xPeE,6988
40
40
  ms_salesforce_api/salesforce/api/opportunity/export_data/CloudSQL.py,sha256=MbheXQhG9bwbW2FIA5onCum8CoDdl4eMIpUEUqCR3fE,6011
41
41
  ms_salesforce_api/salesforce/api/opportunity/export_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
42
  ms_salesforce_api/salesforce/api/opportunity/export_data/__tests__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -91,7 +91,7 @@ ms_salesforce_api/salesforce/api/projects_with_backup/export_data/Bigquery.py,sh
91
91
  ms_salesforce_api/salesforce/api/projects_with_backup/export_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
92
  ms_salesforce_api/salesforce/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
93
93
  ms_salesforce_api/salesforce/helpers/string.py,sha256=wRtMU_EFIihbZCyR_wPdQpLanPk2ejlddmiWyNwfi1Q,303
94
- ms_salesforce_api-3.4.0.dist-info/METADATA,sha256=W0VHkMGohX-RfKt4G5F-DewmU62kHKRwYh0drZVGXro,9270
95
- ms_salesforce_api-3.4.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
96
- ms_salesforce_api-3.4.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
97
- ms_salesforce_api-3.4.0.dist-info/RECORD,,
94
+ ms_salesforce_api-3.5.0.dist-info/METADATA,sha256=-eX-0caK-ZdvEWAentcsqzqV52JtEuj8onmByxlmTQ0,9270
95
+ ms_salesforce_api-3.5.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
96
+ ms_salesforce_api-3.5.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
97
+ ms_salesforce_api-3.5.0.dist-info/RECORD,,