@nomalism-com/types 0.12.4 → 0.12.6

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.
@@ -3,9 +3,7 @@ import * as IShared from '../../../shared/interface';
3
3
  export declare const Route = "google";
4
4
  export declare const UpperName = "Google";
5
5
  export declare const LowerName: string;
6
- export interface IGetUserData extends Pick<DocumentHeader, 'document_number' | 'emission_date' | 'owner_number' | 'contact_persona_name' | 'contact_persona_email' | 'contact_persona_telephone' | 'billing_persona_nif' | 'billing_persona_name' | 'billing_persona_email' | 'billing_persona_telephone' | 'billing_persona_address_street' | 'billing_persona_address_locality' | 'billing_persona_address_postal_code' | 'billing_persona_address_country_name' | 'delivery_persona_name' | 'delivery_persona_email' | 'delivery_persona_telephone' | 'delivery_persona_address_street' | 'delivery_persona_address_locality' | 'delivery_persona_address_postal_code' | 'delivery_persona_address_country_name'> {
7
- created_by: string;
8
- }
6
+ export type IGetUserData = Pick<DocumentHeader, 'document_number' | 'emission_date' | 'owner_number' | 'contact_persona_name' | 'contact_persona_email' | 'contact_persona_telephone' | 'billing_persona_nif' | 'billing_persona_name' | 'billing_persona_email' | 'billing_persona_telephone' | 'billing_persona_address_street' | 'billing_persona_address_locality' | 'billing_persona_address_postal_code' | 'billing_persona_address_country_name' | 'delivery_persona_name' | 'delivery_persona_email' | 'delivery_persona_telephone' | 'delivery_persona_address_street' | 'delivery_persona_address_locality' | 'delivery_persona_address_postal_code' | 'delivery_persona_address_country_name'>;
9
7
  export interface IUpdateRequest {
10
8
  document_name: string;
11
9
  client_data?: IGetUserData;
@@ -19,7 +19,6 @@ exports.exportQuery = joi_1.default
19
19
  .keys(exportQueryKeys)
20
20
  .messages(messages_1.messages);
21
21
  var userData = {
22
- created_by: joi_1.default.string().optional(),
23
22
  document_number: joi_1.default.number().optional(),
24
23
  emission_date: joi_1.default.date().optional(),
25
24
  owner_number: joi_1.default.number().optional(),
@@ -188,6 +188,12 @@ export type IBrokerTopicPayload = {
188
188
  spreadsheetId: string;
189
189
  document_name: string;
190
190
  client_data?: IGoogleSheets.IGetUserData;
191
+ store_operator: {
192
+ id: string | null;
193
+ name: string | null;
194
+ number: number | null;
195
+ };
196
+ reason_for_exemption_name: string | null;
191
197
  };
192
198
  [IBrokerTopic.error_handler]: IErrorHandler.ICreateRequest;
193
199
  [IBrokerTopic.provider_order_schedule_email]: {
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.12.4",
12
+ "version": "0.12.6",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [