@vendasta/forms_microservice 0.13.0 → 0.15.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.
@@ -10,7 +10,8 @@ export declare enum FieldType {
10
10
  FIELD_TYPE_RICH_TEXT_ELEMENT = 8,
11
11
  FIELD_TYPE_EMAIL = 9,
12
12
  FIELD_TYPE_PHONE = 10,
13
- FIELD_TYPE_BUSINESS_SEARCH = 11
13
+ FIELD_TYPE_BUSINESS_SEARCH = 11,
14
+ FIELD_TYPE_TEXT_AREA = 12
14
15
  }
15
16
  export declare enum JsonSchemaLibrary {
16
17
  JSON_SCHEMA_LIBRARY_UNDEFINED = 0,
@@ -1,14 +1,11 @@
1
1
  import { CreateFormSubmissionRequest, CreateFormSubmissionResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, ListFormSubmissionRequest, ListFormSubmissionResponse } from './objects/';
2
2
  import { CreateFormSubmissionRequestInterface, GetMultiFormSubmissionRequestInterface, ListFormSubmissionRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class FormSubmissionApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  createFormSubmission(r: CreateFormSubmissionRequest | CreateFormSubmissionRequestInterface): Observable<CreateFormSubmissionResponse>;
14
11
  listFormSubmission(r: ListFormSubmissionRequest | ListFormSubmissionRequestInterface): Observable<ListFormSubmissionResponse>;
@@ -1,14 +1,12 @@
1
1
  import { CreateFormRequest, CreateFormResponse, DeleteFormRequest, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiRequest, GetMultiResponse, ListFormsRequest, ListFormsResponse, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, PreviewFormRequest, PreviewFormResponse, RenderFormRequest, RenderFormResponse, UpdateFormRequest, UpdateFormResponse } from './objects/';
2
2
  import { CreateFormRequestInterface, DeleteFormRequestInterface, GetEmbedCodeRequestInterface, GetFormRequestInterface, GetMultiFormVersionsListRequestInterface, GetMultiRequestInterface, ListFormsRequestInterface, ListMappedFieldSchemaRequestInterface, PreviewFormRequestInterface, RenderFormRequestInterface, UpdateFormRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class FormsApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  getEmbedCode(r: GetEmbedCodeRequest | GetEmbedCodeRequestInterface): Observable<GetEmbedCodeResponse>;
14
12
  getForm(r: GetFormRequest | GetFormRequestInterface): Observable<GetFormResponse>;
@@ -27,6 +27,7 @@ export interface FormConfigFieldInterface {
27
27
  defaultValue?: FieldValueInterface;
28
28
  preFillByUrlQueryParameter?: string;
29
29
  placeholder?: string;
30
+ defaultPhoneIsoCountryCode?: string;
30
31
  }
31
32
  export interface FieldOptionInterface {
32
33
  value?: string;
@@ -44,6 +44,7 @@ export declare class FormConfigField implements i.FormConfigFieldInterface {
44
44
  defaultValue: FieldValue;
45
45
  preFillByUrlQueryParameter: string;
46
46
  placeholder: string;
47
+ defaultPhoneIsoCountryCode: string;
47
48
  static fromProto(proto: any): FormConfigField;
48
49
  constructor(kwargs?: i.FormConfigFieldInterface);
49
50
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/forms_microservice",
3
- "version": "0.13.0",
3
+ "version": "0.15.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"