@withnicer/sdk 0.0.0 → 1.0.0-beta.2

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.
Files changed (80) hide show
  1. package/README.md +89 -4
  2. package/dist/_/codec.d.ts +93 -0
  3. package/dist/_/codec.js +298 -0
  4. package/dist/_/error.d.ts +27 -0
  5. package/dist/_/error.js +68 -0
  6. package/dist/_/hooks/envelope.d.ts +11 -0
  7. package/dist/_/hooks/envelope.js +15 -0
  8. package/dist/_/index.d.ts +3 -0
  9. package/dist/_/index.js +5 -0
  10. package/dist/_/transport.d.ts +146 -0
  11. package/dist/_/transport.js +220 -0
  12. package/dist/activity/client.d.ts +42 -0
  13. package/dist/activity/client.js +18 -0
  14. package/dist/activity/index.d.ts +5 -0
  15. package/dist/activity/index.js +4 -0
  16. package/dist/activity/models.d.ts +65 -0
  17. package/dist/activity/models.js +3 -0
  18. package/dist/client.d.ts +1680 -0
  19. package/dist/client.js +749 -0
  20. package/dist/crmSettings/client.d.ts +50 -0
  21. package/dist/crmSettings/client.js +25 -0
  22. package/dist/crmSettings/index.d.ts +5 -0
  23. package/dist/crmSettings/index.js +4 -0
  24. package/dist/crmSettings/models.d.ts +313 -0
  25. package/dist/crmSettings/models.js +3 -0
  26. package/dist/crmTrips/client.d.ts +100 -0
  27. package/dist/crmTrips/client.js +38 -0
  28. package/dist/crmTrips/index.d.ts +5 -0
  29. package/dist/crmTrips/index.js +4 -0
  30. package/dist/crmTrips/models.d.ts +193 -0
  31. package/dist/crmTrips/models.js +3 -0
  32. package/dist/crmTrips/travelers/client.d.ts +33 -0
  33. package/dist/crmTrips/travelers/client.js +18 -0
  34. package/dist/crmTrips/travelers/index.d.ts +5 -0
  35. package/dist/crmTrips/travelers/index.js +4 -0
  36. package/dist/crmTrips/travelers/models.d.ts +14 -0
  37. package/dist/crmTrips/travelers/models.js +3 -0
  38. package/dist/index.d.ts +5 -0
  39. package/dist/index.js +4 -0
  40. package/dist/me/client.d.ts +56 -0
  41. package/dist/me/client.js +25 -0
  42. package/dist/me/index.d.ts +5 -0
  43. package/dist/me/index.js +4 -0
  44. package/dist/me/models.d.ts +95 -0
  45. package/dist/me/models.js +3 -0
  46. package/dist/models.d.ts +8539 -0
  47. package/dist/models.js +4 -0
  48. package/dist/notes/client.d.ts +82 -0
  49. package/dist/notes/client.js +41 -0
  50. package/dist/notes/index.d.ts +5 -0
  51. package/dist/notes/index.js +4 -0
  52. package/dist/notes/models.d.ts +116 -0
  53. package/dist/notes/models.js +3 -0
  54. package/dist/options/index.d.ts +114 -0
  55. package/dist/options/index.js +115 -0
  56. package/dist/profileForms/client.d.ts +38 -0
  57. package/dist/profileForms/client.js +25 -0
  58. package/dist/profileForms/index.d.ts +5 -0
  59. package/dist/profileForms/index.js +4 -0
  60. package/dist/profileForms/models.d.ts +24 -0
  61. package/dist/profileForms/models.js +3 -0
  62. package/dist/taskTemplates/client.d.ts +36 -0
  63. package/dist/taskTemplates/client.js +18 -0
  64. package/dist/taskTemplates/index.d.ts +5 -0
  65. package/dist/taskTemplates/index.js +4 -0
  66. package/dist/taskTemplates/models.d.ts +15 -0
  67. package/dist/taskTemplates/models.js +3 -0
  68. package/dist/tasks/client.d.ts +105 -0
  69. package/dist/tasks/client.js +41 -0
  70. package/dist/tasks/index.d.ts +5 -0
  71. package/dist/tasks/index.js +4 -0
  72. package/dist/tasks/models.d.ts +59 -0
  73. package/dist/tasks/models.js +3 -0
  74. package/dist/travelers/client.d.ts +214 -0
  75. package/dist/travelers/client.js +76 -0
  76. package/dist/travelers/index.d.ts +5 -0
  77. package/dist/travelers/index.js +4 -0
  78. package/dist/travelers/models.d.ts +576 -0
  79. package/dist/travelers/models.js +3 -0
  80. package/package.json +35 -2
package/dist/models.js ADDED
@@ -0,0 +1,4 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ import { array, object, union } from "./_/index.js";
4
+ export const SegmentOpBodyCodec = union([object([["operations", null, array(union([object([["segment", null, union([object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]])])]]), object([["segment", null, union([object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]])])]])]))]]), array(union([object([["segment", null, union([object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]])])]]), object([["segment", null, union([object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]]), object([["priceInUSD", "priceInUsd"]])])]])]))]);
@@ -0,0 +1,82 @@
1
+ import { type BaseClientOptions, type RequestOptions, Transport } from "../_/index.js";
2
+ import type { Deleted, TravelerId } from "../models.js";
3
+ import type { Note, NoteCreate, NoteList, NoteUpdate } from "./models.js";
4
+ export interface ClientOptions extends BaseClientOptions {
5
+ /**
6
+ * The URL the paths of the API are relative to.
7
+ */
8
+ baseUrl: string;
9
+ }
10
+ export interface Client {
11
+ /**
12
+ * Add a note
13
+ *
14
+ * Adds a note about one traveler or one trip. Log a call, an email, a meeting
15
+ * or a message with its kind. Requires an Idempotency-Key header. Errors: 400
16
+ * ERROR_BODY_VALIDATION, 404 ERROR_ITEM_NOT_FOUND, 409
17
+ * CRM_IDEMPOTENCY_CONFLICT.
18
+ */
19
+ create(request: CreateRequest, options?: RequestOptions): Promise<CreateResponse>;
20
+ /**
21
+ * Delete a note
22
+ *
23
+ * Deletes a note for good and publishes crm.note-changed.v1 with action
24
+ * DELETED. Answers the note's id with deleted set to true; deleting it again
25
+ * answers 404. Errors: 404 ERROR_ITEM_NOT_FOUND for a note there is not, or
26
+ * about a traveler or trip the caller may not see.
27
+ */
28
+ delete(request: DeleteRequest, options?: RequestOptions): Promise<DeleteResponse>;
29
+ /**
30
+ * List notes
31
+ *
32
+ * Lists the notes about one traveler (travelerId) or one trip
33
+ * (travelersTripId), newest first, 50 a page unless limit says otherwise;
34
+ * send the answer's nextToken back to read the next page, until it is null. A
35
+ * trip's notes are its staff's: its advisor of record and the agency's
36
+ * admins. Errors: 400 ERROR_INVALID_QUERY for neither or both of travelerId
37
+ * and travelersTripId, a limit out of range or a nextToken of another list;
38
+ * 404 ERROR_ITEM_NOT_FOUND for a traveler or trip the caller may not see.
39
+ */
40
+ list(request?: ListRequest, options?: RequestOptions): Promise<ListResponse>;
41
+ /**
42
+ * Update a note
43
+ *
44
+ * Replaces a note's text, kind or pin. Errors: 400 ERROR_BODY_VALIDATION, 404
45
+ * ERROR_ITEM_NOT_FOUND.
46
+ */
47
+ update(request: UpdateRequest, options?: RequestOptions): Promise<UpdateResponse>;
48
+ }
49
+ export declare function createClient(options: ClientOptions): Client;
50
+ export declare function bind(transport: Transport): Client;
51
+ export type CreateRequest = NoteCreate;
52
+ export type CreateResponse = Note;
53
+ export interface DeleteRequest {
54
+ noteId: string;
55
+ }
56
+ export type DeleteResponse = Deleted;
57
+ export interface ListRequest {
58
+ /**
59
+ * How many notes a page holds, 1 to 100; 50 when left out.
60
+ */
61
+ limit?: number;
62
+ /**
63
+ * The nextToken of the page before, to read the next one; left out for the
64
+ * first page.
65
+ */
66
+ nextToken?: string;
67
+ /**
68
+ * The traveler (TRV…) whose notes to list. Required unless travelersTripId is
69
+ * sent; never both.
70
+ */
71
+ travelerId?: TravelerId;
72
+ /**
73
+ * The trip (TT…) whose notes to list. Required unless travelerId is sent;
74
+ * never both.
75
+ */
76
+ travelersTripId?: string;
77
+ }
78
+ export type ListResponse = NoteList;
79
+ export type UpdateRequest = {
80
+ noteId: string;
81
+ } & NoteUpdate;
82
+ export type UpdateResponse = Note;
@@ -0,0 +1,41 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ import { Transport, } from "../_/index.js";
4
+ export function createClient(options) {
5
+ return bind(new Transport(options));
6
+ }
7
+ export function bind(transport) {
8
+ return {
9
+ create: (request, options) => transport.send(CreateOperation, request, options),
10
+ delete: (request, options) => transport.send(DeleteOperation, request, options),
11
+ list: (request, options) => transport.send(ListOperation, request, options),
12
+ update: (request, options) => transport.send(UpdateOperation, request, options),
13
+ };
14
+ }
15
+ const CreateOperation = {
16
+ method: "POST",
17
+ route: "/crm/notes",
18
+ body: "flat",
19
+ response: null,
20
+ errors: { "400": true, "401": true, "403": true },
21
+ };
22
+ const DeleteOperation = {
23
+ method: "DELETE",
24
+ route: "/crm/notes/{noteId}",
25
+ response: null,
26
+ errors: { "400": true, "401": true, "403": true },
27
+ };
28
+ const ListOperation = {
29
+ method: "GET",
30
+ route: "/crm/notes",
31
+ query: { limit: "limit", nextToken: "nextToken", travelerId: "travelerId", travelersTripId: "travelersTripId" },
32
+ response: null,
33
+ errors: { "400": true, "401": true, "403": true },
34
+ };
35
+ const UpdateOperation = {
36
+ method: "PUT",
37
+ route: "/crm/notes/{noteId}",
38
+ body: "flat",
39
+ response: null,
40
+ errors: { "400": true, "401": true, "403": true },
41
+ };
@@ -0,0 +1,5 @@
1
+ export { ApiError } from "../_/index.js";
2
+ export type { RequestOptions } from "../_/index.js";
3
+ export { createClient } from "./client.js";
4
+ export type { Client, ClientOptions, CreateRequest, CreateResponse, DeleteRequest, DeleteResponse, ListRequest, ListResponse, UpdateRequest, UpdateResponse, } from "./client.js";
5
+ export type { Note, NoteCreate, NoteKind, NoteList, NoteUpdate, } from "./models.js";
@@ -0,0 +1,4 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export { ApiError } from "../_/index.js";
4
+ export { createClient } from "./client.js";
@@ -0,0 +1,116 @@
1
+ import type { TravelerId } from "../models.js";
2
+ /**
3
+ * A note about a traveler or a trip.
4
+ */
5
+ export interface Note {
6
+ /**
7
+ * The agency the note belongs to.
8
+ */
9
+ companyName: string;
10
+ /**
11
+ * The text, in the format of the editor that wrote it.
12
+ */
13
+ content: string;
14
+ /**
15
+ * When the note was written.
16
+ */
17
+ createdAt: string;
18
+ /**
19
+ * The user id of who wrote the note.
20
+ */
21
+ createdBy: string;
22
+ /**
23
+ * Whether the note is pinned: pinned notes lead the traveler's overview.
24
+ */
25
+ isPinned: boolean;
26
+ /**
27
+ * What the note records.
28
+ */
29
+ kind: NoteKind;
30
+ /**
31
+ * The user id of who changed the note last.
32
+ */
33
+ lastModifiedBy: string;
34
+ /**
35
+ * The note's id: what updateNote and deleteNote take.
36
+ */
37
+ noteId: string;
38
+ /**
39
+ * The traveler the note is about; null for a note about a trip. A note is
40
+ * about one traveler or one trip.
41
+ */
42
+ travelerId: TravelerId | null;
43
+ /**
44
+ * The trip (TT…) the note is about; null for a note about a traveler.
45
+ */
46
+ travelersTripId: string | null;
47
+ /**
48
+ * When the note last changed.
49
+ */
50
+ updatedAt: string;
51
+ }
52
+ /**
53
+ * A new note about one traveler or one trip.
54
+ */
55
+ export interface NoteCreate {
56
+ /**
57
+ * The text, 1 to 20,000 characters once trimmed, in the format of the editor
58
+ * that writes it.
59
+ */
60
+ content: string;
61
+ /**
62
+ * Pins the note to the traveler's overview. False when left out.
63
+ */
64
+ isPinned?: boolean;
65
+ /**
66
+ * What the note records. NOTE when left out.
67
+ */
68
+ kind?: NoteKind;
69
+ /**
70
+ * The traveler (TRV…) the note is about. Required unless travelersTripId is
71
+ * sent; never both.
72
+ */
73
+ travelerId?: TravelerId;
74
+ /**
75
+ * The trip (TT…) the note is about. Required unless travelerId is sent; never
76
+ * both.
77
+ */
78
+ travelersTripId?: string;
79
+ }
80
+ /**
81
+ * NOTE for a plain note; CALL, EMAIL, MEETING or MESSAGE to log a conversation.
82
+ */
83
+ export type NoteKind = "CALL" | "EMAIL" | "MEETING" | "MESSAGE" | "NOTE";
84
+ /**
85
+ * One page of the notes about a traveler or a trip, newest first, and the token
86
+ * of the next page.
87
+ */
88
+ export interface NoteList {
89
+ /**
90
+ * The items of this page.
91
+ */
92
+ items: Note[];
93
+ /**
94
+ * Send it back as nextToken to read the next page; null on the last page.
95
+ */
96
+ nextToken: string | null;
97
+ }
98
+ /**
99
+ * A change to a note: send at least one field; the ones left out keep their
100
+ * values.
101
+ */
102
+ export interface NoteUpdate {
103
+ /**
104
+ * The new text, which replaces the old one whole: 1 to 20,000 characters once
105
+ * trimmed.
106
+ */
107
+ content?: string;
108
+ /**
109
+ * True pins the note to the traveler's overview, false unpins it.
110
+ */
111
+ isPinned?: boolean;
112
+ /**
113
+ * What the note records.
114
+ */
115
+ kind?: NoteKind;
116
+ }
@@ -0,0 +1,3 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export {};
@@ -0,0 +1,114 @@
1
+ /** The values of `FulfillmentState`, in the document's order. */
2
+ export declare const fulfillmentStateOptions: readonly ["NOT_STARTED", "PENDING_ISSUANCE", "PARTIALLY_ISSUED", "ISSUED", "FAILED", "UNKNOWN"];
3
+ /** The values of `PaymentState`, in the document's order. */
4
+ export declare const paymentStateOptions: readonly ["NOT_STARTED", "AWAITING_METHOD", "REQUIRES_ACTION", "PROCESSING", "AUTHORIZED", "SUCCEEDED", "DECLINED", "CANCELLED", "PARTIALLY_REFUNDED", "REFUNDED", "UNKNOWN"];
5
+ /** The values of `ReservationState`, in the document's order. */
6
+ export declare const reservationStateOptions: readonly ["NOT_STARTED", "HOLDING", "HELD", "CONFIRMED", "CANCELLATION_PROCESSING", "CANCELLED", "EXPIRED", "UNKNOWN"];
7
+ /** The values of `OrderLifecycleStatus`, in the document's order. */
8
+ export declare const orderLifecycleStatusOptions: readonly ["DRAFT", "AWAITING_PAYMENT", "HOLDING", "HELD", "PAYMENT_PROCESSING", "TICKETING", "BOOKED", "CANCELLATION_PROCESSING", "CANCELLED", "EXPIRED", "NEEDS_ATTENTION", "FAILED"];
9
+ /** The values of `ProductKind`, in the document's order. */
10
+ export declare const productKindOptions: readonly ["CAR_RENTAL", "FLIGHT", "HOTEL", "INSURANCE"];
11
+ /** The values of `CommissionPaymentStatus`, in the document's order. */
12
+ export declare const commissionPaymentStatusOptions: readonly ["UPCOMING", "DUE", "OVERDUE", "PAID", "CANCELLED", "NOT_COMMISSIONABLE"];
13
+ /** The values of `TravelersTripRelationship`, in the document's order. */
14
+ export declare const travelersTripRelationshipOptions: readonly ["BILLING_CONTACT", "PAYER", "PRIMARY", "TRAVELER"];
15
+ /** The values of `ParticipantField`, in the document's order. */
16
+ export declare const participantFieldOptions: readonly ["ADDRESS", "BIRTH_DATE", "CONTACT_EMAIL", "CONTACT_PHONE", "DOCUMENTS", "NAME", "NATIONALITY", "SEX"];
17
+ /** The values of `GrantScopeKind`, in the document's order. */
18
+ export declare const grantScopeKindOptions: readonly ["USER", "TRIP", "ADVISOR"];
19
+ /** The values of `ExportFormat`, in the document's order. */
20
+ export declare const exportFormatOptions: readonly ["CSV", "XLSX", "PDF"];
21
+ /** The values of `CommissionExportStatus`, in the document's order. */
22
+ export declare const commissionExportStatusOptions: readonly ["QUEUED", "RUNNING", "READY", "FAILED", "EXPIRED"];
23
+ /** The values of `ExportSubject`, in the document's order. */
24
+ export declare const exportSubjectOptions: readonly ["COMMISSION_ITEMS", "PAYMENTS", "REMITTANCES", "STATEMENTS", "SUPPLIERS", "PAYEES", "PAYOUTS", "COMMISSION_INVOICES", "EARNINGS", "AGENCY"];
25
+ /** The values of `CommissionFileStatus`, in the document's order. */
26
+ export declare const commissionFileStatusOptions: readonly ["AWAITING_UPLOAD", "UPLOADED", "PARSING", "READY", "COMMITTING", "COMMITTED", "UNDONE", "DISCARDED", "FAILED"];
27
+ /** The values of `BookingImportField`, in the document's order. */
28
+ export declare const bookingImportFieldOptions: readonly ["bookedOn", "category", "clientName", "commission", "confirmationNumber", "currency", "dueOn", "externalReference", "gross", "identifierNumber", "kind", "note", "paymentTermDays", "providerLocator", "quantity", "rate", "supplierName", "tags", "travelEnd", "travelStart", "advisorEmail"];
29
+ /** The values of `CommissionCategory`, in the document's order. */
30
+ export declare const commissionCategoryOptions: readonly ["HOTEL", "CRUISE", "TOUR", "DMC", "FLIGHT", "CAR_RENTAL", "RAIL", "INSURANCE", "TRANSFER", "CONCIERGE", "FEE", "OTHER"];
31
+ /** The values of `AgingBucket`, in the document's order. */
32
+ export declare const agingBucketOptions: readonly ["NOT_TRAVELED", "0_30", "31_60", "61_90", "91_180", "180_PLUS"];
33
+ /** The values of `CommissionItemKind`, in the document's order. */
34
+ export declare const commissionItemKindOptions: readonly ["SUPPLIER_COMMISSION", "CLIENT_NET_MARKUP", "CLIENT_FEE"];
35
+ /** The values of `CommissionItemSource`, in the document's order. */
36
+ export declare const commissionItemSourceOptions: readonly ["CHECKOUT", "GDS_IMPORT", "MANUAL", "FILE_IMPORT"];
37
+ /** The values of `PayoutMethod`, in the document's order. */
38
+ export declare const payoutMethodOptions: readonly ["STRIPE_CONNECT", "CHECK", "MANUAL"];
39
+ /** The values of `PayoutStatus`, in the document's order. */
40
+ export declare const payoutStatusOptions: readonly ["PENDING", "PAID", "FAILED", "CANCELLED"];
41
+ /** The values of `CommissionChannel`, in the document's order. */
42
+ export declare const commissionChannelOptions: readonly ["ARC", "BSP", "CHECK", "ACH", "WIRE", "CARD", "STRIPE", "CASH", "HOST_STATEMENT", "OTHER"];
43
+ /** The values of `RemittanceImportField`, in the document's order. */
44
+ export declare const remittanceImportFieldOptions: readonly ["amount", "bookingGross", "checkIn", "checkOut", "clientName", "confirmationNumber", "currency", "fee", "fxRate", "identifierNumber", "originalAmount", "originalCurrency", "payableOn", "payerName", "paymentReference", "rate", "receivedOn", "supplierName"];
45
+ /** The values of `RemittancePayerKind`, in the document's order. */
46
+ export declare const remittancePayerKindOptions: readonly ["SUPPLIER", "HOST", "CLIENT", "OTHER"];
47
+ /** The values of `RemittanceState`, in the document's order. */
48
+ export declare const remittanceStateOptions: readonly ["DRAFT", "POSTED", "DUPLICATE", "VOID"];
49
+ /** The values of `LineExclusionReason`, in the document's order. */
50
+ export declare const lineExclusionReasonOptions: readonly ["DUPLICATE", "NOT_COMMISSION", "OTHER_COMPANY", "OTHER"];
51
+ /** The values of `RemittanceLineMatchState`, in the document's order. */
52
+ export declare const remittanceLineMatchStateOptions: readonly ["UNMATCHED", "PROPOSED", "PENDING_REVIEW", "MATCHED", "EXCLUDED", "ZERO"];
53
+ /** The values of `MatchFeature`, in the document's order. */
54
+ export declare const matchFeatureOptions: readonly ["CONFIRMATION", "SUPPLIER", "CLIENT_LAST_NAME", "CLIENT_FIRST_NAME", "CHECK_IN", "CHECK_OUT", "AMOUNT", "IDENTIFIER", "DISTANCE_PENALTY", "CURRENCY_PENALTY", "PAID_PENALTY"];
55
+ /** The values of `SupplierContactRole`, in the document's order. */
56
+ export declare const supplierContactRoleOptions: readonly ["COMMISSIONS", "ACCOUNTING", "RESERVATIONS", "SALES", "OTHER"];
57
+ /** The values of `SupplierKind`, in the document's order. */
58
+ export declare const supplierKindOptions: readonly ["PROPERTY", "CRUISE_LINE", "TOUR_OPERATOR", "DMC", "AIRLINE", "CAR_RENTAL", "RAIL", "INSURANCE", "TRANSFER", "OTHER"];
59
+ /** The values of `ImportRowStatus`, in the document's order. */
60
+ export declare const importRowStatusOptions: readonly ["VALID", "INVALID", "DUPLICATE", "COMMITTED", "SKIPPED"];
61
+ /** The values of `StatementStatus`, in the document's order. */
62
+ export declare const statementStatusOptions: readonly ["OPEN", "PENDING_APPROVAL", "APPROVED", "PAID", "VOID"];
63
+ /** The values of `ReconciliationExceptionKind`, in the document's order. */
64
+ export declare const reconciliationExceptionKindOptions: readonly ["UNMATCHED_LINE", "PENDING_REVIEW_LINE", "OVERPAID_ITEM", "PENDING_CLAIM"];
65
+ /** The values of `SalesStage`, in the document's order. */
66
+ export declare const salesStageOptions: readonly ["BOOKED", "COMPLETED", "INQUIRY", "LOST", "PLANNING", "PROPOSAL", "TRAVELING"];
67
+ /** The values of `TravelDocumentKind`, in the document's order. */
68
+ export declare const travelDocumentKindOptions: readonly ["DRIVER_LICENSE", "KNOWN_TRAVELER_NUMBER", "NATIONAL_ID", "PASSPORT", "REDRESS_NUMBER", "RESIDENCE_PERMIT", "VISA"];
69
+ /** The values of `ParticipantSex`, in the document's order. */
70
+ export declare const participantSexOptions: readonly ["F", "M", "U", "X"];
71
+ /** The values of `TaskOrigin`, in the document's order. */
72
+ export declare const taskOriginOptions: readonly ["ANNIVERSARY", "BIRTHDAY", "DOCUMENT_EXPIRY", "MANUAL", "TEMPLATE"];
73
+ /** The values of `NoteKind`, in the document's order. */
74
+ export declare const noteKindOptions: readonly ["CALL", "EMAIL", "MEETING", "MESSAGE", "NOTE"];
75
+ /** The values of `ImportantDateKind`, in the document's order. */
76
+ export declare const importantDateKindOptions: readonly ["ANNIVERSARY", "OTHER"];
77
+ /** The values of `TravelerOrigin`, in the document's order. */
78
+ export declare const travelerOriginOptions: readonly ["BACKFILL", "CHECKOUT", "IMPORT", "INVITE", "MANUAL", "REFERRAL", "SIGNUP", "TRIP"];
79
+ /** The values of `DuplicateConfidence`, in the document's order. */
80
+ export declare const duplicateConfidenceOptions: readonly ["HIGH", "MEDIUM"];
81
+ /** The values of `DuplicateReason`, in the document's order. */
82
+ export declare const duplicateReasonOptions: readonly ["EMAIL", "NAME_AND_BIRTH_DATE", "PHONE"];
83
+ /** The values of `PreferredChannel`, in the document's order. */
84
+ export declare const preferredChannelOptions: readonly ["EMAIL", "PHONE", "SMS", "WHATSAPP"];
85
+ /** The values of `TravelerRelationshipKind`, in the document's order. */
86
+ export declare const travelerRelationshipKindOptions: readonly ["ASSISTANT", "CHILD", "COLLEAGUE", "EMPLOYER", "FRIEND", "NANNY", "PARENT", "PARTNER", "REFERRED", "REFERRED_BY", "RELATIVE", "SIBLING", "SPOUSE"];
87
+ /** The values of `TravelerStage`, in the document's order. */
88
+ export declare const travelerStageOptions: readonly ["CLIENT", "LEAD"];
89
+ /** The values of `TravelerVisibility`, in the document's order. */
90
+ export declare const travelerVisibilityOptions: readonly ["ADVISORS", "COMPANY"];
91
+ /** The values of `CustomFieldType`, in the document's order. */
92
+ export declare const customFieldTypeOptions: readonly ["BOOLEAN", "DATE", "NUMBER", "SELECT", "TEXT"];
93
+ /** The values of `TaskTemplateAnchor`, in the document's order. */
94
+ export declare const taskTemplateAnchorOptions: readonly ["TRIP_CREATED", "TRIP_END", "TRIP_START"];
95
+ /** The values of `CrmEventName`, in the document's order. */
96
+ export declare const crmEventNameOptions: readonly ["crm.advisor-reminders-due.v1", "crm.note-changed.v1", "crm.settings-updated.v1", "crm.task-changed.v1", "crm.traveler-advisors-changed.v1", "crm.traveler-created.v1", "crm.traveler-documents-changed.v1", "crm.traveler-erased.v1", "crm.traveler-invitation-requested.v1", "crm.traveler-linked.v1", "crm.traveler-unlinked.v1", "crm.traveler-updated.v1", "crm.travelers-merged.v1", "crm.trip-updated.v1"];
97
+ /** The values of `ActivityType`, in the document's order. */
98
+ export declare const activityTypeOptions: readonly ["app.TravelersTrip.created", "app.TravelersTrip.user.added", "app.TripItinerary.Send", "app.TripItinerary.approved", "commerce.order-confirmation-requested.v1", "commerce.order-projection-changed.v1", "commerce.payment-receipt-requested.v1", "crm.note-changed.v1", "crm.task-changed.v1", "crm.traveler-advisors-changed.v1", "crm.traveler-created.v1", "crm.traveler-documents-changed.v1", "crm.traveler-invitation-requested.v1", "crm.traveler-linked.v1", "crm.traveler-unlinked.v1", "crm.traveler-updated.v1", "crm.travelers-merged.v1", "crm.trip-updated.v1", "notifications.traveler-email-sent.v1"];
99
+ /** The values of `FavoriteKind`, in the document's order. */
100
+ export declare const favoriteKindOptions: readonly ["HOTEL", "ACTIVITY"];
101
+ /** The values of `PlaceKind`, in the document's order. */
102
+ export declare const placeKindOptions: readonly ["hotel", "city", "airport", "place"];
103
+ /** The values of `TripItineraryMode`, in the document's order. */
104
+ export declare const tripItineraryModeOptions: readonly ["AUTO", "CUSTOM"];
105
+ /** The values of `TripItineraryStatus`, in the document's order. */
106
+ export declare const tripItineraryStatusOptions: readonly ["PROPOSAL", "IN_PROGRESS", "TRAVELING"];
107
+ /** The values of `FlightMeal`, in the document's order. */
108
+ export declare const flightMealOptions: readonly ["BREAKFAST", "DINNER", "FOR_PURCHASE", "LUNCH", "MEAL", "NONE", "REFRESHMENTS", "SNACK"];
109
+ /** The values of `AttachmentContentType`, in the document's order. */
110
+ export declare const attachmentContentTypeOptions: readonly ["application/pdf", "image/jpeg", "image/png", "message/rfc822", "text/csv", "text/plain", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"];
111
+ /** The values of `PeriodComparison`, in the document's order. */
112
+ export declare const periodComparisonOptions: readonly ["PREVIOUS_PERIOD", "SAME_PERIOD_LAST_YEAR", "NONE"];
113
+ /** The values of `FlightSort`, in the document's order. */
114
+ export declare const flightSortOptions: readonly ["best", "price", "-price", "duration", "departure", "-departure", "arrival", "-arrival", "stops"];
@@ -0,0 +1,115 @@
1
+ // Code generated by scripts/prepare.ts from the OpenAPI document. DO NOT EDIT.
2
+ /** The values of `FulfillmentState`, in the document's order. */
3
+ export const fulfillmentStateOptions = ["NOT_STARTED", "PENDING_ISSUANCE", "PARTIALLY_ISSUED", "ISSUED", "FAILED", "UNKNOWN"];
4
+ /** The values of `PaymentState`, in the document's order. */
5
+ export const paymentStateOptions = ["NOT_STARTED", "AWAITING_METHOD", "REQUIRES_ACTION", "PROCESSING", "AUTHORIZED", "SUCCEEDED", "DECLINED", "CANCELLED", "PARTIALLY_REFUNDED", "REFUNDED", "UNKNOWN"];
6
+ /** The values of `ReservationState`, in the document's order. */
7
+ export const reservationStateOptions = ["NOT_STARTED", "HOLDING", "HELD", "CONFIRMED", "CANCELLATION_PROCESSING", "CANCELLED", "EXPIRED", "UNKNOWN"];
8
+ /** The values of `OrderLifecycleStatus`, in the document's order. */
9
+ export const orderLifecycleStatusOptions = ["DRAFT", "AWAITING_PAYMENT", "HOLDING", "HELD", "PAYMENT_PROCESSING", "TICKETING", "BOOKED", "CANCELLATION_PROCESSING", "CANCELLED", "EXPIRED", "NEEDS_ATTENTION", "FAILED"];
10
+ /** The values of `ProductKind`, in the document's order. */
11
+ export const productKindOptions = ["CAR_RENTAL", "FLIGHT", "HOTEL", "INSURANCE"];
12
+ /** The values of `CommissionPaymentStatus`, in the document's order. */
13
+ export const commissionPaymentStatusOptions = ["UPCOMING", "DUE", "OVERDUE", "PAID", "CANCELLED", "NOT_COMMISSIONABLE"];
14
+ /** The values of `TravelersTripRelationship`, in the document's order. */
15
+ export const travelersTripRelationshipOptions = ["BILLING_CONTACT", "PAYER", "PRIMARY", "TRAVELER"];
16
+ /** The values of `ParticipantField`, in the document's order. */
17
+ export const participantFieldOptions = ["ADDRESS", "BIRTH_DATE", "CONTACT_EMAIL", "CONTACT_PHONE", "DOCUMENTS", "NAME", "NATIONALITY", "SEX"];
18
+ /** The values of `GrantScopeKind`, in the document's order. */
19
+ export const grantScopeKindOptions = ["USER", "TRIP", "ADVISOR"];
20
+ /** The values of `ExportFormat`, in the document's order. */
21
+ export const exportFormatOptions = ["CSV", "XLSX", "PDF"];
22
+ /** The values of `CommissionExportStatus`, in the document's order. */
23
+ export const commissionExportStatusOptions = ["QUEUED", "RUNNING", "READY", "FAILED", "EXPIRED"];
24
+ /** The values of `ExportSubject`, in the document's order. */
25
+ export const exportSubjectOptions = ["COMMISSION_ITEMS", "PAYMENTS", "REMITTANCES", "STATEMENTS", "SUPPLIERS", "PAYEES", "PAYOUTS", "COMMISSION_INVOICES", "EARNINGS", "AGENCY"];
26
+ /** The values of `CommissionFileStatus`, in the document's order. */
27
+ export const commissionFileStatusOptions = ["AWAITING_UPLOAD", "UPLOADED", "PARSING", "READY", "COMMITTING", "COMMITTED", "UNDONE", "DISCARDED", "FAILED"];
28
+ /** The values of `BookingImportField`, in the document's order. */
29
+ export const bookingImportFieldOptions = ["bookedOn", "category", "clientName", "commission", "confirmationNumber", "currency", "dueOn", "externalReference", "gross", "identifierNumber", "kind", "note", "paymentTermDays", "providerLocator", "quantity", "rate", "supplierName", "tags", "travelEnd", "travelStart", "advisorEmail"];
30
+ /** The values of `CommissionCategory`, in the document's order. */
31
+ export const commissionCategoryOptions = ["HOTEL", "CRUISE", "TOUR", "DMC", "FLIGHT", "CAR_RENTAL", "RAIL", "INSURANCE", "TRANSFER", "CONCIERGE", "FEE", "OTHER"];
32
+ /** The values of `AgingBucket`, in the document's order. */
33
+ export const agingBucketOptions = ["NOT_TRAVELED", "0_30", "31_60", "61_90", "91_180", "180_PLUS"];
34
+ /** The values of `CommissionItemKind`, in the document's order. */
35
+ export const commissionItemKindOptions = ["SUPPLIER_COMMISSION", "CLIENT_NET_MARKUP", "CLIENT_FEE"];
36
+ /** The values of `CommissionItemSource`, in the document's order. */
37
+ export const commissionItemSourceOptions = ["CHECKOUT", "GDS_IMPORT", "MANUAL", "FILE_IMPORT"];
38
+ /** The values of `PayoutMethod`, in the document's order. */
39
+ export const payoutMethodOptions = ["STRIPE_CONNECT", "CHECK", "MANUAL"];
40
+ /** The values of `PayoutStatus`, in the document's order. */
41
+ export const payoutStatusOptions = ["PENDING", "PAID", "FAILED", "CANCELLED"];
42
+ /** The values of `CommissionChannel`, in the document's order. */
43
+ export const commissionChannelOptions = ["ARC", "BSP", "CHECK", "ACH", "WIRE", "CARD", "STRIPE", "CASH", "HOST_STATEMENT", "OTHER"];
44
+ /** The values of `RemittanceImportField`, in the document's order. */
45
+ export const remittanceImportFieldOptions = ["amount", "bookingGross", "checkIn", "checkOut", "clientName", "confirmationNumber", "currency", "fee", "fxRate", "identifierNumber", "originalAmount", "originalCurrency", "payableOn", "payerName", "paymentReference", "rate", "receivedOn", "supplierName"];
46
+ /** The values of `RemittancePayerKind`, in the document's order. */
47
+ export const remittancePayerKindOptions = ["SUPPLIER", "HOST", "CLIENT", "OTHER"];
48
+ /** The values of `RemittanceState`, in the document's order. */
49
+ export const remittanceStateOptions = ["DRAFT", "POSTED", "DUPLICATE", "VOID"];
50
+ /** The values of `LineExclusionReason`, in the document's order. */
51
+ export const lineExclusionReasonOptions = ["DUPLICATE", "NOT_COMMISSION", "OTHER_COMPANY", "OTHER"];
52
+ /** The values of `RemittanceLineMatchState`, in the document's order. */
53
+ export const remittanceLineMatchStateOptions = ["UNMATCHED", "PROPOSED", "PENDING_REVIEW", "MATCHED", "EXCLUDED", "ZERO"];
54
+ /** The values of `MatchFeature`, in the document's order. */
55
+ export const matchFeatureOptions = ["CONFIRMATION", "SUPPLIER", "CLIENT_LAST_NAME", "CLIENT_FIRST_NAME", "CHECK_IN", "CHECK_OUT", "AMOUNT", "IDENTIFIER", "DISTANCE_PENALTY", "CURRENCY_PENALTY", "PAID_PENALTY"];
56
+ /** The values of `SupplierContactRole`, in the document's order. */
57
+ export const supplierContactRoleOptions = ["COMMISSIONS", "ACCOUNTING", "RESERVATIONS", "SALES", "OTHER"];
58
+ /** The values of `SupplierKind`, in the document's order. */
59
+ export const supplierKindOptions = ["PROPERTY", "CRUISE_LINE", "TOUR_OPERATOR", "DMC", "AIRLINE", "CAR_RENTAL", "RAIL", "INSURANCE", "TRANSFER", "OTHER"];
60
+ /** The values of `ImportRowStatus`, in the document's order. */
61
+ export const importRowStatusOptions = ["VALID", "INVALID", "DUPLICATE", "COMMITTED", "SKIPPED"];
62
+ /** The values of `StatementStatus`, in the document's order. */
63
+ export const statementStatusOptions = ["OPEN", "PENDING_APPROVAL", "APPROVED", "PAID", "VOID"];
64
+ /** The values of `ReconciliationExceptionKind`, in the document's order. */
65
+ export const reconciliationExceptionKindOptions = ["UNMATCHED_LINE", "PENDING_REVIEW_LINE", "OVERPAID_ITEM", "PENDING_CLAIM"];
66
+ /** The values of `SalesStage`, in the document's order. */
67
+ export const salesStageOptions = ["BOOKED", "COMPLETED", "INQUIRY", "LOST", "PLANNING", "PROPOSAL", "TRAVELING"];
68
+ /** The values of `TravelDocumentKind`, in the document's order. */
69
+ export const travelDocumentKindOptions = ["DRIVER_LICENSE", "KNOWN_TRAVELER_NUMBER", "NATIONAL_ID", "PASSPORT", "REDRESS_NUMBER", "RESIDENCE_PERMIT", "VISA"];
70
+ /** The values of `ParticipantSex`, in the document's order. */
71
+ export const participantSexOptions = ["F", "M", "U", "X"];
72
+ /** The values of `TaskOrigin`, in the document's order. */
73
+ export const taskOriginOptions = ["ANNIVERSARY", "BIRTHDAY", "DOCUMENT_EXPIRY", "MANUAL", "TEMPLATE"];
74
+ /** The values of `NoteKind`, in the document's order. */
75
+ export const noteKindOptions = ["CALL", "EMAIL", "MEETING", "MESSAGE", "NOTE"];
76
+ /** The values of `ImportantDateKind`, in the document's order. */
77
+ export const importantDateKindOptions = ["ANNIVERSARY", "OTHER"];
78
+ /** The values of `TravelerOrigin`, in the document's order. */
79
+ export const travelerOriginOptions = ["BACKFILL", "CHECKOUT", "IMPORT", "INVITE", "MANUAL", "REFERRAL", "SIGNUP", "TRIP"];
80
+ /** The values of `DuplicateConfidence`, in the document's order. */
81
+ export const duplicateConfidenceOptions = ["HIGH", "MEDIUM"];
82
+ /** The values of `DuplicateReason`, in the document's order. */
83
+ export const duplicateReasonOptions = ["EMAIL", "NAME_AND_BIRTH_DATE", "PHONE"];
84
+ /** The values of `PreferredChannel`, in the document's order. */
85
+ export const preferredChannelOptions = ["EMAIL", "PHONE", "SMS", "WHATSAPP"];
86
+ /** The values of `TravelerRelationshipKind`, in the document's order. */
87
+ export const travelerRelationshipKindOptions = ["ASSISTANT", "CHILD", "COLLEAGUE", "EMPLOYER", "FRIEND", "NANNY", "PARENT", "PARTNER", "REFERRED", "REFERRED_BY", "RELATIVE", "SIBLING", "SPOUSE"];
88
+ /** The values of `TravelerStage`, in the document's order. */
89
+ export const travelerStageOptions = ["CLIENT", "LEAD"];
90
+ /** The values of `TravelerVisibility`, in the document's order. */
91
+ export const travelerVisibilityOptions = ["ADVISORS", "COMPANY"];
92
+ /** The values of `CustomFieldType`, in the document's order. */
93
+ export const customFieldTypeOptions = ["BOOLEAN", "DATE", "NUMBER", "SELECT", "TEXT"];
94
+ /** The values of `TaskTemplateAnchor`, in the document's order. */
95
+ export const taskTemplateAnchorOptions = ["TRIP_CREATED", "TRIP_END", "TRIP_START"];
96
+ /** The values of `CrmEventName`, in the document's order. */
97
+ export const crmEventNameOptions = ["crm.advisor-reminders-due.v1", "crm.note-changed.v1", "crm.settings-updated.v1", "crm.task-changed.v1", "crm.traveler-advisors-changed.v1", "crm.traveler-created.v1", "crm.traveler-documents-changed.v1", "crm.traveler-erased.v1", "crm.traveler-invitation-requested.v1", "crm.traveler-linked.v1", "crm.traveler-unlinked.v1", "crm.traveler-updated.v1", "crm.travelers-merged.v1", "crm.trip-updated.v1"];
98
+ /** The values of `ActivityType`, in the document's order. */
99
+ export const activityTypeOptions = ["app.TravelersTrip.created", "app.TravelersTrip.user.added", "app.TripItinerary.Send", "app.TripItinerary.approved", "commerce.order-confirmation-requested.v1", "commerce.order-projection-changed.v1", "commerce.payment-receipt-requested.v1", "crm.note-changed.v1", "crm.task-changed.v1", "crm.traveler-advisors-changed.v1", "crm.traveler-created.v1", "crm.traveler-documents-changed.v1", "crm.traveler-invitation-requested.v1", "crm.traveler-linked.v1", "crm.traveler-unlinked.v1", "crm.traveler-updated.v1", "crm.travelers-merged.v1", "crm.trip-updated.v1", "notifications.traveler-email-sent.v1"];
100
+ /** The values of `FavoriteKind`, in the document's order. */
101
+ export const favoriteKindOptions = ["HOTEL", "ACTIVITY"];
102
+ /** The values of `PlaceKind`, in the document's order. */
103
+ export const placeKindOptions = ["hotel", "city", "airport", "place"];
104
+ /** The values of `TripItineraryMode`, in the document's order. */
105
+ export const tripItineraryModeOptions = ["AUTO", "CUSTOM"];
106
+ /** The values of `TripItineraryStatus`, in the document's order. */
107
+ export const tripItineraryStatusOptions = ["PROPOSAL", "IN_PROGRESS", "TRAVELING"];
108
+ /** The values of `FlightMeal`, in the document's order. */
109
+ export const flightMealOptions = ["BREAKFAST", "DINNER", "FOR_PURCHASE", "LUNCH", "MEAL", "NONE", "REFRESHMENTS", "SNACK"];
110
+ /** The values of `AttachmentContentType`, in the document's order. */
111
+ export const attachmentContentTypeOptions = ["application/pdf", "image/jpeg", "image/png", "message/rfc822", "text/csv", "text/plain", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"];
112
+ /** The values of `PeriodComparison`, in the document's order. */
113
+ export const periodComparisonOptions = ["PREVIOUS_PERIOD", "SAME_PERIOD_LAST_YEAR", "NONE"];
114
+ /** The values of `FlightSort`, in the document's order. */
115
+ export const flightSortOptions = ["best", "price", "-price", "duration", "departure", "-departure", "arrival", "-arrival", "stops"];
@@ -0,0 +1,38 @@
1
+ import { type BaseClientOptions, type RequestOptions, Transport } from "../_/index.js";
2
+ import type { TravelerSelfUpdate } from "../models.js";
3
+ import type { ProfileForm } from "./models.js";
4
+ export interface ClientOptions extends BaseClientOptions {
5
+ /**
6
+ * The URL the paths of the API are relative to.
7
+ */
8
+ baseUrl: string;
9
+ }
10
+ export interface Client {
11
+ /**
12
+ * Open a profile form
13
+ *
14
+ * Opens the traveler a profile form link was sent for, without an account,
15
+ * with the name the agency presents itself with. The token is the link's
16
+ * secret. Errors: 404 ERROR_ITEM_NOT_FOUND for an unknown or expired link.
17
+ */
18
+ get(request: GetRequest, options?: RequestOptions): Promise<GetResponse>;
19
+ /**
20
+ * Fill a profile form
21
+ *
22
+ * Saves what the traveler filled in a profile form, without an account, and
23
+ * returns it as GET does. Send the revision read. Errors: 400
24
+ * ERROR_BODY_VALIDATION, 404 ERROR_ITEM_NOT_FOUND for an unknown or expired
25
+ * link, 409 CRM_REVISION_CONFLICT.
26
+ */
27
+ update(request: UpdateRequest, options?: RequestOptions): Promise<UpdateResponse>;
28
+ }
29
+ export declare function createClient(options: ClientOptions): Client;
30
+ export declare function bind(transport: Transport): Client;
31
+ export interface GetRequest {
32
+ token: string;
33
+ }
34
+ export type GetResponse = ProfileForm;
35
+ export type UpdateRequest = {
36
+ token: string;
37
+ } & TravelerSelfUpdate;
38
+ export type UpdateResponse = ProfileForm;
@@ -0,0 +1,25 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ import { Transport, } from "../_/index.js";
4
+ export function createClient(options) {
5
+ return bind(new Transport(options));
6
+ }
7
+ export function bind(transport) {
8
+ return {
9
+ get: (request, options) => transport.send(GetOperation, request, options),
10
+ update: (request, options) => transport.send(UpdateOperation, request, options),
11
+ };
12
+ }
13
+ const GetOperation = {
14
+ method: "GET",
15
+ route: "/crm/profile-forms/{token}",
16
+ response: null,
17
+ errors: { "400": true },
18
+ };
19
+ const UpdateOperation = {
20
+ method: "PUT",
21
+ route: "/crm/profile-forms/{token}",
22
+ body: "flat",
23
+ response: null,
24
+ errors: { "400": true },
25
+ };
@@ -0,0 +1,5 @@
1
+ export { ApiError } from "../_/index.js";
2
+ export type { RequestOptions } from "../_/index.js";
3
+ export { createClient } from "./client.js";
4
+ export type { Client, ClientOptions, GetRequest, GetResponse, UpdateRequest, UpdateResponse, } from "./client.js";
5
+ export type { ProfileForm } from "./models.js";
@@ -0,0 +1,4 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export { ApiError } from "../_/index.js";
4
+ export { createClient } from "./client.js";
@@ -0,0 +1,24 @@
1
+ import type { TravelerSelf } from "../models.js";
2
+ /**
3
+ * The traveler a profile form link opens, as the person fills it, and when the
4
+ * link expires.
5
+ */
6
+ export interface ProfileForm {
7
+ /**
8
+ * The name the agency presents itself with; null when it has none on file.
9
+ */
10
+ companyDisplayName: string | null;
11
+ /**
12
+ * The agency the traveler belongs to.
13
+ */
14
+ companyName: string;
15
+ /**
16
+ * When the link stops working, ISO 8601 in UTC: 14 days after the advisor
17
+ * sent it.
18
+ */
19
+ expiresAt: string;
20
+ /**
21
+ * The traveler the link was sent for, as the person fills it.
22
+ */
23
+ traveler: TravelerSelf;
24
+ }
@@ -0,0 +1,3 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export {};