@daffodil/driver 0.82.0 → 0.83.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.
@@ -0,0 +1,41 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable } from '@angular/core';
3
+ import { faker } from '@faker-js/faker';
4
+ import { DaffModelFactory } from '@daffodil/core/testing';
5
+
6
+ const MockHubspotError = () => ({
7
+ message: faker.random.words(5),
8
+ errorType: faker.random.word(),
9
+ });
10
+ class MockHubspotResponse {
11
+ constructor() {
12
+ this.redirectUri = faker.internet.url();
13
+ this.inlineMessage = faker.random.words(5);
14
+ this.errors = Array(faker.datatype.number({ min: 1, max: 5 })).fill(MockHubspotError);
15
+ }
16
+ }
17
+ /**
18
+ * Model factory for {@link MockHubspotResponse}s.
19
+ *
20
+ * Should be used to create {@link MockHubspotResponse}s for testing purposes.
21
+ */
22
+ class DaffHubspotResponseFactory extends DaffModelFactory {
23
+ constructor() {
24
+ super(MockHubspotResponse);
25
+ }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: DaffHubspotResponseFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
27
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: DaffHubspotResponseFactory, providedIn: 'root' }); }
28
+ }
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: DaffHubspotResponseFactory, decorators: [{
30
+ type: Injectable,
31
+ args: [{
32
+ providedIn: 'root',
33
+ }]
34
+ }], ctorParameters: () => [] });
35
+
36
+ /**
37
+ * Generated bundle index. Do not edit.
38
+ */
39
+
40
+ export { DaffHubspotResponseFactory, MockHubspotResponse };
41
+ //# sourceMappingURL=daffodil-driver-hubspot-testing.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"daffodil-driver-hubspot-testing.mjs","sources":["../../../libs/driver/hubspot/testing/src/factories/hubspot-response.factory.ts","../../../libs/driver/hubspot/testing/src/daffodil-driver-hubspot-testing.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n HubspotError,\n HubspotResponse,\n} from '@daffodil/driver/hubspot';\n\nconst MockHubspotError = (): HubspotError => ({\n message: faker.random.words(5),\n errorType: faker.random.word(),\n});\n\nexport class MockHubspotResponse implements HubspotResponse {\n redirectUri? = faker.internet.url();\n inlineMessage = faker.random.words(5);\n errors: HubspotError[] = Array(faker.datatype.number({ min: 1, max: 5 })).fill(MockHubspotError);\n}\n\n/**\n * Model factory for {@link MockHubspotResponse}s.\n *\n * Should be used to create {@link MockHubspotResponse}s for testing purposes.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffHubspotResponseFactory extends DaffModelFactory<HubspotResponse>{\n constructor() {\n super(MockHubspotResponse);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AASA,MAAM,gBAAgB,GAAG,OAAqB;IAC5C,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAC9B,IAAA,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE;AAC/B,CAAA,CAAC;MAEW,mBAAmB,CAAA;AAAhC,IAAA,WAAA,GAAA;AACE,QAAA,IAAA,CAAA,WAAW,GAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,EAAE;QACnC,IAAa,CAAA,aAAA,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACrC,IAAM,CAAA,MAAA,GAAmB,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;;AACjG;AAED;;;;AAIG;AAIG,MAAO,0BAA2B,SAAQ,gBAAiC,CAAA;AAC/E,IAAA,WAAA,GAAA;QACE,KAAK,CAAC,mBAAmB,CAAC;;8GAFjB,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,cAFzB,MAAM,EAAA,CAAA,CAAA;;2FAEP,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAHtC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;AC3BD;;AAEG;;;;"}
@@ -1,5 +1,8 @@
1
1
  const jsonBuilder = (payload) => Object.keys(payload).map((key) => ({ name: key, value: payload[key] }));
2
2
 
3
+ /**
4
+ * Service for interacting with Hubspot Forms API.
5
+ */
3
6
  class DaffHubspotFormsService {
4
7
  constructor(http, document, route, title, config) {
5
8
  this.http = http;
@@ -46,6 +49,9 @@ class DaffHubspotFormsService {
46
49
  }
47
50
  }
48
51
 
52
+ /**
53
+ * Factory for {@link DaffHubspotFormsService}.
54
+ */
49
55
  const daffHubspotFormsServiceFactory = (http, document, router, title, config) => new DaffHubspotFormsService(http, document, router, title, config);
50
56
 
51
57
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-driver-hubspot.mjs","sources":["../../../libs/driver/hubspot/src/transformers/json-builder.ts","../../../libs/driver/hubspot/src/hubspot-forms.service.ts","../../../libs/driver/hubspot/src/hubspot-forms.provider.ts","../../../libs/driver/hubspot/src/daffodil-driver-hubspot.ts"],"sourcesContent":["import { FieldValue } from '../models/hubspot-request';\n\n\nexport const jsonBuilder = (payload: Record<string, any>): FieldValue[] => Object.keys(payload).map((key) => ({ name: key, value: payload[key] }));\n","import { HttpClient } from '@angular/common/http';\nimport { Title } from '@angular/platform-browser';\nimport { Router } from '@angular/router';\nimport { Observable } from 'rxjs';\n\nimport { DaffHubspotConfig } from './models/config';\nimport { DaffHubspotRequest } from './models/hubspot-request';\nimport { HubspotResponse } from './models/hubspot-response';\nimport { jsonBuilder } from './transformers/json-builder';\n\nexport class DaffHubspotFormsService {\n\n constructor(\n private http: HttpClient,\n private document: Document,\n private route: Router,\n private title: Title,\n private config: DaffHubspotConfig) { }\n\n\n submit(payload: Record<string, any>): Observable<HubspotResponse> {\n return this.http.post<HubspotResponse>(\n this.generateUrl(this.config.portalId, this.config.guid, this.config.version),\n this.makeRequest(payload),\n );\n }\n\n private makeRequest(payload): DaffHubspotRequest {\n return {\n fields: [\n ...jsonBuilder(payload),\n ],\n context: {\n hutk: this.getCookie(),\n pageUri: this.getPageURI(),\n pageName: this.title.getTitle(),\n },\n };\n }\n\n private generateUrl(portalId: string, guid: string, version: string): string {\n if (version === undefined) {\n version = 'v3';\n }\n return 'https://api.hsforms.com/submissions/' + version + '/integration/submit/'\n + portalId + '/' + guid;\n }\n private getCookie() {\n if (!this.document) {\n return null;\n }\n const name = 'hubspotutk';\n const v = this.document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');\n return v ? v[2] : null;\n }\n private getPageURI() {\n if (!this.route) {\n return null;\n }\n return this.route.url;\n }\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Title } from '@angular/platform-browser';\nimport { Router } from '@angular/router';\n\nimport { DaffHubspotFormsService } from './hubspot-forms.service';\nimport { DaffHubspotConfig } from './models/config';\n\n\nexport const daffHubspotFormsServiceFactory = (\n http: HttpClient,\n document: Document,\n router: Router,\n title: Title,\n config: DaffHubspotConfig,\n) => new DaffHubspotFormsService(http, document, router, title, config);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAGO,MA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C,GAAG,OAAO,GAAG;AACtD,cAAA,QAAQ,GAAG,GAAG,GAAG,IAAI;;IAEnB,SAAS,GAAA;AACf,QAAA,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AAClB,YAAA,OAAO,IAAI;;QAEb,MAAM,IAAI,GAAG,YAAY;AACzB,QAAA,MAAM,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,GAAG,IAAI,GAAG,eAAe,CAAC;AACxE,QAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;;IAEhB,UAAU,GAAA;AAChB,QAAA,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;AACf,YAAA,OAAO,IAAI;;AAEb,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG;;AAExB;;ACrDM,MAAM,8BAA8B,GAAG,CAC5C,IAAgB,EAChB,QAAkB,EAClB,MAAc,EACd,KAAY,EACZ,MAAyB,KACtB,IAAI,uBAAuB,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;;ACdtE;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-driver-hubspot.mjs","sources":["../../../libs/driver/hubspot/src/transformers/json-builder.ts","../../../libs/driver/hubspot/src/hubspot-forms.service.ts","../../../libs/driver/hubspot/src/hubspot-forms.provider.ts","../../../libs/driver/hubspot/src/daffodil-driver-hubspot.ts"],"sourcesContent":["import { FieldValue } from '../models/hubspot-request';\n\n\nexport const jsonBuilder = (payload: Record<string, any>): FieldValue[] => Object.keys(payload).map((key) => ({ name: key, value: payload[key] }));\n","import { HttpClient } from '@angular/common/http';\nimport { Title } from '@angular/platform-browser';\nimport { Router } from '@angular/router';\nimport { Observable } from 'rxjs';\n\nimport { DaffHubspotConfig } from './models/config';\nimport { DaffHubspotFormsInterface } from './models/forms';\nimport { DaffHubspotRequest } from './models/hubspot-request';\nimport { HubspotResponse } from './models/hubspot-response';\nimport { jsonBuilder } from './transformers/json-builder';\n\n/**\n * Service for interacting with Hubspot Forms API.\n */\nexport class DaffHubspotFormsService implements DaffHubspotFormsInterface {\n constructor(\n private http: HttpClient,\n private document: Document,\n private route: Router,\n private title: Title,\n private config: DaffHubspotConfig) { }\n\n\n submit(payload: Record<string, any>): Observable<HubspotResponse> {\n return this.http.post<HubspotResponse>(\n this.generateUrl(this.config.portalId, this.config.guid, this.config.version),\n this.makeRequest(payload),\n );\n }\n\n private makeRequest(payload): DaffHubspotRequest {\n return {\n fields: [\n ...jsonBuilder(payload),\n ],\n context: {\n hutk: this.getCookie(),\n pageUri: this.getPageURI(),\n pageName: this.title.getTitle(),\n },\n };\n }\n\n private generateUrl(portalId: string, guid: string, version: string): string {\n if (version === undefined) {\n version = 'v3';\n }\n return 'https://api.hsforms.com/submissions/' + version + '/integration/submit/'\n + portalId + '/' + guid;\n }\n private getCookie() {\n if (!this.document) {\n return null;\n }\n const name = 'hubspotutk';\n const v = this.document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');\n return v ? v[2] : null;\n }\n private getPageURI() {\n if (!this.route) {\n return null;\n }\n return this.route.url;\n }\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Title } from '@angular/platform-browser';\nimport { Router } from '@angular/router';\n\nimport { DaffHubspotFormsService } from './hubspot-forms.service';\nimport { DaffHubspotConfig } from './models/config';\nimport { DaffHubspotFormsInterface } from './models/forms';\n\n/**\n * Factory for {@link DaffHubspotFormsService}.\n */\nexport const daffHubspotFormsServiceFactory = (\n http: HttpClient,\n document: Document,\n router: Router,\n title: Title,\n config: DaffHubspotConfig,\n): DaffHubspotFormsInterface => new DaffHubspotFormsService(http, document, router, title, config);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAGO,MAAM,WAAW,GAAG,CAAC,OAA4B,KAAmB,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,EAAE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,CAAC,IAAI,CAAC,QAAQ,EAAE;AAClB,YAAA,OAAO,IAAI;;QAEb,MAAM,IAAI,GAAG,YAAY;AACzB,QAAA,MAAM,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,GAAG,IAAI,GAAG,eAAe,CAAC;AACxE,QAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;;IAEhB,UAAU,GAAA;AAChB,QAAA,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;AACf,YAAA,OAAO,IAAI;;AAEb,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG;;AAExB;;ACxDD;;AAEG;AACI,MAAM,8BAA8B,GAAG,CAC5C,IAAgB,EAChB,QAAkB,EAClB,MAAc,EACd,KAAY,EACZ,MAAyB,KACK,IAAI,uBAAuB,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;;ACjBjG;;AAEG;;;;"}
@@ -1,6 +1,9 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Title } from '@angular/platform-browser';
3
3
  import { Router } from '@angular/router';
4
- import { DaffHubspotFormsService } from './hubspot-forms.service';
5
4
  import { DaffHubspotConfig } from './models/config';
6
- export declare const daffHubspotFormsServiceFactory: (http: HttpClient, document: Document, router: Router, title: Title, config: DaffHubspotConfig) => DaffHubspotFormsService;
5
+ import { DaffHubspotFormsInterface } from './models/forms';
6
+ /**
7
+ * Factory for {@link DaffHubspotFormsService}.
8
+ */
9
+ export declare const daffHubspotFormsServiceFactory: (http: HttpClient, document: Document, router: Router, title: Title, config: DaffHubspotConfig) => DaffHubspotFormsInterface;
@@ -3,8 +3,12 @@ import { Title } from '@angular/platform-browser';
3
3
  import { Router } from '@angular/router';
4
4
  import { Observable } from 'rxjs';
5
5
  import { DaffHubspotConfig } from './models/config';
6
+ import { DaffHubspotFormsInterface } from './models/forms';
6
7
  import { HubspotResponse } from './models/hubspot-response';
7
- export declare class DaffHubspotFormsService {
8
+ /**
9
+ * Service for interacting with Hubspot Forms API.
10
+ */
11
+ export declare class DaffHubspotFormsService implements DaffHubspotFormsInterface {
8
12
  private http;
9
13
  private document;
10
14
  private route;
@@ -1,4 +1 @@
1
- export { DaffHubspotFormsService } from './hubspot-forms.service';
2
- export { DaffHubspotConfig } from './models/config';
3
- export { DaffHubspotRequest } from './models/hubspot-request';
4
- export { daffHubspotFormsServiceFactory } from './hubspot-forms.provider';
1
+ export * from './public_api';
@@ -0,0 +1,8 @@
1
+ import { Observable } from 'rxjs';
2
+ import { HubspotResponse } from './hubspot-response';
3
+ /**
4
+ * Interface for interacting with Hubspot Forms API.
5
+ */
6
+ export interface DaffHubspotFormsInterface {
7
+ submit(payload: Record<string, any>): Observable<HubspotResponse>;
8
+ }
@@ -0,0 +1,6 @@
1
+ export { DaffHubspotFormsService } from './hubspot-forms.service';
2
+ export { DaffHubspotConfig } from './models/config';
3
+ export { DaffHubspotRequest } from './models/hubspot-request';
4
+ export { HubspotResponse, HubspotError, } from './models/hubspot-response';
5
+ export { DaffHubspotFormsInterface } from './models/forms';
6
+ export { daffHubspotFormsServiceFactory } from './hubspot-forms.provider';
@@ -0,0 +1,18 @@
1
+ import { DaffModelFactory } from '@daffodil/core/testing';
2
+ import { HubspotError, HubspotResponse } from '@daffodil/driver/hubspot';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MockHubspotResponse implements HubspotResponse {
5
+ redirectUri?: string;
6
+ inlineMessage: string;
7
+ errors: HubspotError[];
8
+ }
9
+ /**
10
+ * Model factory for {@link MockHubspotResponse}s.
11
+ *
12
+ * Should be used to create {@link MockHubspotResponse}s for testing purposes.
13
+ */
14
+ export declare class DaffHubspotResponseFactory extends DaffModelFactory<HubspotResponse> {
15
+ constructor();
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffHubspotResponseFactory, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<DaffHubspotResponseFactory>;
18
+ }
@@ -0,0 +1 @@
1
+ export * from './hubspot-response.factory';
@@ -0,0 +1 @@
1
+ export * from './public_api';
@@ -0,0 +1 @@
1
+ export * from './factories/public_api';
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@daffodil/driver","nx":{"targets":{"build":{"outputs":["{workspaceRoot}/dist/driver"]}}},"version":"0.82.0","description":"A consistent, sane api driver that works with different ecommerce systems.","repository":{"type":"git","url":"https://github.com/graycoreio/daffodil"},"author":"Graycore LLC","license":"MIT","bugs":{"url":"https://github.com/graycoreio/daffodil/issues"},"homepage":"https://github.com/graycoreio/daffodil","optionalDependencies":{"angular-in-memory-web-api":"^0.19.0"},"peerDependencies":{"@angular/common":"^19.0.0","@angular/core":"^19.0.0","rxjs":"7.8.1"},"module":"fesm2022/daffodil-driver.mjs","typings":"index.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","default":"./fesm2022/daffodil-driver.mjs"},"./hubspot":{"types":"./hubspot/index.d.ts","default":"./fesm2022/daffodil-driver-hubspot.mjs"},"./in-memory":{"types":"./in-memory/index.d.ts","default":"./fesm2022/daffodil-driver-in-memory.mjs"},"./magento":{"types":"./magento/index.d.ts","default":"./fesm2022/daffodil-driver-magento.mjs"},"./shopify":{"types":"./shopify/index.d.ts","default":"./fesm2022/daffodil-driver-shopify.mjs"},"./magento/testing":{"types":"./magento/testing/index.d.ts","default":"./fesm2022/daffodil-driver-magento-testing.mjs"},"./shopify/testing":{"types":"./shopify/testing/index.d.ts","default":"./fesm2022/daffodil-driver-shopify-testing.mjs"}},"sideEffects":false,"dependencies":{"tslib":"^2.3.0"}}
1
+ {"name":"@daffodil/driver","nx":{"targets":{"build":{"outputs":["{workspaceRoot}/dist/driver"]}}},"version":"0.83.0","description":"A consistent, sane api driver that works with different ecommerce systems.","repository":{"type":"git","url":"https://github.com/graycoreio/daffodil"},"author":"Graycore LLC","license":"MIT","bugs":{"url":"https://github.com/graycoreio/daffodil/issues"},"homepage":"https://github.com/graycoreio/daffodil","optionalDependencies":{"angular-in-memory-web-api":"^0.19.0"},"peerDependencies":{"@angular/common":"^19.0.0","@angular/core":"^19.0.0","rxjs":"7.8.1"},"module":"fesm2022/daffodil-driver.mjs","typings":"index.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","default":"./fesm2022/daffodil-driver.mjs"},"./hubspot":{"types":"./hubspot/index.d.ts","default":"./fesm2022/daffodil-driver-hubspot.mjs"},"./in-memory":{"types":"./in-memory/index.d.ts","default":"./fesm2022/daffodil-driver-in-memory.mjs"},"./magento":{"types":"./magento/index.d.ts","default":"./fesm2022/daffodil-driver-magento.mjs"},"./shopify":{"types":"./shopify/index.d.ts","default":"./fesm2022/daffodil-driver-shopify.mjs"},"./hubspot/testing":{"types":"./hubspot/testing/index.d.ts","default":"./fesm2022/daffodil-driver-hubspot-testing.mjs"},"./magento/testing":{"types":"./magento/testing/index.d.ts","default":"./fesm2022/daffodil-driver-magento-testing.mjs"},"./shopify/testing":{"types":"./shopify/testing/index.d.ts","default":"./fesm2022/daffodil-driver-shopify-testing.mjs"}},"sideEffects":false,"dependencies":{"tslib":"^2.3.0"}}